Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to accept parameter
Message
From
26/01/2007 10:49:14
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
 
 
To
26/01/2007 10:39:57
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01189604
Message ID:
01189654
Views:
8
Ryan as I said on the other thread we are just supplying to you some examples you should then pick up those examples and do your code, we don't know your classes what parameters and methods it has and so one. Michel just gave you the example of a main sub and how you can accept parametes and then play with it so you do what you want, like i did on the other thread, with that info you will need to apply to your given case.

>Hi michel,
>
> i got an error "loForm.lAuto = True" lAuto is not a member of 'hbisample.frm_grp'?
>
>thanks,
>ryan
>
>
>>>Hi to All,
>>>
>>> is it possible to accept parameter the running vb.net windows application from vfp application?
>>>
>>>my command in vfp is this
>>>
>>>
RUN /n C:\xmlup\bin\hbisample.exe Param1 = "12345"
>>>
>>>my command in vb.net form load is this
>>>
>>>
>>>Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
>>>       Me.TextBox1.Text = param1
>>>End Sub
>>>
>>>
>>>I want to pass the value of param1 to the textbox of running form, any idea on how to do it?
>>
>>Here is an example of a startup program:
>>
>>
>>Module Startup
>>
>>    Sub Main(ByVal CmdArgs() As String)
>>        Dim loForm As New CCSMonitor
>>
>>        ' See if we have a parameter
>>        If CmdArgs.Length > 0 Then
>>
>>            ' If we are in auto mode
>>            If UCase(CmdArgs(0)) = "/AUTO" Then
>>                loForm.lAuto = True
>>            End If
>>
>>        End If
>>
>>        Application.Run(loForm)
>>    End Sub
>>
>>End Module
>>
Alexandre Palma
Senior Application Architect
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform