Solved

vb10 automation - send parameters to a webpage

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

705 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

13 Experts available now in Live!

Get 1:1 Help Now