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

Search:

Type: Posts; User: marceln

Page 1 of 14 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    3
    Views
    2,455

    Re: Virtual Disk Driver for mounting folders

    Hi S_M_A,

    Thank you for your answer! It would have been so easy to use subs, but unfortunately a virtual disk driver is a requirement of this project. Later other features will be added to it,...
  2. Replies
    3
    Views
    2,455

    Virtual Disk Driver for mounting folders

    Hello all,

    I don't have an actual development question, but rather need some indications on finding some documentation, articles or, if possible, open source code for a virtual disk driver for...
  3. Replies
    18
    Views
    6,496

    Re: Programming joke

    Doesn't really fit in here, but: http://blogs.msdn.com/architectsrule/archive/2008/07/01/real-life-dilbert-manager-quotes.aspx
  4. Thread: Array question

    by marceln
    Replies
    6
    Views
    678

    Re: Array question

    Because:
    1) When you populated the array you forgot to increment "cought". The amounts for all fishermen are stored in fish[0];

    2) You should print fish[count] not fish[cought]. cought is always...
  5. Re: Communication by WM_COPY (first chance exception)

    You should not free the message buffer in the C++/CLI application. From MSDN:
  6. Replies
    10
    Views
    1,633

    Re: mysql++ alternative?

    Sure seems so, from the documentation.
  7. Replies
    10
    Views
    1,633

    Re: mysql++ alternative?

    Have you tried MySQL ODBC Connector or MySQL C++ Connector?
  8. Re: Cant see the form when making a new project. Please Read

    Can you post a screen of your visual studio window, AFTER you create your project?
  9. Replies
    2
    Views
    603

    Re: SQL insert statement error

    First thing first: use parameterized queries! You'll make the code easier to read and safer.
    Regarding the date issue: will that conversion work on all systems (for all locales)? You should not...
  10. Replies
    13
    Views
    1,120

    Re: Calling some code after new?

    You can further enhance this and create an abstract factory object that will give you conceret BaseClass objects based on some input.
    Then you would do the Child initialization in the factory and...
  11. Replies
    13
    Views
    1,120

    Re: Calling some code after new?

    Why not use some kind of lazy initialization + dependency injection and forget about that second method.


    Sub Main()
    Dim Something As New Child()
    Something.Parameter1 =...
  12. Re: Cant see the form when making a new project. Please Read

    Well, which one is it? Visual C++, Visual C# or Visual Basic.
    To create and design a C++/CLI Windows Forms Application (note that this is managed C++) you must:
    - start Visual C++ Express;
    -...
  13. Replies
    13
    Views
    1,120

    Re: Calling some code after new?

    Create a method in the abstract class and call that method in it's constructor. Or make the method MustInherit (pure virtual) and provide specific implementations in subclasses and still, call it in...
  14. Re: Adding data to file with CreateFile()

    See the example from this article, in the community content section.
    http://msdn.microsoft.com/en-us/library/aa365747(VS.85).aspx

    Regards
  15. Replies
    3
    Views
    735

    Re: Search for byte signatures

    Search in a process address space (memory) or in the process' executable?
  16. Replies
    8
    Views
    1,515

    Re: msvc9 express copy/paste issue

    Select all the code (CTRL-A) and press CTRL-Shift-F.

    later edit: sorry, it is CTRL-K, F (meaning CTRL-K and then F)
  17. Replies
    42
    Views
    6,305

    Re: Best way to check if a string is empty

    In this case it is ok to do:
    string s = textBox.Text.Trim();


    if(String.IsNullOrEmpty(s)
    {
    //use the value
    }

    since the text box cannot have a null text.
  18. Replies
    17
    Views
    6,937

    Re: Load Dll from Embedded Resource

    Maybe I'm not up to date with the new trends, but what exactly is the purpose of having a DLL embedded in the executable? Doesn't this contradict with the whole concept of Dynamic-Linked Libraries?...
  19. Re: How to obtain HtmlDocument from a string of a webpage?

    try with:


    mshtml.HTMLLinkElement objLink = null;
    mshtml.HTMLDocument objMSHTML = new mshtml.HTMLDocument();
    mshtml.HTMLDocument objDocument = null;...
  20. Replies
    1
    Views
    1,314

    Re: Use MSHTML load Document from website ?

    Here's your answer: http://www.codeguru.com/forum/showthread.php?p=1796218#post1796218
  21. Re: How to obtain HtmlDocument from a string of a webpage?

    It is straightforward. The needed steps are:
    - Open your c# project;
    - Right click the project and select "Add refrence";
    - In the "Add reference" dialog select the COM tab;
    - Select ...
  22. Replies
    9
    Views
    1,205

    Re: Creating A Query In A Stored Procedure

    Then how about this:


    DECLARE @Quarters AS int
    SET @Quarters = @Quarter1 | @Quarter2 | @Quarter3 | @Quarter4

    SELECT *
    FROM Sales
    WHERE Sales.FiscalYear = @FiscalYear
    AND...
  23. Replies
    12
    Views
    1,087

    Re: Running Slower on a 64 Bit Processor

    How about profiling? In Visual Studio 2008 you can use the integrated profiler. Otherwise there are other tools out there, such as DevPartner (they have a community edition with a 1 month free...
  24. Replies
    9
    Views
    1,205

    Re: Creating A Query In A Stored Procedure

    One way would be to use dynamic SQL only for the SELECT clause and test only the valid quarter values.
  25. Replies
    17
    Views
    6,937

    Re: Load Dll from Embedded Resource

    Storing the dll as a resource(as RT_RCDATA) would not be a problem. But loading it will be. I actually believe it is not possible.
    Unless you temporarily save the resource to disk and use...
Results 1 to 25 of 329
Page 1 of 14 1 2 3 4


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center