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

Search:

Type: Posts; User: Vaderman

Page 1 of 26 1 2 3 4

Search: Search took 0.05 seconds.

  1. Replies
    1
    Views
    1,052

    Re: Killing a Process

    you can use QA to kill a process. Use sp_who to find out what the users spid number is and then kill this process. BUT, don't kill the process if the cmd reads any of the following:

    AWAITING...
  2. Replies
    3
    Views
    847

    Re: Query Analyzer....

    OK.. let me ask this question. In the profiler, I am tracking a Stored Procedure and it has Audit Login when it starts the SP and Audit Logout when it completes the SP.

    Does this mean that my...
  3. Replies
    3
    Views
    847

    Re: Query Analyzer....

    The Query is as follows :



    Insert into TableName
    select T.ID, T.RecordType, T.Status, T.Available
    from (TableName T inner join Selection S on S.selectionID = T.ID)
    ...
  4. Replies
    3
    Views
    847

    Query Analyzer....

    Hi all,
    I'm running a simple select * query in the QA. However, in QA it continues to state that the query is running which maybe taking about 2-3 mins!!
    BUT, in the SQL profiler it comes up...
  5. Replies
    0
    Views
    697

    Seemingly simple problem....

    I'm looping through ADO's recordset as follows:




    ADODB::_RecordSetPtr recordSet;


    recordSet = m_pDB->OpenStoredProcedure(&strSPName, usualparams...);
  6. Replies
    1
    Views
    731

    C Code debugging assitance

    I'm working with some C legacy code using the VC++ IDE. Is there a way I can use OutputDebugString to display messages into the output window?

    Or if I can't use C++ api's in a C environment, is...
  7. Replies
    18
    Views
    1,659

    Re: Happy Birthday Vaderman

    Hi Ejaz... I almost forgot that it was my birthday tomorrow...

    cheers guys, very thoughtful of you all to remember. :D

    Remember.... May the 4th be with you... ;)
  8. Replies
    3
    Views
    780

    Re: C++ and states

    You are correct.

    Objects, or classes, can hold a particular state, and, I'm probably sticking my neck out here by saying this, but encapsulation, ie. the parts of the class that you wish to hide...
  9. Replies
    2
    Views
    682

    Re: programming theory question

    To do anything incrementally you would still need something to base it on, and the design stage is usually the starting point.
  10. Replies
    5
    Views
    1,165

    Re: Emptying a Queue

    Why don't you just use clear() or the erase(iterator first, iterator last) functions?
  11. Replies
    21
    Views
    9,522

    Re: Starting Timer In Vc++

    Have you done UpdateData()?
  12. Replies
    21
    Views
    9,522

    Re: Starting Timer In Vc++

    You have all the steps in this thread to help you on your way. Have you looked at the link golanshahar gave you? I remember msdn giving a few examples... have you also looked on MSDN regarding...
  13. Replies
    21
    Views
    9,522

    Re: Starting Timer In Vc++

    Just a side issue, even though your code will work, as Ejaz mentioned, you don't need the calls to UpdateData(...)

    Regards
  14. Replies
    7
    Views
    953

    At a cross roads...

    Just thought I'd start a new thread about wot would you do if.... Your heart was no longer in doing programming for a living

    Yup folks... I fear that I've reached the end of my career doing...
  15. Thread: Ie Sdk..

    by Vaderman
    Replies
    1
    Views
    841

    Re: Ie Sdk..

    Sorry folks... its been resolved... Its monday and I'm not functioning well! :)
  16. Thread: Ie Sdk..

    by Vaderman
    Replies
    1
    Views
    841

    Ie Sdk..

    I've recieved a compiler error that states the following :

    C:\PROGRAM FILES\MICROSOFT SDK\INCLUDE\msxml.idl(52) : fatal error C1083: Cannot open include file: 'xmldom.idl': No such file or...
  17. Replies
    3
    Views
    756

    Re: output confusion

    Unless I've misunderstood your question I see nothing majorly wrong with your code and does indeed print 123 Genesis.

    However, a point to note is that main should be declared as having a return...
  18. Replies
    4
    Views
    743

    Re: The use of extern

    Sorry folks, the hMutex is indeed defined and should've been defined in Module1, but I guess I must've omitted that out by accident. But the explanition given by NMTop40 has sufficed.

    Thanx guys.
  19. Replies
    4
    Views
    743

    The use of extern

    My understanding of using extern is;
    1) It used as a declaration without being defined;
    2) Any new declarion with definition of the same name will be treated as being the same as the extern...
  20. Replies
    3
    Views
    1,017

    Re: Weird CoCreateInstance error

    well, 'googling' has informed me that maybe you are opening a file using an incorrect mode. Valid modes are :

    Append,
    Binary,
    Input,
    Output, or
    Random.
  21. Replies
    2
    Views
    909

    Re: how to identify uniquely a PC?

    Take your pick, here and here ;)

    Regards
  22. Re: Thoughts on some of the questions that get asked

    I agree to a certain degree with what GCDEF has raised, particularly with the links to back him up, but there are a number of questions that needs to be asked before ANYONE decides if the question is...
  23. Replies
    8
    Views
    62,149

    Re: DWORD to string

    Have a look at the following link.

    Regards
  24. Replies
    2
    Views
    748

    Re: Default value doesnt work?

    How is your table schema written? Have you actually set a default for this field?

    Regards
  25. Replies
    4
    Views
    2,090

    Re: How add a horizontal scrollbar in ListBox?

    Right click on the control, select properties and under the styles tab, select horizontal scroll

    Regards
Results 1 to 25 of 637
Page 1 of 26 1 2 3 4





Click Here to Expand Forum to Full Width

Featured