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

Search:

Type: Posts; User: Max Peck

Page 1 of 2 1 2

Search: Search took 0.09 seconds.

  1. Replies
    2
    Views
    3,377

    Re: Help on Garbage Collection

    C++ does not have a Garbage collector. If any of the code that you're writing is unmanaged it won't be garbage-collected even though you calll the GC manually. Make sure your C++ code cleans up...
  2. Replies
    3
    Views
    6,640

    Re: web site / book suggestion?

    I've bought a number of titles from APress and they usually turn out to be pretty good. You're looking specifically for tutorial-style which they may have some.
  3. Replies
    4
    Views
    1,079

    Re: Can you please explain it to me?

    This might be picky, however I'll point out to ensure there's no confusion; that, yes, it returns the value a*b in THIS context. However a student might think that (believe it or not) it returns the...
  4. Replies
    3
    Views
    2,042

    Re: Referencing Controls on ASP.Net page

    cjard,

    The idea you posted pointed me in the right direction. It took a little more work to deal with walking the control tree to get this working properly but now my library is proud owner to a...
  5. Replies
    3
    Views
    2,042

    Re: Referencing Controls on ASP.Net page

    cjard,

    Hmm ... yeah, that may just work. Thanks for the idea - I'll give it a try!

    -Max
  6. Replies
    3
    Views
    2,042

    Referencing Controls on ASP.Net page

    All,

    I am populating a section of an ASP.Net page with the following code:



    if (catList.Count >= 1) {
    var CLR = (CategoryLedgerRecord) catList[0];
    cboCat1.Text =...
  7. Thread: Compilers

    by Max Peck
    Replies
    3
    Views
    1,267

    Re: Compilers

    ... and the purpose of this post was?
  8. Re: Getting an error trying to display a new windows form.

    The object ARCode is not a form object in your project or the library it was stored in is no longer referenced. If you don't know what resource it came from it might be a good idea to return to the...
  9. Thread: Request

    by Max Peck
    Replies
    1
    Views
    1,043

    Re: Request

    You may have noticed that your thread has gotten a lot of views but no one is responding. The reason for this is you've come here asking us to do your work for you. It's a little like being given a...
  10. Replies
    1
    Views
    4,343

    Re: VS C# ActiveX license error

    Did you run a registry cleaner of some kind? Sounds like the registration of the component has gotten scrogged.

    Why are you using an ActiveX control in a C# project anyway?

    -Max
  11. Re: need help with file searching and listing for an assignment

    Extending the functionality is simply a matter of allowing the user to input the path first then the extension to be searched. Here's my modified version of the routine:



    //
    // General...
  12. Re: need help with file searching and listing for an assignment

    Oh ... OK. Here's another version of it that will accomplish what you're after. You were trying to use a formatted representation ({0}) to put together your string. Also, don't test on the input...
  13. Thread: c# books

    by Max Peck
    Replies
    5
    Views
    2,076

    Re: c# books

    I find the books from APress to be good. They're well written and relevant to the topic. You can also get them in PDF format which is what I do.

    -Max
  14. Re: need help with file searching and listing for an assignment

    Abub,

    I'll try to help.

    I took the 2nd section of code you outlined and put it into a console application. It behaves as you would expect it to. What kind of errors are you seeing?

    This is...
  15. Replies
    1
    Views
    1,052

    Re: small help with this C# program

    You're always going to show the last city because your variable "foundPosition" is being reset to cityName.Length-1 each time you execute the first loop. Your 2nd loop is not taking your "All"...
  16. Replies
    4
    Views
    1,975

    Re: You know you're getting old when...

    The bicycle you ride is older than your daughter is ... and she got married 2 years ago!
  17. Re: Can I stop Visual Studio 2008 from overwriting my application configuration file?

    Program configuration settings (preferences if you will) are best stored in the database that the application uses (if it is using one). Otherwise, have the application create and manage it's own...
  18. Re: Which reporting tool should I use for win application in vb.net

    I will second that. I bought my copy of Active Reports about a year ago. Worth every penny. I develop everything using VS2008 Std / SQL Server 2008 R2 and Active Reports 6. Fantastic combination....
  19. Re: Processing huge datatable and saving to sybase(sql anywhere) database table.

    Satish,

    There might be no particular shortcut to what you're doing but what I can tell you as the author of a couple of rules engines is that you should place your engine in the position to...
  20. Replies
    6
    Views
    8,049

    Re: iphone dev on my pc?

    True enough. I use it for casual app development so it suffices. I would think, though, that if you're going to develop a truly native app it would probably be best to get a Mac and develop with...
  21. Replies
    5
    Views
    1,348

    Re: is common code possible in vb.net ?

    No problem. That does sound like it would work better in your situation (a module with functions in it). In my case I've got a number of different class modules in the utility project. Including...
  22. Replies
    5
    Views
    1,348

    Re: is common code possible in vb.net ?

    I have a utility project that I include in all of my projects that does just what you're describing. It exists as a separate project and compiles down to its own DLL. Whenever I create a new...
  23. Re: C# .net BackgroundWorker.CancellationPending and while loop

    Why are you using a while loop in the first place? If you're just going to break out from the first iteration of the loop you might as well just use an if {}. Are you using a 'continue' somewhere...
  24. Replies
    3
    Views
    971

    Re: Advice for GUI programming please?

    Fernando,

    I used to do a lot of low-level device coding in C myself, so I know where you're coming from.

    I now do all of my desktop GUI development in C# under Visual Studio 2008 Standard. I...
  25. Replies
    6
    Views
    8,049

    Re: iphone dev on my pc?

    Hockelg,

    Yup, sure is. Buy yourself a copy of NSBasic (www.nsbasic.com). The delivery method is via web server. I haven't spent a lot of time with my copy yet but I've played with it enough to...
Results 1 to 25 of 46
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured