The esiest way to launch any external application or file is to use Start method of System.Diagnostics.Process class. Following line may be used to start MS Word application – System.Diagnostics.Process.Start("C:\Program Files\Microsoft Office\OFFICE11\winword.exe") You should change the path of winword.exe according to your installation folder. I hope this helps:). -Dave.
Dave Traister, ComponentOne LLC. www.componentone.com
An example of what?? I have no idea what you want. Again, are you trying to use LINQ with a stored procedure in a datbase???
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007
Hi, go to Toolbox > DataGridView > click Smart Tag > Add Column > from the "Type" choose "CheckBoxColumn" ;) (VS2K5)
NajiCo http://www.InsideVB.NET[^] It's nice 2b important, but it's more important 2b nice...
OK - he wants WPF then.
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
If you want to use valid login name on another form after user authentication the you can create a public property on your another form and fill it with the value by accessing it before opening that form. Ex:--> if you are on "login.cs" and want to open "Admin.cs" then code for admin will have a public property say "UserNo" Private int userNo; Public property int UserNo { get { return userNo;} set { userNo = value;} } Now on login.cs after user validation Admin admin = new Admin() (( This depends opn your architecture)) admin.UserNo = login; admin.ShowDialog(); This way the user no will be available as per code optimization also. vims
You can't disable just one tab. You have to remove the tabpage from the control, then re-add it when you want it enabled.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007