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

Search:

Type: Posts; User: Martin O

Page 1 of 36 1 2 3 4

Search: Search took 0.61 seconds.

  1. Replies
    28
    Views
    5,146

    Re: deployment catch 22

    One more hint: After correcting your InternetOpenUrl 1st parameter problem, and your url problem, your program works.
  2. Replies
    28
    Views
    5,146

    Re: deployment catch 22

    Re-read the docs for InternetOpenUrl. Specifically what it says about the 1st parameter. In general though, when you're having problems with some API, the best thing is to read/re-read the docs for...
  3. Replies
    28
    Views
    5,146

    Re: deployment catch 22

    The first version fails at the InternetOpenUrl call. Read the docs for InternetOpenUrl, specifically the 'Return value' section which explains what the function returns & what to do when it returns...
  4. Replies
    5
    Views
    1,600

    Re: debugging=runs fine normally=fails

    ...thinking about it, that might not help. Assuming your 'publish' method simply wraps System.out.println. Why not just post an SSCCE?
  5. Replies
    5
    Views
    1,600

    Re: debugging=runs fine normally=fails

    It could be throwing an exception that you're not aware of. You could try putting throw new Exception("see if I can see this"); after publish( 1 ). If you don't see that exception then the problem is...
  6. Replies
    6
    Views
    7,216

    Re: Write a Java program that reads file

    Lesson: Basic I/O
  7. Replies
    1
    Views
    852

    Re: Can't debug Webstart Program

    Have you googled or looked at the java api doc for ArrayIndexOutOfBoundsException?
  8. Replies
    10
    Views
    2,520

    Re: c++ audio programming (wave format)

    Please. I should apologize for pointing out that he was wrong about the debugger not helping him? Preceding that sentence with 'Of course it will..' was offensive?? Pointing out that, yes, in the...
  9. Replies
    10
    Views
    2,520

    Re: c++ audio programming (wave format)

    TheCPUWizard phrased it nicely (whatever happened to him?):

    http://forums.codeguru.com/showpost.php?p=1790312&postcount=5
  10. Replies
    10
    Views
    2,520

    Re: c++ audio programming (wave format)

    Beleive it or not, there are programmers in the world who graduated college, and worked for years professionally as a programmer and never needed strangers on a forum to debug their programs for...
  11. Replies
    11
    Views
    1,596

    Re: How would I alphabetize this?

    In post 5, Paul wasn't giving you code to put in your current code. He was giving you an example.
  12. Replies
    2
    Views
    1,176

    Re: Key binding - listening for 2 keys

    Here's a tutorial:

    How to Write a Key Listener
  13. Replies
    5
    Views
    1,876

    Re: win32 console & windowless

    Check his history. Looks like we'll hear from him again in another year resurrecting another zombie thread to post another 'with all due respect...' comment. See ya next year WardMD :wave:
  14. Re: JLayeredPane : How to get component at a specific point and ignore a layer

    Maybe this link will help, if you haven't read it already:
    Lesson: Drag and Drop and Data Transfer
  15. Replies
    40
    Views
    28,930

    Re: Beginner needing help with program

    Don't do other peoples homework for them. That helps no-one.
  16. Re: string::size crash outside debugger environment

    What does 'hold' mean?

    The best fix is what others have said--use std::string instead of char arrays.

    That being said, you're overwriting your buffer in the 2nd code:

    If parent = "abc" then...
  17. Re: consolidating all libraries (user and VS C++ infrastructure ones)

    Yeah, all of the projects settings are stuck inside those sln/vcproj files. It's easier to search through those text files than searching through all the settings in the IDE.

    Also, there are...
  18. Re: consolidating all libraries (user and VS C++ infrastructure ones)

    Have you tried viewing the sln & vcxproj files with a text editor & searching for hard coded paths?
  19. Re: Simple question about dynamic concatenation

    Why do you say sprintf had a problem, then show code that has no sprintf calls??

    sprintf should work. If not then post the sprintf code you tried.

    But ostringstream is a better alternative to...
  20. Replies
    4
    Views
    1,650

    Re: GridBagLayout problems

    Oh and change 'UIPanel' to 'uiPanel' so that you are using correct java naming conventions. Especially important when you are asking other people to read your code.
  21. Replies
    4
    Views
    1,650

    Re: GridBagLayout problems

    When I run it (after fixing the DataTable not found error) I only see the JTextArea. I don't even see the 'SQL Search Query :' label. That is because you put them both in the same GridBagLayout cell:...
  22. Replies
    3
    Views
    1,899

    Re: JLabel, Observer, setText problem

    Basic debugging would probably show you that it's not even getting into the update method:



    ...
    private class PlayerObserver implements Observer {
    @Override
    public void...
  23. Re: Function which finds the given word in the line

    http://lmgtfy.com/?q=error+C2082%3A+redefinition+of+formal+parameter
  24. Replies
    16
    Views
    3,141

    Re: Java text file

    At least 4 ignored requests to use code tags. Wow. :thumbd:

    http://www.codeguru.com/forum/showpost.php?p=2050675&postcount=2

    http://www.codeguru.com/forum/showpost.php?p=2050009&postcount=8
    ...
  25. Replies
    4
    Views
    1,803

    Re: MySql Error in Java program

    You're saying that when you do this:



    String sql = "SELECT date, percentChange FROM " + tickerMaster[x] + "WHERE date > " + date + " ORDER BY date ASC LIMIT 1";
    System.out.println(sql);...
Results 1 to 25 of 877
Page 1 of 36 1 2 3 4





Click Here to Expand Forum to Full Width

Featured