Search:

Type: Posts; User: DataMiser

Page 1 of 13 1 2 3 4

Search: Search took 1.22 seconds.

  1. Re: Correct format for mathematical calculations

    Your Dim statement is probably not doing what you think. The only Integer there is x all the others are being dimmed as variant.
    You must use as Integer on all of them to get them dimmed as...
  2. Replies
    67
    Views
    937

    Re: Some thoughts on VB6 forum

    Personally I think it is odd that some seem to think VB.Net should never be used or suggested.
    I too have programmed in many forms of basic over the years.
    Of all the versions I have used my...
  3. Replies
    10
    Views
    248

    Re: Collection, array and database

    Much lower? Hard to get lower than an out of memory error ;)
  4. Re: [RESOLVED] Deleting a folder that WIN 10 says Doesn't Exist

    Could have been some other character or more than one space, hard to say. I think I would have printed it to the debug window in quotes to try and see or maybe even write it out to a file and look at...
  5. Replies
    10
    Views
    248

    Re: Collection, array and database

    Yeah without knowing what is being done it is very hard to give anything more than general advice. Even if the data is in a server based database you still can not pull in and process several gigs of...
  6. Replies
    11
    Views
    246

    Re: [RESOLVED] Dir$ issue

    Private Function FolderExists(PathName As String) As Boolean
    FolderExists = Dir$(PathName, vbDirectory) <> ""
    End Function
  7. Replies
    11
    Views
    246

    Re: Dir$ issue

    If memory serves it returns an empty string when it does not exist
  8. Replies
    10
    Views
    248

    Re: Collection, array and database

    I would try SQL Server Express and see how that goes.
  9. Replies
    10
    Views
    248

    Re: Collection, array and database

    Several thousand m-bytes would be several G-bytes which VB just can't do. Good db engines are fast and retrieving data from them can be very fast provided the db structure is done right and the...
  10. Thread: Compiler bug

    by DataMiser
    Replies
    5
    Views
    325

    Re: Compiler bug

    Same here, Type mismatch error, no compile.
  11. Replies
    8
    Views
    296

    Re: KeyPreview Problem

    Try to avoid any usage of send keys.
  12. Replies
    8
    Views
    296

    Re: KeyPreview Problem

    Not sure what you are really talking about. KeyPreview just allows you to preview the key in the form events no matter which control has focus. It does not really have any other effect so if setting...
  13. Replies
    9
    Views
    367

    Re: save project addin

    That is some very old wiring. They stopped using 2 wire systems about 50 years ago. Definitely should be replaced. Those old outlets can be both a shock hazard and a fire hazard.
  14. Re: Vb6: check if textbox is free from more than one specific word

    That is pretty much the same as one of the things I mentioned in my first post. It just uses a loop rather than multiple if statements. Does basically the same thing.
  15. Re: Vb6: check if textbox is free from more than one specific word

    If you want complicated go study regex a bit.
  16. Re: Vb6: check if textbox is free from more than one specific word

    If you want to test for three different words then you need to do three tests
    demo+test+trial = demotesttrial which is not what you want.

    Why do you need something more complicated?
    You can do...
  17. Re: Vb6: check if textbox is free from more than one specific word

    Well you can't do something like that where you add the text together and get the results you are looking for.

    As for the line that is working you could alter it a bit and make it shorter like
    ...
  18. Replies
    11
    Views
    432

    Re: Send Email

    Am I missing something? There does not appear to be any code there that looks like it actually does a send. IT appears to create a mail item and an attachment and apparently attempts to display it...
  19. Re: Making VB software in WINE in 32-bit linux that works with 64-bit windows 10

    I still don't understand why VB6 if what you are doing is a setup program? Even VB6 programs typically use a setup program. There are many installers out there that may work even one that comes with...
  20. Re: Making VB software in WINE in 32-bit linux that works with 64-bit windows 10

    Visual Basic 6 programs run under 10. I would not bother with any of the prior versions but if you are just doing a setup program do you even need to use VB at all?
  21. Re: If I wanted to have a Windows PC that only ran VB6 programs...

    Well I would say that if you wanted the pc setup to where a novice user could only run specific programs written in VB6 then that would probably be possible though a lot of work. If the user knows a...
  22. Re: Form Saved as PDF in another folder

    It is odd to do a printform but it is easy. It is also odd to save your data to the registry. The proper way would be to use a database and generate a report.
  23. Replies
    6
    Views
    316

    Re: Vb6 msflexgrid

    Is the grid bound to the recordset or are you populating it manually?

    If the former I would suspect that you are adding the modified record to the recordset rather than editing the existing...
  24. Re: Form Saved as PDF in another folder

    Why would you want it saved as pdf? That would be unusable as a form. Are you trying to say that you want to save the visual aspect of it in a pdf or are you saying you want to save the text [code...
  25. Replies
    9
    Views
    354

    Re: variable not defined

    Run with full compile is fine for small programs but not needed in most cases. I assume that most programmers test run their programs often so as to make sure things are working before they write to...
  26. Re: Advantages of grouping everything in EXE

    There are a lot of factors to consider such as how big are these classes, are they something that can be used by other programs or future programs or are they specific to just the program in...
  27. Replies
    9
    Views
    354

    Re: variable not defined

    Based on the error I would say that this variable
    cdlHelpContents Is not defined and has no value.
  28. Replies
    9
    Views
    367

    Re: save project addin

    That's where the prompt to save on run comes in handy, helps prevent you from forgetting to save often enough while still giving the option to test without saving.
  29. Replies
    9
    Views
    367

    Re: save project addin

    I always just set my IDE to prompt for save whenever I run the project. Sometimes I do not want it to save so I do not want it to always do it nor would I want it to auto save. The prompt for save is...
  30. Re: VB6 IDE run as admin no longer remembers its maximized state in Windows 10 ver. 1

    hmmm... I had never even noticed this. I ran a couple of tests just now starting it with the vb shortcut and also by just double clicking a vbp to open it. Both cases it behaved the same. Window is...
  31. Replies
    11
    Views
    423

    Re: API's

    As stated above the MSComm control works fine if you use it right. I've did lots of serial comm stuff over the years and the only thing I needed to use something else on was when I needed to support...
  32. Replies
    11
    Views
    423

    Re: API's

    Well you need to use APIs when you want to do something that the language you are using does not directly support or is to slow. There are many cases where you can use an API but you could also use...
  33. Replies
    8
    Views
    276

    Re: Array problems

    Less info, or rather almost no info is rarely a bonus. Very little info followed by a link or large block of code is also rarely a good thing. At minimum any question should have enough detail that...
  34. Re: ballon multiline tooltip on a msflexgrid

    I think it is referring to a multiline tool tip that is displayed when hovering over a cell.
    My guess is that you would need to use API to get a balloon multiline tooltip to display. Pretty sure the...
  35. Replies
    9
    Views
    491

    Re: Routine needs fixing

    Well the first thing that comes to mind is that when it worked it was looking at a different folder than it was looking at when it did not work.
    Keep in mind that some some folders have access...
  36. Replies
    8
    Views
    436

    Re: Basic variable problem

    It is complaining about an object reference. You do not show much code so no way to know if it is thrown by what you showed or by something you did not show but the only object I see there is...
  37. Replies
    5
    Views
    285

    Re: Rounding of binary fraction strings

    Not sure what language you are using there. Looks like a bad mixture of VB and VB.Net
  38. Re: Reading formatted text from database varchar field to RichTextBox

    Well I do not know the details of what you are doing but it seems to me that it would be better to just save the data in the database and any rtf formatting separately. One of the methods I have...
  39. Re: Reading formatted text from database varchar field to RichTextBox

    hmm that seems odd. I tried it here and have a different result.

    I tried pasting that rtf you show from the db into a rtf file and loading it using the load file method and it does not work...
  40. Re: Reading formatted text from database varchar field to RichTextBox

    Yep it sounds like you probably just need to place the value from the db into the TextRTF property instead of into the Text property.
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width