|
-
Jun 5th, 2004, 06:10 AM
#1
Thread Starter
Addicted Member
VB and Internet Qn
Hi Guys ,
Is it possible for a Visual Basic Program to output a data(in the form of a variable or watever ) and that data could be receive by a jsp/php/asp page ?
-
Jun 5th, 2004, 08:22 AM
#2
Addicted Member
Depends how you are looking to output it. The easiest way would simply be to call the script through a URL with the variable in a get/post. E.g., http://whatever.com/myscript.php?vbVar=Something
-
Jun 5th, 2004, 10:42 PM
#3
Thread Starter
Addicted Member
Hi,
Thanks for replying to the thread .
But i wanted was to use a visual basic program to check a user/records and the vb will output this values to a php,asp,jsp which will authenicate this records with a database .
If you know of any websites with such examples , do give me the link ..thanks
-
Jun 6th, 2004, 02:26 AM
#4
Originally posted by GOBI
Hi,
Thanks for replying to the thread .
But i wanted was to use a visual basic program to check a user/records and the vb will output this values to a php,asp,jsp which will authenicate this records with a database .
If you know of any websites with such examples , do give me the link ..thanks
Yes, madjon has given you a way. You pass all the values in the URL. You can have a Browser control in your app which you use to invoke the page.
What do you want to happen after it authenticates the record?
-
Jun 6th, 2004, 09:15 AM
#5
Thread Starter
Addicted Member
Okay maybe let me explain What i intend to do,
usually a asp, php can do a login page right ? So what i intend to do is to use a VB program to replace this login page , so the login will be in Visual Basic , so once the user uses the vb program to login ,it will open up internet explorer and redirect the user to the page he/she is allowed to view. (There are admin , normal user in the table)So what i intend to do is to use vb program to replace the asp/php/jsp login page . so is this possible ?
If it is , can someone show me a example or give me a link to a website .
Thanks For Replying to the thread.
-
Jun 7th, 2004, 12:43 AM
#6
That's possible, if the database server that the original page refers to allows for remote access. Then you could simply modify your connection string, connect to it, and if it's authenticated, you show them the page.
This also depends upon session variables and cookies that the website uses. You'll have to ensure that these get created as well. Tough job ahead.
-
Jun 7th, 2004, 09:58 AM
#7
Thread Starter
Addicted Member
Hehe ..
I am not too sure how to get about it so that 's y i posted here..
if any kind souls know of any website or etc. that does what i describe or something similar , do pm me or post the link over here .
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|