473,396 Members | 1,852 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Connecting to an IBM AS/400 with Visual Basic.NET

I JUST INSTALLED Visual Basic.NET BUT, CANNOT CONNECT TO MY
AS/400
(OS400 5.1). WHEN I TRY TO CONNECT I GET A SERVER EXPLORER MSG:

"UNABLE TO CONNNECT TO DATABASE.
IT IS ONLY POSSIBLE TO CONNECT TO SQL SERVER DESKTOP ENGINE DATABASES
AND MICROSOFT ACCESS DATABASES WTIH THIS VERSION OF VISUAL STUDIO."

-What Version Of Visual Studio do I need?

(The AS/400 runs its own version of DB2)

PROVIDER:
IBM DB2 UDB FOR ISERIES OLE DB PROVIDER

I AM USING "IBM ACCESS FOR WINDOWS" (C/A) VERSION 5 RELEASE 2 SERVICE
LEVEL: SI08894
Nov 20 '05 #1
1 3343
Ben,
Unfortunately you cannot use the AS/400 from Server Explorer.

You can however access the AS/400 with code only.

The following sites I found useful when using the AS/400 from .NET:

http://www-1.ibm.com/servers/eserver...edb/index.html

http://www-912.ibm.com/n_dir/nas4apa...ight=2,ii13341

The above links are from June 3rd, not sure if there are more current
versions with better support...

Hope this helps
Jay
"ben_chicago" <be*@neweraopt.com> wrote in message
news:28**************************@posting.google.c om...
I JUST INSTALLED Visual Basic.NET BUT, CANNOT CONNECT TO MY
AS/400
(OS400 5.1). WHEN I TRY TO CONNECT I GET A SERVER EXPLORER MSG:

"UNABLE TO CONNNECT TO DATABASE.
IT IS ONLY POSSIBLE TO CONNECT TO SQL SERVER DESKTOP ENGINE DATABASES
AND MICROSOFT ACCESS DATABASES WTIH THIS VERSION OF VISUAL STUDIO."

-What Version Of Visual Studio do I need?

(The AS/400 runs its own version of DB2)

PROVIDER:
IBM DB2 UDB FOR ISERIES OLE DB PROVIDER

I AM USING "IBM ACCESS FOR WINDOWS" (C/A) VERSION 5 RELEASE 2 SERVICE
LEVEL: SI08894

Nov 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Krish | last post by:
Hi Friends, Does anyone know how to connect access database into Visual C++ in Visual Studio 6.0. I know the procedure to connect access database into Visual Studio .Net. But Visual Studio 6.0...
1
by: Mohammad-Reza | last post by:
It is now 3 months that we are trying to connect ASP.NET to a SQLServer located on another system However we act,we get a fatal error We need someone to explain the way of connecting to SQLServer...
3
by: Jeremy Dillinger | last post by:
I am trying to design a program that will use data from a MySQL database. Currently all the data is being used with PHP scripts from a website. I am also trying to build a software solution that...
3
by: BobAchgill | last post by:
When I use this class below it says "Name 'config' not declared" for the following line: Dim sMethod As String = config.AppSettings("DialupMethod") How do I declare this guy? Thanks, Bob
0
by: athindrans | last post by:
hi everyone first time using sql server. I have problem connecting from a small c++ program in visual c++ express editon to sqlserver 2005 developer editon. It says error connecting to...
1
by: Hemantk | last post by:
I am having a Problem in connecting MS SQL server with Visual Basic 6 on window XP. I have a project made in VB using MS SQL server as database, Now when I tryed to run it its showing run time "...
2
by: jayantim | last post by:
Hi ! I want to know the connection code for connecting visual basic and microsoft access. plese give the detail code for this connection. Actually I tried one code which is as follows: Dim cn...
5
by: CAM | last post by:
Hello, I am using SQL Server Express 2008 for my database and Visual Studios 2008 - Visual Basic.Net for my forms. I Gone into VS 2008 and specify the source of data using the Data Sources...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.