Solved

vb10 automation - send parameters to a webpage

Posted on 2013-06-11
1
222 Views
Last Modified: 2013-06-18
Hello experts,
I have a module in vb6 that sends a few parameters from a vb6 program to a webpage automatically using inet1, the module works just fine even today. Only you need to register de ocx with regsvr32 when installing.

Now I need to create a module in vb2010 that does exactly the same....which is the best way ?
is it necesary to use INET1 or is there a better way to do it ?

here is thevb6 code I am using

  With Inet1
    '.Execute "http://www.medisoft-aruba.com/epi_1_web_gro_rqt.php?option=com_vest&task=resultdetail '_blank'>https://www.medisoft-aruba.com/epi_1_web_gro_rqt.php?option=com_vest&task=resultdetail", "POST", "use_nam=" & w_use_nam & "&use_pwd=" & w_use_pwd, "Content-Type: application/x-www-form-urlencoded"
    w_str_par = "str_par=" & w_cus_cod & "," & w_uni_cod & "," & w_mod_mne & "," & w_use_nam & "," & w_use_pwd & "," & w_ful_pth & "," & w_net_usr & "," & w_121_003
    .Execute "http://www.medisoft-aruba.com/epi_1_web_act.php?", "POST", w_str_par, "Content-Type: application/x-www-form-urlencoded" & vbCrLf
  End With
0
Comment
Question by:rguillermo
1 Comment
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 500 total points
ID: 39238771
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now