Search:
Type: Posts; User: jasonli
Search:
Search took 0.03 seconds.
-
March 15th, 2010, 08:42 AM
You might go to IIS server to check machine.config and figure it out.
-
It's hard to measure percentage of loading program, you can check the starting screen of Windows. Microsoft can't even get the percentage of loading system.
-
First of all you need to know what the parent control is, then use "ParentControl.Controls.Find()" to get the control. If the label control is just a child of form, use "this.Controls.Find()".
...
-
As my understanding, there is not difference once you can run the app. the thing is which computer you are running the app, if there is "C:\temp" on the computer, if your user id has access right to...
-
Then don't use DialogResult value if you can't figure out how to handle it. Declare a public variable in the form to save DialogResult value, after the form is closed, check the public variable.
...
-
April 30th, 2009, 04:02 PM
You want the dll library to call your program, or want your program to call the dll library?
If you want to call dll library, add it to your project as reference. the dll file will be copied to...
-
April 30th, 2009, 03:56 PM
If data value is not changed, don't care the format. Format is only for display. I think your select query is good enough.
-
April 21st, 2009, 10:14 AM
It's not funny to kid the others.
-
April 20th, 2009, 04:03 PM
I am not sure which version of Visual Studio you are using. Assuming Visual Studio 2005 Windows project, there is DataGridViewImageColumn in DataGridView control. You can bind image data to the...
-
April 20th, 2009, 03:53 PM
At the end of program, after everything is done, use Process class to check running process list and find excel to kill it. How do users know that excel application doesn't terminate correctly?
In...
-
April 15th, 2009, 02:06 PM
I met the same problem before. What I did is find the process in process list and kill it.
-
March 6th, 2009, 01:25 PM
Maybe you set special color which is not supported on PDA, try to use normal colors, like red, green, blue.
-
March 2nd, 2009, 03:36 PM
Put a line in Form_Closing event handler:
Application.Exit();
-
March 2nd, 2009, 01:23 PM
Try to use another function, like Read().
Serial port is receiving data continously, but in your event handler text file is open and close every time, which cause delay. Maybe lots of received...
-
March 2nd, 2009, 10:22 AM
Check http://msdn.microsoft.com/en-us/library/ms171619.aspx
-
March 2nd, 2009, 10:06 AM
First of all, make sure if DataGridView.ReadOnly = false. Then check all columns you want to eidt are readonly or not. If the column is readonly, you can't edit the related cell even the row is not...
-
February 27th, 2009, 09:52 AM
I really appreciate you guy's inputs. Even though I don't get the better solution, I have learnt a lot from you guys. Thank you very much.
Like cjard said, I used a knife to screw in a screw....
-
February 26th, 2009, 04:13 PM
Almost perfect one! It can't prevent user typing "459.54-98".
I added lots of source code to prevent this.
Thank you.
-
February 26th, 2009, 02:10 PM
NumericTextBox is a very nice class. I did not try this yet. I'm just wondering what will happen if user inputs "87432.-90". I am gonna try this.
Thanks.
-
February 26th, 2009, 12:13 PM
rtxtProtqty.Text never is gonna be null. You can check it by
string test = (this.rtxtProtqty.Text.Trim().Length == 0) ? "0" : this.rtxtProtqty.Text;
-
February 26th, 2009, 09:34 AM
I searched a lot for regular expression and finally got "^[+-]?\d+\.?\d*$", which can validate mostly, not completely. I put validation in KeyPress event because I don't wanna show invalid character...
-
February 25th, 2009, 05:45 PM
I tried that way, but I failed to type in minus number.
Thanks.
-
February 25th, 2009, 04:23 PM
I just figured it out. Now post the source code here and hope anybody help me test it. Want it be perfect.
Thanks a lot.
int iCaret = 0;
private void textBox1_KeyDown(object sender,...
-
February 13th, 2009, 10:37 AM
Nothing wrong in your source code. It's only because you have Office 2007 installed. Did you ever try on another computer having different verson of Office? Webpage only exports 97-2003 excel format,...
-
February 13th, 2009, 09:16 AM
Thank you guys for your help. I figured it out myself. It was because I send and receive data with type of text, not hex. I changed to hex and get all I want. There is no such setting for serial...
|
Click Here to Expand Forum to Full Width
|