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

Search:

Type: Posts; User: Jason Teagle

Page 1 of 29 1 2 3 4

Search: Search took 0.51 seconds.

  1. Replies
    9
    Views
    1,626

    Assuming the string with tabs is in a CString...

    Assuming the string with tabs is in a CString object called strLine:



    CString strNextToken ;

    strNextToken = strLine.SpanExcluding("\t");


    The above line, if called repeatedly, will...
  2. Replies
    9
    Views
    1,626

    I'm not sure what has gone wrong for you, but I...

    I'm not sure what has gone wrong for you, but I just ran a quick test to confirm what I believed - ReadString() should and does (for me) read in the whole line, tabs and all - all pieces of data from...
  3. Converting Between IEEE Format (Single Precision) And Longs

    Does anyone know if VB can now (VB6.0) perform a conversion between the internal representation of a single-precision number (held as a long, 4 bytes) and an actual Single? By this I mean, the value...
  4. Are you saying that even if you say Line Input...

    Are you saying that even if you say

    Line Input #intFilenum, strText
    Printer.Print strText

    repeatedly until the end of the input file is reached, this causes a stack overflow? Trying to read...
  5. Thankyou, I got a similar successful response...

    Thankyou, I got a similar successful response from someone else aslo, and I can confirm it works even on Chinese Windows.
  6. Building Char Strings, Chars ASCII > 127 & Chinese Windows

    An app (VB) that we have had running for a few years now has been working fine on American and European versions of Windows. Now someone has tried to run it on Chinese Windows, and it's not working....
  7. Replies
    2
    Views
    502

    Re: Private Messages

    Unfortunately I see no ID in the message. Here is a sample message:

    -----
    Please do not respond to this message.

    You have received a private message from 'gt_hadjor'
    on the forum at CodeGuru...
  8. Replies
    2
    Views
    502

    Private Messages

    I seem to have the problem of having two accounts on CodeGuru. One is under my current e-mail, jteagle@ntlworld.com, and is the one I am logged into now. The other is under an older (but still valid)...
  9. Replies
    3
    Views
    568

    Re: FORUM NEEDED

    This is not a bug as such... but I suppose I could try there. What I really want is a Help link on the site {:v)
  10. Replies
    3
    Views
    568

    FORUM NEEDED

    YOU NEED A FORUM FOR TECHNICAL SUPPORT FOR THE CODEGURU SITE ITSELF (PROBLEMS USING IT). How is anyone supposed to get help if there is a problem with CodeGuru (and I mean a serious technical...
  11. Replies
    3
    Views
    946

    Re: VBScript & Popup Windows - Possible?

    Thankyou for this answer. Unfortunately I forgot to say in the original post that I wanted to popup (= open) another browser window with a document in it, like JavaScript's "window.open("url"...)"...
  12. Replies
    3
    Views
    946

    VBScript & Popup Windows - Possible?

    Is it possible to get a Web page to create a popup window using VBScript? If so, how? I can find no evidence on the net that it is possible... I know I can do it with JavaScript, but I'm sure there...
  13. Replies
    4
    Views
    764

    Re: Serializing, CArchive & Schema

    In the end, this is what I had to do. Thankyou.
  14. Replies
    4
    Views
    764

    Re: Serializing, CArchive & Schema

    Unfortunately in the current situation I cannot use that operator on the document since I want to serialize different parts of the document at different times. Now that I know this about schemas, and...
  15. Replies
    0
    Views
    563

    Fonts, Text Boxes & 95

    I have a program which attempts to set a 24-point Arial font into text boxes. Under NT, 2K and 98 it seems to work fine, but under 95 the font doesn't show. It's there, but too small to be seen.
    ...
  16. Replies
    0
    Views
    717

    CreateFile() On Comms Ports

    In 16-bit days I swapped from using the VB comms control to raw API (OpenComm(), ReadComm() and WriteComm() ) because we found that the comms control was less than reliable on Pentiums as they became...
  17. Thread: Tab Order

    by Jason Teagle
    Replies
    2
    Views
    689

    Re: Tab Order

    Since tab order is basically the order in which controls are created, the only way to change the tab order is to destroy controls and recreate them in the order you want them tabbed to... but why...
  18. Replies
    4
    Views
    764

    Serializing, CArchive & Schema

    I have a situation where I need to serialize several parts of a document-derived class. Because the standard doc loading / saving mechanism is not quite what I need, I have to construct the CArchive...
  19. Replies
    6
    Views
    1,133

    Re: CEditView & Horizontal Scrolling - Hurrah!

    Well, I'll be blowed... that worked. I know some types of control ignore attempts to change style bits after creation, and this must be one of those bits. Funny, it never occurred to me to try it...
  20. Replies
    6
    Views
    1,133

    Re: CEditView & Horizontal Scrolling - Sadly, No

    Yes, I tried various combinations of WS_HSCROLL, WS_VSCROLL and ES_AUTOHSCROLL. It just seems to be ignoring the fact that ES_AUTOHSCROLL is not there.
  21. Replies
    6
    Views
    1,133

    Re: CEditView & Horizontal Scrolling - Sadly, No

    If these messages didn't take so long to display I'd have seen that :(

    Unfortunately this CEditView is being created in a splitter pane, so I don't the the luxury of design-time properties...
  22. Replies
    6
    Views
    1,133

    CEditView & Horizontal Scrolling

    I am trying to stop a CEditView from scrolling horizontally when the user types a character that would go beyond the right-hand edge - I want it to wrap instead. According to the docs, the...
  23. Replies
    8
    Views
    726

    Re: System Message Handling

    When placing message map entries by hand, you should place them OUTSIDE of the AFX_MSG_MAP commented sections. That way, ClassWizard won't try to parse them. That includes both the function...
  24. Replies
    8
    Views
    2,682

    Re: System Message Handling

    When placing message map entries by hand, you should place them OUTSIDE of the AFX_MSG_MAP commented sections. That way, ClassWizard won't try to parse them. That includes both the function...
  25. Replies
    8
    Views
    1,029

    Re: System Message Handling

    When placing message map entries by hand, you should place them OUTSIDE of the AFX_MSG_MAP commented sections. That way, ClassWizard won't try to parse them. That includes both the function...
Results 1 to 25 of 711
Page 1 of 29 1 2 3 4





Click Here to Expand Forum to Full Width

Featured