Results 1 to 7 of 7

Thread: VB and Internet Qn

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Feb 2002
    Location
    United
    Posts
    202

    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 ?

  2. #2
    Addicted Member
    Join Date
    May 2004
    Location
    China
    Posts
    228
    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
    You know the best way to find the answer to your question? SEARCH!
    www.google.com
    www.planet-source-code.com
    www.msdn.com
    http://www.vbforums.com/search.php?s=
    P.S. Its faster than waiting for replies too!

    [vbcode]
    If InStr(1, Message, "FIX MY CODE") <> 0 Then Reply = False
    If AnswerIn(Google, VB_Forums, PSC, MSDN) = True Then Reply = False
    [/vbcode]

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Feb 2002
    Location
    United
    Posts
    202
    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

  4. #4
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    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?

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Feb 2002
    Location
    United
    Posts
    202
    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.

  6. #6
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    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.

  7. #7

    Thread Starter
    Addicted Member
    Join Date
    Feb 2002
    Location
    United
    Posts
    202
    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
  •  



Click Here to Expand Forum to Full Width