Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. cgreynes

    extended ascii/unicode string conversion to stanard ascii

    I encountered problems when sending certain characters from Windows VB to IBM Mainframe Cobol/DB2 such as ‘(left single quote) or ’(right single quote). All the characters after the extended ascii got cut off. I don't have problems when sending '(single quote). Is there any vb functions to...
  2. cgreynes

    beginner problem when installing Oracle 10g personal

    i searched online and one person said to set SQLNET.AUTHENTICATION_SERVICES= (NONE). after this, i did not get the error above. don't know if this is the right way to do it but i'm glad that i can continue my self-study on oracle.
  3. cgreynes

    beginner problem when installing Oracle 10g personal

    Hi, When I installed Oracle 10g in my workstation, I got errors in the Database Configuration Assistant. 1st Error: ORA-12639: Credential retrieval failed. 2nd Error: ORA-03114: not connected to ORACLE I searched using google and found the details below but still dont know how to fix it...
  4. cgreynes

    Dynamically calling method of another class

    Thanks Dian and prosper:D I got more info when I searched "reflection".
  5. cgreynes

    Dynamically calling method of another class

    actually I want to mimic the WebDriver class from a B2B web application. the function of the WebDriver is to call the action class corresponding to the querystring "ACT" given. Using this querystring value, a class name can be retrieved from the database. All I need is to call the execute...
  6. cgreynes

    Dynamically calling method of another class

    Hi, How do I call a method of another class based on the class name returned from database? for example - public class ActParent {} - public class ActChild1 extends ActParent { public void execute(Bean bean){ } } - public class ActChild2 extends ActParent { public void...
  7. cgreynes

    How to get Server Name?

    hi earthandfire, is GetComputerName() function built-in? or do i have to make it? thanks
  8. cgreynes

    How to get Server Name?

    Aside from COMPUTERNAME,I can use USERDOMAIN and LOGONSERVER. Do you think that it is better to use LOGONSERVER or it is also easy to change due to the nature of environment variables? I searched about changing LOGONSERVER and I did only see a few post. Thanks!
  9. cgreynes

    How to get Server Name?

    It isn't 100% reliable, of course ..." does this mean that sometimes it does not get the right value of COMPUTERNAME?
  10. cgreynes

    How to get Server Name?

    thanks earthandfire! both are windows 2000 servers and environment variable is still COMPUTERNAME. I already tried it and it worked. Thank you so much!!!:D The function you provided is very helpful.
  11. cgreynes

    How to get Server Name?

    yes, an app is running on each server. there are two app servers which are managed by load balancing. for ex, if server 1 issued an error to the user then the vb app will pass a value such as "AppServer1" and the error number to the database. my other option is to have a server name constant...
  12. cgreynes

    How to get Server Name?

    hi, is there a way to get the system's name? the server's name value will be saved in the database together with the error number. thanks clark
  13. cgreynes

    Package compile error "cannot resolve symbol"

    Thanks sedj. I can compile the code. I set the class path to: C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\bluereef\WEB-INF\classes> where coreservlets directory is under classes directory. and compiled using your command javac coresrvlets/ShowBalance.java
  14. cgreynes

    Package compile error "cannot resolve symbol"

    The second error is pointing to the second BankCustomer (not customer variable).
  15. cgreynes

    Package compile error "cannot resolve symbol"

    when I type "...\javac ShowBalance.java" the error below shows up... ---------------------------------------------- ShowBalance.java:11: cannot resolve symbol symbol : class BankCustomer location: class coreservlets.ShowBalance BankCustomer customer =...
  16. cgreynes

    Package compile error "cannot resolve symbol"

    Hi, When I compile the .java file from the book, I get a "cannot resolve symbol". It point to the bean file. BankCustomer.java ------------------------------ package coreservlets; import java.util.*; public class BankCustomer { private String id, firstName, lastName; private double...
  17. cgreynes

    JSP 2.0 Expression Language not working

    I thought I replied back. Maybe I forgot to click the submit button. Anyways, I am not familiar with JSTL but I have seen a sample code for it. I will use venur's sample code when I reach that chapter. I encountered this problem when I am using JRun 4 and SDK 1.4.2. Maybe I set it up...
  18. cgreynes

    JSP 2.0 Expression Language not working

    Hi, I am learning JSP. I cannot make the Expression Language to work. For example: ${1+1} should equal 2. It turns out it only prints "${1+1}". I followed the book and I installed SDK 1.4.2 and modified web.xml (see below). Is there anything else I should do? <web-app...
  19. cgreynes

    convert BSTR to char and vice versa

    thanks IonFilipski
  20. cgreynes

    convert BSTR to char and vice versa

    hi, i'm new to visual c++. i have problems converting from data type BSTR to data type char. problem occurs when compiling to a release version, not to a debug version. here's the code STDMETHODIMP CPassword::Validate(BSTR bstrLogID, BSTR bstrPassword, BSTR *pbstrMessage) { char *pCommand =...

Part and Inventory Search

Back
Top