dcsimg

Search:

Type: Posts; User: JimOldguy

Search: Search took 0.00 seconds.

  1. Re: Set Outlook Out-of-office programatically

    I've looked in detail at the script listed above, and decided not to go with it.
    The script sets up scheduled tasks, to run at the specified time, to toggle the state of the Out Of Office feature....
  2. Re: Set Outlook Out-of-office programatically

    Thank you, Westconn1, that is exactly what I needed.

    I've followed your link, and downloaded the vbscript there. I believe I now have all that I need.

    Thanks again,

    Jim
  3. Re: Set Outlook Out-of-office programatically

    Yes, Office 365 etc.
  4. Re: Set Outlook Out-of-office programatically

    Hi,
    If I can get the basic function to work, I'll probably set it up to run at start of Outlook, where it will check for the appropriate day.
  5. Re: Set Outlook Out-of-office programatically

    Hi,
    If I can get the basic function to work, I'll probably set it up to run at start of Outlook, where it will check for the appropriate day.
  6. Set Outlook Out-of-office programatically

    I need to be able to set the Outlook Out-of-office mode automatically, for different start and stop dates/times.

    One user needs the auto-reply to be turned on every Monday and Friday, while...
  7. Re: Setting Chart source to a Range fails.

    Well, after a fair bit of fiddling, I finally got it to work!



    .ListObjects.Add(xlSrcRange, Range("A1:C2"), , xlYes).Name = "Table" & Sheets.Count
    Set cht =...
  8. Re: Setting Chart source to a Range fails.

    Now I have a new problem.
    I need to be able to name the new table, on each new sheet, uniquely, so the chart then references the correct data.
    Currently, the data named "Table" refers to the sheet...
  9. Re: Setting Chart source to a Range fails.

    Found an answer!


    .Sheets.Add(After:=.Sheets(.Sheets.Count)).Name = Format(Now, "dd-MMM-yyyy")
    With ActiveSheet
    .Cells(1, 1) = "Time"
    .Cells(1,...
  10. Re: Setting Chart source to a Range fails.

    Found an answer!


    .Sheets.Add(After:=.Sheets(.Sheets.Count)).Name = Format(Now, "dd-MMM-yyyy")
    With ActiveSheet
    .Cells(1, 1) = "Time"
    .Cells(1,...
  11. [RESOLVED] Setting Chart source to a Range fails.

    I have this code:


    With ActiveWorkbook.ActiveSheet
    .Cells(1, 1) = "Time"
    .Cells(1, 2) = "Temperature"
    .Cells(1, 3) = "Target"
    ...
  12. Replies
    4
    Views
    331

    Re: IDE commands/menus missing!

    Thank you, Thierry. That fixed it.
  13. Replies
    4
    Views
    331

    IDE commands/menus missing!

    Running VB6 under Windows 10.

    I find IDE Menus are missing!
    Selecting "Project" from the main menu bar produces just the Add Form, Add MDI Form, Add Module, etc. options.
    I cannot find...
  14. Re: OLE Error when running from compiled exe

    WOW!
    Many thanks, Dilettante, it was just as simple as that!:)
  15. OLE Error when running from compiled exe

    I have an application that searches for AD accounts that have passwords soon to expire.

    The code works just fine when I run it from within the IDE editor, but fails when I try it from the compiled...
  16. Replies
    0
    Views
    280

    CreateUpdateSearcher ResultCode fails

    I'm running some code to check my servers for Windows Updates, and to see those which failed to install. (There are always some!)

    The code runs fine, but I cannot get the resultcode to show. I get...
  17. Replies
    24
    Views
    3,137

    Re: ListView not responding to code

    OK, guys,

    Thanks for all your help and suggestions.

    I've been down the hard road, and done a Windows 10 Reset!

    Now, having re-installed VB6, all is well!

    Must have been something...
  18. Replies
    24
    Views
    3,137

    Re: ListView not responding to code

    Zvoni, this is a 32Bit PC, so there is only System32.
  19. Replies
    24
    Views
    3,137

    Re: ListView not responding to code

    I've now re-installed VB6 on my 32Bit PC, but that has made no difference.

    However, I have just noticed something slightly odd:

    When I add MS Windows Common Controls 6.0 (SP6) to the...
  20. Replies
    24
    Views
    3,137

    Re: ListView not responding to code

    Good morning,
    (Well, it is here, in UK!)

    Thank you, Fafalone, for all that info. I'll look into using that as my Plan B.

    In the meantime...

    I have just run the code here on my 32Bit Windows...
  21. Replies
    24
    Views
    3,137

    Re: ListView not responding to code

    Yes, tried both.
    Here's how I tried setting up at design time:
    158415
  22. Replies
    24
    Views
    3,137

    Re: ListView not responding to code

    I am now leaning towards the conclusion, somewhat inevitably, that there's something adrift in my VB6 installation.
    (It's Visual Studio 6, actually, but I don't think that makes any difference...
  23. Replies
    24
    Views
    3,137

    Re: ListView not responding to code

    Phil,

    Only one ListView.
    No "On Errors". (I did have "On Error Resume Next", but I took that out to see if any errors were flagged, but nothing.
  24. Replies
    24
    Views
    3,137

    Re: ListView not responding to code

    OB,

    Yes, it works if I use the older, version 5.0 component, but that doesn't support checkboxes, which I need!

    Highly frustrating!
  25. Replies
    24
    Views
    3,137

    Re: ListView not responding to code

    OptionBase,
    That produces just a totally blank ListView.

    LaVolpe,
    Yes, I've checked hide column headers, etc.
    I've also tried adding a simple "Dummy Text" item, all to no avail.
  26. Replies
    24
    Views
    3,137

    Re: ListView not responding to code

    TG,

    Been there, done that.

    Stepping through the code with F8, every line gets executed as expected.

    I'm concerned that the "initialisation section", although executed, has no effect on the...
  27. Replies
    24
    Views
    3,137

    Re: ListView not responding to code

    Hi Phil,

    No change with dummy item addition.

    .View = lvwReport

    158411
  28. Replies
    24
    Views
    3,137

    Re: ListView not responding to code

    Hi Phil,

    Yes, typically there are about 55 iterations through the loop, depending upon what software has been installed on the PC.

    This is all the relevant code:



    With Me.ListView1
    ...
  29. Replies
    24
    Views
    3,137

    [RESOLVED] ListView not responding to code

    I have an app that loads a ListView with a list of applications currently installed on the PC, and their uninstall string commands.
    However, try as I might, I cannot get the ListView to respond to...
  30. Re: Saving text within vb6 project

    Many thanks, Elroy.
    That is a clear and concise resolution for me.

    Thank you, again.

    Jim
  31. Re: Saving text within vb6 project

    Thanks, Elroy.

    There isn't an awful lot of text, just the same text needed for each of multiple e-mails created when I run the app.

    How do I use the project's resources? That sounds the right...
  32. [RESOLVED] Saving text within vb6 project

    I have a file, containing html text, that I use within an app to create an e-mail message in Outlook.
    Currently, this is a .txt file in the app folder, that I read into a variable using a simple Do...
  33. Replies
    3
    Views
    1,136

    GetInspector not working any more

    This code used to work fine, producing e-mail messages complete with my signature.

    Now, after current Windows 10 updates, the signature is missing.

    Does anyone know why?

    I'm using Outlook...
  34. Replies
    2
    Views
    438

    Create Object Issue

    I'm struggling with this function!
    This all worked fine, until we upgraded to Office 365.
    Now, this:

    Dim oApp As Object
    Set oApp = CreateObject("Word.Application") 'This works,...
  35. Replies
    15
    Views
    4,937

    Re: VB6 on Windows 10 missing F1 Help function

    I installed, (and run,) under an administrator account, as I am the sole user on both systems.
    The 64-bit system, however, does ask for "administrator approval" when installing, which does puzzle...
  36. Replies
    15
    Views
    4,937

    Re: VB6 on Windows 10 missing F1 Help function

    Hi Dilettante,

    I've tried re-installing both VB6 and MSDN on this 64-bit system, but to no avail.
    I've accepted the default locations/settings, to allow the system to control the locations, but I...
  37. Replies
    15
    Views
    4,937

    Re: VB6 on Windows 10 missing F1 Help function

    Hmm...
    Hadn't thought of that! I have Chrome as my default.
    I'll set it to IE and see what happens.
    Thanks for the tip.

    Jim
  38. Replies
    15
    Views
    4,937

    VB6 on Windows 10 missing F1 Help function

    I'm happily running VB6 on my Windows 10 system, but, although I have installed MSDN October 2001, pressing F1 on any key term, etc, just pops up a box saying "Unable to display Help".

    VB6 is...
  39. Replies
    1
    Views
    911

    VBA with VB6 on W10 and Office 2013

    I'm happily running VB6, with Office 2013, on Windows 10.

    However, when I create a VB6 app that uses Office, and try to get F1 help on an Office function, all I get is the dreaded "Unable to...
Results 1 to 39 of 39



Featured


Click Here to Expand Forum to Full Width