Re: Internet Transfer Control not initializing?
From: Veign (NOSPAMinveign_at_veign.com)
Date: 01/19/05
- Next message: Scott M. Lyon: "Re: ListView - hiding a column?"
- Previous message: Veign: "Re: Save web form information"
- In reply to: Brian V: "Re: Internet Transfer Control not initializing?"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 19 Jan 2005 15:44:22 -0500
Getting to the point of needing to see your code. What is the entry point
of your application, the command$ processing code, and what function is
being called.
Did you try turning off all error handling to see if something is being
caught that prevents your function working properly?
-- 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:94876AE6-396C-478D-9281-028C15250779@microsoft.com... > Yes, tried that. My "failsafe" timer is enabled just before the .Execute > method is invoked so I know that the routine itself has been kicked off. > > Thanks for your support. What else do you suggest? > > > "Veign" wrote: > > > 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: Scott M. Lyon: "Re: ListView - hiding a column?"
- Previous message: Veign: "Re: Save web form information"
- In reply to: Brian V: "Re: Internet Transfer Control not initializing?"
- Messages sorted by: [ date ] [ thread ]