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

Search:

Type: Posts; User: jase jennings

Page 1 of 80 1 2 3 4

Search: Search took 0.08 seconds.

  1. Replies
    2
    Views
    1,620

    Re: Resolving %CommonProgramFiles%

    Thankyou

    Exactly what I was looking for. All is well now :)

    Jase
  2. Replies
    2
    Views
    1,620

    Resolving %CommonProgramFiles%

    Hi

    Been a long time since I coded anything, but revisiting an old project to make it work on Vista has thrown up a problem I cannot remember how to resolve :)

    I'm fetching a registry key...
  3. Replies
    17
    Views
    2,255

    Re: Responding to SwitchUser event in XP

    The code i am writing must also run on Windows 98 and therefore i define _WIN32_WINNT as 0x0400. These wts functions require that defined to 0x0501 for xp, so my code won't compile.

    That's why i...
  4. Replies
    17
    Views
    2,255

    Re: Responding to SwitchUser event in XP

    I put the code in my dialogs InitDialog and now it all works nicely.

    The documentation I had been reading suggested that the code should be place in InitInstance(), therefore in the CWinApp...
  5. Replies
    17
    Views
    2,255

    Re: Responding to SwitchUser event in XP

    Well, I'm doing the LoadLibrary stuff and setting up the call back from my CWinApp derived class, so i can't use GetSafeHwnd() ...

    I take it you are doing this within your CWnd derived class?
    ...
  6. Replies
    17
    Views
    2,255

    Re: Responding to SwitchUser event in XP

    Bump.

    Any ideas?
  7. Replies
    17
    Views
    2,255

    Re: Responding to SwitchUser event in XP

    Thanks a lot for that code, I'm please you posted it because I did manage to put something together and I'm relieved to see that your code is very similar to mine :) I shall use yours though, as my...
  8. Replies
    17
    Views
    2,255

    Re: Responding to SwitchUser event in XP

    Sorry Igor. I am struggling with GetProcAddress(). It's been such a long time ...

    I cannot work out the rest of the code required here :



    m_hInstWtsapi32 = LoadLibrary("wtsapi32.dll");...
  9. Replies
    17
    Views
    2,255

    Re: Responding to SwitchUser event in XP

    Thanks for this idea. Like I said, it's been 2 years since I sat down in front of Visual Studio and coded, and my knowledge is rusty to the say the least. I hadn't even considered using...
  10. Replies
    17
    Views
    2,255

    Re: Responding to SwitchUser event in XP

    Thanks for the suggestion. I'll look into this ...

    <revisited>

    ... actually, this won't work i don't think. Switching a user doesnt cause a WM_ENDSESSION, these apps remain running in memory...
  11. Replies
    17
    Views
    2,255

    Re: Responding to SwitchUser event in XP

    ...that's what I'm hoping for. Any ideas?
  12. Replies
    17
    Views
    2,255

    Responding to SwitchUser event in XP

    Hi

    It's been 2 years since I last did any programming or contributed to this forum :) I'm back with a question I hope someone can help me with.

    I have an app written in MFC which can be run by...
  13. Replies
    110
    Views
    53,992

    No problem. I hope my explanation was helpful. ...

    No problem. I hope my explanation was helpful. Ask more questions if I was unclear :)
  14. Replies
    110
    Views
    53,992

    Hello Mike The way SlideShow Desktop does...

    Hello Mike

    The way SlideShow Desktop does this, is really very simple.

    I hold a text file on my website, my application can retrieve it using standard microsoft internet api calls,
    ( I forget...
  15. Replies
    110
    Views
    53,992

    Hi Alan Nice to hear from you again :) ...

    Hi Alan

    Nice to hear from you again :)

    There IS an answer already. Just open up Internet Explorer - it knows exactly when you are connected and when you are not.

    But we don't know it ... or...
  16. Replies
    110
    Views
    53,992

    Been there, done that :) Doesn't work as...

    Been there, done that :) Doesn't work as described...
  17. Replies
    110
    Views
    53,992

    Re: Re: Re: Re: Re: Re: Detecting an internet connection

    No problem Sam. I also hope he continues to contribute. Same goes for Bob Sheep.
  18. Replies
    110
    Views
    53,992

    Re: Re: Re: Re: Detecting an internet connection

    Hi Sam

    The post you have quoted is not a question, it is a suggestion for how to detect an internet connection - which is what this thread asks for.

    I agree with you in principal Sam - but in...
  19. Replies
    110
    Views
    53,992

    I don't see anybody "slagging" anybody off Bob. ...

    I don't see anybody "slagging" anybody off Bob.

    Sam is simply putting forward a point of view on how best to organise threads and questions.
    I don't happen to agree with him in this case, but...
  20. Replies
    110
    Views
    53,992

    Hi Bob Thanks for your suggestion I'm sorry...

    Hi Bob

    Thanks for your suggestion

    I'm sorry to say that it doesn't work ...

    I can turn my broadband modem off, ensuring no connection to the inet, yet it will still say that i am connected. ...
  21. Replies
    110
    Views
    53,992

    Re: Re: Detecting an internet connection

    I think it is entirely pertinent to ask the question here, as it is in context with the rest of thread...

    It would be better to discuss this topic and possible solutions within the same context,...
  22. Replies
    110
    Views
    53,992

    When using wininet functions, the autodialer will...

    When using wininet functions, the autodialer will be displayed if the user has configured dial-up-networking and is not connected. This is one of the issues of trying to detect a connection...
  23. Replies
    110
    Views
    53,992

    I think as perfect an answer as you're gonna get...

    I think as perfect an answer as you're gonna get lies in the answers above :)

    I haven't gotten around to coding it yet due to time demands on another project. When I do, I'll post it. If someone...
  24. Replies
    110
    Views
    53,992

    You need to add wininet.lib to the link section...

    You need to add wininet.lib to the link section of the project properties
  25. Replies
    110
    Views
    53,992

    it returns "error not defined" - "not connected"....

    it returns "error not defined" - "not connected".

    I'm on windows XP.
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

This is a CodeGuru survey question.


Featured


HTML5 Development Center