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

Search:

Type: Posts; User: qwertygeek

Page 1 of 3 1 2 3

Search: Search took 0.02 seconds.

  1. Re: Winforms Datagridview displaying decimal from SQLite as rounded Integer

    Solved: the issue was the statement used to create the thread had a typo, namely "decmial".. I didn't realize SQLite didn't do any typechecking and accepts "foo" as a datatype. Issue is resolved.
  2. [RESOLVED] Winforms Datagridview displaying decimal from SQLite as rounded Integer

    I'm working on a C# app that interfaces with an SQLite database. I have a decimal(5,1) column in the database. When I get the table, the column type for that column is Int64 instead of decimal. I can...
  3. Re: C# Event (Model-View-Presenter) considerations

    Thanks for your reply :) This does definitely help and gives me some things to chew on. A few questions though.

    1. I was (perhaps a bit mistakenly, from what I'm reading and seeing in further...
  4. Re: [RESOLVED] Reading textBox from another class.

    Mmm. Personal preference I suppose. I don't generally like grabbing clusters of dialog items all at once so I would lean in favor of a getter for each, *but* given that these are all related...
  5. Re: Reading textBox from another class.

    I like simple, but I like keeping in good practice too. Making things public because it's simple is just a bad habit to get into, I work with too many programmers that end up setting things to...
  6. Re: Reading textBox from another class.

    Probably easier way to go about it would be just to hand it a reference to the form:



    private void button1_Click(object sender, EventArgs e)
    {
    Class1 cls = new...
  7. Re: Reading textBox from another class.

    Walk through what's happening:
    1. Button is clicked from Form1
    2. New instance of Class1 is created.
    3. Class1.Run() is called
    4. Run creates a NEW Form1
    5. Class1 gets the NEW Form1.Text...
  8. Re: Reading textBox from another class.

    While for a really small app, it's realistically not going to hurt anything, making members of a class public that shouldn't be is just starting bad habits that will be hard to break later. Giving...
  9. Replies
    1
    Views
    4,723

    Re: Marquee ProgressBar & BackgroundWorker

    PLEASE always use code tags when including code in your posts. It's very hard to read code inline in a post. Code tags are placed in your post like this:



    [ code ] // remove the spaces
    ...
  10. Re: A Form that calls a fn in a class library that MAY take a while..

    Agreed with what Arjay says. Generally on my dialogs that have some kind of "Fill in fields > Press Do Stuff Button > Wait > Work Finishes" workflow, I have some sort of DisableControls() function...
  11. C# Event (Model-View-Presenter) considerations

    I've been working on a small app here lately that I'm working a Model-View-Presenter approach into, and I'm trying my best to decouple the pieces as best as possible. I feel like I'm doing that part...
  12. Re: Low level (freshman / sophmore) C++ tutoriing rates?

    I guess I should throw out there this is USD. :P

    I think $15ish is probably high enough to be a reasonable income, but low enough to keep a reasonable crowd. I don't want to set it to low though...
  13. Re: Low level (freshman / sophmore) C++ tutoriing rates?

    So... I hate bumping... but.. eh it's been 12 days I'm feeling okay with myself on this one. :P I haven't even fallen off the front page yet.. this is more a "look at me, look at me!" than...
  14. Replies
    4
    Views
    5,952

    Re: What is wrong in this program?

    Philip and monarch covered most of the actual code issues, so I'm going to bring a bit of a sledge hammer down about the way the code was written (don't worry, it's a constructive hammer, we've all...
  15. Replies
    10
    Views
    996

    Re: VSC++, libraries, linkage confusion

    Hmmm I tried /SYMBOLS on the debug and release versions... debug shows some stuff but release is still blank. Interesting.

    So out of curiosity, why doesn't the ambiguity issue affect namespace'd...
  16. Replies
    10
    Views
    996

    Re: VSC++, libraries, linkage confusion

    Okay, this just became a namespacing dumb mistake.. Evidently my problem was with namespaces... although dumpbin STILL shows release as empty and debug doesn't show those functions as being...
  17. Replies
    10
    Views
    996

    Re: VSC++, libraries, linkage confusion

    Dumpbin of debug:



    Dump of Release:



    I have to say, release looks... suspiciously blank...
  18. Replies
    10
    Views
    996

    Re: VSC++, libraries, linkage confusion

    No... it's all CPP... the library is just a single .h and .cpp file. Gave the extern "C" thing a shot.. changed the errors to:



    No bite yet. :/
  19. Replies
    10
    Views
    996

    Re: VSC++, libraries, linkage confusion

    The library I built is the standard type of standard / tutorial library, just an add function and a subtraction function. Built into a .lib.

    Configuration Type for the library project is "Static...
  20. Replies
    10
    Views
    996

    VSC++, libraries, linkage confusion

    Alright, first of all, let me beg you forgive my apparent newbishness. I'm a Linux guy, trying to force myself to learn my way around Visual Studio a bit better - I used it back in the day when all...
  21. Low level (freshman / sophmore) C++ tutoriing rates?

    Howdy all!

    So, has anyone here ever done any / taken any C++ / programming tutoring? I'm considering going back to my old school and doing a bit of tutoring for some of the low level C++ courses,...
  22. Replies
    8
    Views
    879

    Re: #include and namespace

    /**
    * \file FooBar.h
    *
    * \brief Defines two classes, Foo and Bar, inside a
    * namespace called Example. Anytime you
    * want to use Foo or Bar from now on, you...
  23. Replies
    7
    Views
    2,422

    Re: C performance improvement

    A-bloody-men. Swing is amazing for a quick and easy GUI, but like everything else Java, it locks the HD light on and leaves it there.
  24. Re: Output in terminal appears only at the end of the program, not during runtime...

    1.)



    cout.flush() also works.

    2.) When and why cout decides to or not to flush without being explicitly told isn't always easy to diagnose. It never has been for me, anyway. My advice is...
  25. Replies
    0
    Views
    2,384

    Boost::interprocess::string

    Morning all,

    I've been experimenting with boost::interprocess::managed_shared_memory, but one thing I can't seem to get to cooperate for me is boost::interprocess::string, and I'm having a lot of...
Results 1 to 25 of 73
Page 1 of 3 1 2 3





Click Here to Expand Forum to Full Width

Featured