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

Search:

Type: Posts; User: wangdave

Page 1 of 2 1 2

Search: Search took 0.04 seconds.

  1. How to trap as soon as some Windows app of the same computer sends a print job?

    Hi,
    I need to write an app, which could trap as soon as some Windows app of the same computer sends a print job to the network printer server, add some data to JOB_NOTIFY_FIELD_USER_NAME field of...
  2. Replies
    0
    Views
    2,589

    Help about WMI query to SMS Site!

    Hi,

    I have a problem about my ASP .NET App(C# .NET) to query SMS2003 via WMI.

    My web server is IIS 6.0 on Win2003 Svr SP1(Domain Controller-AD + SMS2003 SP1).

    In my btn_cliclk method, my...
  3. Re: How to write a COM object which can be refered in C# .NET prj?

    Thanks for your help above. I did succeed by ATL COM Wizard.
    Thank you again.
  4. How to write a COM object which can be refered in C# .NET prj?

    Hi,

    As we know, we can write a COM object with VB6, which can be refered in C#
    .NET project. My question is, can I do so with VC6, other than VB6?

    In VB6, it is easy to create a COM object:...
  5. How to trap file reading and writing in Shared Folder over Network?

    Hi,
    How to trap file reading and writing in Shared Folder over a Network for Workgroups in Windows? Further more, may I trap browsing event in Shared Folder?
    Thanks.
  6. NotifyIcon app: how to show the context menu?

    Hi,

    I am developing a NotifyIcon app with C#. I want to show the context menu when user left-clicks on the icon, the same as he/she right-clicks on it. In that event handler,...
  7. How to get netname of some internet IP in my app?

    Hi,
    I want to implement a function to lookup internet IP address to get its coresponding netblock information in my developing internet app.
    Perhaps,my question is how to get WHOIS information in...
  8. What is the diffrence between MultiByteToWideChar() and mbstowcs()?

    Hi,
    What is the diffrence between MultiByteToWideChar() and mbstowcs()?
    Which API should we make a choice?
    Thanks and Merry Xmas!
    David
  9. Replies
    0
    Views
    693

    Help about Unicode concept & functions!

    Hi,
    Merry Xmas!

    I read some articles about Unicode in MSDN. But the sample code about Unicode function,mbstowcs(),in MSDN puzzled me.

    The sample's URL:...
  10. May I use (LPBYTE)wcsMsg for a Unicode String?

    Hi,
    Merry Xmas!

    I have a Unicode string variable, wcsMsg:
    wchar_t wcsMsg[100];
    Net API NetMessageBufferSend() needs a LPBYTE type variable to act as its third parameter.

    May I transfer...
  11. How to send message to Messenger Service in my app?

    Hi,

    I am developing an application to send message to colleagues in our LAN. I hope they receive msgs with their Messenger Service in Win2K.

    Now I used ShellExecute("net send...") to send...
  12. Replies
    0
    Views
    532

    Help about DirectX 8.1 SDK Tutorial 1

    Hi,

    When I compiled and ran the sample code from DirectX 8.1 SDK Tutorial 1,
    CreateDevice, I got a D3DERR_INVALIDCALL return value from CreateDevice()
    and the sample app failed.

    ...
    ...
  13. In fact,I have tried your method. But...

    Yes, I got my core code from service app and prepare a small executable. But that bug disappears when debuging with the small executable,while it actually exists when running with taht service app....
  14. But my executable is a service app...

    But my executable is a service app,developed with VC6.0,too. How to launch it for component app debug?
    Thank you.
  15. How to debug for a service app and a com app?

    I developed a service app and a component dll with VC6.0.
    In the service app, I called the component via COM interface. Now, I have to debug for this service app and component app.

    I want to...
  16. Yes.Use this API getComputerName().

    Yes, I use this API getComputerName(). Thank you.
  17. Is there another better arithmetic for my Service App?

    Hi,
    I wrote a Service App to do some job on scheduled time.
    The core code is as below:

    while(1)
    {
    //Get Current Time
    strNow = ...

    if( strNow == "08:00:00" )
  18. How to get server name for local machine?

    Hi,
    Is there another way other than API gethostname to get server name for local machine?
    I have to link wsock32.lib in order to use that API. Then, my app will become more fat.
    Thank you.
  19. Re: How to get result of a scheduled task in my VC code?

    But the scheduled task is an .exe file, developed by VB. In my VC code, I can't get its process id, so I can't use WaitForSingleObject to detect it. Is there an Win32 API to check scheduled task...
  20. How to get result of a scheduled task in my VC code?

    Hi,
    I have set up a scheduled task in Win2K Server. Now, I want to check if this scheduled task works properly in my VC code. How should I do to check if a task has run and how to get the result of...
  21. Why 'Maxmize' item in System Menu is enabled while running in Win98?

    Hi,

    I wrote a Dialog-Based MFC App in VC6+Win2KPro.

    In Dialog Properties, I checked "Title Bar","System Menu" and
    "Minimize Box", while I unchecked "Maxmize Box".

    All is fine when this app...
  22. Replies
    8
    Views
    51,557

    Thank you. But...

    Yes,thank you.
    But your sample code in that web site can't be downloaded.
  23. Replies
    8
    Views
    51,557

    Does VB6.0 support Multi-Thread Programming?

    Hi,
    Do you know if VB6.0 supports Multi-Thread Programming?
    I wrote a sample according to MSDN, but I got an Exception while I run its .exe file.

    My code is as below:

    ...
    Dim lpThreadId As...
  24. Certainly,I had added that include file. Perhaps...

    Certainly,I had added that include file. Perhaps this copy is not up-to-date. My VC is VC6.0.
    I will try to download a new copy of SDK.
  25. But I got a compiling error: 'FtpGetFileSize' :...

    But I got a compiling error: 'FtpGetFileSize' : undeclared identifier.
    The code is :
    DWORD dwLenLow = FtpGetFileSize(
    HINTERNET(*file),&dwLenHigh);
    In addition, MSDN said:
    "...
Results 1 to 25 of 29
Page 1 of 2 1 2


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)