Can i use the default value in TNSNAMES.ora file

Hai , i connect the Vb to oralcle using Oracle data access component , and i have read the documentation for ora file.
Most documentation show to connect oracle with vb.net , the ora file must be modified.
My questions is , can i directly connect to Oracle without modify the ora file ?
Thank You

Thank you for the reply. I will read the documentation first.
I install the oracle 10g express edition . Hence , i have two user , the sys an the other is hd.
How the TNSNAMES.ora known i want connect to which username ?
Thank you

Similar Messages

  • How can I get the default value of a particular preference programatically. I know I can see the default value for some of the preferences in about:config but, I need a programatic way to get the default value.

    <blockquote>Locked by Moderator as a duplicate/re-post.
    Please continue the discussion in this thread: [tiki-view_forum_thread.php?comments_parentId=702631&forumId=1]
    Thanks - c</blockquote>
    == Issue
    ==
    I have a problem with my bookmarks, cookies, history or settings
    == Description
    ==
    How can I get the default value of a particular preference in FireFox?.
    I know I can see the default value for some of the preferences in about:config but, I need a programatic way to get the default value.
    I see some that there are values for preferences in firefox.cs but I am not certain that these are being used as the default values for preferences. prefs.js in user's profile only has the updated values and not the default values.
    Any help towards acheiving this programtically is greatly appreciated.
    If the default values are stored in a file, kindly let me know the format in which it is stored for me to parse it programatically.
    == User Agent
    ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Win64; x64; Trident/4.0; .NET CLR 2.0.50727; SLCC2; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)

    Dear Friend,
    Here when you have the callableSattement as ?=proc(?), the first ? is an output parameter. So you should register it as out parameter using registeroutparameter.
    Then you can get the value from the outparameter using callablestatement.getXXX().
    Try that way.
    For free tral versions of JDBC Drivers go to www.Atinav.com

  • How we can find out the default value of the initialization parameters

    Hi All,
    How we can find out the default value of the initilization parameters from oracle database.
    Thanks
    Shiju

    Hi,
    you can find currently used parameter values v$parameter and v$parameter2.
    if default values is different real values then you can see alert.log.
    because in alert.log you will see non default values, rests is default.
    Edited by: admin on May 8, 2010 3:41 AM

  • Can I use the default "signature properties dialog" in DigSig layer?

    Hello
    I am writing a plug-in about digital signature with the DigSig Layer. I need a  "signature properties dialog" to display info after I verified the signature.
    Now my questions :
    Can I use the default "signature properties dialog" in DigSig layer, just like PubSec's default "signature properties dialog" ?
    If I want to implement my  own "signature properties dialog", what should I do ?
    thanks.

    Thank you so much~
    Actually, it's only an applet for test. I cannot get the error code if I new the KeyPair in install function or Applet construct function. It will return "6A 80" when install the applet.
    And, I found that it support few algorithm. For example, it does not support ALG_DES_MAC4_ISO9797_M2,etc. Is there anything I can do if I want to use the algorithm? Shall I rewrite security package by myself?
    5555, security package is the standard package in JAVACARD API 2.1.1.

  • Can I use the Camera Connection Kit to transfer files from my Mob/PS3/iPod?

    Can I use the Camera Connection Kit to transfer files from my mobile/iPod or Playstation 3 to iPad using a USB cable?
    I have an *iPod nano 16GB 5g* & my mobile is a *Samsung G800* and *Playstation 3 80GB*.
    _Thanks for reading_

    The CCK will find/ask to download (if iPad supported formate )picture and video files if the device is formated in FAT 16 or 32 and the supported files are placed in a "DCIM" folder in the root directory. I have transfered such files from SD card and USB drives. However, not USB drive work. I had an old 2GB (very large) and when i connected it it said it drew too much power.
    I also downloaded pictures and video files from a compact flash card and smart media card via a SanDisk USB card reader.
    AppleIpod60GB wrote:
    No. The CCK is only designed to allow you to import photos from a digital camera via USB or an SD card. You cannot import any data via this kit and no other files will work as it's designed for only the functionality it does. The kit looks for a folder with the label "DSC####### the same structure as most digital cameras, and will only function with JPG files.
    Message was edited by: lllaass to add CF and SM info

  • How can I change the default value of a command ?

    I want to be able to change the default value of a comand when the vi
    is running. (I know how to do that with a right click when the vi is
    not running).
    In fact I would like the user of the vi to be able to choose a new default value for a command.
    How can I do that ?

    You can't do this on a running VI. If you have an idle VI, you can open a reference to that VI and use an invoke node with the Make Current Values Default method, but that will only work in LV (i.e. not in an EXE) and will affect all the controls. What you can do is save the values to a file and load them when the program starts. OpenG's File I/O package includes some VIs which will help you with that.
    Try to take over the world!

  • How to make a subscription use the default value for a parameter

    Hi everyone,
    I need to use the CreateSubscription method and have this new subscription use a default value for certain parameter. How can I do this?

    Hi Marianne,
    I have to create the subscription programatically, which is different from what you mention. To further clarify my challenge:
    I have three parameters in a report: date-interval (string), start-date (date), end-date (date). If the user selects for example "last week" as the date-interval, the DEFAULT values for the other two are as follows:
    Code Snippet
    start-date=DateSerial(Year(Today),Month(Today),Day(Today)-Weekday(Today)-6)
    end-date=DateSerial(Year(Today),Month(Today),Day(Today)-Weekday(Today)-1)
    The user can then select intervals like "today", "yestarday", "this month" etc, and the other two parameters are calculated based on that date-interval parameter. Now, If I programatically create a subscription to a report that contains these three parameters and set a value of "last week" for the date-interval parameter, the subscription stores the fixed days (say september 10 to september 16) producing a report of the same week every time the subscription is run and not updating the correct interval to LAST-WEEK!. What should I put as the value for start-date and end-date when I create the subscription to have these two params get the DEFAULT calculated value based on the third param date-interval?
    Hope to have been more clear now.

  • How can I change the default value in IT0009?

    Right now in our system when we create a new IT0009 entry, several fields are defaulted such as the payee name, bank country, and currency (field WAERS). But in table T588Z I can not find anything defined for IT0009. Now even I create entries in T588Z ex. as 
    0009              WAERS     06     10     W     P0009-WAERS='USDN'
    the currency still shows up as 'USD' when I create a new record. Can anyone tell me where the field 'WAERS' is defaulted as 'USD' and how can I control this?
    Thank you very much.
    Best regards,
    Johnson

    Hi Johnson,
    Correct me if I am wrong,You need to default a value, so i guees you would need to use the feature P0009 not the dynamic action. If you could let meknow the current structure of the p0009 feature, may b i could help you figure the could-be structure of the p0009 to default the required value.

  • How can I use the output value from SIMPLE PID to write something to the serial port?

    I am working on my Senior Design Project that requires the use of incoming compressed air, propotional valves, continuous servo motors, and a serial servo motor microcontroller.  I have figured out how to send byte sequences to the microcontroller through LabVIEW using the VISA serial write function.  The motors are attached to the valves to control the flow rate.  I have created my own simple feedback system using a bunch of case structures but I realized that I am basically trying to recreate the wheel (I basically was writing my own PID VI).   I have an older version of LabVIEW (7.0 Express) and theres no way to upgrade or buy the PID toolkit, so I am stuck using the Simple PID VI.  Also, the only way the motor works is sending an array of bytes to tell it to turn on/off, direction, and speed.  Is there any way I can use the Simple PID VI in conjunction with the VISA SERIAL write function, or is there any other way I can communicate with the serial port using this pid vi?  Any information would be appreciated.

    Hi gpatel,
    you know how to communicate to serial port, but you don't know how to send a value from SimplePID to serial port???
    You know how to communicate, but then you don't know how to communicate???
    You should explain this in more detail...
    Edit:
    From you first post you know what values your motor driver is expecting. You know which values the PID.vi is providing. Now all you need is a formula to reshape the values from PID to the motor. It's up to you to make such a formula. Unless you provide any details we cannot give more precise answers...
    Message Edited by GerdW on 02-28-2010 08:35 PM
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Can we use the metadata value of an asset without prefix

    I am using the DAM asset  (com.day.cq.dam.api.Asset;)  and reading the metadata values using the keys
       e.,g. asset.getMetadataValue("dc:format");
    Is there a way I can add a value to the metadata something like ("dummyType") or (":dummyType").
    There are already some key values in metadata e.g.  asset.getMetadataValue("Type");
    But for "Type" an empty string is returned, does any one have suggestions or a workaround for this ?
    Thanks

    Gul wrote:
    I have a variable in forms6i. I want to use the value of this variable in an alert message. How is this possible?Try
    DECLARE err_txt VARCHAR2(200) t;
    al_id ALERT;
    al_button Number;
    BEGIN
    al_id := FIND_ALERT('My_Error_Alert');
    SET_ALERT_PROPERTY(al_id, alert_message_text, 'Hello how are you mr. variable '||:variable_name );
    al_button := SHOW_ALERT( al_id );
    END; Hope it works..
    Hamid

  • How can i implement the default value for this variable?

    In one of our Stored procs,we have a variable RECS_TO_DELETE, which determines the number of records to delete from various DELETEs that happen within this proc.
    The value for RECS_TO_DELETE variable should be obtained from a configuration table sys_config
    select
    rec_num into RECS_TO_DELETE
    from sys_config
    where
    sys_code=55;
    But if something goes wrong with sys_config table or the above SELECT INTO, our client wants to makes sure that RECS_TO_DELETE should have a default value of 1000.
    In the code, how will i implement having this default value of 1000 for RECS_TO_DELETE variable  in case the above SELECT INTO fails for some reason.

    Hi,
    You have to assign a value before the execution...
    DECLARE
        RECS_TO_DELETE NUMBER(9) := 1000;
    BEGIN
        SELECT rec_num
        INTO   RECS_TO_DELETE
        FROM   sys_config
        WHERE  sys_code = 55;
        DBMS_OUTPUT.put_line(RECS_TO_DELETE);
    EXCEPTION
        WHEN NO_DATA_FOUND THEN
           DBMS_OUTPUT.put_line(RECS_TO_DELETE);
    END;
    /Regards,

  • How can I change the default program to open Pages files in Finder from Pages 5.0 to Pages '09?

    I’ve tried. It seems Mavericks can’t tell the difference between the programs or won’t let me.
    Message was edited by: WWGreaves

    Open DIsk Utility and in the toolbar select Disk Image. The file selector will open and you'll have to do three things: 1) just as with any file, name it and point the file selector to where you want it to be saved, 2) near the bottom you'll see name - type iWork 2013 and 3) below that select the image size. Click on size, choose custom and type 1500 MB then click on the Create button.
    Some time will pass and then you'll see an external disk pop up on your desktop and/or the Finder window sidebar. Drag the three programs into it and eject it like any other external disk. Now delete the programs from your applications window.
    Where ever it was you pointed the file selector to you'll see the file you created. Double click on it and the disk image will mount again.

  • How can I use the defaults command to edit a sub key in an array of plist?

    For example, how could I edit the Name key in the array?
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
    <key>Test</key>
    <array>
    <dict>
    <key>IPAddress</key>
    <string>xxxx</string>
    <key>Name</key>
    <string>yyyy</string>
    </dict>
    </array>
    </dict>
    </plist>

    I realize you are asking specifically about 'defaults', but as they concede in 'man defaults', it may not be the best tool for editing properties in "complex" structures, such as those buried in dicts within arrays, etc.
    As an alternative, it looks like in 10.5, '/usr/libexec/PlistBuddy' is now a part of the standard install - 'PlistBuddy' may be more useful for this sort of task.
    For example:<pre>
    /usr/libexec/PlistBuddy -c "set Test:0:Name zzzz" /path/to/file.plist</pre>

  • Ben, I am using the default value. (Terminal is unwired)

    Terminal is unwired.

    I believe the unwired is defaulting to true which says that visa will look for the termination character and pull it out of the data stream. If you want to see CR-LF's you will have to turn this off.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • I can not use the Runtime.exec() to open a file

    hi,
    i use java to open a pdf file like this:
    Runtime.getRuntime().exec("start c:/example.pdf");
    it works ok,but when i use java web start it do nothing,
    pls help me,why it can not work.
    thanks!

    I'm doing this with my app (getting access to the local filesystem and launch applications) and it works just fine.
    Things to do:
    1)
    Make sure your app is signed.
    (I used jarsigner to sign my jar file, comes with the j2se)
    2)
    Make sure in your .jnlp file that you are allowed to acces the filesystem, check your <security tags>
    <security>
    <all-permissions/>
    </security>
    3)
    From within the app try this to launch Acrobat Reader (win2000):
    Process pro = Runtime.getRuntime().exec("cmd.exe /C start acrord32");
    pro.waitFor();
    if (pro.exitValue() != 0)
    throw new IOException("AcrobatReader not installed");
    pro.waitFor() awaits your interaction with the filesystem, like closing an error popup dialog if os cannot find your file.
    When returning into your app, then check the exitValue. in windows, the exitvalue 1 is returned if the the file is missing. 0 if ok!
    I'm throwing an exception to handle further actions like opening a browser window with a given url to download the program.

Maybe you are looking for

  • 2 Dimensions and a Fact - Join Paths

    I have a scenario and I have been racking my brains out as to if what I am looking for could be set up. I have two dimenisions - Region and System - each System belongs to a Region. So the System Dimenison contains a Region_Key. I have a Fact table t

  • How do you change the title of a validation alert?

    Hello I have some <CFINPUT> code with validation onSubmit that is working well. The problem is my boss wants me to change the title text on the alert. The alert is generated by the <cfinput> validation and not actually in the code I write. How would

  • How do I revert my iPhone 5 iOS to 6.1.2?

    Does anyone know how to revert iOS versions? My car is not compatable with the latest versions (6.1.3 - 6.1.4). Thanks

  • Business Explorer Analyzer not installed

    Hi, I installed SAP GUI 710 (patch level 8) and I have no problems going into Bex Query Designer but when I try clicking for Analyzer, it doesnt work. Nothing happens.. But when I try using transation RRMX, i get an error that the Business Explorer A

  • Question with regard to dual ethernet ports

    First let me say that I am a novice at networking, so this may be a stupid question. I had my network plugged into on of the ethernet ports and was unable to access a forum I visit. I could access most every other website, but not this particular one