Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to accept parameter
Message
De
26/01/2007 10:58:11
 
 
À
26/01/2007 10:49:14
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01189604
Message ID:
01189661
Vues:
10
Hi Alexandre,


i want to show param1 which value is "12345" in the form.textbox1 in the during load of the form.
i tried to experiment but failed, the example you give is works now but the textbox is still empty
using
RUN /n C:\xmlup\bin\hbisample.exe Param1 = "12345"
thanks,
ryan

>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
>>>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform