Windows app client to XML Web Services

G

Guest

I have change (copied) my ASP.NET form client code to the Window form to use
Web Services. The codes are almost identical. Compile has no problem. When I
start to run the windows form, it auto terminates. Anyone here can give me
help.

Thanks.

The code and error are in the following.

-----------Code----------------
Private Sub cmdAllDentists_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles cmdAllDentists.Click
Dim ProxyGetAllDentists As New
WindowsForm4WebServ.DentalWebRef.DentalService1
Dim dsAllDentists As New DataSet
dsAllDentists = ProxyGetAllDentists.GetAllDentists()
dgDentists.DataSource = dsAllDentists.Tables(0)

End Sub

--------------error------------------

'DefaultDomain': Loaded
'c:\winnt\microsoft.net\framework\v1.1.4322\mscorlib.dll', No symbols loaded.
'WindowsControlApp1': Loaded
'D:\usr\dbwang\DabinASPTest\winVBcontrol\WindowsControlApp1\bin\WindowsControlApp1.exe', Symbols loaded.
'WindowsControlApp1.exe': Loaded
'c:\winnt\assembly\gac\system.windows.forms\1.0.5000.0__b77a5c561934e089\system.windows.forms.dll', No symbols loaded.
'WindowsControlApp1.exe': Loaded
'c:\winnt\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll', No
symbols loaded.
'WindowsControlApp1.exe': Loaded
'c:\winnt\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\system.drawing.dll', No symbols loaded.
The program '[3852] WindowsControlApp1.exe' has exited with code 0 (0x0).
-------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,065
Latest member
OrderGreenAcreCBD

Latest Threads

Top