C# : How to begin ?

Hi Jason,

 

I have to write an interface between SolidEdge and SAP R3. First of all, I will need to control basic stuffs in SE17/18(ex: custom properties).

 

I made some things in vb6, but I thought that switching to .NET should be a good solution, and I chose C# (I am working with c# Express 2005)

 

In order to understand how I can program in C#, could you please write me some very basic examples, or tell where could I find info about C#/SEdge ?

For exemple :

- Run SEdge if it's off with the error gestion if it's running

Like in VB:

 

Set objAplicacion = GetObject(, "SolidEdge.Application")

If Err Then

Err.Clear

Set objAplicacion = CreateObject("SolidEdge.Application")

End If

 

On Error GoTo 0

 

objAplicacion.Visible = True

 

Set objDocumentos = objAplicacion.Documents

Set objFso = CreateObject("Scripting.FileSystemObject")

 

 

- Access to a property (or custom prop) and change it

 

I will share my SAP application when finished, because I read that some people is interested in SAP R3 connection.

Could you please send me the test you did with SAP ?

 

Thanks a lot, as you see, I m a C# AND SE beginner, so I really need your help !!

 

Posted by: Greg Forel
Post date: 4/4/2006 2:55:58 AM

1 REPLY

RE: C# : How to begin ?

By the way, sorry for my English, I m French and I m working in Argentina, so...

 

Posted by: Greg Forel
Post date: 4/4/2006 2:57:18 AM