Micro Focus User Groups

What is Micro Focus Live? Learn more at www.microfocuslive.com

SIR,

I have installed visual studio 2008 and microfocus netexpress 5.1 in my system but i dont know how to do the cobol program in the visual studio 2008 . i went to file menu in visual studio 2008 and i opened project in that it showed a cobol and i clicked the cobol in that it has several thing like console application , windows application like that i clicked windows application but i dont know where to write the cobol program in that and i want a sample program of database connectivity using cobol with visual studio 2008.

I HAVE SQL SERVER 2000 IN MY SYSTEM ALSO


presently i am working in windows xp platform.
please send the source code for the cobolinside visual studio 2008 that has database connectivity .

plese provide me the related document or project regarding hotel management that should have code in cobol with visual studio 2008 via net express 5.1 if u have please send sir.

i tried a sample program by searching the google regarding this
i got some thing like this

SESSION 5825
COBOL Apps/VS SQL Server & .NET Hands-on Lab

by seeing that i have typed the sample program but is shows an error in form1.vb WHILE RUNNING
Public Class Form1



Dim Ds As DataSet
Dim EmployeeObject As New EmployeeInquiry.Class1


Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load


Ds = EmployeeObject.GetEmployeeData
DataGridView1.DataSource = Ds.Tables("Employees1").DefaultView

End Sub

End Class

WHILE RUNNING I GOT THE ERROR LIKE THIS
1 Type 'EmployeeInquiry.Class1' is not defined.


HOW TO RECTIFY THIS


it is very urgent please send soon sir.

Share

Reply to This

Replies to This Discussion

In .Net we support both ADO.Net and ODBC based access to databases using the EXEC SQL based COBOL syntax. There are some demos in:-

C:\Program Files\Micro Focus\Net Express 5.1\Examples\Visual Studio Integration

that show some ADO access to databases from COBOL. See ConnectedDemo , CursorDemo , DisconnectedDemo.

In C:\Program Files\Micro Focus\Net Express 5.1\Examples\Net Express IDE\ODBCESQL there are some ODBC based examples showing database access from COBOL.

In the Visual Studio help for Net Express with .Net you should find the Database Access manual under "Programming".

Regards
David.

Reply to This

sir,
sorry for the late to reply you .

sir, i have seen already the path which you have told .
i have gone through the connected demo program in that the program was written in console application but i need the program of insertion , deletion, and updation in cobol using visual studio.net with open esql using windows application
can you provide the code for the above said using windows application



if you have a sample program or project of cobol with visual studio 2008 with open esql .

ie: the project such as hotel management system or employee information system or any thing can you please send the complete source code for the above said project if u have sir.


please kindly reply soon sir.


thank u sir.

Reply to This

The OpenESQL Assistant will help you write those routines. Check out the documentation (from the help menu in the product) and you should get a pretty good idea on how to use it. The documentation is also available online at http://supportline.microfocus.com/documentation/books/nx51ws01/nx51...

Reply to This

RSS

Badge

Loading…

© 2009   Created by Ken Narita on Ning.   Create a Ning Network!

Badges  |  Report an Issue  |  Privacy  |  Terms of Service

Sign in to chat!