dcsimg

Search:

Type: Posts; User: MikeSW17

Page 1 of 2 1 2

Search: Search took 0.09 seconds.

  1. Replies
    5
    Views
    190

    Re: error when start a vb6 .exe

    Lots of results for VB/VBA error &H80004005: https://www.google.com/search?client=firefox-b-d&channel=crow&q=system+error+%26h80004004
  2. Re: A program that searches within all files in a directory for a specific string

    Sure there are programs to do what Tomalak wants. It would also be relatively trivial to write one's own.

    But this way of storing and maintaining 'data' doesn't fit with best the principles of...
  3. Re: A program that searches within all files in a directory for a specific string

    I think Tomalak is looking to search the contents of the files, not the file names.

    That said, I strongly warn against what Tomalak seems to want to do. Altering the contents of files this way is...
  4. Re: Error occurs when ActiveX dll is compiled

    Have you tried compiling a different ActiveX DLL to see if it's something specific to your code or a compiler problem?
  5. Replies
    10
    Views
    409

    Re: Modifying old VB6 code

    The info on CD lifetimes is pretty wildly varying. Figures I've glanced at range from 5-10 years to a study by the US Library of Congress suggesting some of their CDs will still bre readable in the...
  6. Re: Your first BASIC computer? Has your software survived?

    At work: Commodore PET 2001, with the calculator style keyboard and cassette tape storage. (Guess they'd have a world of trouble if they'd called it 'HAL')

    The program is long since lost, but they...
  7. Re: Question of curiosity - Form_Load vs Form_Activate

    Hi. Does this thread answer your question? http://www.vbforums.com/showthread.php?406849-Form-activate-Vs-Form-Form-Load
  8. Re: How to make only first hard-disk installed running

    I read the OP differently...

    He purchased a program about a year ago on a single-use license. During the original installation, his license key was linked to his hardware configuration - maybe...
  9. Re: Is there a maximum DLL path length for Delcare statement?

    Have you tried copying the library to somewhere else with a shorter path name? If it works this would eliminate other possible causes.
  10. Replies
    58
    Views
    4,264

    Re: Form Question - About Min and Max

    To sum up:
    168805
  11. Re: Trouble with CreateProcessAsUser

    Does this code: https://support.microsoft.com/en-gb/help/285879/how-to-start-a-process-as-another-user-from-visual-basic help?

    Code (copied from Microsoft as above)




    Option Explicit
    ...
  12. Replies
    16
    Views
    545

    Re: Best Practices -- Code Testing

    Hi. Maybe I'm misunderstanding the question, but...

    Any use of code that isn't already tested to 'high confidence' on active live data isn't testing - it's a strong bet you'll no longer be...
  13. Re: how to open mozilla firefox using this code

    Wouldn't it be easier just to use:




    Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String,...
  14. Replies
    3
    Views
    208

    Re: VB6 service pack 6 start error on XP SP2

    * duplicate post sry *
  15. Replies
    3
    Views
    208

    Re: VB6 service pack 6 start error on XP SP2

    Does VB start and run Ok after that? I've seen this myself in the past (and once just a few days ago - when I started VB6 after trying some add-on or other and it went away) , but it didn't seem to...
  16. Thread: VBGold

    by MikeSW17
    Replies
    11
    Views
    603

    Re: VBGold

    There's another Resizer OCX I just found (with source code) at: https://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=3782&lngWId=1
    Not tried it (yet), but with source code it may be...
  17. Thread: VBGold

    by MikeSW17
    Replies
    11
    Views
    603

    Re: VBGold

    Oddly, it looks like they have registered their web site via porkbun.com that exists specifically to anonymize the actual web site owners from WHOIS lookups. So you'll have to do more digging to find...
  18. Thread: VBGold

    by MikeSW17
    Replies
    11
    Views
    603

    Re: VBGold

    Umm.. all I can say is their web sites (http://www.vbgold.com/Contact.shtml) is still there, and google search suggests it was last updated 17-apr-19. Their rolling banner on the home page refers to...
  19. Re: How to convert date format from ddmmmyy to mm/dd/yy?

    Hi, This should give you the information you need to manipulate dates.


    Option Explicit

    Dim IATADate As String
    Dim WorkDate As String
    Dim TempDate As Date

    Private Sub Form_Load()
  20. Replies
    8
    Views
    7,858

    Re: cinema booking system

    Semi-serious comment... Maybe allow alternate seat colours or shape for users with Red-Green blindness?
  21. Re: Fast get the ascii code of a character in a string?

    I agree that assign string to array is a great way to do this.
    Just to add to the options, I have often used TYPE definitions when the conversion(s) are maybe more complex, then use the LSET...
  22. Replies
    19
    Views
    572

    Re: Clearing an array

    Hi,
    Just ReDim the array to the same size it is, without using the "Preserve" option.
    You will need to initially declare the array without dimension(s) values, then ReDim it before first use.
    ...
  23. Optimizing Convert Byte Array to ASCII string representation of Hex

    Hi All.
    I'm looking to optimize some code (from http://www.mvps.org/emorcillo/en/code/vb6/hash.shtml)

    Basically it uses CryptoAPI to generate an MD5 hash of string data. (Later, I'll probably use...
  24. Replies
    4
    Views
    279

    Re: User Control Question

    Does this help with RaiseEvent? https://docs.microsoft.com/en-us/dotnet/visual-basic/language-reference/statements/raiseevent-statement
  25. Replies
    20
    Views
    546

    Re: SendKeys replacement

    Does this https://www.codeguru.com/vb/gen/vb_system/keyboard/article.php/c14629/SendKeys.htm help?

    or this: https://visualbasic.happycodings.com/api-and-miscellaneous/code38.html

    A...
  26. Re: vb6 - qprinter (qbd software) - where i can find/download lastest version??

    Check out the ReAdMe.txt file in the unpacked ZIP.

    You can compile it to a DLL. Then add a reference to qPrinter.dll to your own project.
  27. Re: How about we make a VB7 (upgrade version of VB6)

    Actually, it is N! (factorial) + 1 Versions
  28. Replies
    76
    Views
    2,426

    Re: The best programming language?

    There's no 'best' programming language. There are bad, awful, useless ones though.

    The best programming language is defined by the task you want to do. Not by the functions and features of the...
  29. Replies
    37
    Views
    1,617

    Re: Why won't my VB program open in W10?

    In that case, the OPs' executable maybe uses a OCX or DLL reference that isn't part of the standard runtime. The Error 53 could also suggest the program is attempting to open a data file that doesn't...
  30. Replies
    4
    Views
    274

    Re: Zip with Password

    Years ago, I used XceedZip from XCeed Software. IIRC only $30-$40 licence then, now $500+. So unless you're making a lot of money selling your application, that's probably a non-starter.

    This:...
  31. Replies
    37
    Views
    1,617

    Re: Why won't my VB program open in W10?

    If you are not using any third-party OCX or DLLs in your project, you might get away with installing the VB6 Runtime package.
    It looks like MS no longer distribute this pkg themselves, but there are...
  32. Replies
    17
    Views
    977

    Re: Ideas for Speed-Up

    Maybe a tiny improvement only, but something I hope

    The for statement: "For j = LBound(bbIn, 2&) To UBound(bbIn, 2&)" as the LBound and UBound are constant within the Sub, establish the values in...
  33. Replies
    9
    Views
    472

    Re: Using a slider control

    There's some code to do this in the last post here: http://www.vbforums.com/showthread.php?624092-Invert-Slider-Control-HELP
    It seems to do what - I think - you want.
  34. Replies
    24
    Views
    1,034

    Re: VB6 on my new Windows 10 Machine

    Only as out of date as the VB/VS 6 they relate to...
  35. Replies
    24
    Views
    1,034

    Re: VB6 on my new Windows 10 Machine

    I followed this http://blog.danbrust.net/2015/09/14/installing-visual-basic-studio-6-on-windows-10/#.XKMO2qRw1hE procedure. Seems to work OK except you get an "Unknown Publisher" warning when...
  36. Replies
    1
    Views
    1,573

    thinBasic - Safe or Not?

    Hi.

    I just came across a reference in a VB6 thread here to 'thinBasic'.
    Curious, I found and downloaded it from the developers' site.
    Cautious, I scanned the installer for viruses (as always -...
  37. Replies
    18
    Views
    658

    Re: ARGB color values

    These?


    Constant Value Description
    vbScrollBars 0x80000000 Scroll bar color
    vbDesktop 0x80000001 ...
  38. Re: Get value of cell in Datagrid selected row

    For future researchers, what was the solution?
  39. Replies
    3
    Views
    297

    Re: how open blank or empty text file

    Two possibilities:
    1) Change the loop to test EOF before Input:

    Do While Not EOF(1)
    Input #1, I
    List1.AddItem I
    Loop
    2) Add an error handler to catch the error.
  40. Re: Application is running but main window never appears. Ideas please

    Anything relevant in the Windows Event Viewer?
Results 1 to 40 of 49
Page 1 of 2 1 2



Featured


Click Here to Expand Forum to Full Width