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 wOOdy-Soft 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. thebarslider

    call javascript function from Java Class

    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...
  2. thebarslider

    Could not create task or type of type: junit

    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...
  3. thebarslider

    Generating XML from a relational database.

    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...
  4. thebarslider

    Prepared Statements multiple parameters

    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...
  5. thebarslider

    Java Applet MAC setMnemonic problem

    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...
  6. thebarslider

    Java SQL LIKE Prepared Statement

    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...
  7. thebarslider

    Java SQL LIKE Prepared Statement

    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...
  8. thebarslider

    Retrieving Windows Time in Perl

    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.
  9. thebarslider

    SortedMap

    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...
  10. thebarslider

    Combo Box Popups on Startup

    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...
  11. thebarslider

    IP Address Problems XP Home Edition

    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'...
  12. thebarslider

    Network Problems

    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'...
  13. thebarslider

    XP Hang when opening All Programs in Start Menu

    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'...
  14. thebarslider

    Reading the First Line of a File into CString

    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.
  15. thebarslider

    Disabling Dialog Buttons in MFC

    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...
  16. thebarslider

    Passing variables with PostMessage

    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...
  17. thebarslider

    Using Pointers

    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...
  18. thebarslider

    URGENT! Object Pointer Problem

    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...
  19. thebarslider

    Copying CString to CString

    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...
  20. thebarslider

    Retrieving Text from an Edit Box

    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...

Part and Inventory Search

Back
Top