In my web app I want to issue a refresh javascript command on a Window that refuses to refresh. All methods to do this in java have so far failed. Does anyone know the best way to go about this. I have seen people using netscape.javascript.JSObject although this only works with applets.
Any...
Please note this is not the usual problem with ant where the junit.jar is missing from the ant/lib directory. I have created a new java task to run ant and am then trying to use the optional junit task, i would have thought that ant would find the jar in ant/lib. Does any one know how to...
Hello,
i'm thinking of changing the way we generate our XML files from a relational database. At present we use a Perl Script to run SQL queries and then put tags around each element.
Is there a more abstract way of doing this. We get many different requests which means that each different...
Hello,
I am writing a Java program to purge some data from a database. I already have a list of the id's that I wish to delete.
Is it possible to write a statement like:
delete from table where autoid in ...
Where the three dots would be an array I passed to the statement rather than having...
Hello,
I have written an applet to run on OSx using Sarafi. I have added some hot keys to the buttons on the applet by using:
setMnemonic
Unfortunately, when the user types (Option B) for example a special character is outputted to the text box they are editting before the hot key method is...
Hello,
I am attempting to run a wildcard match in a Prepared Statement using a Placeholder, unfortunatley this doesnt seem to work. I think the statement is trying to match the entire string dis. Does anyone have a suggestion of how this should be done, i cannot find any examples on the...
Hello,
I am attempting to run a wildcard match in a Prepared Statement using a Placeholder, unfortunatley this doesnt seem to work. I think the statement is trying to match the entire string dis. Does anyone have a suggestion of how this should be done, i cannot find any examples on the...
Hello All,
I have a bit of a problem, i need to work out the date/time from a Perl script running on a local Windows box. But i need to retrieve the time from a Windows server to ensure it is accurate, does anyone have any ideas on how to do this?
All suggestions are much appreciated.
Mark.
I have some objects i am retrieving from a database and wish to order these on a particular String contained within the object. I.e. Category. I can do this using a comparator object but this removed the duplicate values that i need.
Does anyone have any advice? Maybe i am going about this in...
Dear All,
I have what sounds like a simple problem but i'm stuck. All i want to do is open a combo box pop so you can view the drop down menu when the dialog is opened. My code is as follows:
this.setVisible(true);
this.showPopupCombo();
Where this is the dialog (this section of code is run...
Hi Everyone,
I have come across possibly the most annoying and baffling problem with XP Home Edition. The problem is basically that Windows Explorer seems to crash/hang when:
1. Opening the All Programs section in the Start Menu
2. Right clicking on an icon
3. Navigating through 'deep'...
Hi Everyone,
I have come across possibly the most annoying and baffling problem with XP Home Edition. The problem is basically that Windows Explorer seems to crash/hang when:
1. Opening the All Programs section in the Start Menu
2. Right clicking on an icon
3. Navigating through 'deep'...
Hi Everyone,
I have come across possibly the most annoying and baffling problem with XP Home Edition. The problem is basically that Windows Explorer seems to crash/hang when:
1. Opening the All Programs section in the Start Menu
2. Right clicking on an icon
3. Navigating through 'deep'...
I wish to read the first line of file into a CString.
I can open the file but cannot read the first line delimitated by \n.
I've spent ages trying to work this out but to no avail.
I have opened the file using CFile but cannot get any further.
Any help would be much appreciated.
Dear All,
I have created a dialog application and i wish to disable some buttons on my application when an event happens.
In may case when recording has started.
I know you have to use WS_DISABLED somewhere but i'm not sure where?
Can anyone provide some pointers for me?
Any help would be...
I am trying to pass a double variable to a function in my main thread by using PostMessage.
My code is as follows:
AfxGetMainWnd()->PostMessage(MY_WM_MESSAGE_FREQUENCY,m_RecordingProgrammeFrequency,0);
This works fine an executes the following function:
LRESULT...
Dear All,
I have a problem with pointers. I have a pointer to a class that is used to call a function. Within the called function i wish to access a pointer that is declared in the class that contains the called function.
For example i have called the pointer to the class and this runs the...
Dear All,
I have quite a major problem. I have a dialog MFC application with an ActiveX component embedded into the dialog. I have created objects that are generated on pressing certain buttons in the dialog. (COneDialog class). The objects are generated one after each other.
The problem i am...
Dear Everyone,
I am attempting to copy a CString passed into a function into another CString. Here is my example code:
void BeginRecording::SetProgrammeName(CString xmlProgrammeName )
{
CString m_firstProgrammeName = xmlProgrammeName;
}
The program always breaks on the copy line and stops...
Dear All,
I have a dialog application and i wish to retrieve text from an Edit Box within it. I have set up a CEdit variable for the Edit box and used the function GetWindowText to place the text into a CString object.
I now wish to use the information within a different class (object) but the...
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.