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

Search:

Type: Posts; User: TomasRiker

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Replies
    1
    Views
    1,291

    Re: simple regex not working in java

    Try replacing the dot by \d, since you only want digits.
    Otherwise the dot will be matched greedily and it will eat all your other <a hrefs!

    PS:
    I recently wrote an article about matching...
  2. Replies
    2
    Views
    663

    Re: Please helllpp

    Next time you should find a better subject for your thread.
    "Please helllpp" says absolutely nothing about your problem.

    Looks good except for your Main function.
    You should print the object's...
  3. Re: Beginner Question - Where to put code that "waits" for an event

    You can use this approach:


    Telnet.SendCommand();
    Telnet.ReceiveAnswer();

    Where ReceiverAnswer is blocking, meaning it won't return until you get the answer or a time-out occurs. If you do it...
  4. Replies
    3
    Views
    864

    Re: Cross-platform

    "A cross platform"???
    What? Sorry but nobody can giph u da codezzz.
  5. Replies
    6
    Views
    2,492

    Re: Singleton Destruction Order

    You should consider not using singletons at all.
    If that's not an option, maybe every singleton could register its dependencies, so that you can build a dependency graph at runtime. When the program...
  6. Replies
    1
    Views
    1,199

    Re: Help in making a Permutation function

    Looks like you're trying to get other people to solve your homework.
    The purpose of homework is that you learn something. We can't do that for you.
    If you have a concrete problem, tell what it is....
  7. Re: VB.Net WebBrowser Control Ajax Click Value Getting Problem

    Crossposting:
    http://forums.devshed.com/javascript-development-115/ajax-dynamic-load-event-click-function-value-retrieval-from-divs-908633.html
  8. Re: steps to be followed for manualy loading and displaying a bmp file

    In standard C you can't display any graphics without using something like X (Linux) or WinAPI (Windows).
    Maybe you try SDL (google it), it's a multimedia library that will allow you to do what you...
  9. Re: trouble extracting files using SharpZipLib

    Maybe the files are stored with a path inside the Zip file.
  10. Re: using variables within 2 different methods

    But you should be able to do so.
    There's no reason why you couldn't do that.
  11. Re: using variables within 2 different methods

    What do you mean with "it will not pick the right argument"?
  12. Replies
    5
    Views
    966

    Re: problem in filling form on web

    Even if you can solve this, won't there be a captcha later in the process that will force you to do it manually anyway?
  13. Replies
    2
    Views
    658

    PHP Re: Help with pagination!!!!

    I did not look at your code (probably nobody will, it's just too big).
    But I would not store such things in a session! What if a user opens several tabs on your site?
    The pagination should be done...
  14. Re: Read Text File - first line has extra char

    Is your text file UTF-8-encoded?
    If yes, the first character is probably the Byte Order Mark.
    Read more about it here: http://en.wikipedia.org/wiki/Byte_order_mark

    If you want to remove it, save...
  15. Replies
    4
    Views
    685

    Re: Function pointer

    http://en.wikipedia.org/wiki/Function_pointer
  16. Replies
    2
    Views
    1,678

    Re: Clone CheckedListBox.CheckedIndices

    CheckedIndexCollection has no public constructor, so you can't create an instance of it. But you can do an array.


    int[] checkedIndicesCopy = new int[checkedIndices.Count];...
  17. Replies
    6
    Views
    13,001

    Re: 'Class' has no member named 'function'

    I think its an issue of node.h including btree.h and vice versa.
    In this case you need forward declaration of your classes.
    This will solve the problem.
  18. Re: Best way to automate some of my programming?

    If you have to do such repetitive tasks it is often a sign of a bad software design.
    But without further details it's hard to tell.
    Of course you could use a scripting language such as Python to...
  19. Replies
    1
    Views
    1,112

    Re: Help me for sending keys to a program

    You can simulate key presses and releases using the WinAPI function "keybd_event". More info about how to use it in VB here: http://www.andreavb.com/forum/viewtopic_1802.html
  20. Thread: Parse XML

    by TomasRiker
    Replies
    6
    Views
    917

    Re: Parse XML

    I too think those dashes are the problem.
    They would be interpreted as "data" since they are not tags. And the first thing in this document is a dash.
    I think they come from copying a XML file when...
  21. Replies
    2
    Views
    888

    Re: Interesting Exercises?

    Do you know Project Euler or UVa Online Judge (just google for them)?
    They have tons of interesting and challenging exercises! Project Euler is very math-intense, depends on you if that's good or...
  22. Re: [RESOLVED] STL string concatenation does not work.

    If you know in advance that the string will become very long, it could make sense to call "reserve" upfront. This way there will be less memory reallocations during the string building process. But...
  23. Replies
    7
    Views
    1,293

    Re: How to accelerate c2flash

    He answered to himself, from a different account.
    The same question & answer can be found on codeproject.com!
  24. Replies
    3
    Views
    3,693

    JavaScript Re: XML and Cookies

    While you can store XML text in a cookie, it might not be the best idea.
    XML means a lot of overhead and if you want to store a lot of data, you can reach the 4 KB limit quickly.
  25. Replies
    7
    Views
    3,151

    Re: StringTokenizer

    You just tried to insert "word" and "pos" into your table instead of the variables' contents.
    And additionally, SQL requires single quotes around strings: 'word', 'pos'.
    So if you actually want to...
Results 1 to 25 of 43
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured