cancel
Showing results for 
Search instead for 
Did you mean: 

How can i convert a server console app to form based

Former Member
0 Kudos

Hello,

i would like to convert a console server app (proxytype server) to a windows form based app. How could i do this and ist there a issue about recompile / changing at later time with the wizard / custom tool ?

Have anyone some ideas about this ?

Env: VS 2003 / c#, .net connector 2.0

thanks in advance

stefan

Accepted Solutions (0)

Answers (1)

Answers (1)

reiner_hille-doering
Active Contributor
0 Kudos

There are several possibilities. Neither should harm the proxy.

1. Create a new Windows Forms Application.

Copy in the .sapwsdl file(s) and the *Impl.cs files. Make sure that the .sapwsdl file still has the the CustomTool "SAPConnectorGenerator" set.

Delete or comment out the sample Main() function in the Impl file. Add the functionality of the sample Main function somewhere at a adaquate place.

2. Change the application type to Windows Forms in the Project's properties. Change the sample Main function to do what a usual Windows Forms Main does, e.g. "Application.Run(new Form());"