Connect To Oracle 10g Server From Client Machines?
Mar 9, 2010
I have installed Oracle 10g in one of my office's computer. I want to keep this as database server. I am developing a .net project which will communicate with the database server from client machine and from the server machine. I success to communicate with oracle from server machine but not from client machine using the .net project. The connection code is as follows:
Public OraConn As ADODB.Connection
OraConn = New ADODB.Connection
OraConn.Provider = "OraOLEDB.Oracle"
[code].....
View 1 Replies
ADVERTISEMENT
Dec 7, 2011
How to connect client machines with sql server machines ?Vb.Net as front end.
View 8 Replies
Jul 2, 2010
i Use "Imports System.Data.OracleClient .. Private conn As New OracleConnection()" to connect to my Oracle database..but when i put my program to another PC I need install Oracle Client on it...is there some other way how to connect to Oracle DB without installing oracle client to client PC?? (Database is on Server an program is on client´s PCs)
View 2 Replies
Jun 11, 2011
I have created an application using ODBC data sources.it runs on a local machine well. but i want it to run on client machines from central server. the following is the code that i use:[code]where cleaners is a data source i have manually created in ODBC data sources.and then uses the connection for inserting,deleting and so on.can somebody help me with a code that can enable it access the remote machine.
View 1 Replies
Sep 29, 2009
I have a vb.net 2.0 winforms project that is full of all kinds of business reports (generated with Excel interop calls) that can be run "on-demand". Some of these reports filter through lots of data and take a long time to run - especially on our older machines around the office.I'd like to have a system where a report request can be made from the client machines, some listener sees it, locates a server with low-load, runs the report on that server, and emails the result to the user that requested it
View 2 Replies
Dec 14, 2011
How to connect to oracle (Linux) without installation of Oracle Client or TOAD .....?
View 2 Replies
Apr 3, 2012
I receive the error below when running the following function. The catch says the line where it opens the connection (Me.OracleConn.Open()).
I have made sure that the server exists in the TNSNAMES.ora file.
Imports NetOracle = System.Data.OracleClient
...
Private Property OracleConn As NetOracle.OracleConnection
...
Private Function Connect_To_Oracle() As Boolean
[Code].....
View 2 Replies
Feb 22, 2012
I have Visual Studio 2008 running from Windows XP. Our server is Windows 2003 Server.
On a different server, there is an Oracle database we want to connect to.
I've made the connection work from my local VS instance using system.data.OracleClient with the following code:
Dim oradb As String = "Data Source=(DESCRIPTION=" _
+ "(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)" _
+ "(HOST=ourHostaHere(CONNECT_DATA=(SERVER=DEDICATED)" _
[Code].....
What do i need to do, to get my local Visual Studio 2008 project to connect to the oracle database?
What do i need to do, to get our server to allow the published .NET page to connect to the oracle database?
View 1 Replies
Sep 20, 2011
i want a step by step answer iam familiar with vb6 not with vb2010
View 6 Replies
Jul 5, 2011
I am trying to Connect my VB.net Window Application to IBM_DB2 Database.I have used the same method to connect to previous other databases such as SQL Server, Oracle. But getting an error in DB2.
Dim cn As New OdbcConnection("dsn=Sample;uid=db2admin;pwd=password") 'Sample is DSN
cn.Open()
Dim da As New OdbcDataAdapter("Select * from Employee", cn)[code]......
View 3 Replies
May 28, 2012
Which should be selected?
Data Source=190.190.200.100,1433;Network Library=DBMSSOCN;Initial Catalog=myDataBase;User ID=myUsername;Password=myPassword;
or
Data Source=190.190.200.100;Network Library=DBMSSOCN;Initial Catalog=myDataBase;User ID=myUsername;Password=myPassword;
View 1 Replies
Jun 8, 2010
Im a beginner at vb.net, and just wanna ask if it is possible to make a vb.net app/client app that can connect to a database on an online web server???The app is locally on the client computer and the database is uploaded on the web server/host together with its website.
View 4 Replies
Aug 10, 2011
I am wondering if anyone has a tutorial or source code to help me get started with creating a IRC Client that will connect to a IRC Server.I just want to make a pretty GUI to modernize it a bit and add some more features etc purely for educational reasons & because I need a new project.This is a couple of steps up from my last project so I will need a guide to get me started etc. I have been searching on various sites etc but have found nothing so far.
View 7 Replies
Jun 25, 2010
I am trying to open a socket server, I have the code below but my problem is that when I try to connect as a client to the server using the command line (telnet ip port), i only get to type 1 letter and that's it, i can't do anything else, how can I make it so that the client can send anything until they hit or type EXIT?
Here is my code:
Imports System.Net.Sockets
Imports System.Text
Imports System.Threading
[Code].....
View 1 Replies
Feb 15, 2012
I've been Searching the Net for hours now, and i can't really seem to find anything clear and straight to the point.
I need to create a Server/Client application using VB.net 2008, it's actually my first time to have a database on another computer. So I first searched the internet for the things i need to make this software.
[code]...
View 5 Replies
Aug 2, 2010
i made a program that uses sockets to connect the server to client but there is a problem with it when i try it on this ip"127.0.0.1"wich is not a real ip just a loopback to my computer it works just fine when i use my local ip it works as well when i use my main ip from http:whatsmyip.org it doesnt work at all i dont know why it doesnt say an error or an exception but its not connecting so i gave the server to a friend of mine i tried using both his real ip and his local but still not working i dont know why?i mean i am 100% sure of my code...
View 7 Replies
Feb 24, 2008
I wrote a program in VB2005. It is a program that is supposed to run in a client computer accessing an MS Access .mdb file stored in the server. The program itself is stored and run in the clients computer. I am not good in networking at all. The way I do it now is:
1. Have a directory made in the server to hold the MS Access .mdb file, and have the directory to be shared.
2. Have the same directory accessed and mapped in the client computer (say to Z:)
3. Then have the program in the client computer simply access the database as if it is in the same computer (as the directory already mapped into the client computer). In the VB 2005, this is done when we set the connection string of the database connection.
However, my user is complaining that by doing so, the database is basically exposed to the operator of the client computer (through the mapped directory), hence more vunerable for any bad intentions from persons who may have access to the client computer but not the server. He insists that he used to have a program that does exactly the same thing like my program, but the database is shielded in the server, where it cannot be seen in the client computer (I have other people who confirm that this can be done, though they can't tell me how, since they are not programmers themselves). Now, I have no idea on how to connect a database that way, and I don't even know where to start looking.
View 1 Replies
Oct 1, 2009
This question is about deploying a VB6 application that uses an interop component created in VB.NET, specifically, a .NET dll.Using Regasm.exe, I was able to create a .tlb and use it on the dev machine to add a reference to the VB6 project, but how do I go about deploying on client machines, particularly the .NET component?
View 6 Replies
Jan 23, 2011
I have added COM control AxWindowsMediaPlayer to form in vb.net.and just have following code
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
WMPlayerVideo.URL = "abase.mp4"
End Sub
End Class
abase.mp4 file is kept in directory where exe is there. Every thing runs fine on dev m/c but on client machine application is not lauached.When Interop.WMPLib.dll and Interop.WMPLib.dll are copied to the exe file directory then application is lauched at least but file is not played automatically and even on pressing play button its not played.Is some dll registration required to make it work? or some references needed in project?or some changes on user machine?
View 1 Replies
Jun 7, 2009
I have a .NET application which is using the Microsoft.mshtml PIA. It frequently experienced exceptions with a message saying that the Microsoft.mshtml assembly or one of its dependencies is missing. Weirdly enough, this happens on some machines, but works fine on others! (actually, it works fine on the majority of machines)
[Code]...
View 1 Replies
Mar 15, 2012
i have several clients on a LAN network, these clients all have access to a particular sql server. i want to write an application that allows any client on the network to send one or more messages to another client on the network providing that both clients have access to the specified sql server.
View 1 Replies
May 9, 2009
how to create a client/server... But I couldn't... I don't want anything fancy. Just want the client to send the server 4 numbers, depending on the user's choice; after that, the server would turn off the pc, restart it, etc. It all depends on the number received. Is there a rather "simple" way to do it? If it's not to much trouble you could use Atheist's example. (Btw I don't understand the code and, yes, I've checked on [URL])
View 9 Replies
Jun 27, 2011
Hey guys, I am trying to send data from client to server (encrypted) and the string sent from the client is not the same as recieved from the server. I've been killing my brain for hours to get this to work but I cant manage. Im converting everything to Base64 string.
Client:
Public Sub SendMessage(ByVal msg As String)
Try
SyncLock myclient.GetStream
sw = New IO.StreamWriter(myclient.GetStream)
[code]....
View 4 Replies
May 5, 2012
This is a VB .NET 4.0 WinForms application. There is a mysql data-source involved with this project. The target CPU is set to any. Problem: When running this application on any computer that has VS 2010 installed along with the mysql connector it runs flawlessly. When installing on a virgin system(ie. No developer environment installed) but that machine does have .net framework 4.0 installed and a mysql server without the connector installed the application falls immediately. So to fix the issue I install the mysql connector MSI.
This immediately fixes the issue on the client system and it runs. The problems is that as you can see below from my Installer setup that the 2 needed DLL files for MYSQL are actually included in the installation package so should not need to be installed separately. So Why is it that using that installer from the images do I need to install the mysql connector? Any Ideas?
Below is a screen shot of the References the program uses and from what I believe I do not need to deploy any of those DLL files with my application other than the 2 MYSQL DLL files. So why is this failing? Below are images showing the project references as well as the Installer Files that are being installed in the application folder. As shown in the image the 2 mysql dll files are to be put in the application folder. There is also a screen shot showing each dll's properties for in application folder.
View 1 Replies
Jun 21, 2010
We are creating a Who wants to be a millionaire style game in VB. Our server is pulling information such as questions and answers from a Access Database and sending them to the contestants (Clients). All transfer of information is directly from the server to each client. One of the "Life Lines" we want to use is "Ask a friend", where one client is able to Instant message another client for a short time to get help on the question.
[Code]...
View 2 Replies
Nov 15, 2011
basically i just want client to say "C: emp" ENTER
then, server must reply with all its files in c: emp
View 1 Replies
Jul 23, 2008
The problem I have is: When I click on cmdListen in the server form and cmdConnect in the client form,both programs won't respond and they crash for some reason I don't know.
Client source code:
Code:
Imports System.Net.Sockets
Imports System.Text
Public Class Form1
[CODE]...
Code:
Imports System.Net.Sockets
Imports System.Text
Public Class Form1
[CODE]...
View 3 Replies
Jul 20, 2010
I need to connect oracle to a .net application
View 3 Replies
Aug 27, 2009
how to connect oracle 8i in vb.net...what is the procedures for connection?
View 1 Replies
Jun 7, 2010
The Oracle.data-access reference dll is missing in my reference.How do I make get this dll or is there any other way to connect to oracle 10g.
View 2 Replies