|
Simple, when that happens, your app gets launched with the full path and name of the file as it's command line parameter:
MyVBApp.exe C:\Documents and Settings\MyId\Desktop\TestFile.txt
All you have to do then is get the command line arguments from Command().
RageInTheMachine9532
|
|
|
|
|
RageInTheMachine, that was a peace of cake!
Thanks a lot!
|
|
|
|
|
I just added a .vbs file to my windows forms application. I was wondering how to invoke that vbscript from within my application.
Thanks.
|
|
|
|
|
let say i got 2 forms, form1 and form2, how i going to show form2 when i click one button in form1??
just like form2.show in vb6!! but i cant find that in vb.net!!
|
|
|
|
|
In the button click event handler in form1 create (or obtain) an instance of form2.
MyForm2.Show()
or
MyForm2.ShowDialog()
depending on how you want it to work.
--Colin Mackay--
"In the confrontation between the stream and the rock, the stream always wins - not through strength but perseverance." (H. Jackson Brown)
Enumerators in .NET: See how to customise foreach loops with C#
|
|
|
|
|
thank you for replying me!
but i dunno how to create an instance of form2 in form 1!!
|
|
|
|
|
Dim MyForm2 as Form2
MyForm2 = New Form2()
MyForm2.Show()
[I'm not a VB/VB.NET programmer so I may have the syntax slightly wrong]
--Colin Mackay--
"In the confrontation between the stream and the rock, the stream always wins - not through strength but perseverance." (H. Jackson Brown)
Enumerators in .NET: See how to customise foreach loops with C#
|
|
|
|
|
Dim frm As New Form2()
frm.ShowDialog()
|
|
|
|
|
Say if you want to display form1 from form2.
In the form2 create the instance of form1
- dim frm1 as new form1()
and then
frm1.show or frm1.showdialog will display the form
- Sunil
|
|
|
|
|
say suppose i want to develop a windows aplication that will connect a ms-access database over the internet using ado.net & vb.net
tbhattacharjee
|
|
|
|
|
I think you need ASP.NET web application for that not windows application unless you were to consider Web Service.
Sonork 100.41263:Anthony_Yio
|
|
|
|
|
at runtime i want to drag the column of datagrid but don't have knowledge now.please help me out and if it is possible then please give me small sample code to implement it using vb.net.
tbhattacharjee
|
|
|
|
|
This is not possible in ASP.NET. You could inherit from the DataGrid control to and provide your own implementation (heavily augmented with a liberal amount of javaScript) to provide the functionality that you desire.
--Colin Mackay--
"In the confrontation between the stream and the rock, the stream always wins - not through strength but perseverance." (H. Jackson Brown)
Enumerators in .NET: See how to customise foreach loops with C#
|
|
|
|
|
say suppose i have datagrid with three column and one column having check box and 'n' no of rows are there.now i want to read the content of all the rows in a loop when no of rows is not fixed.how to do it using vb.net.if it is possible then please give me small sample code to implement it using vb.net.
tbhattacharjee
|
|
|
|
|
please tell me how to create ms-access database and tables on fly using vb.net. if it is possible then please give me small sample code to implement it using vb.net.
tbhattacharjee
|
|
|
|
|
i want to develop a small application that can connect to ms-access database,sql server and oracle.when user will connect to whatever database then the complete database structure will be shown like in a list all tables name will be added, in a another list box all stored procedures name will be shown and when user will select any table the total table structure will be diplayed in a list box and again when user will select any store procedure then that store precedure definition will be show in a text box.how can i do it using vb.net.if it is possible then please give me small sample code to implement it using vb.net.
tbhattacharjee
|
|
|
|
|
say suppose i have datagrid having two column and 2nd column having check boxes in my vb.net window application. i want to know how can i detect how many check box is selected at run time.now i dont know please help me with easy sample code.
tbhattacharjee
|
|
|
|
|
Every one knows what is tree view and how it works but i want to know how can i change default[+ & -]icon and i want to set my [+ & -]icon with vb.net. so please tell me how can i do it.
tbhattacharjee
|
|
|
|
|
please give me small sample code to implement it using vb.net.
tbhattacharjee
|
|
|
|
|
please give me small sample code to implement it using vb.net.
tbhattacharjee
|
|
|
|
|
please give me small sample code to implement it using vb.net.
tbhattacharjee
|
|
|
|
|
If you make a menu and then click its properties, you have the option to make an image list. Do this and then add the images you want.
|
|
|
|
|
Hello!
I want to do a program that can tell me how many pages were printed in a time interval.
I mean that this program once started to count automatically the pages that were printed.
I have no ideea how to do this.
If is someone that can help me please tell me how to do this, or what documentation I have to read/learn.
Thank you!
|
|
|
|
|
Hi Guys,
I'm new to this thing.
1. does anyone know how to capture the image from a digicam and insert into a SQL server database using vb .net?
2. How to capture the signature file using a pentablet hardware using vb .net and save the image into SQL server?
Pls. Help.
|
|
|
|
|
1. does anyone know how to capture the image from a digicam and insert into a SQL server database using vb .net?
You might want to check out Windows Image Acquisition here[^]. No garantee that it will work with your camera though. It would appear that you have to check with the manufacturer of the camera to see what device drivers are available for it and any possible SDK's. You also might want to check for TWAIN compatibility. That should make your life much easier when using the WIA API's.
Once you have the images, it's not that hard to put them into an SQL database. This[^] article describes the process for use with an Access database, but the concepts apply to SQL databases as well.
2. How to capture the signature file using a pentablet hardware using vb .net and save the image into SQL server?
You're probably going to have to depend on the manufacturer for the SDK's and docs for this one. But, once again, when you get the image, the SQL part is easy.
RageInTheMachine9532
|
|
|
|