Search:

Type: Posts; User: DataMiser

Page 1 of 13 1 2 3 4

Search: Search took 0.83 seconds.

  1. Re: After VMware shut down Improper , VB6 project usercontrol always become grey

    Sounds like you need to either disable sleep mode or shut your pc down when you are not going to be using it for several hours or at least close down the VMs.
  2. Re: Read a text file from a specific line at to the and

    Yep, I used to use RA quite a lot but rarely ever use it anymore. Most everything uses some sort of database in more recent projects. Probably haven't used RA more than a few times since the release...
  3. Re: After VMware shut down Improper , VB6 project usercontrol always become grey

    What VMWare are you using? I personally always shut down or pause the OS in VMWare when I am done using it then may or may not close down the VMWare.

    I have saw many cases of controls being...
  4. Re: After VMware shut down Improper , VB6 project usercontrol always become grey

    Sounds like your .frm file or .vbp file is getting corrupted.

    Why are you killing VMWare with task manager anyway?
    I've been using VMWare for years and don't think I have ever had to do an end...
  5. Re: Position form at the top left corner of the screen in Windows 10

    Have you tried setting the left to a negative number?
  6. Replies
    5
    Views
    316

    Re: Printing a color

    And of course if you are using a reporting tool like Active Reports you can add color, shapes, images to your hearts desire.
  7. Replies
    14
    Views
    683

    Re: Call song files to List Box

    You do not need the drive list nor the directory list unless you want to use those to select the drive and folder.
    You just have to set the path on the filelist box to the folder you want it to...
  8. Replies
    14
    Views
    683

    Re: Call song files to List Box

    I'm not really sure what you are asking but if you want to add items to a list box then you have to write code to add each of those items one by one to the list box. You can get a list of files using...
  9. Replies
    14
    Views
    683

    Re: Call song files to List Box

    Well if you want to use a listbox rather than a file list box then you have to write some code to get the file names and add them to the list box. The Dir$() function can help you with this.
  10. Re: [RESOLVED] Type Mismatch problem regarding an If Else statement

    Yep. I used to use them in GWBasic back in the day. I think they may have been in Commodore Basic as well but memory is a bit more foggy on that one.
  11. Re: [RESOLVED] Type Mismatch problem regarding an If Else statement

    So does the DefInt and the $, # and other type identifiers.
  12. Replies
    7
    Views
    492

    Re: Lynx ComboBox 2

    Do you need multiple columns? It looks like just using a single column with a fixed font would give you the appearance you seem to be going for there.
  13. Re: [RESOLVED] Type Mismatch problem regarding an If Else statement

    You can also use the old Define statement though I can't remember it well, been over 20 years since I used it but it is still there in VB6.

    Personally, I usually dim one variable per line and also...
  14. Re: [RESOLVED] Type Mismatch problem regarding an If Else statement

    Actually you are not using strings though you should be.


    Dim V, B, Msgxyza as String, x As New form2
    is the same as

    Dim V as variant, B as variant, Msgxyza as String, x As New form2
    To get...
  15. Re: Type Mismatch problem regarding an If Else statement

    The proper syntax would be

    If V<>"" and B<>"" then
  16. Replies
    13
    Views
    541

    Re: IDE Question

    Can't say I have ever saw that in VB6 or 5 for that matter though I have used 6 a lot longer than I used 5.
  17. Re: one more xvoice (text-to-speech) question

    It is not something I installed, just a basoc onstall of VB6 Enterprise edition on Windows 10
    C:\Windows\System32\Speech\Common\sapi.dll

    I looked and it is there on my Windows 7 system also

    On...
  18. Re: one more xvoice (text-to-speech) question

    This computer has VB6 Enterprise edition installed and no such component. There is a Microsoft Speech Object Library under available references but nothing related under components. Sounds like you...
  19. Replies
    3
    Views
    260

    Re: How to control mouse speed

    Mouse movement speed is set in the mouse driver. Most people would have it set so they do not have to move it far to go anywhere on the screen. I think if it were slowed down to the point of getting...
  20. Replies
    32
    Views
    939

    Re: Reference a .NET DLL in VB5

    But you could just build the exe using VB6 and place whatever code needed directly into your main program. No need to add a layer of complexity.
  21. Replies
    32
    Views
    939

    Re: Reference a .NET DLL in VB5

    Trying to figure out what you mean by use it as a wrapper? VB6 can load and compile VB5 projects without issue. I had lots of VB5 projects when I moved to 6 and did not have to do anything to any of...
  22. Re: Type Text Box In Form1 and Copied It to Form 2, Then Next Run Only Form 2 is App

    As was mentioned earlier you can create a module and in that module create a sub main() then make that your startup. In sub Main you add code to check for and read your file. If it does not exist...
  23. Re: one more xvoice (text-to-speech) question

    I found very little online related to xvoice.dll. I did find a brief mention of it being a limited wrapper around a MS api but no additional info as to what it supports it how to use it.
    Do you have...
  24. Re: Type Text Box In Form1 and Copied It to Form 2, Then Next Run Only Form 2 is App

    Yep Sub Main as startup then load the form you want from there but if these 2 forms have only one button and one text box and the data from the text box is to be transfered to the other form is there...
  25. Replies
    3
    Views
    288

    Re: direct text-to-speech

    Those values seem awfully high. Have you tried much lower values? Like say between 1 and 100

    I am not familiar with that dll but it looks to me like it is possible that the only valid value you...
  26. Replies
    6
    Views
    412

    Re: Need help with for next loop

    Well one way is you could create a little sub routine that adds the item to the list. In that sub you would loop through the list and see if the item is already there. If it is not there then add it...
  27. Re: How to save and read it back to last save (text file)

    To read a line from a file that was written using Print # you would open the file for input and use the Line Input# method.
  28. Re: How do I add combobox items more quickly?

    I edited my post above ^ after testing it here I saw that there was no increase in speed.
  29. Re: How do I add combobox items more quickly?

    Setting .Visible=False while loading items then back to true once all are loaded should help to some extent.

    Edit: My mistake. No increase on the combo box speed using this trick, likely because...
  30. Replies
    5
    Views
    293

    Re: Strange VB6 bug

    Another possibility would be that F$ is a local var and the routine is being reentered causing the value to be cleared. Whatever the case can't say from that code as I am sure you are not seeing that...
  31. Replies
    5
    Views
    293

    Re: Strange VB6 bug

    I would suspect that it is being passed to a sub or function by ref and is having the value changed in that procedure eother that or that there is code in the changed event of the text box that is...
  32. Re: Is it possible to define a Labelle like selecting a command button when the curso

    A quick test of a form with just 1 label and code that changes the border when the mouse moves over the label

    Private Sub Form_Load()
    Label1.Appearance = 0
    End Sub

    Private Sub...
  33. Re: Is it possible to define a Labelle like selecting a command button when the curso

    Sounds like he is asking for a focus rectangle around a label, possibly when the mouse is over the label? Or possibly only when the label is clicked or maybe is expecting focus to go to a label. ...
  34. Re: Connecting to Access 2003 (ADO) Table in VB6 code

    btw I generally set the entire connection string as a variable rather than just the data source so a different provider can be used if needed without rebuilding the exe.
  35. Re: Connecting to Access 2003 (ADO) Table in VB6 code

    The second one you have single quotes around the data source. The first one does not.

    Both have a & that doesn't need to be there.

    Try it like this

    dbADO1.ConnectionString =...
  36. Re: UNC Path not showing Name of Share only get IP address

    At the top of the page [just above the first post] there is a thread tools drop down where there is the option to mark as resolved.
  37. Replies
    10
    Views
    341

    Re: SQL statement problem

    strSQL = "SELECT tblNAME.Field1, tblNAME.Field2 " strSQL = strSQL & "From tblNAME "
    strSQL = strSQL & "WHERE tblNAME.Field1 = '" & sParam & "' "
    strSQL = strSQL & " AND tblNAME.Field2 <> '" &...
  38. Re: List Box Standard VB6.0 and List Box Help Vista XP (Index) Difference

    Well I do not know what may or may not be different on that control as I have never heard of it before.

    The code I posted was not meant to be pasted in it was just for example of how it should be...
  39. Re: List Box Standard VB6.0 and List Box Help Vista XP (Index) Difference

    I have no idea what you mean by

    The first item in the list has listindex 0. A listindex of -1 means nothing is selected in the list.

    Again the max list index is always listcount-1 If there...
  40. Re: List Box Standard VB6.0 and List Box Help Vista XP (Index) Difference

    I'm not sure what you have in the list or what problem you are having for sure.
    Keep in mind that ListIndex is 0 based. List count is the number of items it the list.

    So if you have 3 items in...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width