Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Odd Java/VB/VFP thing
Message
From
02/05/2008 11:33:51
 
 
To
02/05/2008 11:07:56
General information
Forum:
Politics
Category:
Other
Miscellaneous
Thread ID:
01314640
Message ID:
01314809
Views:
7
From original port
I've reviewed both files in Hex mode and they are exactly the same. Is there something I'm missing?

I've been beating my head against this brick wall for about 2 days, off and on. It just doesn't make sense to me that the only difference that I'm aware of is that one file is created in JAVA the other is created in VFP. One works, the other does not and as best as I can tell they are exactly the same.


>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
"You don't manage people. You manage things - people you lead" Adm. Grace Hopper
Pflugerville, between a Rock and a Weird Place
Previous
Reply
Map
View

Click here to load this message in the networking platform