|
i was talking about c#
www.parkerituk.com
|
|
|
|
|
parkerproject wrote: where i can practice my skills
What skills are you looking to improve?
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
I want to learn c#,there is an apress book am using at the moment
www.parkerituk.com
|
|
|
|
|
Well, you have a book, that is a good start. You are a member of this site, that is also great. Just start reading, work on some simple projects, if you get stuck, there are people here who may be able to answer questions you have.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
Please describe your question
Cheers!!
Brij
|
|
|
|
|
I am registering an onclick event it works fine but if i add this event I am unable to edit the htmldocument inside the webbrowser even though I set the designmode to on. But if i remove this event everything seems so fine. May be something going on inside the event. Can anyone of you please put some of your insights definately help me out.
Thanks
private void axWebBrowser1_DocumentComplete(object sender, AxSHDocVw.DWebBrowserEvents2_DocumentCompleteEvent e)
{
doc = (HTMLDocument)axWebBrowser1.Document;
HTMLDocumentEvents_Event docevents = doc as HTMLDocumentEvents_Event;
docevents.onclick += new HTMLDocumentEvents_onclickEventHandler(docevents_onclick);
doc.designMode = "On";
}
bool docevents_onclick()
{
MessageBox.Show("clicked");
return true;
}
modified on Tuesday, November 11, 2008 2:51 PM
|
|
|
|
|
Ask this question in the correct forum.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
what do you mean by that? I have axWebBrowser1 a webbrowser on a windows form
|
|
|
|
|
Well, I stopped reading when I realized your code wasn't inside a <pre> tag and properly formatted.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
now i have put them inside the tag. Do you see any error what i am trying to do
|
|
|
|
|
|
I am using
void diaryListView_MouseMove(object sender, MouseEventArgs e)
{
ListViewHitTestInfo lvhti;
lvhti = diaryListView.HitTest(e.X, e.Y);
ListViewItem item = diaryListView.GetItemAt(e.X, e.Y);
}
to ascertain which row I am over in a sortable ListView.
How can I search through a dataTable for a match for all the columns in the ListView row please?
|
|
|
|
|
we devlop program for big ISP company
have 3 SQL table
Provider Table [Combobox1]
ID Name
1 prov1
2 prov2
3 Prov3
////
Location Table [Combobox2]
ID Name
1 Loc1
2 Loc2
3 Loc3
////
End_User Table [Listview1]
ID Name Provider_ID Location_ID
1 ab 1 2
2 bc 1 3
3 cd null 1
4 de 2 null
////
Actually we add "All Provider" to provider combo also "All Lcoation" for location combo to get all even null. value for both "All Provider" & "All Location" set to 0
I can get fill listview user with specific provider
like
var user = from s in db.End_User
where s.Provider_ID == comboprov.value...
slect s
foreach(.......
this good if all location slected in comoboboxlocation or nonvalue select)
i need to fill full four condition in this one statement for Linq to sql
A- prov = 2 & Loc = 0(all)
B- prov = 0(all) & loc = 1
c- prov = 1 & loc = -1(nothinselect)
D- prov = -1(nothinselect) & Loc = 3
something like
var user = from s in db.End_User
where s.Provider_ID = {"*" @(if combopro.value == 0) || combopro.value} + {s.Location_ID = {"*" @(if comboloc.value == 0) || combopro.value}
select s.
foreach(.......
Thank you...
modified on Tuesday, November 11, 2008 10:39 AM
|
|
|
|
|
Hi
If I develop a dll that deals with most of my data security in C++ or Delphi for example, a malicious user could replace it with a bad copy and this way it would void my security.
Is it the same in C#? When I add a dependency it may run with malicious copies (with the same metadata)?
In other Windows Application I would just check the dll CRC before using it... Would that be enough in C#?
Thanks,
Dirso.
|
|
|
|
|
.NET assemblies can be signed, that prevents tampering like this.
xacc.ide - now with TabsToSpaces support IronScheme - 1.0 beta 1 - out now! ((lambda (x) `((lambda (x) ,x) ',x)) '`((lambda (x) ,x) ',x))
|
|
|
|
|
Looks like a nice solution... Let me see if I can work it out
Thank you so much!!!
Dirso
|
|
|
|
|
Other than the signing that was mentioned in the other post to your question, you can use an obfuscator. With an obfuscator you can scramble an assembly so that it cannot be decompiled and obfuscation also allows you to embed watermarks that you can check when an application starts. (All of this, of course, depends upon the obfuscator you use). I happen to use Spices Obfuscator from 9rays.net, but the company seems to be dying so I wouldn't look into getting that particular obfuscator.
Regards,
Thomas Stockwell
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Visit my Blog
|
|
|
|
|
That would be nice. I hope to find something cheap... I use Aspack for years and it was always a good product, but sadly it works with native windows applications only.
Thanks,
Dirso.
|
|
|
|
|
i wrote a simple server i want it to run in my local machine, but before doing that i want to know what are the ports currently in use and the applications that are using those ports, how can i get these information
|
|
|
|
|
Socket.Select
xacc.ide - now with TabsToSpaces support IronScheme - 1.0 beta 1 - out now! ((lambda (x) `((lambda (x) ,x) ',x)) '`((lambda (x) ,x) ',x))
|
|
|
|
|
Hi guyzs,
I am trying to create forum in my site and i am in need of guide for that, can anyone give me link which help me for that or some guide for that......
|
|
|
|
|
|
|
PHP in C# messageboard ...
|
|
|
|
|