I am converting some software that was writting under Java 1.3.1 to Java 1.5, and I am getting two compile errors that I have never seen before. Both are related to import statements.
Here they are:
1) "<class name> is already defined in a single type import".
This one is happening with...
Hey all,
Is there a way to close a 'child' window automatically when the parent browser window is closed.
By child window, I mean a pop up window that was opened from an action in the parent browser window. When the parent browser is closed, I want the child to also close.
Thanks in advance...
I have a text input field which needs to be enabled/disabled based on the current selection in a Select menu.
I have it 90% working. The easy part is already done, i.e.: I added an "onchange" listener to the Select menu. Whenever it changes, the function checks the current selection, and...
I have a VERY simple piece of JavaScript code that works in FireFox, but for some reason, does not work in IE or Netscape.
Here is the code, I will describe the problem below...
<script type="text/javascript">
function processOp(opFieldName, textFieldName)
{...
Hey all,
I'm having a problem with then encodeURL( ) method of the HttpServletResponse class.
When I encode a URL that is pointing to a servlet, the encoded URL string I get back give the web server (iPlanet 4.1) a problem. I get a ClassNotFoundException because it is viewing the appened...
Hey all,
I'm having a problem with log files being generated that I don't necessarily want. In particular, in the /var/tmp directory, a bunch of files are being created, all starting with the letters "wsc". An example would be wscAAAig20s or something along those lines.
My...
I am getting this error when I try to load my Servlets. I am using iPlanet Web Server, and they were working correctly at one point. Does anyone have any idea what might generate this problem?
Thank you ------
KJR
I have a selection list that allows users to choose multiple options. However, if someone chooses more than one option, the first option is actually represented twice in the resulting selections for some reason. Let me give you an example. In the following list:
One
Two
Three
Four
Say...
I've just installed Windows 2000, and for some reason my HP Deskjet 600C will not work properly now. It worked fine with Win95/98/ME. Here is what it does:
If you attempt to print something, the green light on the printer blinks (like is always did), but then nothing prints. The mechanincs...
I'm using Oracle's XML Parser API for C++, and when I try calling xmlinit( ), I get an error code of 201 returned. Does anyone know why this would happen.
I should clarify, the xmlinit( ) methed returns an int. 0 if successful, another value otherwise. I am getting 201, and I don't know why...
I have a VC++ application in which I am trying to use Microsoft's XML Parser. The tutorial I am following says to add the following line to stdafx.h:
#import "msxml.dll"
When I do, I get the following error at compile:
fatal error C1189: #error : WINDOWS.H already included. MFC...
How do you convert a basic string to a CString? I have a function that only accepts a CString as input, and the data I have to pass to it is in the form of a string. Any help would be appreciated.
------
KJR
I'm new to C++, and the error message are just not as clear as Java compiler error messages. Could someone tell me exactly what this message is saying?
t2.obj : error LNK2001: unresolved external symbol "public: class std::basic_string<char,struct std::char_traits<char>,class...
Hello all.
This is a beginner question, but I am a Java programmer, and String manipulation in C++ just isn't the same. My question is this:
Is there a way to convert an array of characters to a "basic string"? I.E. the <string> class has functions that I would like to use like...
I have uninstalled Oracle using the uninstall software included. I have also deleted all Oracle directories on my system. Yet, for some reason, when I re-install, it detects old databases on my maching and wants to migrate them. I won't want these DB's. How do I get rid of them before...
Hello all,
I hope that someone can help me with this. For some reason, Oracle will not allow me to use its associated applications. If I try to start SQL*Plus, here are the errors I get:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Also, programs like DBA...
Why am I getting an 'string : undeclared identifier' compile error for this line...
string s("hello");
I am including <string.h> in my file.
Thanks....Kennedy ------
Kennedy Roberts
Is it possible to place a "pause" in a C++ app? Basically, I want to execute an instruction, pause maybe 2 seconds, execute the next instruction. I know these capabilities exist in Java, how about C++?
Thanks...Kennedy ------
Kennedy Roberts
Hello all. I'm hoping someone can help me with this:
How can I call an Oracle stored procedure (written in PL/SQL) from a C++ application? I have created and opened a CDatabase object already, but calling ExecuteSQL( ) does not work.
Thanks... ------
Kennedy Roberts
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.