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

Search:

Type: Posts; User: Latem

Page 1 of 16 1 2 3 4

Search: Search took 0.05 seconds.

  1. Replies
    1
    Views
    1,057

    textwriter and localization

    Hello,

    I have the following code:


    ...
    System.Xml.Serialization.XmlSerializer serializer = new System.Xml.Serialization.XmlSerializer(typeof(nativeContent.manifest));

    using (TextWriter...
  2. Replies
    0
    Views
    1,117

    XML Document parsing issue

    Hello I am doing some SOAP XML stuff and I am having an issue that hopefully I can get some help with.

    Is XML like this valid to do in a SOAP message?


    <prompt>1 &lt; 0?</prompt>

    It's suppose...
  3. Replies
    0
    Views
    2,189

    Problem with drawing a checkbox in listview

    Hello, I need to handle a listview DrawItem event to draw some custom drawing (draw an additional icon at the right-hand side of the item) on some of the listview items. The listview items have a...
  4. Replies
    0
    Views
    1,222

    Remove item from listview in check event

    Hello, I have a listview in detailed view with 1 column, and checkboxes. So basically the listview looks like a checkbox listbox. What I need to do is when an item is unchecked in the listview the...
  5. Replies
    1
    Views
    1,087

    Re: change button image problem

    Bah, solved. calling Refresh() does the trick.
  6. Replies
    1
    Views
    1,087

    [SOLVED] change button image problem

    Hello,
    I have a flat button with an image on it. It's just an image of down arrow. The button is used for sorting items in a listview. Here's code:


    private void button3_Click(object sender,...
  7. Replies
    10
    Views
    1,902

    timer on every hour

    Hello, I can't find how to do what i thought would be a simple thing. I want a timer that will timeout on every hour. So a timer that will timeout at 1pm, 2pm, 3pm, etc... until I make it stop

    I...
  8. Thread: C/C++ questions

    by Latem
    Replies
    9
    Views
    1,315

    Re: C/C++ questions

    1.
    C++ is object oriented. C is not.

    Dynamic memory allocation and I/O is done differently from C, although it can be done the same, because it is backwards compatible to C

    2. Virtual...
  9. Replies
    6
    Views
    1,737

    Re: writing text to bitmap

    If I just use pDC, and dont create a new CDC using CreateCompatibleDC(), it draws on the screen, and the bitmap is saved, although the saved bitmap is rotated.

    All I wish to do is write a bitmap...
  10. Replies
    6
    Views
    1,737

    Re: writing text to bitmap

    Thanks for the reply.
    Yes, I've tried adding for example

    dccomp.SetTextColor(RGB(0, 125, 250));
    dccomp.SetBkColor(RGB(0, 255, 250));
    dccomp.SetBkMode(OPAQUE);
    before the textout line, but it...
  11. Replies
    6
    Views
    1,737

    writing text to bitmap

    Hello, I am playing around with the CDib class from Inside Visual C++ (also available here ), and I am having a slight problem. What I wish to do is write some simple text, and save it as a bitmap...
  12. Replies
    5
    Views
    868

    Re: passing Object as a parameter, how to use??

    so many A's, a's, B's, b's... a little confusing...

    What you should do is something like this (if I understand waht you want to do):

    I am creating some random class names so that A's and B's...
  13. Replies
    4
    Views
    2,038

    Re: release build needs MSVCR71D.dll

    Ooops, actually that TD.lib line is wrong. The VS output formats the text weird at places, and for some reason inserts newlines randomly sometimes. So the TD.lib line was a cutoff, and is actually...
  14. Replies
    4
    Views
    2,038

    release build needs MSVCR71D.dll

    Hello all. :wave:
    Haven't been around here in a while.

    I just started working on a somewhat large project that uses lots of internal and third party libraries. Some libraries are used...
  15. Replies
    10
    Views
    1,054

    Re: Happy Birthday Latem

    Thanks all.

    Haven't been around here much in a while, because i've been really busy with real life stuff. And then I actually needed to ask a question this morning, and find this nice surprise!...
  16. Replies
    1
    Views
    532

    "MyComputer" Icons grouping

    In Windows XP, when I click on "MyComputer", Explorer would group different items; so it would say "Hard Disk Drives" and then list the HDD's. And then it would have "Devices with removable storage"...
  17. Replies
    9
    Views
    7,107

    Re: determine if a string is a valid path string

    I know, but I guess we are making this constraint, ont really an assumption that the user should follow. Basically my program has environment variables that a user can set. The values can either be...
  18. Replies
    9
    Views
    7,107

    determine if a string is a valid path string

    Hello, if I have a string, what's the best or easiest way to determine if the string is a valid windows path. I do not mean that the file or folder exists, but that the string itself is valid to be...
  19. Replies
    3
    Views
    1,171

    Re: send network data at specific data rate

    Sorry, I should have explained in greater detail. I'll simplify the project to just the networking aspect so it's easier to understand hopefully. So lets say there are 2 programs: a client and a...
  20. Replies
    3
    Views
    1,171

    send network data at specific data rate

    Hello,

    as part of a school project I need to be able to send network data at a user specified data rate (ie. 9600bps for example). I need to write this in C, preferebly just with standard...
  21. Replies
    2
    Views
    1,373

    need help with a stored procedure

    Hello, I am trying to write a simple search stored procedure in SQL (MySQL).

    I have a table book, with isbn, title, author, publisher, and cost. I want a stored procedure that searches the table...
  22. Replies
    2
    Views
    801

    simple scanf problem

    OK, maybe I forgot how to use scanf in C, but from the docs I can't seem to find out how to do this.

    Basically I print out "Enter a filename, or press ENTER to print to the screen". Then the user...
  23. Thread: con floder?

    by Latem
    Replies
    9
    Views
    1,849

    Re: con floder?

    I am not sure if I understand what you mean. But I am guessing you want to create a folder named "con" but can't. Here's the explanation:



    Latem
  24. Replies
    66
    Views
    26,337

    Re: The most ridiculous interview questions.

    Some may not consider this a dumb questions, but I hate it:



    I never know what to say, and what they are looking for.

    Also, what bothers me is when the interviewer (for whatever reason) is...
  25. Replies
    7
    Views
    834

    Re: Rookie question, please help

    Why do you need to represent 5 / 9 as 0.55555555. Why not actually do the dividing in the program? Is that part of the assigment?

    You could do


    double tempC = (5.0 / 9.0) * (tempF - 32.0);...
Results 1 to 25 of 384
Page 1 of 16 1 2 3 4





Click Here to Expand Forum to Full Width

Featured