|
-
Dec 15th, 2003, 12:23 AM
#1
Thread Starter
Junior Member
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¤cy_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.
-
Dec 15th, 2003, 12:51 AM
#2
Frenzied Member
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
-
Dec 15th, 2003, 02:04 AM
#3
Thread Starter
Junior Member
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.
-
Dec 18th, 2003, 01:51 AM
#4
Frenzied Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|