Unable to connect to oracle DB using VBA and you are prompted with the error:-the client components and Oracle network have not been found. These components are supplied by Oracle Corporation and are part of the Oracle Version 7.3.3 or installation of the

Hello

It would be helpful to me if someone can give me instructions on setting the version of driver or oracle client required to connect to the the Oracle DB using excel VBA

My config: -.

Windows - 8-64 bit

Excel 2013-32 bit

The components of the client / I should install, and how to solve the question below...

I tried the VBA code... but you are prompted with the error message above

Void Oracle()

Con Dim As ADODB. Connection

Dim rs As ADODB. Recordset

Dim query As String

The con value = New ADODB. Connection

Set rs = New ADODB. Recordset

strCon = "Driver = {Microsoft ODBC for Oracle}"; "." & _

"CONNECTSTRING = (DESCRIPTION ="& _.

"(ADDRESS =(PROTOCOL=TCP)"& _

"(HOST = HostNumber)(PORT=PortNumber))" & _

"(CONNECT_DATA = (SID = SIDNumber))); UID = username; pwd = password; »

con. Open (strcon)

If err. <>Number 0 then

MsgBox ("Oracle error:" & vbCrLf & err.) Description)

On the other

MsgBox ("Oracle DB Connection successful.")

End If

End Sub

I'll replace it with the values of host origin...

Thanks for the suggestion you till u gave...

complete solution is in the link below...

https://itkbs.WordPress.com/2014/07/28/how-to-install-ODBC-driver-for-Oracle-in-Windows-7/

Tags: Database

Similar Questions

  • Help! I ran CCleaner a week ago and now cannot get on a few gaming sites. At the suggestion of a friend I click Start, run, cmd and ping sites and they have not been found.

    Maybe the registry files?

    CCleaner is an excellent program for computer maintenance, but you should never use its registry tools. Because you forgot to tell us which games sites, you can reach, I can't check out them for you.

    If you have used the registry cleaner in CCleaner, see if it has an undo feature and if it does - use it. If not, post back with the URLS of the sites that you can reach. Also tell us what browser you use - IE6, IE7, IE8, Firefox, Safari, etc., and if you do not to sites with a particular browser, what happens when you try with another. MS - MVP - Elephant Boy computers - don't panic!

  • The battery on my Toshiba NB500 has not been charged since one should use it when you are connected to the power. The battery in the tool bar icon indicates charge but is always 0% available.

    The battery on my Toshiba NB500 has not been charged since one should use it when you are connected to the power. The battery in the tool bar icon indicates charge but is always 0% available. What could be the problem and how can I solve it?

    A problem better put to the support of Tosh or their forums, with regard to their equipment, not MS or Win

  • I tried several times to contact support, but have not been able to get well. I wanted to try the room light I use Capture 1 now. The Downloader or installer will load only if I "Run as Administrator" and then it crashes every time within a few secoun

    I tried several times to contact support, but have not been able to get well. I have a trial (try actually the second time), but are not yet able to test Lightroom/CC. I wanted to try the room light I use Capture 1 now.

    My question is this: the Downloader or installer will load only if I "Run as Administrator" and then it crashes every time in seconds. I even tried the Adobe application that will go well and remove all the remains of the previous software hoping that he would, but no solution. It will continue to act as his footstool, consumption of RAM, but do nothing else than the loop on the same screen. I have to force quit the program so that he could even respond. I'm a little confused on where to go with it. Thank you!

    Windows 10, 16g RAM, 4.7 GHZ 8-core AMD AMD R9 270 X

    Check your hosts file.

    help for that and other adobe.com sure common connection problems read, http://helpx.adobe.com/x-productkb/policy-pricing/activation-network-issues.html

  • I bought a year's license to CC through the shop of Penn State student, but enforcement is not associated with my adobe account when I connect and I have not been sent by e-mail a product key so I can validate my information.  Where should I go from here?

    Hello

    This is my first time using Adobe CC. I am a part-time student, and I ordered the full year of the software of Penn State store subscription license. I am a student at the Pennsylvania College of Technology, they are now an affiliate of power supply.

    I bought the license to receive the email that said I paid, have an order number, but I don't have a product key. I also have the same student e-mail registered with Adobe, but no order at all history when I connect.  That I get that Adobe does not necessarily communicate with supply POWER or PCT.

    So my question is should I just wait for an e-mail with the product key so I can confirm that I have the license and download the programs? Or is there something I'm missing that I should do?

    Any advice is helpful.

    Thanks in advance.

    Lana K

    Hello

    When you purchase a creative cloud subscription you get not a serial key that's just your Adobe ID (email used when subscribing) you need to activate the applications on your computer.

    If you are not able to locate your order please send your ADOBE ID in a personal message to me I will check the information and let you know.

    Or, please see the links for more details below:

    Using creative cloud | Creative cloud / Common Questions

    Manage your creative cloud membership

    To start your creative application Cloud Desktop download: Download Adobe Creative Cloud apps | CC free trial Adobe

    See also, connect and disconnect activate Cloud Creative applications , download and install Adobe Creative Cloud applications

    Let us know if that helps.

    Kind regards

    Bani

  • Use VBA and Excel to open Dreamweaver HTML (CS5), search and replace text, save and close

    I would use VBA and Excel programmatically open numbered Dreamweaver HTML (CS5) and find and replace text in the view code in these files, save and close them.

    I have 5000 associations between find: x 0001 and replace: y0001 in an Excel sheet.

    I have written VBA but do not know how to open, close and save the code in the .html files view. Please... and thank you...

    [email protected]

    I use ASP.net for backend coding, I use PHP. If you want to stay with Microsoft technologies, and then you would like to use ASP.net. and a Microsoft server.

    When you have a Web site that contains many pages with similar content structure, the practice is to store all content and all variables in a database. It is possible to create a site that has hundreds of 'pages', with many variations in the pages, so they don't all look like clones, and yet all this might be based on a single web page. A website as Amazon.com has millions of 'pages', but may actually have only a dozen basic page structures.

    Convert what you now have a system like this would be a fair amount of work, but it's the way to go now.

  • My IPad 2 Air is mad, he gets on its own, and it freezes. Not to mention it locks me. Didn't this iPad for 2 days. Have not been able to use it! I tried connecting to ITunes and will not work!

    My IPad 2 Air is mad, he gets on its own, and it freezes. Not to mention it locks me. Didn't this iPad for 2 days. Have not been able to use it! I tried connecting to ITunes and will not work!

    Hi Kareyfabela,

    For this kind of problem, I strongly recommended opening a pension with Apple iPad case will probably require inspection by an Apple engineer. You can open a file on this site: https://www.apple.com/support/contact/

    I hope this helps!

    Jonty

  • When you try to activate creative cloud, I get "this code has already been used. How can I proceed with the download and installation?

    When you try to activate creative cloud, I get "this code has already been used. How can I proceed with the download and installation?

    Thanks for the Email, the problem is solved now. Please do not hesitate to contact in the future.

    Concerning

    Baudier

  • Anyone know if you can use FTP, when you save, just save the selected file and not all images and cs

    Someone knows If you can use FTP, When you save , just Save the selected file and not all the images et CSS includes ...

    What?  Can you please rephrase your question in order to understand what you're asking?

    If you ask how a file on the remote site via FTP without FTPing any dependent files?  That the answer is Yes, you can do this by changing the SITE > dependent files: option in the PREFERENCES to enable the option "prompt on put/check-in."  The next time you download a file, you will be asked if you want to also download dependent files.  If you say NO and check the don't ask again option, then you will always simply load the file and not the dependents. You can change it back at any time by changing the preferences of this setting.

  • Problems with my mouse, and have not been able to find a solution to the research on various forums.

    Original title: mouse problems

    I have problems with my mouse and have not been able to find a solution to the research on various forums. Here are the symptoms:

    1. you must click several times to get the menus to open. Sometimes they are not just and sometimes they open with a single click flash but do not stick until I clicked several times.

    2 several times the menu drop down and seem to become transparent (not in looks) because when I click on something on the menu, he actually selects everything that is behind the menu drop down. For example, if I'm in powerpoint and you select an item in edit mode, it might work and here again he can just select the slideview behind the menu and expand. Or well, if I'm on a Web site, such as Facebook, and I chose to close the session, rather than enable the disconnection of the key, he chooses some ad is behind the part of the menu and redirects the page of this Web site.

    3. when I try to select a Word, words or sections as paragraphs, it performs several different things: continually select as soon as I let go of the mouse button, the jumps of color selection in another part of the document, or deselects the part of the text before I even let go of the mouse button.

    Here is what I tried:

    1. I had originally a usb wireless mouse. I changed the batteries and then got a new. Now I use a wired mouse.

    2 make sure all updates for Windows and Office 2010 are updated.

    3 has tried to update the drivers mouse, says that it is up-to-date. He restored, did not work. Uninstalled and restarted.

    4 Ran Windows Security Essential and Malwarebytes - found nothing.

    5. ensure that all the Toshiba updates were up-to-date.

    I don't know how the word this issue properly in order to find information about it. Everything I typed in search engines brings me other problems unrelated to this one.

    I am running W7 64 x Home Premium SP1, SP2 MS 2010 with a mouse Dell; Toshiba Satellite C655

    Well I have stumbled on the fix... looks like there was a problem with the HID-compliant mouse. The convenience store hardware detected and solved the problem. Everything seems to work properly again.

  • Old photos have not been deleted, even if it's been more than 2 months and keep crashing the photo library in icloud.

    Earlier this year, I used the library to icloud to back up my photos. Everything worked well. After awhile, I deleted the photos and off synchronization from photo library. Today, I decided that I wanted to use again, so I turned it on. It seems to work fine but when I connect to my PC I have the chance to see the old photos have not been removed. They seem to be corrupt (there is an exclamation mark instead of a thumbnail) and I can not open them, instead the library hangs. It has been more than 2 months, I suppose that even if I forgot to delete some photos, they should be gone now. Is there a way to fix this?

    a few things

    1 - iCloud Photo is not a backup - it's a synchronization service - see FAQ-apples iCloud Photo library FAQ - Apple Support

    More precisely

    Do I need a backup?

    ICloud library stores all of your photos and original videos in iCloud, but we still recommend that track you return of copies of your library. You can upload your photos and videos to iCloud on your computer and store them in a separate library, transfer them to another computer with transfer of images or Photosor store them on a separate disk.

    2 - ICPL can be accessed through Safari - connect to iCloud.com can click on the picture and see what's there - look in the recently deleted album and see what's there

    3. we need to know the details - you have other devices using the same iCloud account?

    LN

  • Failure of the assertion when using Labview ActiveX functions to communicate with the dll

    Hello

    I'm looking for suggestions and tips about the following error that I get when I use .NET Labview functions to communicate with the dll written in .NET environment. I just need a starting pointer on where can I search for the origin of this error. I am a newbie in. NET.

    I am also attaching the .vi I use, if this is of any help. All suggestions are welcome!  Thank you.

    The origin of the error found after studying the examples provided by the OR .NET. The callback function had to be moved out of the loop, which solved the problem.

  • Just recently I have not been able to move the folder on my desktop. I have to copy and paste it into a new folder, and then delete the old on.

    Just recently I have not been able to move the folder on my desktop. I save videos to my office then then move in different folders, but now need to copy and paste, then remove the video from office.  Around the same time, when I try to use help I have Windows Help cannot start.  So please HELP.  Using Win7.

    Hello

    1. Did you of recent changes made to your computer that caused the problem?
    2. It happens that the Office? Have you tried with Documents and other readers?

    Step 1: File system [SFC] Checker

    Try to run a scan of the file system [SFC] checker on the computer that will replace missing or corrupt files & check if the problem persists.

    How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7

    http://support.Microsoft.com/kb/929833

    Step 2: Run a virus scan to check if there are infections on the computer:

    Microsoft safety scanner

    http://www.Microsoft.com/security/scanner/en-us/default.aspx

    Note: If infections are detected during the scan, there is a risk of data loss because infected files will be deleted.

    Step 3: Follow the instructions in the article to fix the problem of files and folders in Windows:

    Diagnose and repair Windows files and folders problems automatically

    http://support.Microsoft.com/mats/windows_file_and_folder_diag/

    For more information, follow the instructions in the article to improve the performance of Windows 7:

    Optimize Windows 7 for better performance

    http://Windows.Microsoft.com/is-is/Windows7/optimize-Windows-7-for-better-performance

    It will be useful.

  • Do I lose all the iMessages that have not been delivered to my iphone if I withdraw (from iMessage) my phone number? My current iphone is broken and I am planing to get a new one, with in a few months.

    Do I lose all the iMessages that have not been delivered to my iphone if I withdraw (from iMessage) my phone number? My current iphone is broken and I am planing to get a new one in a few months.

    You may lose everything.  iMessage, like most e-mail services, don't keep permanently undeliverable messages.  They only keep in the short period send queue (I don't know exactly how much time but some Apple tech sites indicate no more than 10 days to two weeks) until they are purged.  That's pretty standard as otherwise, large volume, messaging services would be sitting on tera-bytes of messages not delivered each month.

    You actually have to change my phone number?  If not, let alone sign and only in iMessage when you have the new phone with this set of numbers upward to the service.

  • Error message: they buy items on the iPhone "IPhone patches (2)" who have not been transferred to your iTunes library. You must transfer these items in your iTunes library before the update of this iPhone. Are you sure you want to continue

    When you try to download and install new updates of security for my iPhone 6 s, I get the following error Message:

    "They buy items on the iPhone"XYZ"which have not been transferred to your iTunes library. You must transfer these items in your iTunes library before the update of this iPhone. Are you sure you want to continue? »

    How do I 1) locate those particular items purchased? and (2) how to transfer them to my iTunes library?

    Click here and follow the instructions.

    (139952)

Maybe you are looking for