Results 1 to 9 of 9

Thread: Need Basic Info On Web Programming

  1. #1

    Thread Starter
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    33,431
    First of all let me say that I'm an experienced VB programmer but I know nothing about programming in VB for the Web. Lets say I wanted to write a VB program that could be executed from the Web that would for example read the text in this post. How would I go about doing that?

  2. #2
    Hyperactive Member
    Join Date
    Mar 2000
    Location
    Canada
    Posts
    264

    Cool

    I would go on ASP, if you are familiar with VB it should be very easy for you.
    In the beginning the universe was created. This has made a lot of people very angry and is generally regarded as a bad idea.

    - Douglas Adams
    The Hitchhiker's Guide to the Galaxy

  3. #3
    Lively Member
    Join Date
    Aug 1999
    Posts
    89

    Cool

    Since you are an experienced VB programmer, then you can do all your objects in VB. Call all those objects using server.createobject in ASP. Then you can use all the method and properties in the object for your web page.

  4. #4
    Serge's Avatar
    Join Date
    Feb 1999
    Location
    Scottsdale, Arizona, USA
    Posts
    2,744

    Lightbulb

    Marty, check out Active Server Pages 2.0 Professional from Wrox Press - Here's the link , thats how I learned ASP. You would have no problem at all, trust me. If you use VBScript, then you would realize that it's a stripped version of VB. All your variables are Variant.

    Also, I'm working on a VB web site (Message Board particularly) at the moment, and I'd like you to see how it looks. At this time you cannot create your own login, but it should be done by the end of this weekend.

    VBGarage

    Check out Forum Feedback for explanations why my Message Board look the way it is.

    Tell me what you think after all.

    By the way, I'm using SQL Server 7.0 as a back end. Everything you would see on the screen is being generated dynamically from the database...

    Regards,

  5. #5
    Frenzied Member HarryW's Avatar
    Join Date
    Jan 2000
    Location
    Heiho no michi
    Posts
    1,827

    Thumbs up

    Hey Serge, that rocks
    Harry.

    "From one thing, know ten thousand things."

  6. #6
    Fanatic Member Matt_T_hat's Avatar
    Join Date
    Dec 2001
    Location
    '76 Male Body Evil-Errors: 666
    Posts
    774
    Originally posted by Serge
    Also, I'm working on a VB web site (Message Board particularly) at the moment, and I'd like you to see how it looks. At this time you cannot create your own login, but it should be done by the end of this weekend.
    Ah-ha! UREKA and all that. I am a fairly expirence VBer. I have a dedicated ASP host and am looking to provide a system where members can post pictures and/or stories and have other people (members) leave comments underneath. Perhaps you could help?
    ?
    'What's this bit for anyway?
    For Jono

  7. #7
    Hyperactive Member ashay's Avatar
    Join Date
    Feb 2002
    Location
    Mumbai,India
    Posts
    278
    hi,
    u cud use Microsoft's XMLHttp component to retrieve the html contents of a web site

    Dim xmlObj 'as MSXML2.ServerXMLHttp
    Dim sUrl 'as String
    Dim sHtmlCode 'as String

    Set xmlObj=Server.CreateObject("MSXML2.ServerXMLHttp")
    sUrl="http://www.vbworld.com"
    xmlObj.Open "GET",sUrl,false
    xmlObj.Send
    sHtmlCode=xmlObj.responseText

    nao, sHtmlCode will have the html content of the sUrl

    U can parse this string to find the retrieve the necessary content.

    Hope this helps.....

    regds,
    ashay
    "If you should die before me, ask if you could bring a friend."
    - Stone Temple Pilots

  8. #8
    Fanatic Member Matt_T_hat's Avatar
    Join Date
    Dec 2001
    Location
    '76 Male Body Evil-Errors: 666
    Posts
    774
    Originally posted by ashay
    hi,
    u cud use Microsoft's XMLHttp component to retrieve the html contents of a web site

    ...

    nao, sHtmlCode will have the html content of the sUrl

    U can parse this string to find the retrieve the necessary content.

    Hope this helps.....

    regds,
    ashay
    Yeah that seems to be the ticket... (feels thick) must admit I am unsertain how I'd apply it. Not even sure if I follow how it works. I guess I'll figure it out... eventually

    Hmm, right then .........
    ?
    'What's this bit for anyway?
    For Jono

  9. #9
    Hyperactive Member ashay's Avatar
    Join Date
    Feb 2002
    Location
    Mumbai,India
    Posts
    278
    Originally posted by Matt_T_hat
    Yeah that seems to be the ticket... (feels thick) must admit I am unsertain how I'd apply it. Not even sure if I follow how it works. I guess I'll figure it out... eventually

    Hmm, right then .........
    Mine was an answer to Martin Liss not urrs......

    regds,
    ashay
    "If you should die before me, ask if you could bring a friend."
    - Stone Temple Pilots

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