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

Search:

Type: Posts; User: Arjay

Page 1 of 80 1 2 3 4

Search: Search took 0.88 seconds.

  1. Replies
    14
    Views
    561

    Re: Weirdness with ODBC API

    Have you ever seen the signs advertising office space, "If you worked from here, you would be home by now"?

    That's what coding up raw ODBC is like vs. using an ORM. Sure, there might be an initial...
  2. Replies
    14
    Views
    561

    Re: Weirdness with ODBC API

    Yes, but I expect it to be called in a loop with once per column. Not like the following code where the 2nd call eats the return call of the first:

    ret = SQLColumns();
    ret = SQLBindColumn();
    ret...
  3. Replies
    14
    Views
    561

    Re: Weirdness with ODBC API

    Why is SQLBindColumn called twice?
  4. Re: Changing value in variable from another called class

    What happens when you set some breakpoints and step through the code?
  5. Replies
    6
    Views
    507

    Re: MSDN: Documentation issue

    For older technologies, the ATL OLEDB Consumer classes are an order of magnitude improvement over the MFC db classes. They're lighter weight, easier to modify for schema changes, support multiple db...
  6. Replies
    6
    Views
    507

    Re: MSDN: Documentation issue

    People still use ODBC?
  7. Thread: C++ IDE Query

    by Arjay
    Replies
    5
    Views
    556

    Re: C++ IDE Query

    While this is technically true, learning this way leaves the programmer with a deficit (imo) - that is, with notepad a programmer can't learn the all too important skill of debugging. Understanding...
  8. Replies
    2
    Views
    404

    Re: Viewing breakpoints when NOT in Debug mode

    Or, the debug and output windows appear as tabs in the same pane.
  9. Replies
    19
    Views
    676

    Re: Template class inside a vector

    If you haven't used an Object Relational Mapper (ORM) before you may want to check it out. I see a few available for c++. If they are anything like the EF Core ORM for C#, they will build the...
  10. Replies
    5
    Views
    358

    Re: Libraries with the same function

    If using C++, use different namespaces.
  11. Replies
    2
    Views
    594

    Re: Stupid Things Developers Do

    Read posts by someone that wants to write an article.
  12. Thread: SQLCMD failure

    by Arjay
    Replies
    7
    Views
    1,309

    Re: SQLCMD failure

    Are you able to connect with SSMS?

    Btw, I've used SQLCMD within PowerShell for years, but recently ran into a issue where it just would not connect to a specific server. Never could figure out the...
  13. Thread: SQLCMD failure

    by Arjay
    Replies
    7
    Views
    1,309

    Re: SQLCMD failure

    Are the named pipes protocol enabled on sql server? They aren't by default. Search google for "sql configuration manager"
  14. Re: What type of configuration in SQL Server should I use to collect fingerprint valu

    What type is the data are you trying to store? Is it binary data? String data?
  15. Replies
    1
    Views
    1,005

    Re: Windows form launching a console application

    Use a named mutex. Create the mutex in the windows app before you launch the console app. When the console app starts up, try to open the mutex. It should open. If the mutex doesn't exist and the...
  16. Thread: compile error

    by Arjay
    Replies
    3
    Views
    531

    Re: compile error

    Would reformatting your code help you to spot the error?
  17. Replies
    1
    Views
    706

    Re: Convert Object Properties to Array

    public class MyObj
    {
    public string Obj1 { get; set; }
    public string Obj2 { get; set; }
    }
    class Program
    {
    static void Main(string[] args)
    {
    ...
  18. Re: Storing and retrieving dates from MS Access using C#

    No screenshots please, just include the code snippet and the error.
  19. Re: What type of configuration in SQL Server should I use to collect fingerprint valu

    Not sure what you are asking. Are you asking what datatype you should store fingerprint data in? If so, probably a VARBINARY datatype would be suitable.
  20. Replies
    7
    Views
    1,076

    Re: Using containers list and vector in a program

    You'll need to also use F9 to set a breakpoint before using F10 & F11. Otherwise, F10 & F11 aren't much use.
  21. Re: Can I remotely check for Remote Desktop connection?

    See...
  22. Replies
    13
    Views
    919

    Re: Compiler error 3848

    Probably the least painful approach is to incrementally keep production code to the current version or at least cuurent minus 1. Yeah, every few years you have to feel a little pain getting your old...
  23. Re: Hi i need to find a solution for this question

    Victor' that was a well written post from Guido.
  24. Replies
    14
    Views
    883

    Re: MFC CListCtrl change checkbox color

    Take a look at the lvselstate sample here: https://forums.codeguru.com/showthread.php?565179-ListCtrl-in-MFC&p=2238400#post2238400
  25. Replies
    4
    Views
    294

    Re: Reopen the Dialog.

    What overly complicated code. Create a modeless dialog. Make its parent window the main app window. Store the pointer to it in the AfxApp (so you can access it from anywhere). Expose a method that...
Results 1 to 25 of 2000
Page 1 of 80 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)