Passing a parameter and retrieving the parameter in a called programme

I need to call a vb form and pass a parameter such as EmployeedID.

Some one please help me how I can pass the parameter and retrieve the parameter in the called programme.

My forms will be compiled and will be in .exe form. So I need to call an exe file with Shell command.

I will be very grateful for your assistance.

Thank you
Amar


Comments

  • : I need to call a vb form and pass a parameter such as EmployeedID.
    :
    : Some one please help me how I can pass the parameter and retrieve the parameter in the called programme.
    :
    : My forms will be compiled and will be in .exe form. So I need to call an exe file with Shell command.
    :
    : I will be very grateful for your assistance.
    :
    : Thank you
    : Amar
    :
    :
    :
    Shell "prog2.exe " & EmployeeID

    in prog2 Form_Load (or Sub Main)
    EmployeeID=val(command$)
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion