I do not want to be stubborn.
Hello Dave,I forget say you this: I have a new computer. My computer have not COM PORT , only USB. Nowadays, all computers have only USB , for any companies COM PORT is obsolete.
Therefore I'm searching information about that. If is very dificult, I need a old computer with COM PORT.
This is because I'm using a barcode gun, for windows it is a keyboard. If you
are writing a e-mail and I use the barcode gun, you can see numbers in you email
when you are writing. I want avoid that.
That doesn't sound like a real business requirement.
This is a cash register app that allows it to scan items, issues receipts and can also send email to other stores.
Now if the clerk is typing an email why would they pick up the scanner and use it?
Conversely what if the clerk wants to send the email and then put the scan code in the email...so they write some text, scan a product (which puts the code in the email) and then they write some more.
So in the one case you have a scenario that just will not happen. And then you 'fix' it. And that completely precludes the second scenario.
After reading your post and the replies, my recommendation is to buy a second computer (even something as simple as a Fit-PC or a Plug PC) to run the app. It could then interact with the main PC via a Web Service or something.
Hi every one! I want to know how to send sms using GSM modem. i mean connecting a 3G enabled mobile phone in to our computer through USB and sending SMS using C# application. advance thanks for all!!! please help me.
I am trying to create a generic method for calling stored procedures
Normally that isn't a good idea. It adds complexity and does not have a significant impact on maintenance costs.
Can anyone advise
So if you still want to do it...
1. You must create a sql statement dynamically with matching parameter place holders corresponding to those in the collection(array.) So you are creating SQL dynamically.
2. You must then create a SqlCommand with at sql. Then you populate it the parameters with the collection.
0) It probably shouldn't be static.
1) You should probably not keep creating the Connection and Command -- create one and hold onto it (in the closed state).
2) Where does ConnectionString come from?
3) Here's your code with a few changes. It compiles, but it's untested:
Set the MultiLine property of TextBox to True as given here http://msdn.microsoft.com/en-us/library/12w624ff.aspx[^]
for showing and editing multiple lines. Then the following code can be used to read all the text from the inputFile to the TextBox and then to save the modified text from the TextBox to the outputFile
TextBox1.Text = System.IO.File.ReadAllText(inputFileName);
//Modify the text in the TextBox
I am having a picture box with a world map image of size 1800*3600 in it. Now I would like to create heat maps at different points based on latitude and longitude positions and the intensity of heat maps should be different for each point.
can anyone help me in designing the above said feature