Re: Internet Transfer Control not initializing?
From: Veign (NOSPAMinveign_at_veign.com)
Date: 01/19/05
- Next message: kbarsi: "Save web form information"
- Previous message: Robert A. Boudra: "Re: Export data of datagrid to XLS"
- In reply to: Brian V: "RE: Internet Transfer Control not initializing?"
- Next in thread: Brian V: "Re: Internet Transfer Control not initializing?"
- Reply: Brian V: "Re: Internet Transfer Control not initializing?"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 19 Jan 2005 14:07:24 -0500
Are you sure that the Command's click event is firing in both cases? Place
a message box before the FTP code and see if it gets executed in both cases.
-- Chris Hanscom - Microsoft MVP (VB) Veign's Resource Center http://www.veign.com/vrc_main.asp -- "Brian V" <BrianV@discussions.microsoft.com> wrote in message news:682FE2DD-CCF6-432D-A9BE-DEC56BC6A797@microsoft.com... > When called by another script I pass a command line argument to be parsed by > by FTP helper applications (the one with the problem). > > While debugging I decided to force the "automatic" operation to work exactly > as the "manual", so when the application launches it accepts Command() > argument, and if the command line argument is not blank then the it "clicks" > one of the manual buttons using the form.cmdButton.Value = True syntax. > > In theory then there is no difference in execution between manual operation > and one based on a command line argument. > > What do you think? (and thanks for the help). > > > "Brian V" wrote: > > > In my simple FTP "helper" app I want two methods of use: manual and called > > from other VB apps. I'm using the Internet Transfer Control. Starting the > > app and clicking an action button, all FTP functionality is perfect. > > However, when called as a "Shell" from another app (VBscript or similar) the > > Internet Transfer Control does nothing - timeout. > > > > I suspect that the Control is not getting fully initialized or something > > when there is no user interaction with tihe form. I have tried showing the > > form, automating a "Click" event to start things, etc. with no luck. > > > > Any thoughts? I appreciate your time. > >
- Next message: kbarsi: "Save web form information"
- Previous message: Robert A. Boudra: "Re: Export data of datagrid to XLS"
- In reply to: Brian V: "RE: Internet Transfer Control not initializing?"
- Next in thread: Brian V: "Re: Internet Transfer Control not initializing?"
- Reply: Brian V: "Re: Internet Transfer Control not initializing?"
- Messages sorted by: [ date ] [ thread ]