By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,988 Members | 1,476 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,988 IT Pros & Developers. It's quick & easy.

calling an webservices

P: 75
Hi All,
I am new to vb ,i need to call an webservice which is basically an XML file,
from a button click can any one you help me out on this pls.
Nov 10 '06 #1
Share this Question
Share on Google+
1 Reply


100+
P: 267
Hi All,
I am new to vb ,i need to call an webservice which is basically an XML file,
from a button click can any one you help me out on this pls.
hi

use shellexecute for this.
put

Expand|Select|Wrap|Line Numbers
  1.  
  2. Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hWnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
  3.  
  4.  
in your general declaration
and

Expand|Select|Wrap|Line Numbers
  1.  
  2. ShellExecute hWnd, "open", http-address , NILL, NILL, Empty
  3.  
  4.  
in your programcode
Nov 10 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.