Search:

Type: Posts; User: ksor

Search: Search took 0.02 seconds.

  1. Re: how to use Arguments while dedugging in VS2022

    THX - yeah, but I think there is more to the setting up, because I think there is too much repeated tidious steps and maybe even wrong file formats involved.
  2. how to use Arguments while dedugging in VS2022

    How can I enter the argument when I'm still working in the editor VS2022 and debugging this simple VBScript:


    Option Explicit

    Dim strMAddress

    Set colArgs = WScript.Arguments
    strMAddress =...
  3. Replies
    11
    Views
    1,631

    Re: Stop / Starting Outlook via VBScript

    Ofcause ... and it works too - nice thx !
  4. Replies
    11
    Views
    1,631

    Re: Stop / Starting Outlook via VBScript

    :confused::confused:

    I don't think we are on the same frequence or some jamming is going on !
  5. Replies
    11
    Views
    1,631

    Re: Stop / Starting Outlook via VBScript

    ???????? - I don't get you !

    Why do you think your samples would close OUTLOOK ... Outlook is not even mentioned there !

    The code snip I showed - does in fact start Outlook but it DON'T close...
  6. Replies
    11
    Views
    1,631

    Re: Stop / Starting Outlook via VBScript

    I want to COPY the Outlook data file and to do that I am normaly closing Outlook ... but I've build another more simple Sub for starting Outlook and it WORKS ...

    except

    it leaves a CMD-window...
  7. Replies
    1
    Views
    934

    Re: Missing Dim ??

    Oh, I missed the

    set oshell = CreateObject("Wscript.Shell")

    Sorry folks :blush:
  8. Replies
    1
    Views
    934

    [RESOLVED] Missing Dim ??

    I try start Outlook with this codesnip:



    Dim oShell
    oShell.run "cmd.exe /C ""C:\Users\kelds\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Outlook"" "


    'Outlook' id a...
  9. Replies
    11
    Views
    1,631

    [RESOLVED] Stop / Starting Outlook via VBScript

    I can STOP Outlook nicely, but why is it so damn hard to get it up running again !

    This snip of code says Outlook is already in use .... and it is NOT - I've seen it stop by stepping through the...
  10. Re: New to VBScript - VS 2022 for editing/debug

    Maybe ... no, you ARE right !
  11. Re: New to VBScript - VS 2022 for editing/debug

    Why is it so damn hard to get Outlook runing again !

    This snip of code says Outlook is already in use and it is NOT - I've seen it stop by stepping through the code !





    Set objOutlook =...
  12. Re: New to VBScript - VS 2022 for editing/debug

    THX for your reply - I too have used BATCH-file and Scheduler, but I've had some mysterious issues combining Scheduler and Batch-files.

    In the first place I made a C# program that did it all very...
  13. [RESOLVED] New to VBScript - VS 2022 for editing/debug

    I'm new to VBScript and want to use VS2022 for my editing/debug.

    I have been using VB, .NET, VS and others on and off for 30 years.
    Now I want to automate my backup of Outlook for me and my wife...
Results 1 to 13 of 13



Click Here to Expand Forum to Full Width