Results 1 to 4 of 4

Thread: Posting a URL

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Oct 2003
    Posts
    16

    Posting a URL

    I'm working on a windows application and I want it to be able to execute web requests using URL queryStrings. How can I do this?

    Say I have this URL:

    "http://myServer/cgi-bin/inventory.exe?state=state_po_add&po_no=12WK-606&department=WOMEN''S KNITS&supplier_cd=9&currency_cd=PhP&country_cd=90&shipment_cd=0&season=-&terms=14"

    How can I execute this in .NET? In VB6, I used the Internet Transfer Control's OpenURL(string URL) method to do this. But I'm having problems using the Inet control in .NET so I thought there must be another way. Thank you.

  2. #2
    Frenzied Member
    Join Date
    Aug 2000
    Posts
    1,539
    user microsoft web control (c# code, wont take u long to convert it to vb)


    int zero = 0;
    object oZero = zero;
    string emptyString = "";
    object oEmptyString = emptyString;
    string url = Application.StartupPath + @"\htmlVersion.htm";
    axHTML.Navigate(url, ref
    oZero,ref oEmptyString,ref oEmptyString,ref oEmptyString);
    axHTML.Refresh();

    Code Generated By: iCodeLirary.NET - http://www.imetasoft.com/icodelibrary
    Code Optimized By: OOPerfCtrl - http://www.ooperformance.com

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Oct 2003
    Posts
    16
    Hi kovan. Thanks for replying. Anyway, where can I find the control you specified? What namespace? And what is the exact name of the control? Thank you.

  4. #4
    Frenzied Member
    Join Date
    Aug 2000
    Posts
    1,539
    right click ur tool bar
    go to add/remove...
    go to COM port
    look for Microsoft Web Control
    or Internet Control, cant remember exactly which one it is(while i am writing this i am installing vs.net so i couldnt just check for you)

    hope that helps

    if you dont find it post again..

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