Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. barrytraver

    MonthView Control

    I'm using a MonthView control to let the user choose a date. I put the MonthView control (plus a label and an OK command) button on a dialog box form which I call modally. The label simply says, "Choose a date and click on OK." Here's the problem. For some reason (and I can't...
  2. barrytraver

    How can I Set a MsgBox's Location?

    Is there any way (say, by using an API call) to set the location of a MsgBox control? If not, is there a way to make use of the regular MsgBox icons (question, exclamation, etc.) in writing your own version of a MsgBox (i.e., through using a modal form)? Thanks in advance for any assistance.
  3. barrytraver

    MMControl1.Notify and MMControl1_Done()

    Why does the following code work to make a *.MID or *.MP3 file repeat automatically, even if MMControl1.Notify is set to False? Private Sub MMControl1_Done(NotifyCode As Integer) Debug.Print "MMControl1.Notify: "; MMControl1.Notify If NotifyCode = 1 Then If...
  4. barrytraver

    Playing MP3 Files in Windows 95 (MMControl Won't Work!)

    I've just written a VB 6 program which works great in Windows 95, Windows 98, and Windows ME except for one thing.... Although the program is mainly a program to help people memorize text word-for-word, it makes use of background music. Here's the problem: The MMControl is able to play both...
  5. barrytraver

    How Can I Automatically Repeat a MIDI File?

    I'm writing a program which uses a MIDI file as background music while other things are going on (in this case, a user is entering information in a text box). I'm using the Microsoft Multimedia control, although I know there are other ways of doing it (e.g., Windows Media Player or API calls...
  6. barrytraver

    How Can I Turn Off the Read-Only Attribute?

    Eric, Thanks for the additional comments. Here is what was happening for me (and it may or may not have been, say, caused by gremlins, a temporary memory glitch, or whatever): Using your example, if I go to c:\test and then tell DOS to attrib -r /s, what has happened is that the result is...
  7. barrytraver

    How Can I Turn Off the Read-Only Attribute?

    Eric, I'm not sure I follow. I've done that, using a MS-DOS Window in Windows ME -- and, yes, it does say that "/S Processes all files in all directories in the specified path." And, yes, that switch does work fine in earlier versions of Windows (such as Windows 95). Here's the...
  8. barrytraver

    How Can I Turn Off the Read-Only Attribute?

    Yes, attrib -r *.* /s _should_ work -- and it does work with earlier versions of Windows -- but it doesn't seem to work with Windows ME (in spite of what is claimed when you do attrib /?, which does indicate that /s is a legitimate switch). Anyone else have any thoughts on this? Barry
  9. barrytraver

    How Can I Turn Off the Read-Only Attribute?

    "How can I turn off the read-only attribute?" is actually the shortened version of my question. The longer version is "How can I turn off the read-only attribute of all of the files in a user-selected directory _and_ in all of its subdirectories?" Letting the user select a...
  10. barrytraver

    How Can I *Safely* Update Riched32.dll for VB?

    John, There probably is an article in the KnowledgeBase on this question, but if there is, I haven't had success in finding it. <sigh> (If anyone else has had any more success, please let me know. Thanks!) Barry
  11. barrytraver

    Package &amp; Deployment Wizard: HELP!

    Mike, > Hope that helps some... However, I found this site to be > one of the BEST.. 90% of the time my questions are > answered by very knowledgeable people. Yes, it helps a lot! Thank you for taking the time to share the information. And, yes, I agree with you about the helpfulness of...
  12. barrytraver

    Package &amp; Deployment Wizard: HELP!

    Mike, > Just a note.. I was using the Package & Deployment app > but recently switched to the VISUAL STUDIO INSTALLER > found on the Microsoft Website. I am not sure if it is > free but if you have an MSDN Universal licence, you can > download it for no charge. I don't think I have an...
  13. barrytraver

    Package &amp; Deployment Wizard: HELP!

    Eric, > There are three different Riched32.dll files that have > the version number 5.0.1458.47, and one of them is not > redistributable. This article describes the differences > between these files and includes additional distribution > information. Thanks for taking the time to share...
  14. barrytraver

    How Can I *Safely* Update Riched32.dll for VB?

    How can I safely update my system so that Visual Basic (and the Package & Deployment Wizard) will use a newer Riched32.dll? The Riched32.dll in the &quot;C:\Windows\System&quot; directory is version 5.0.1934.1, dated 6/23/99, while the Riched32.dll in the &quot;C:\Program Files\Microsoft Visual...
  15. barrytraver

    Package &amp; Deployment Wizard: HELP!

    Kate, Thanks for the comments! I do, however, have some questions for you. > For this particular project - the Dependency File > option button needs to be selected. You have to do > this because your project is using a control which is > not part of &quot;basic&quot; visual basic but is...
  16. barrytraver

    Package &amp; Deployment Wizard: HELP!

    Help! I used the Package & Deployment Wizard to set up an installation package (for a VB program created with VB 6, professional edition, on a computer running Windows ME), but when I tried to use it to install my VB program on another computer (a prograrm running Windows 95), I got the...
  17. barrytraver

    How Can I Pause a VB Program?

    Rick, Thanks for your thoughts, even though I still think that &quot;elegant simplicity&quot; (e.g., being able to put an entire working program into a single file which may serve as a useful teaching example) can be a noble goal. Here's an improved Pause subroutine, which doesn't tie up the...
  18. barrytraver

    How Can I Pause a VB Program?

    Jeff, Thanks for your comments. I knew my approach was too good to be true. After all this discussion, let me restate what I'm after. What I want is the ability to place a user-controlled pause somewhere in the middle of a procedure: ... Do some stuff (involving lots of local...
  19. barrytraver

    How Can I Pause a VB Program?

    I found another way to do it, which is super-simple and seems to work great, so there must be something wrong with it! <grin> Here's the procedure (and global variable needed): Dim gPause as Boolean Sub Pause() gPause = True Do If gPause = False Then Exit Do DoEvents...
  20. barrytraver

    How Can I Pause a VB Program?

    I thought of one way to do it, although it may not be the best way. Here it is: Declare a global variable named Pause as Boolean. At the beginning of each control event procedures (other than, say, an OK button) insert the following line: If Pause = True Then Exit Sub To pause the...

Part and Inventory Search

Back
Top