I remember seeing an advert on one of the Code Project newsletters for a web site that offers online programming exercises.
I'm looking for something that isn't beginners stuff - something that goes beyond the basics and covers some more advanced features of .NET like reflection, remoting and also perhaps covers things like object oriented patterns (preferrably in C#).
Does anyone know of anything like this out there? I'm not interested as much in tutorials as I am in actual exercises that you can do yourself. Thanks.
Ok, I've got a HWnd (the HWND was returned from an ActiveX control). I pass the HWND to a .NET control. I try to pass the HWND using Control.FromHandle() function and I get a null in response.
I want to make a .NET control become a child of the ActiveX control (this is so I can cover it, if you really want a full explanation, see below), so if there is another way of doing this, please let me know.
Using a language called LabVIEW 7.0. Doesn't allow for .NET controls, but does allow for .NET objects. Want to put control on a front panel of a LabVIEW window. LabVIEW doesn't expose the window handles, so created an AX control which is to return the handle of the AX control so that I can paste the .NET control on top of it. What a work around eh?
How?? Using what?? Your statement makes no sense without specific information.
I try to pass the HWND using Control.FromHandle() function and I get a null in response.
Control.FromHandle will only work with controls based on the .NET Framework's Control class. It will NOT work with Win32 handles. You cannot write a control in native Win32 and force the Control class on top of it.
Your best solution would be to contact LABView support and see if they have a .NET compatible library that does what you need, or if they even have a workaround for this.
I'm having a very big problem with the serialport class and I need some help to solve this.
we're using multiple serialports in a generic list since we need to connect to multiple devices.
This is what our basic code looks like...
List<serialport> ports = new List<serialport>();
private void button1_Click(object sender, EventArgs e)
ports.Add(new SerialPort ("COM7"));
foreach (SerialPort port in ports)
Now,after the button is clicked,...if one of the devices(mobile phone in our case) is switched off or if its cable is disconnected from the USB port,there is an immediate massive memory leakage.
Please help us with a solution.
I have noticed a similar thread here...
and a couple of bug reports in Microsoft Connect.
But,right now I need some IMMEDIATE URGENT solution....Would really appreciate if someone helps.
Thanks so much
what is the best and fast way to import and export data from a flat file to a database in dot net with sql server 2005. Should we have to write our own code or is there any service to do this. [other than using DTS (SQL 2000 only) / SSIS ]. Kindly copy some reference URL.
We can have facts without thinking but we cannot have thinking without facts.
Im currently developing an application in C# that requires chat/support discussion features.
I have all of the back-end networking sorted out, But im stuck when it comes to the UI. . .
I cant find a nice and efficient method for displaying the chat session/logs to the users.
Ive tried using just a textbox.. but it looks primitive, Ive tried using Chat Controls i have found online, but they wouldn't work. . . and i have tried using HTML rendering controls from here on CP, but when the message stack builds up the rendering slows the whole UI.
Could someone, maybe who has tackled a similar situation, offer some advice as to how i could go about both professionally and efficiently displaying chat sessions in my UI?
i have a question i want to put a search string in eax.it's now like this
mov dword ptr [eax],002A2E2Ah this is *.* but i want to put something like this *.asm in it to search for, but i can't get it to work.
I want to be able to put an entry in my app.config so that, regardless of the user running the app, it will still point to their "My Documents" folder. The user's PCs are very locked down, and all they have access to is that folder, but obviously that folder is in a different location on every PC. Is there a way to use an environment variable or something, so that it always points at "My Documents" for the current user, wherever that is?