.Net Integration

smithxxl

New Member
I want to create a Extern DLL or DLL Automation object to be accessed from Visual Basic.net or Visual C#.net. I’m having trouble with my Google searching for a way to create this Interoperable .Net code. Anyone have a sample of .Net code that has been successfully called from Progress 9.1 or OE 10?

Thanks,

Brad Smith
 
smithxxl said:
I want to create a Extern DLL or DLL Automation object to be accessed from Visual Basic.net or Visual C#.net.
Sorry... I meant to say "I want to create a Extern DLL or DLL Automation object written with Visual Basic.net or Visual C#.net to be accessed from Progress."
 
sorting thru google might not be the best idea here.


the resources that i use are -

the first place i look in is the docs. there are 50 some books that you
can download off psdn.com.

the knowledge base is another great resource to look at, more for
solutions, fixes, errors etc.

additionally there webinars, white papers etc. @psdn.com


as for the forums, everybody has it's preference, but if you're looking
for answers nothing beats peg.

i think, it's worth more then the ~20% progress maint support.

but again, i think, if you're looking for answers read.


there's a short example that walks you thru building a .net interface, in
the oera white papers.

http://psdn.progress.com/library/white_papers/oera/index.ssp

i haven't used it before, but the first place i would look at is the ".net
open clients" doc.

http://www.progress.com/products/documentation/openedge10_0b_pdf/index.ssp

oera, prodatasets and appserver knowledge are also relevant.
 
Well, I finally found out how to create an Active X control with .Net that can be called from Progress. Too bad Active X is going away. And I hope that Progress will add support for .Net Librarys in their 4gl.
 
Would you mind posting a few hints? For instance the call you're making from Progress, as well as any helpful hints in making the .net dll?


smithxxl said:
Well, I finally found out how to create an Active X control with .Net that can be called from Progress. Too bad Active X is going away. And I hope that Progress will add support for .Net Librarys in their 4gl.
 
regulatre said:
Would you mind posting a few hints? For instance the call you're making from Progress, as well as any helpful hints in making the .net dll?

Well my way of using .Net DLL's use COM objects. its a huge pain because I didnt create the .NET DLL's we have license to use the DLL's and not see the source code so I had to write a .NET wrapper to use com objects. IE assign GUID's and stuff. compile this then create a com-handle in progress referencing this dll wraper to call the main DLL progress and .NET support isnt so good. I have put in a request for .NET support but unless alot of people request this I doubt it will get done. :mad:
 
Bummer

ouch, that sounds like a painful ordeal. I'm not very well versed at .net yet so I dont know how to compile to COM object. The project we wanted to do involved adding some features that are natively available to .net. Through progress we would have to make API calls... We live and we learn.



tonydt1g3r said:
Well my way of using .Net DLL's use COM objects. its a huge pain because I didnt create the .NET DLL's we have license to use the DLL's and not see the source code so I had to write a .NET wrapper to use com objects. IE assign GUID's and stuff. compile this then create a com-handle in progress referencing this dll wraper to call the main DLL progress and .NET support isnt so good. I have put in a request for .NET support but unless alot of people request this I doubt it will get done. :mad:
 
I recently tried using .NET but eventually figured out you could only use the old VB6 libraries to create ActiveX objects. You might as well save the trouble and just use VB6.

If I'm wrong about this I'd be very interested to know as the .NET environment is great
 
Progress 9 uses com-handles to reference an ActiveX object. Using .Net is possible (not easy) but you will also need the .Net framework. It is better to use VB6 created objects. Search the peg site for more information ActiveX objects. Progress supports .Net but it is only meant to go from Progress to .Net (see the previous reply about Oera)

Grtz Ronald
 
Back
Top