Uhh, yes, Dave Kreskowiak remembered me about something: You need a driver which exposes the USB as serial ports to your computer (My fault, I am sorry for this one).
Imagine, every Serial Port has its name. In my case, they are numbered from "COM1", "COM2", [...], "COM8", "COMx". I am unsure if this naming is a standard or if it is driver-specific, you might need to do some further research on this naming thing...
However: detecting available COM ports is not that difficult, I found some information about that on Codeproject[^] and on Stackoverflow.com[^]. I'm not sure if this fits your needs, but have a look at it.
The problem is, when I run a method from other form (example: From form1 I call form2.mymethod) , it show me error in MessageBoxManager.cs
hHook = SetWindowsHookEx(WH_CALLWNDPROCRET, hookProc, IntPtr.Zero, AppDomain.GetCurrentThreadId());
Tehn you don't need MDI as it stands for MULTIPLE Document Interface. A single editor that let's you edit mulitple documents of the same type. That was it's intended design and you would be trying to make it do something it's NOT designed to do.
You don't need MDI for this and from the sounds of it, you don't even need a Windows Forms app.
I have to draw a 3D terain (polygon) using openGL and Tao Framework in C#. The problem is, i have never done such things before and i dont know how to start. I have my KML file and i wonder, how to read data or use coordinates, to draw a 3D terain of the path i've walked (or drove with a car).
Can anyoone give me any advice or help how to start making the 3D object of it?
The point of the program is, to create a 3D polygon which can rotate around, so i could see in 3D where i walked, if u can understand what i mean with that.
here is the connection to the printer. I can get the name, properties, software etc. of the printer, but i cant get the status of the printer(if it is online, offline, toner level, paper status, etc.) can you help me to code this?
Please don't repost the same question; your question isn't more important than the others.
can you help me to code this?
Coding it is your job, not mine. I can give you pointers, can help debug, or advise on code.
What you are trying to achieve is not something that many people will have experience with. So, asking it on a forum and waiting for an answer will be an exercise that might take a whole lotta time.
The protocol does not care about device-specific capabilities. You'll have to contact the vendor of your printer, and have them confirm that they actually SUPPORT this feature - as I said, there's a chance that the printer does not broadcast it's toner-status.
Bastard Programmer from Hell
if you can't read my code, try converting it here[^]
Hi All Developers I have A Problem :
How I can Change Opacity Of a Control IN Windows Application C#.net .. I Know How I can Change Form Opacity But How we can Change Control Opacity Like A button.