Solved

vb10 automation - send parameters to a webpage

Posted on 2013-06-11
1
223 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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

809 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