dcsimg

Search:

Type: Posts; User: el84

Page 1 of 13 1 2 3 4

Search: Search took 0.35 seconds.

  1. Thread: Music

    by el84
    Replies
    12
    Views
    180

    Re: Music

    Jingle Bells. I claim my internet cool point...
  2. Thread: Music

    by el84
    Replies
    12
    Views
    180

    Re: Music

    I'm talking about creating musical sounds direct from vb6 code (it was possible with the old Quickbasic). Using random of course. The 'application' is vb6 itself.
  3. Thread: Music

    by el84
    Replies
    12
    Views
    180

    Re: Music

    I was more thinking of pure VB6 code if that is possible.
  4. Thread: Music

    by el84
    Replies
    12
    Views
    180

    Music

    Has anyone developed any method of composing and playing music using VB6? I have seen many references to vb.net but no thank you!
  5. Replies
    7
    Views
    156

    Re: Wildcards in Word Macro

    ..and of course I should have extended the With construct at the start,. So now I have.


    Sub WikiMassage()
    '
    ' WikiMassage Macro
    ' This Selects all, sets font = Arial 12, all black, no...
  6. Replies
    7
    Views
    156

    Re: Wildcards in Word Macro

    ..and of course I should have extended the With construct at the start,. So now I have.


    Sub WikiMassage()
    '
    ' WikiMassage Macro
    ' This Selects all, sets font = Arial 12, all black, no...
  7. Replies
    7
    Views
    156

    Re: Wildcards in Word Macro

    I was trying to remove all superscripts, which were in the form of "[any number]". In the end I settled on


    Sub WikiMassage()
    '
    ' WikiMassage Macro
    ' This Selects all, sets font = Arial 12,...
  8. Replies
    7
    Views
    156

    Re: Wildcards in Word Macro

    I was trying to remove all superscripts, which were in the fomr of "[any number]". In the end I settled on

    S
    ub WikiMassage()
    '
    ' WikiMassage Macro
    ' This Selects all, sets font = Arial 12,...
  9. Replies
    7
    Views
    156

    Re: Wildcards in Word Macro

    Thanks for your usual prompt and lucid reply, westconn

    Your solution worked. I want to introduce a new complication. I would like to replace all occurrences of "[" followed by any number from 1 to...
  10. Replies
    7
    Views
    156

    [RESOLVED] Wildcards in Word Macro

    Trying to delete all occurrences of "[ and "]" that have figures between them. Could be one two or three digits. Code currently not working!


    With ActiveDocument.Range.Find
    .MatchWildcards...
  11. Thread: End of VB

    by el84
    Replies
    39
    Views
    1,333

    Re: End of VB

    IMVHO a perfect summary of what's happening
  12. Replies
    18
    Views
    603

    Re: Convert VBA and VB6 code to C# or VB.NET?

    Often wondered about that...
  13. Replies
    584
    Views
    45,539

    Re: Vb6 , the Future, and what I have discovered

    I have been following this thread with some dismay. My VB6 IDE and all apps are working ok on W10 so far, but W10 is messing up normal non-VB6 functions one after another, with pushed changes...
  14. Re: [RESOLVED] Writing to text file via CMD.exe in Shell

    Thanks. That is much clearer now. I have changed Output to Append as I wish to keep a record of each event . I now have

    Dim aLogDetails As String, aLogDrive As String, aLogText As String
    ...
  15. Re: [RESOLVED] Writing to text file via CMD.exe in Shell

    I am not sure what to make of this post. Was it meant to be helpful? What do you mean 'Just write the new data yourself' ? and why is the solution 'clunky'? Does that mean it is destined to fail? If...
  16. Re: [RESOLVED] Writing to text file via CMD.exe in Shell

    <duplicate>
  17. Re: Writing to text file via CMD.exe in Shell

    ...and thanks to your hint Magic, I have worked it out for myself


    aMate = Time
    aLogDrive = "F:"
    aLogDetails = aLogDrive & "\TransferLog.txt"
    Shell ("CMD.exe /C echo " &...
  18. Re: Writing to text file via CMD.exe in Shell

    Magic: Thanks. It is the manipulation of brackets and & that floored me. That's working fine. Now suppose Mate is replaced by a predetermined String and I also want to place exit in the command to...
  19. Re: Writing to text file via CMD.exe in Shell

    Agreed


    Dim aLogDetails As String
    aLogDetails = aLogDrive & "\TransferLog.txt"
    ' the logDrive is previously defined as eg f:\
    'the file I want to create on f:\ is...
  20. Re: Writing to text file via CMD.exe in Shell

    Agreed


    Dim aLogDetails As String
    aLogDetails = aLogDrive & "\TransferLog.txt"
    ' the logDrive is previously defined as eg f:\
    'the file I want to create on f:\ is...
  21. [RESOLVED] Writing to text file via CMD.exe in Shell

    I am trying to create a log file using Shell "CMD.exe" where I record the date and other stuff in a txt file. I am having trouble in combining literal text and directory names like F: I am OK with...
  22. Re: Windows 10 - Program works flawlessly in VB6 IDE, does not work compiled

    This may or may not be relevant, but after 'upgrading' to W10, I found that using IE caused all manner of problems, including router dropping out, which I never had in 3 years continuous use. I now...
  23. Re: [RESOLVED] How to programmatically kill user process from VB6?

    I have been using this with success, except that if I follow it by a Robocopy command I get an error process still running... This is with Outlook, so a pretty long pst file in case that is relevant
  24. Re: [RESOLVED] How to programmatically kill user process from VB6?

    I have been using this with success, except that if I follow it by a Robocopy command I get an error process still running...
  25. Re: best vb6 thread by Chinese developer(support UserControl,OCX)

    FunkyDexter said "Please don't post in Chinese. Most of our members won't understand it."

    I have trouble understanding English on here... and I was born in England...
  26. Replies
    6
    Views
    387

    Re: Closing apps via Shell?

    # 6 was on the money! I have this:


    Shell "CMD.exe /k Taskkill /IM Outlook.exe & Exit"
  27. Replies
    6
    Views
    387

    [RESOLVED] Closing apps via Shell?

    I am writing a small program that needs all files closed, such as open apps such as Outlook (Outlook pst ) to be closed first. I'd like to do that via Shell, testing first to see if any docs are open...
  28. Replies
    2
    Views
    222

    Re: Shell to CMD.exe problem

    Thanks heaps. I now have
    Shell "CMD.exe /k color 75 & dir", vbNormalFocus

    Now on to less trivial stuff in the CMD line...
  29. Replies
    2
    Views
    222

    [RESOLVED] Shell to CMD.exe problem

    I have following sample code which works fine.


    Shell "C:\Users\Alan\desktop\CMD.exe /k dir", vbNormalFocus

    But I have modified CMD.exe (via the shortcut, properties, colours) to show a white...
  30. Replies
    5
    Views
    486

    Re: Unusual W10 compatibility problem

    How do I check whether a manifest is being used (default?)?
  31. Replies
    5
    Views
    486

    Re: Unusual W10 compatibility problem

    I would like to return to control outlines being visible as I manoeuvre them (as used to be under W7) Blue BTW, though I'm happy with red as shown on my W10 from the start laptop. I'm confused by the...
  32. Replies
    5
    Views
    486

    Unusual W10 compatibility problem

    On one W10 machine where I have installed Vb6 following Dan Brust's excellent procedure, my IDE is working fine, with the elastic band in red, compatibility set to Vista (Service Pack 2). On two...
  33. Re: Instaling Vb6 on W10... Dcom error

    Thanks all. Gibra did it!
  34. Re: Instaling Vb6 on W10... Dcom error

    Thanks for reply. Unfortunately clicking your reference delivers a page that is constantly changing and so I cannot follow it!
  35. [RESOLVED] Instaling Vb6 on W10... Dcom error

    Hello all

    I am trying to install Vb6 Enterprise on a W10 laptop. I have previously succeeded in doing this on another W10 machine. I am now getting a Dcom error. It has been suggested that under...
  36. Replies
    12
    Views
    731

    Re: Error 70 only for favorites!

    OK. Good idea. Tried manual copy and found that I was stymied by sharing setting on \favorites and all attempts to reset it failed. So it seems this not a VB problem, and I'll therefore mark this...
  37. Replies
    12
    Views
    731

    Re: Error 70 only for favorites!

    Thanks all. I am omitting to emphasise that this program ran perfectly on the destination machine and only failed with Error 70 when I decided to run it on the source machine. All the logic was...
  38. Replies
    12
    Views
    731

    Re: Error 70 only for favorites!

    No such luck! I had not included that in references on the destination machine either. This is the line giving the problem:


    FSO.CopyFile sPath, sCopy to & sFile.

    The whole subroutine is...
  39. Replies
    12
    Views
    731

    Re: Error 70 only for favorites!

    Thanks for going to all that trouble! I think I've found the problem, but must wait until my wife gets off the other (destination) machine so that I can test! I was going to tell you that the...
  40. Replies
    12
    Views
    731

    Re: Error 70 only for favorites!

    It is on VB6 using FSO.CopyFile, where FSO has been declared as an object and then created "Scripting File System Object". See my reply to Westcott1 at post #5.
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width