Solved

vb10 automation - send parameters to a webpage

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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Get Client IP on RDS - VB.NET 15 70
VB.NET 2008 Winforms Signing 13 33
Import MySQL data into MS Access using VB.Net interface 5 31
Code enhancement 4 22
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…
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…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

830 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