Click here to Skip to main content
16,011,436 members
Home / Discussions / C#
   

C#

 
GeneralUserControl and how to add controls to it Pin
Boaz V13-May-04 1:24
Boaz V13-May-04 1:24 
GeneralRe: UserControl and how to add controls to it Pin
Boaz V13-May-04 1:34
Boaz V13-May-04 1:34 
GeneralRe: UserControl and how to add controls to it Pin
Boaz V13-May-04 2:09
Boaz V13-May-04 2:09 
GeneralRe: UserControl and how to add controls to it Pin
sreejith ss nair13-May-04 2:50
sreejith ss nair13-May-04 2:50 
GeneralRe: UserControl and how to add controls to it Pin
Heath Stewart13-May-04 3:38
protectorHeath Stewart13-May-04 3:38 
GeneralRe: UserControl and how to add controls to it Pin
Boaz V13-May-04 3:48
Boaz V13-May-04 3:48 
GeneralCreating Installation Package for a C# Application with web reference Pin
koosala13-May-04 1:22
koosala13-May-04 1:22 
GeneralRe: Creating Installation Package for a C# Application with web reference Pin
Aryadip13-May-04 1:49
Aryadip13-May-04 1:49 
hi,
I would suggest you not to add a web reference in your windows proj. Instead create a proxy class for the web service you are using using "wsdl.exe" tool which can be run from .NET command prompt.
Now once the proxy class is created add it to your windows proj. and whereever you are calling the web service in your code change it and make an instance of this proxy class and call the web method.
If you open the proxy class you will find a line
"this.Url = "[the web service URL]";
externalise this by taking this web service path into your configuration file (app.exe.config) and use System.Configuration namespace to access the configuration file.
This way you can externalise the webservice call...

hope this helps you

regards,
Aryadip.

Cheers !! and have a Funky day !!

GeneralRe: Creating Installation Package for a C# Application with web reference Pin
koosala14-May-04 0:31
koosala14-May-04 0:31 
GeneralRe: Creating Installation Package for a C# Application with web reference Pin
Heath Stewart13-May-04 2:00
protectorHeath Stewart13-May-04 2:00 
GeneralRe: Creating Installation Package for a C# Application with web reference Pin
Anonymous18-May-04 4:35
Anonymous18-May-04 4:35 
GeneralThread problem Pin
michael.wikstrom13-May-04 1:08
michael.wikstrom13-May-04 1:08 
GeneralUsercontrol Problem Pin
Anfernius12-May-04 23:43
Anfernius12-May-04 23:43 
GeneralRe: Usercontrol Problem Pin
Aryadip13-May-04 0:10
Aryadip13-May-04 0:10 
GeneralRe: Usercontrol Problem Pin
Anfernius13-May-04 0:55
Anfernius13-May-04 0:55 
GeneralRe: Usercontrol Problem Pin
Heath Stewart13-May-04 3:15
protectorHeath Stewart13-May-04 3:15 
GeneralRe: Usercontrol Problem Pin
Anfernius13-May-04 6:19
Anfernius13-May-04 6:19 
GeneralRe: Usercontrol Problem Pin
Heath Stewart13-May-04 3:05
protectorHeath Stewart13-May-04 3:05 
GeneralDragDrop registration failed Pin
michael.wikstrom12-May-04 22:32
michael.wikstrom12-May-04 22:32 
GeneralRe: DragDrop registration failed Pin
Heath Stewart13-May-04 3:03
protectorHeath Stewart13-May-04 3:03 
GeneralGDI+ Image from Graphics Pin
mhmoud rawas12-May-04 22:10
mhmoud rawas12-May-04 22:10 
GeneralRe: GDI+ Image from Graphics Pin
sprout7412-May-04 22:31
sprout7412-May-04 22:31 
GeneralRe: GDI+ Image from Graphics Pin
mhmoud rawas12-May-04 23:35
mhmoud rawas12-May-04 23:35 
GeneralRe: GDI+ Image from Graphics Pin
Heath Stewart13-May-04 3:01
protectorHeath Stewart13-May-04 3:01 
GeneralRe: GDI+ Image from Graphics Pin
mhmoud rawas13-May-04 4:19
mhmoud rawas13-May-04 4:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.