Case :
I'm creating a desktop application with VB.NET (Windows Forms), and using Oracle 11g Release 1 for its database.
Problem :
I want to create a client-server application, it means I just need a database on the server.
I have three computers. I set my first computers's IP to 192.168.1.1 , my second computer's IP to 192.168.1.2 and my third computer's IP to 192.168.1.3
Now I place the oracle database on my first computer whose ip address is 192.168.1.1, I want to connect the user "hr"
Problem is, how to connect my computer's database from the other two computers (the second one and the third)
specification: these are the Informations in the file tnsnames.txt
ORCL = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = pc)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl) ) )
Question :
How to connect to the first computer (server) database from the two other computers (Clients)?
Could you show VB.NET Connection String to the database and what kind of connection is used?
Thanks before.