i try this, great!
roger wong msn:wenmianbj@hotmail.com
i try this, great!
roger wong msn:wenmianbj@hotmail.com
this is easy thing. you can set as : this.textBox1.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox1_KeyPress); private void textBox1_KeyPress(object sender, System.Windows.Forms.KeyPressEventArgs e) { if ( !( char.IsDigit( e.KeyChar ) ) ) { e.Handled = true; } }
roger wong msn:wenmianbj@hotmail.com
Very well!
roger wong msn:wenmianbj@hotmail.com
I known 2 ways. 1 is regex 2 is use string.split(' ') splite the phrase to a string[]. wang
Is Console.WriteLine(***) ? wang
public class PortAccess { [DllImport("inpout32.dll", EntryPoint="Out32")] public static extern void Output(int adress, int value); } then, use PortAccess.Output(***,***) to send data to parallel port. wang
In c# maybe is: SendKeys.Send("{TAB}"); wang