Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: SteveS

Page 1 of 20 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    1
    Views
    1,201

    Re: Rejecting the EXIT of a Java app

    Finally found the solution:

    http://tips4java.wordpress.com/2009/05/01/closing-an-application/

    Basically in the windowClosing() event you don't reject the closing you just change how the app...
  2. Replies
    1
    Views
    1,201

    Rejecting the EXIT of a Java app

    I know this is simple, but I just can't find the solution (and Code Guru's search feature seems to be broken as clicking on it produces an endless wait)

    I want the ability to reject the exiting...
  3. Re: Sudden CLASSPATH errors have halted my progress

    I don't know why the Help==> Check for Updates command in Netbeans failed to detect this, but there actually was an update and a pretty big update at that. I had 7.0.1 and the new version is 7.1.1. ...
  4. Re: Sudden CLASSPATH errors have halted my progress

    I'm unfamiliar with using the javac command line compiling tool, but I did figure it out well enough to successfully compile all of the packages (and therefore all of the files) into .class files...
  5. Replies
    11
    Views
    3,121

    Re: counting words in a string array

    OMG. That's hardly better than chiseling the code on stone tablets!


    I'm probably on the verge of blowing my top over something that seems more and more like a Netbeans bug, but since that's not...
  6. Re: Sudden CLASSPATH errors have halted my progress

    I have very few backups of complete sets of the files. I do have backups in my Carbonite archive but they wouldn't represent complete sets. The strange thing is my most recent backup is giving me...
  7. Re: Sudden CLASSPATH errors have halted my progress

    So now I have removed an unnecessary inner class, and references to it, and things started working again. I restored the code I deleted and ran the updated code. It CONTINUED to build just fine. ...
  8. Re: Sudden CLASSPATH errors have halted my progress

    BTW: If I manually attempt to add one of these controls to my JFrame-derived class using the source editor instead of the design editor, I get some weird behavior.

    In the constructor of the frame...
  9. Sudden CLASSPATH errors have halted my progress

    I have a Netbeans project with a CLASSPATH problem that came out of nowhere and I cannot solve. What's especially maddening is that everything compiled and ran fine until Sunday. On Sunday I...
  10. Replies
    11
    Views
    3,121

    Re: counting words in a string array

    keang is right. Printing output while testing is a great way to track down errors. In Java it's about as easy as it can get:

    System.out.println( [put stuff in here] );

    If you really want it...
  11. Re: JLayeredPane : How to get component at a specific point and ignore a layer

    Thanks, but I initially headed in that direction, but it had a few problems:


    1) The item being dragged remains on-screen while I need to make it look like the object is being moved.

    2) The...
  12. Re: JLayeredPane : How to get component at a specific point and ignore a layer

    Basically the JLayeredPane's getComponentAt() will literally return the component at the spot you specify, so if you are using the drag layer to move a component around a call to getComponentAt()...
  13. JLayeredPane : How to get component at a specific point and ignore a layer

    I am working on an application that uses a JLayeredPane. I'm using the drag layer for a "drag-n-move" operation and I would like to determine what other child component the drag is occurring upon.
    ...
  14. Re: Can't read AppletViewer properties file "\.hotjava\properties"

    BTW: After making my post yesterday I literally gave up and went off to other tasks, most of which didn't even involve this computer. Today I screwed around on the web a little bit, clicked over to...
  15. Re: Can't read AppletViewer properties file "\.hotjava\properties"

    This is all it is:



    import java.awt.*;

    public class RootApplet extends javax.swing.JApplet {
    int number;

    public void init() {
  16. Can't read AppletViewer properties file "\.hotjava\properties"

    I'm learning Java right now and this is probably an extremely basic question as I have only reached lesson 4 in "Teach Yourself Java in 24 Hours 6th Edition"

    Anyway, in this lesson we create our...
  17. Re: MessageBox and relationship with parent's message map

    Ah! That explains why my custom messages somehow get handled while that little message is open.

    Thanks
  18. Re: MessageBox and relationship with parent's message map

    I'm just calling the standard MessageBox function. Somehow the main message map must continue to process message map functions otherwise a mainframe wouldn't be able to repaint itself while a...
  19. MessageBox and relationship with parent's message map

    I ran into an odd situation. I posted hundreds of custom messages to my main window, and when handling these messages the rare situation can occur where I pop up an error dialog. At any rate,...
  20. Replies
    0
    Views
    532

    Determining if HD is internal or external

    I'd like to know how to determine if a drive is an external device that can be removed while hot (i.e. firewire and USB) or an internal device. DriveType() seems like it's what I need, but since I...
  21. ReadDirectoryChangesW problem: FILE_ACTION_REMOVED doesn't report file or folder

    I'm listening to changes within a folder using ReadDirectoryChangesW and one of the notifications I need to handle is FILE_ACTION_REMOVED. I need to know whether the deleted item was a file or a...
  22. Replies
    10
    Views
    729

    Re: Need to delete the files in a folder

    Well, here's what the problem was.

    First, the path must be only the path (with the double NULL termination). No wildcards:

    const wchar_t g_wsz_DriverBackupFolder[] = L"C:\\Sample\0\0";
    ...
  23. Replies
    10
    Views
    729

    Re: Need to delete the files in a folder

    I have no window because this is just a plain and simple console app.
  24. Replies
    10
    Views
    729

    Re: Need to delete the files in a folder

    Can't use it. This is a plain and simple console app that does not use MFC.
  25. Replies
    10
    Views
    729

    Re: Need to delete the files in a folder

    Because I'm trying to delete all files from the folder.
Results 1 to 25 of 493
Page 1 of 20 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center