Link to home
Start Free TrialLog in
Avatar of RGuillermo
RGuillermoFlag for United States of America

asked on

vb10 automation - send parameters to a webpage

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
ASKER CERTIFIED SOLUTION
Avatar of Nasir Razzaq
Nasir Razzaq
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial