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 ?
Printable View
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 ?
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
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.Quote:
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
What do you want to happen after it authenticates the record?
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.
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.
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 :D