how to receive 'parameters' 
Author Message
 how to receive 'parameters'

hi,
i want my program to receive the file in which i double-clicked to open
my program....
how can i do that ?
does the event load form as a option for this ??

thanks,

jo?o



Sun, 30 Jul 2000 03:00:00 GMT  
 how to receive 'parameters'

The information is passed to your program in the "Command" variable. Look in
your help file under "Command."

Quote:

>hi,
>i want my program to receive the file in which i double-clicked to open
>my program....
>how can i do that ?
>does the event load form as a option for this ??

>thanks,

>jo?o



Sun, 30 Jul 2000 03:00:00 GMT  
 how to receive 'parameters'

take a look at the Command variable. You will have to setup the registration
of your filetype too, by the way...

Andre'

Quote:

>hi,
>i want my program to receive the file in which i double-clicked to open
>my program....
>how can i do that ?
>does the event load form as a option for this ??

>thanks,

>jo?o



Sun, 30 Jul 2000 03:00:00 GMT  
 how to receive 'parameters'

Are you looking for Command line parameters?

Dim sFile$

        sFile=Command$
        DeBug.Print sFile

Quote:

> hi,
> i want my program to receive the file in which i double-clicked to open
> my program....
> how can i do that ?
> does the event load form as a option for this ??

> thanks,

> jo?o



Sun, 30 Jul 2000 03:00:00 GMT  
 how to receive 'parameters'

Quote:

>hi,
>i want my program to receive the file in which i double-clicked to open
>my program....
>how can i do that ?
>does the event load form as a option for this ??

>thanks,

>jo?o

When you double click on a file, windows starts the associated application
with the filename as a command-line argument. You can read that argument in
vb using the command function.

Hope this helps
Nathan



Sun, 30 Jul 2000 03:00:00 GMT  
 how to receive 'parameters'

thanks,
it work out just fine...

Quote:

> take a look at the Command variable. You will have to setup the registration
> of your filetype too, by the way...

> Andre'


> >hi,
> >i want my program to receive the file in which i double-clicked to open
> >my program....
> >how can i do that ?
> >does the event load form as a option for this ??

> >thanks,

> >jo?o



Tue, 01 Aug 2000 03:00:00 GMT  
 
 [ 6 post ] 

 Relevant Pages 

1. Outlook 'send and receive'

2. Union query gives 'Too few parameters'

3. FindFirst Problem - 'Too few parameters'

4. Retaining Report Parameters after running 'SetDataSource'

5. 'Invalid Parameter Field Name' - error 20553

6. **************!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Help me !!!!!!!!!!!!!!!!!!!!!!!!'''''''''''''''''''''''*************

7. Passing Parameters to stored parameter queries using VB 5's Data Controls

8. Can't send/receive in Outlook

9. outlook 2000 won't send/receive

10. Triggering Outlook's Send\Receive Button

11. PictureBox doesn't receive mousemove message?

12. Receiving Crystal Report's User Action

 

 
Powered by phpBB® Forum Software