Click here to Skip to main content
15,906,333 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionTree View of XML Data Pin
u1119029-Mar-06 14:33
u1119029-Mar-06 14:33 
GeneralAnswer - how to stop running when form close Pin
Chatura Dilan29-Mar-06 13:54
Chatura Dilan29-Mar-06 13:54 
QuestionLinking two programs Pin
Khomeini29-Mar-06 12:58
Khomeini29-Mar-06 12:58 
AnswerRe: Linking two programs Pin
jcrussell29-Mar-06 15:24
jcrussell29-Mar-06 15:24 
QuestionLinking two programs Pin
Khomeini29-Mar-06 12:21
Khomeini29-Mar-06 12:21 
AnswerRe: Linking two programs Pin
Steve Pullan29-Mar-06 12:47
Steve Pullan29-Mar-06 12:47 
QuestionArguments "%1" and other... Not urgent :) Pin
FeRtoll29-Mar-06 10:13
FeRtoll29-Mar-06 10:13 
AnswerRe: Arguments "%1" and other... Not urgent :) Pin
Joshua Quick29-Mar-06 15:03
Joshua Quick29-Mar-06 15:03 
The double clicked file name will be passed as the first argument into your app's Main function. If you don't have a Main, then I suggest that you create one as shown below. You'll also need to change your project's Startup Object to "Sub Main".
Public Class Main
   Public Shared Sub Main(ByVal args() As String)
      Dim fileName As String = String.Empty
      If (args.Length > 0) Then
         ' File was double clicked on.
         fileName = args(0)
      EndIf
   End Sub
End Class

There is more info on this subject in this forum. Just do a search.

-- modified at 17:30 Thursday 30th March, 2006
Fixed mistake in the above code. I wrote it a little too quickly.
GeneralRe: Arguments "%1" and other... Not urgent :) Pin
FeRtoll29-Mar-06 22:44
FeRtoll29-Mar-06 22:44 
GeneralRe: Arguments "%1" and other... Not urgent :) Pin
Steve Pullan30-Mar-06 11:53
Steve Pullan30-Mar-06 11:53 
GeneralRe: Arguments "%1" and other... Not urgent :) Pin
FeRtoll29-Mar-06 22:53
FeRtoll29-Mar-06 22:53 
GeneralRe: Arguments "%1" and other... Not urgent :) Pin
J4amieC29-Mar-06 23:02
J4amieC29-Mar-06 23:02 
AnswerRe: Arguments "%1" and other... Not urgent :) Pin
Joshua Quick30-Mar-06 11:26
Joshua Quick30-Mar-06 11:26 
GeneralRe: Arguments "%1" and other... Not urgent :) Pin
FeRtoll7-Feb-07 9:44
FeRtoll7-Feb-07 9:44 
QuestionVBS, piping out the results to text Pin
aste629-Mar-06 8:02
aste629-Mar-06 8:02 
QuestionCombo Box Pin
rahsi29-Mar-06 7:17
rahsi29-Mar-06 7:17 
AnswerRe: Combo Box Pin
Steve Pullan29-Mar-06 12:58
Steve Pullan29-Mar-06 12:58 
GeneralRe: Combo Box Pin
rahsi30-Mar-06 4:54
rahsi30-Mar-06 4:54 
QuestionCounters and boolean Pin
judamu29-Mar-06 7:15
judamu29-Mar-06 7:15 
AnswerRe: Counters and boolean Pin
Steve Pullan29-Mar-06 12:52
Steve Pullan29-Mar-06 12:52 
QuestionHow can I change the color of a Checkbox in a Treeview ? Pin
trlowe29-Mar-06 6:43
trlowe29-Mar-06 6:43 
AnswerRe: How can I change the color of a Checkbox in a Treeview ? Pin
atregent12-Apr-06 20:43
atregent12-Apr-06 20:43 
QuestionHow to make Vb6 forms resolution independent Pin
Murtuza Husain Miyan Patel29-Mar-06 6:30
professionalMurtuza Husain Miyan Patel29-Mar-06 6:30 
AnswerRe: How to make Vb6 forms resolution independent Pin
Joshua Quick29-Mar-06 14:53
Joshua Quick29-Mar-06 14:53 
QuestionViewing Exchange Calendar Pin
ddamico987629-Mar-06 6:13
ddamico987629-Mar-06 6:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.