Search:

Type: Posts; User: DataMiser

Page 1 of 13 1 2 3 4

Search: Search took 0.06 seconds.

  1. Replies
    7
    Views
    242

    Re: match string and if not

    Your outter loop should be the archive and the inner loop should be the listbox.
    set a var above the inner loop to indicate the item is not found yet.
    In the inner loop check each item against that...
  2. Replies
    14
    Views
    16,247

    Re: How to change color of title bar?

    That is the lastest version of VB.Net, much different than VB6 which is from Visual Studio 6 (1998) There is another section of this forum for VB.Net related questions.
  3. Re: Why is my application infected according to VirusTotal site?

    So does that mean that it is yes to all three / four questions?
  4. Re: About a single instance of a For Next loop

    For a = 1 To 1
    If a = 0 Then
    a = 0
    a = a + 1

    Hmmm.. So you are telling it A=1 then you are checking to see if A=0 even though you have just set it to...
  5. Replies
    3
    Views
    257

    Re: Inconsistent label spacing

    Well without seeing the code that does the screen layout there is little more to do than guess. Clearly there is an issue in the code but again without seeing it there is little to say.
  6. Replies
    20
    Views
    902

    Re: SQLITE Select records by date

    It would help if you would confirm which data type you are working with. Is your date stored as text in the format you showed in the first post or is it stored as a numeric value much different than...
  7. Replies
    20
    Views
    902

    Re: SQLITE Select records by date

    It would help to know what "this code not work" means?
    Did you get an error? Did you just get an empty result set?
    It would also help to know what value you used in the query.

    Keep in mind that...
  8. Replies
    19
    Views
    861

    Re: Print barcode on Datareport

    In post 15 he says he is using Active Reports


    Thinking about it a little more seems like there may be a little bar that you can drag across to set report width as well.
    If you set the smaller...
  9. Replies
    44
    Views
    1,637

    Re: The most lacking language feature in VB6

    Well in todays world there are a lot of things missing from VB6, it is after all ~25 years old. Lots of new things have came along over the last 20 years and are not in VB6, in many cases there are...
  10. Replies
    19
    Views
    861

    Re: Print barcode on Datareport

    It's been a while but I think you just have to pay attention to the ruler at the top and make sure your report does not exceed the required size.

    You can set your default printer paper size to the...
  11. Re: VB6 compiled app gives Class error on a few PCs

    Yep we were working on systems remotely even back in the 90s where customers were running NT or Windows 95. PC anywhere over a dial up, wasn't ideal but it got the job done. Now of course it is...
  12. Re: Save and Restore a Form's Position When Project Closed and Restarted

    On another note, forgive me if it has been mentioned already as I did not fully read all the posts.

    I would create a routine in a module that handles the loading and another that handles the...
  13. Re: VB6 compiled app gives Class error on a few PCs

    I always used to use a VM or a ghost image pc that had nothing at all installed on it to test my install images.
    Often they would work fine on most PCs but fail on one of those clean images due to...
  14. Re: Save and Restore a Form's Position When Project Closed and Restarted

    Typically, I would use an ini file for such a purpose.

    Read the ini file at start up of from or program and have defaults assigned.
    Save the current values upon closing of the form or program so...
  15. Re: [RESOLVED] How to simulate "try-catch-finally" in VB6

    Well the order is a bit different but my first thought for doing some sort of try/catch/finally was

    Sub
    On Error Goto Catch

    Some Code here that may generate an error

    Finally:
    Final code...
  16. Re: Installation problem again - unexpected error quitting

    If it belonged to someone else how do you know that VB was not installed and improperly removed at some point?

    In any case the actual legit copy of VB does not work if you just copy files, it...
  17. Re: [RESOLVED] Print all records from database table

    If you want the two fields printed on the same line with a comma between them then you would do it like

    Printer.Print Rs!ID &"," & Rs!FullName

    What you had should have been throwing an error.
    ...
  18. Re: Installation problem again - unexpected error quitting

    If you copied files from a legit copy of VB to your PC and it worked just fine the only explanation I can think of is that VB6 had been previously installed properly on that system and if it was...
  19. Re: Installation problem again - unexpected error quitting

    My VS Pro discs will not install under 10 without jumping through some hoops. I think the same hoops were required under Windows 8 and 7 maybe even Vista. Been so long I can't remember.

    My VB6 ENT...
  20. Re: Installation problem again - unexpected error quitting

    Well you could set a restore point and run the setup as admin and see what happens.

    I have not tried the VS installer under 10 myself I know there was an issue with the setup at some point related...
  21. Re: Installation problem again - unexpected error quitting

    You have to actually install, there are lots of things that need to be properly registered in order to work. There are several threads about how to install under Windows 10. Just a simple copy of...
  22. Replies
    11
    Views
    634

    Re: Weird error

    I would suggest setting a break point on that line that loads the msg form then single step through the code to see exactly where the error is occurring and then go from there.
  23. Replies
    11
    Views
    634

    Re: Weird error

    And what does the DoAutoBackup do? Sounds like it is trying to use a connection or object that you have closed before it is called.
  24. Replies
    10
    Views
    411

    Re: Project failed to buid

    Not there in either place on my system. Running vb6 enterprise version with SP6
  25. Replies
    10
    Views
    411

    Re: Project failed to buid

    publish is not on that menu on my system. Can't say I have ever saw it in VB5 or 6 though perhaps it was there when doing web stuff as that gets published to the web site but even then I'm not sure...
  26. Re: Simulate C# "private static" in VB6 (Organization of VB6 Source Code)

    Should be as simple as just not making them public.
  27. Replies
    10
    Views
    411

    Re: Project failed to buid

    The terms publish and build sounds like we might be talking about VB.Net rather than VB6 or older.
  28. Re: Code in Form vs code in Module ? Why one more the other ?

    Just to add as far as using multiple modules. It is best to try and keep like code together in modules. You do not want a bunch of modules with just a little code in each of them. If you have some...
  29. Replies
    19
    Views
    861

    Re: Print barcode on Datareport

    You have to design your report to the size of the paper you want to use. If your printer uses a 4 inch wide paper and your report is more than 4 inches wide including margins you may get nothing...
  30. Replies
    19
    Views
    861

    Re: Print barcode on Datareport

    There are many different ways to print barcodes. You have provided no information about how you are doing this so that makes it tough to answer.
    It could be that your barcode is to large for the...
  31. Replies
    4
    Views
    392

    Re: How to force DPI to 96

    I would skip Vista and go to 7 or 10
  32. Replies
    16
    Views
    747

    Re: Breaking a loop by a button

    Option explicit checks to insure that all variables have been dimmed to where they are valid in the scope of the code they are used and will throw a compile error "variable not defined" when they are...
  33. Replies
    16
    Views
    747

    Re: Breaking a loop by a button

    Yep if other buttons are executing then that one probably is too most likely either the variable is not accessible. Ar eyou usign Option Explicit? Where is the variable dimmed?
  34. Re: Access DBA Code - missing forms and code

    Access forms are edited from within MS Access, not from VB. The database also is edited from MS Access though you can make changes using VB you have to write code to do it. There is also a tool...
  35. Re: VB 5 professional Edition controls access denied

    Can't say I have ever tried installing VB5 on any OS newer than Windows 2000, not really sure if I ever installed it on Win 2000 even. I know there were some issues getting VB6 to install properly...
  36. Replies
    7
    Views
    660

    Re: Need help with Crescent controls please

    From that page


    You would have to look and see if there is a trial option but it sounds like it is not free.
  37. Re: Click text box value and then some picture box will show and other hide

    In the click event of the text box add code to check the text of the text box and then code to make the picture of your choice visible. Assuming of course that your text box is only going to contain...
  38. Replies
    25
    Views
    1,246

    Re: ColumnHeader.Tag Property

    If you add the control to your form you can see what properties it has by typing in the control name and a . afterward, intellisense will show you the list of things that can come next.

    What would...
  39. Replies
    2
    Views
    669

    Re: [RESOLVED] HTML display issue

    Looks like the display is ok now. I modified the style for the div tag where the table is located

    <div style="height:85vh;overflow: auto;">
    Now the table and scroll bar stops just above the...
  40. Replies
    2
    Views
    669

    Re: HTML display issue

    I found something online and tried it but the result was not so good

    <tbody style="display: block; height: 50%; overflow-y: scroll"></tbody>
    This did limit the table height but made everything...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width