Using C# .NET to access data

Ghastly_MIB

New Member
Hello,

I'm trying to get data from an PROGRESS database into an listview in Visual Studio.
I allready found the tool ProxyGen. But I realy don't have any clue how it works.

What I did till so far:
1) Insert the namespace of my project into the Name field.
2) Added an location with the single .p file
3) Not added an sub application

The Banaan.p file has the following content:
Code:
DEFINE INPUT PARAMETER myInput AS CHARACTER.
DEFINE OUTPUT PARAMETER myOutput AS INTEGER.
ASSIGN myOutput = 12.

How can I call this file (procedure) and show an message with the value 12 in it? (This is just a beginning, and I'm new to progress:rolleyes:)

I'm using Progress 10.1 B, .NET 2.0

Thank you,
Mathijs
 
lol! banaan.p :lol:

It wil be too much to explain what you should do. And how it actually works.
I think it is better to go to psdn: http://psdn.progress.com

and search for ".NET roundtrip". Plenty of examples, documentation and powerpoints which makes it lots easier to understand.

HTH,

Casper.
 
Back
Top