Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to accept parameter
Message
From
26/01/2007 10:20:54
 
 
To
26/01/2007 10:01:26
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01189604
Message ID:
01189623
Views:
8
This message has been marked as the solution to the initial question of the thread.
>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
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform