Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Odd Java/VB/VFP thing
Message
From
02/05/2008 11:07:56
 
 
To
02/05/2008 10:53:49
General information
Forum:
Politics
Category:
Other
Miscellaneous
Thread ID:
01314640
Message ID:
01314799
Views:
6
Oh. i didn't understand you the first time either.

The first thing i would do, would be to look at both text files with a hex editor. My guess is your missing some CRs, LFs. So the VB program is not able to properly parse the Java version of the file.

>>>>>Any ideas?
>>>>
>>>>What do you mean by "pass it the text file" ?
>>>
>>>The text file name is passed to the VB executable as a parameter. That part works.
>>
>>So, to clarify, when you run the VB executable from Java you get login prompts whereas when running it from VFP you don't?
>>
>>Next question: What do you mean by 'logs in to a site'? Is it an FTP site? Does it use Windows authentication? Is the Java app using different credentials to the VFP app?
>>
>>Regards,
>>Viv
>Nope
>
>The text file works as a 'script', for want of a better description, for the MODEM interface application. It should do the logging in, uploading/downloading, etc, logging off autmajically.
>
>When I pass the VB MODEM interface application the 'script' text file that was created in VFP via the JAVA class, it does what it is supposed to do.
>
>When I pass the VB MODEM interface capplication the 'script' text file that was created in JAVA, it gets so far as dialing up the MODEM site, I get the 'welcome' blah-blah, then the other site asks for Login ID and it sits there and doesn't pass in the login ID. It sits there until the other side times out and disconnects

(On an infant's shirt): Already smarter than Bush
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform