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

Search:

Type: Posts; User: dhartigan

Page 1 of 4 1 2 3 4

Search: Search took 0.08 seconds.

  1. Replies
    52
    Views
    18,333

    Re: Running a Timer on a background thread

    Hi,

    I'm actually PinkMoon. Since I posted the first post in this thread I've been unable to login and reply using my own account. I'm using a friend's account to write this reply.

    The reason I...
  2. Re: Dot Net Remoting - Shutdown server properly

    Thanks very much for that link jhammer. It looks quite promising.
  3. Dot Net Remoting - Shutdown server properly

    Hi,

    I have a client application and a server application. They communicate using remoting. I would like to be able to notify all connected clients whenever the server is shutting down. Is there a...
  4. Replies
    2
    Views
    1,420

    Re: Starting a process from a Windows Service

    Thanks for that information ShujaAli.



    I have allowed it to interact with the desktop. I've checked the checkbox in Properties -> Logon tab

    Can you suggest another approach?
  5. Replies
    2
    Views
    1,420

    Starting a process from a Windows Service

    Hi,

    I am trying to update a Windows Service as follows:

    the service uses the Updater Application Block to check for updates to itself.
    if updates are found the service should launch a...
  6. Replies
    5
    Views
    3,430

    Re: Problem with CreateService

    Hi,

    I have declared the CreateService function as follows:


    Public Declare Function CreateService Lib "advapi32.dll" Alias "CreateServiceA" ( _
    ByVal hSCManager As Int32, _
    ByVal...
  7. Replies
    5
    Views
    3,430

    Re: Problem with CreateService

    I have changed my code to read:


    Dim sv_handle As Int32 = CreateService(sc_handle, svcName, svcDispName, _
    SERVICE_START, _
    SERVICE_WIN32_OWN_PROCESS, _
    SERVICE_DEMAND_START, _
    ...
  8. Replies
    5
    Views
    3,430

    Problem with CreateService

    Hi,

    I am trying to install a Windows Service using the CreateService API. My problem is that the call to CreateService always returns 0 and a call to GetLastError always returns 87.

    The code I...
  9. Replies
    9
    Views
    1,110

    Keyboard shortcuts in IDE

    Hi,

    Can anyone tell me if there are any keyboard shortcuts that can comment and uncomment blocks of code?

    Thanks,

    dhartigan
  10. Enterprise Library Custom Exception Handlers

    Hi,

    Does anyone know of any tutorials that explain how to create custom exception handlers for Enterprise Library? I know there are plenty available for the Exception Management Application Block...
  11. Replies
    5
    Views
    707

    Re: How to format this string

    Thanks very much HairyMonkeyMan. That works nicely.
  12. Replies
    5
    Views
    707

    Re: How to format this string

    The string represents the price, in cents, of a vehicle. The string is read from a file. The file is structured in such a way that there are 10 characters allocated to represent the price of the...
  13. Replies
    5
    Views
    707

    How to format this string

    Hi,

    I've been playing with this ages and I just cannot get it to work.

    I have the following string: "001563200"

    How can I format it to read "15632.00"

    I have to take into account that the...
  14. Replies
    0
    Views
    2,032

    Registered event sources in Event Viewer

    Hi,

    I'm trying to use the Exception Management Application Block to write error information to a custom log in the Event Viewer. I get the following error when it actually tries to write to the...
  15. Replies
    6
    Views
    723

    Re: Show a form using its name

    Very good, that sounds like a much simpler way. Thanks very much.
  16. Replies
    6
    Views
    723

    Re: Show a form using its name

    Excellent! That code works like a treat.

    If I wanted code that will hide every form in an application, is the code you provided a good place to start?

    dhartigan
  17. Replies
    0
    Views
    481

    Saving attachments in Outlook

    Hi,

    I found code to save Outlook attachments here. This code saves attachments from the default Inbox. How can I change this to save attachments from any of the folders i created myself?

    Thanks...
  18. Replies
    6
    Views
    723

    Re: Show a form using its name

    Hi,

    Thanks for the quick response gigemboy. Yes, eventually there would be around 40 forms.

    dhartigan
  19. Replies
    6
    Views
    723

    Show a form using its name

    Hi,

    I have 2 forms, Form1 and Form2. On another form I have a textbox and a button. If I type Form1 in this textbox and press the button I want to show Form1, similarly if I type Form2 i want to...
  20. Replies
    0
    Views
    572

    Web Service - Error in Web.Config file

    Hi,

    I have created a web service in Vb.Net. It works fine and does what it's supposed to if I browse to it using a browser. However if I try to add a web reference to it from inside a Windows...
  21. Replies
    3
    Views
    6,129

    Re: Icons in Listview column headers

    Thanks very much for that information HanneSThEGreaT. It was very helpful.

    Sorry but I can't rate your post because I have to spread some around first! I'll rate it as soon as I can.
  22. Replies
    3
    Views
    6,129

    Icons in Listview column headers

    Hi,

    I am trying to sort a listview by clicking on any of the columnheaders. I would like to include the icons to show whether the data is sorted ascending or descending.

    I have added the two...
  23. Replies
    5
    Views
    1,754

    Re: Copying files with FileSystemObject

    That's brilliant vb_the_best. Thanks very much. :thumb:

    dhartigan

    P.S I can't rate your post yet because I have to "spread some reputation around first", but I will rate it when I can.
  24. Replies
    5
    Views
    1,754

    Copying files with FileSystemObject

    Hi,

    Can anyone tell me how I can do the following:

    I need to copy a file from one location on my hard drive to another. I want to be able to overwrite existing files and be able to trap any...
  25. Replies
    1
    Views
    1,428

    Listview Autofit

    Hi,

    Can anyone tell me how to autofit the text to the columns in a listview control. I have looked around and can't find anything dealing eith this.

    Thanks very much,

    dhartigan
Results 1 to 25 of 79
Page 1 of 4 1 2 3 4





Click Here to Expand Forum to Full Width

Featured