Search:

Type: Posts; User: DataMiser

Page 1 of 13 1 2 3 4

Search: Search took 1.67 seconds.

  1. Re: Speed up recorset over ADO connection Is in LAN

    Well 366 milliseconds isn't exactly slow. Why on earth are you opening 82 recordsets within a 30 second window?

    Or perhaps you mean you are opening one recordset with 82 rows in which case that is...
  2. Re: Access 2007 "Provider cannot be found" by VB6 after MS OneNote install.

    I always use the 2000-2003 mdb formats for access databases. Never saw any reason to move to the accdb also have not created anything new with DAO in about 20 years. Everything this century has been...
  3. Replies
    6
    Views
    247

    Re: [RESOLVED] Method '~' of object '~' fix

    Personally the only startup errors I have saw in VB were when I forgot to set the run as admin property on it. I do not have any of the newer versions of Office installed. This PC has Office XP on it...
  4. Re: Error loading records into ListView

    I do not see anything wrong with the line that adds to the listview and if it is a text field in the db then there should only be a type issue if the field has a null value in it.

    That said I see...
  5. Re: Error loading records into ListView

    What is the value of that field at the time the error occurs?
    What data type is the field in the DB?
    Is the value Null?
  6. Re: After form load, Combo Box is highlighted

    I would suspect some code that is running upon form load as the culprit here.
  7. Re: What is the best way to use a Constant

    Well in general yes but again it depends on the project and how you need to use it.
    In small projects there really isn't an issue. In larger ones there is more of an issue if for no reason other...
  8. Re: VB 6.0 Project is not runing on Windows 10 what is reason

    It would help if you provided more info. As is it could be literally almost anything.
    My first guess would be that it was not installed properly.
  9. Re: What is the best way to use a Constant

    Well it really depends on how you plan to use it within your program.
    Normally they would be defined in a module and be public but always defined using the CONST keyword.


    Public Const...
  10. Re: How to add text from textbox 2 in the middle of text of textbox 1?

    Look up the Mid$ statement. It will allow you to alter a string at a given position so you can effectively insert or alter the text in a given string.
    There is also the Textbox properties SelStart,...
  11. Re: Do I have sufficient resources to install VB6 on Windows 10?

    I would just go with Service Pack 6 and not bother with the rollup. Been using it with SP6 for years now and no problems.
  12. Re: List file from http://www.mysite/public/

    You should be able to create a simple asp page that will list the files on the server.
  13. Replies
    4
    Views
    279

    Re: Data Report Print and FileCopy Issue

    So are you saying that you set the timer to 150000 and it still failed to find the file or are you saying you set it to 150 which is 150 ms which is 0.15 seconds and not nearly long enough.
  14. Replies
    8
    Views
    530

    Re: GET version from exe

    Keep in mind that if you are checking programs you have written then you must have set the version within the IDE before compile else it will always be version 1.0.0
  15. Thread: Music

    by DataMiser
    Replies
    14
    Views
    660

    Re: Music

    William Tell Overture also known as the theme to the Lone Ranger show
  16. Replies
    2
    Views
    232

    Re: DataReport .PrintData Question

    I assume that you are using some sort of print driver that prints to pdf if so then you may need to set it in the print dialog instead.
  17. Replies
    4
    Views
    284

    Re: i'm over red circle?

    If this is a static image then you may be best off defining some hot zones. I would make it a little larger than the dot to make it easier to hover over. Just defined a small range of x,y for each of...
  18. Re: vb6: how use an user type parameter on a class function\sub?

    You still did not show the line that calls it, nor did you answer my question as to if you were passing it an array. Type mismatch usually means you are passing the wrong thing.
  19. Re: Creating external subroutines for multiple VB programs

    To create a template you just save the form, class, module or project in the proper section of the templates folder. When you choose to add a new item to your project the template should show up in...
  20. Re: Creating external subroutines for multiple VB programs

    I can't say for sure if the execution is slower in VB.Net since it is not a true native exe you are creating any way, it may be little to no difference other than the larger file size and additional...
  21. Re: Creating external subroutines for multiple VB programs

    Well lets say you have a class or module that has been thoroughly tested, works just fine as is and it is fairly small but may be used in many projects. Creating a template from it allows you to...
  22. Re: vb6: how use an user type parameter on a class function\sub?

    I do not see where you are calling that sub, are you passing it an array of the udt?
  23. Re: Creating external subroutines for multiple VB programs

    Another option if you do not want to go the dll route is to create templates from the classes, modules or forms that you want to reuse and then you can quickly add a copy of them into your project at...
  24. Replies
    3
    Views
    335

    Re: Complie option grayed out

    Well it looks like it is done in C. VB6 does not compile apps written in C. You need to use the proper version of a C compiler for that.
  25. Re: vb6: how use an user type parameter on a class function\sub?

    You did not show the code where you call the sub. Are you sure you are passing the right thing?
  26. Replies
    3
    Views
    290

    Re: Print barcodes for multiple records.

    Or you could just get a bar code font and have the barcodes appear in a text box, label, report or whatever the case may be.

    Using a picture box to draw them is not really a very good way as when...
  27. Re: Check if Date is greater than todays date

    You really should not try to compare dates as strings. Compare them as dates and you will get the desired results.
  28. Replies
    18
    Views
    745

    Re: Extended ascii characters

    Another thing to consider is the font in use, not all fonts use the same character for the same code.

    Terminal and sys fonts both use the expected ansi characters for each code 0-255
  29. Replies
    24
    Views
    738

    Re: Different Boggle Question

    It may also be easier if you were to use 4 arrays, one for each row rather than just one.
  30. Replies
    24
    Views
    738

    Re: Different Boggle Question

    Yeah you would need one list per player and then compare those to see which words actually get a point value.
  31. Replies
    24
    Views
    738

    Re: Different Boggle Question

    Been about 30 years since I played this game but if memory serves. The rules are the letters must be from neighboring dice in any direction, same die can not be used twice in any given word, a short...
  32. Replies
    24
    Views
    738

    Re: Different Boggle Question

    hmm... I think if it were me I would use buttons rather than text boxes and let the user click them in the order they wish to spell the word. You could remember the last button pushed to check if the...
  33. Re: How to Change ODBC Linked Database on Runtime

    I'm not clear on what you are doing but using ODBC is a bad choice to start with. Not sure why you would need to change it in 200 reports though. You could manually point the DSN to a different db...
  34. Re: Help with an error in a simple mouse simulation script

    What he was saying is that you should call GetWindowDC() once at the top and assign it to a var then use that var in all your GetPixel() calls that follow rather than repeatign calling the...
  35. Re: Connection string for Integrated Security

    Those two have different sources as well, have you tried using the same data source in both strings to see if you get different results?
  36. Re: Sending folder with files, to a remote ip address machine

    I think you mean fictional don't you ;)
  37. Re: Sending folder with files, to a remote ip address machine

    What you have in your code brackets is not even remotely close. MKDir and Filecopy work on your local machine or LAN they are not for doing operations on remote machines. It seems you want to do this...
  38. Replies
    43
    Views
    1,504

    Re: Vb6: Winsock data arrival multiple packets

    That is why you read the content length from the header then you know what to expect. So it is not a matter of you can't use it it is a matter of you can't hard code it to some preset value you have...
  39. Replies
    43
    Views
    1,504

    Re: Vb6: Winsock data arrival multiple packets

    I did help, more than once already. I showed you how to append the text, I told you that normally you would use a buffer variable.
    I am not going to write the code for you so you can just paste it...
  40. Replies
    43
    Views
    1,504

    Re: Vb6: Winsock data arrival multiple packets

    Try it, it is pretty simple and that is how you learn.
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width