A VB6 network application
abdas001
-
pollyss4 -
pollyss4 -
Hello,
I am a VB6 programmer, and I am creating an application for a computer park equipped with a simple LAN network with a switch and router. My goal is to work under this network with my application by creating an interface on each workstation to display information for the person at the connected workstation.
So maybe there's information here on how to configure the network, the database on a workstation that will act as a server, and the program.
Thank you for any help.
I am a VB6 programmer, and I am creating an application for a computer park equipped with a simple LAN network with a switch and router. My goal is to work under this network with my application by creating an interface on each workstation to display information for the person at the connected workstation.
So maybe there's information here on how to configure the network, the database on a workstation that will act as a server, and the program.
Thank you for any help.
Configuration: Windows XP Internet Explorer 6.0
4 answers
I finished an app created with VB6 and SQL Server (database)
I have the same problem, how to share my app on the network
Thank you
--
If you were as smart as you think you are, you wouldn't be a cop.
I have the same problem, how to share my app on the network
Thank you
--
If you were as smart as you think you are, you wouldn't be a cop.
If you are using SQL Server as your DBMS, you need to create users with permissions on your SQL Server database, then in your configuration file that will be accessed by your VB application, you put the connection name, password, and the IP address of your server.
Your configuration file should look like this:
Provider=SQLOLEDB.1;Persist Security Info=False;User ID=your user to create under SQL Server;Password=user's password;Initial Catalog=your database;Data Source=your server's IP address.
I name it for example: configurationfile.dat.
So you need to disable firewalls that often block traffic!
Now you just have to configure the machines to be on the same network!
When you start your application, you read the file with VB, so once this code is executed on your remote machines, they will directly connect to your remote database.
Let me know how you're doing! Happy reading.
Your configuration file should look like this:
Provider=SQLOLEDB.1;Persist Security Info=False;User ID=your user to create under SQL Server;Password=user's password;Initial Catalog=your database;Data Source=your server's IP address.
I name it for example: configurationfile.dat.
So you need to disable firewalls that often block traffic!
Now you just have to configure the machines to be on the same network!
When you start your application, you read the file with VB, so once this code is executed on your remote machines, they will directly connect to your remote database.
Let me know how you're doing! Happy reading.