467,161 Members | 897 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,161 developers. It's quick & easy.

calling an webservices

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
  • viewed: 858
Share:
1 Reply
100+
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.

Similar topics

5 posts views Thread by niftyhawk@gmail.com | last post: by
1 post views Thread by Greg Busby | last post: by
reply views Thread by Dominick Baier | last post: by
7 posts views Thread by Christian Wilhelm | last post: by
3 posts views Thread by Jerome Cohen | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.