As far as I know with Environment.CurrentDirectory we can get the current working directory.
But I'm gonna get the directory of my exe file (of my application), because sometimes the current directory is different with path of my application.
I have buy'ed a set of buzz! wireless buzzer, which should work with pc also, and windows regonize them as a twenty button joystick, but no button press is regonized, as far i have read it should first recieve a message on the controlchannel, before working. Heres my problem i can't se the find any information about how to send a control signal to joystick.
I don't know how much help it will be, but Pedram Amini wrote an in-depth article on reverse engineering a USB device's proprietary protocol at Python Interfacing a USB Missile Launcher[^]. Perhaps his (hers?) process will help you reverse engineer the Buzz! Wireless Buzzer.
"we must lose precision to make significant statements about complex systems."
-deKorvin on uncertainty
Althroug theres i no software for pc, i can anaylse, i find a solution, in the article you link thers is a link to http://www.pcausa.com/Utilities/UsbSnoop/default.htm which i used to get vendor and procut id, with that i used the http://www.codeproject.com/KB/cs/USB_HID.aspx to send a recivedata and foudn it work almost as described http://www.vsj.co.uk/articles/display.asp?id=600 but it has an power safe function, which menas one of the lamp should be set on, before it will send any data.
I have Big Problem in Middle Tire . what is this and why we used in .NET.
what is the baniftes of it. if u have ay example related to Midle Tire . then plz send me . my Email id is (email@example.com).
the call fails citing: cannot convert object to System.IntPtr.
I'm wondering if there is:
1) a way to convert the .ToString() value of dataGrid["hWndValue", dataGrid.CurrentRow.Index].Valueto System.IntPtr?
2) a way to maintain the type of the data that was placed into the cell in the DataGrid?
Obviously, I'd rather not "be sloppy" and convert from a string to a IntPtr, but it'll work.
Any input is appreciated.
Thanks very much,
Although the above may be useful for me or others in the future; I was able to read the values into both a dictionary and the datagrid row, maintaining the type and allowing a lookup.
//"root" namespace, therefore the ThreadHandles dictionary is valid throughput the Form class
Dictionary<string,> ThreadHandles = new Dictionary<string,>();
Does anybody know if IE Mobile 6.0 supports the DIV's overflow:auto attribute? Everything works fine in a normal desktop browser.. but IE mobile does not keep the div's fixed size, and no scrollbars are rendered.
I would greatly appreciate any one with either a solution or a workaround as to how to make a fixed contentholder (such as a DIV) whose contents' size exceeds its own size.. and thus creates scrollbars in IE Mobile 6.0.
Thanks in advance. I've been tearing my hair at this for hours :/