通过vb中的网关连接到远程数据库 [英] Connect to remote database through gateway in vb

查看:86
本文介绍了通过vb中的网关连接到远程数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我正在尝试修改excel表中的一些代码,这是用VB 6编写的。现在问题是,我通常连接到通过远程登录到网关并从那里到具有toad的数据库服务器的特定数据库。我想在我的vb代码中执行此工作来访问数据库。



请帮助我,请注意我不是全职VB程序员。

Hi,

I am trying to modify some code in an excel sheet, which is written in VB 6. Now the problem is, I usually connect to a particular database by remote logging into a gateway and from there to the database server with toad. I want to do this job in my vb code to access the database.

Please help me with this and kindly note that I am not a full time VB programmer.

推荐答案

VB无法做到这一点。您的代码需要访问数据库,因此在运行它时,您必须首先打开网关,以便代码可以访问它所需的内容。
VB cannot do that. Your code needs access to the db so where it is running you will have to first open the gateway so that the code can access what it needs.


这篇关于通过vb中的网关连接到远程数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆