|
hi,
i want to send/receive some commands to one hardware device through GPIB card(one end is connected to System(USB port) one end is connected to device) in c#.net .
i wnat to know in which way i can communicate the device and what r requried fields to access the hardware through GPIB card.
plz send sample code for that .
it's very usefull to in my application.
Thanks
prem
|
|
|
|
|
Hi,
I want start application from another application.
for example
if i have a,b,c,d applications.
so if i want to start a,b,c application through d application.
how to do ?
help me out.
thanks
|
|
|
|
|
Hello,
System.Diagnostics.Process.Start("filename");
All the best,
MArtin
|
|
|
|
|
thanks for help ,it's working for
but if application on remote location then?
|
|
|
|
|
Hello,
I'm not sure if I understand you right, but maybe you find youre processes with:
System.Diagnostics.Process.GetProcesses(machinename);
and then Start them over there instance.
All the best,
Martin
|
|
|
|
|
I am trying to develope a music server through which any music player can connect and play the songs and other medias,so if anyone has any idea about it ,do post me.
nishu
|
|
|
|
|
Hello Nishu,
I think this tool may helpfull to u.
Here is there audio library
regards,
Divyang Mithaiwala
System Engineer & Software Developer
|
|
|
|
|
Thanks divyang!!!i will try and let you know aboout that
nishu
|
|
|
|
|
Do u know about Shoutcast & Icecast.
regards,
Divyang Mithaiwala
System Engineer & Software Developer
|
|
|
|
|
In DataGridView control New row is always present. Is there any way If I dont want to display this new row because the data I am presenting in it to user is readonly.
Saqib
|
|
|
|
|
Set the Read only Property of Datagrid to true
Navi
|
|
|
|
|
I have already done this. My problem is not making ReadOnly but it is rather I dont want to show NewRow that appear with * sign.
Saqib
|
|
|
|
|
just set AllowUserToAddRows property to false.
Saqib
|
|
|
|
|
Hi all.
(windows forms).
How I can get the text of a textbox that is on other app?
Example:
I have an app running that has a textbox which Text property is "MICROSOFT VISUAL STUDIO ROCKS!".
I want to make an application that will obtain the handle of that textbox and get its contents (its text property value).
Please help me.
Thx in advance.
Best regards,
Marco Alves.
|
|
|
|
|
It depends...
Do you control the code of the other app?
Offcourse it's much more complicated if you don't.
|
|
|
|
|
No, I don't have the control of the other app.
|
|
|
|
|
Hello guys,
I found that there is a problem with carring out a simple "SELECT" query with the KEYWORD "LIKE". Here is the code:
/////////////////////////////////
string sqlStr= "SELECT * FROM FilesData WHERE FilesData.FileName
LIKE '*filename.txt*'" ;
OleDbCommand oleCmd = new OleDbCommand();
oleCmd.CommandText=sqlStr;
OleDbConnection conn = new OleDbConnection("Provider = Microsoft.Jet.Oledb.4.0; Data Source = zbooboo.mdb");
conn.Open();
oleCmd.Connection = conn;
OleDbDataReader reader69 = oleCmd.ExecuteReader();
////////////////////////////////
The reader69.read() does not return any results while results are present in the table.
This code is working when the keyword "LIKE" is omitted.
Hope you can help me out with this one.
Thanks, Ofir
|
|
|
|
|
Try to use '%' instead of '*' as placeholder.
"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." - Rick Cook www.troschuetz.de
|
|
|
|
|
Thanks, It is working now ...
It is so strange that while writing the SQL statement in the SQL editor within access ENV. it is working with '*' and when doing it from the .NET ENV. it is working with '%' ...
Anyway, thanks a lot
|
|
|
|
|
string sqlStr= "SELECT * FROM FilesData WHERE FilesData.FileName <br />
LIKE ('%filename.txt%')" ;
|
|
|
|
|
Thanks, It is working now ...
It is so strange that while writing the SQL statement in the SQL editor within access ENV. it is working with '*' and when doing it from the .NET ENV. it is working with '%' ...
Anyway, thanks a lot
|
|
|
|
|
Hi
Can anyone please tell me that how many states a window form has? And the order of execution of them? i.e init,load.....
Shahid
|
|
|
|
|
Hello
Well, you mean events not states. There are 3 WindowStates: Maximized, minimized, normal.
So about events, just revise the events of the Form class in your MSDN and you will get a good discription about each.
Regards
|
|
|
|
|
Hello,
I want to make a random road path like in Civilization 4 with smooth corners. How can I do it?
Best Regards,
Gywox
|
|
|
|
|
You didn't post enough information for anyone to give you a meaningful answer. What 3d library are you using? Are you using a game engine built atop some 3d library or programming against OGL or DX directly?
Tech, life, family, faith: Give me a visit.
I'm currently blogging about: Dumbest. Movie. Title. Evaaar.
The apostle Paul, modernly speaking: Epistles of Paul
Judah Himango
|
|
|
|