dcsimg

Search:

Type: Posts; User: MikeSW17

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Re: How do you remove extra dots in a string of no. ? Like clean up 524.27.27 to 524.

    Simpler?



    Dim s as string
    s = "168.1.0.255"
    Debug.Print Left(s, InStr(s, ".")) & Replace$(s, ".", "", InStr(s, "."))

    More fully:
  2. Replies
    5
    Views
    265

    Re: Error 52: Bad File Name

    Also, what value is P ? The full text of error 52 is Bad File Name or Number. IIRC there is a maximum number of open files limit.
    A leak of file numbers (files not being properly closed) elsewhere...
  3. Replies
    16
    Views
    1,565

    Re: how can ı fix it vb6 setup error mscomct2?

    Ok, I understand better I think. You have VB6 installed and running Ok. This problem is with a project you have created yourself and trying to install it?

    Are you trying to install you project on...
  4. Replies
    16
    Views
    1,565

    Re: how can ı fix it vb6 setup error mscomct2?

    What Windows Version?
    Are you using the standard MS installer or one crafted by others to avoid problems with later windows versions?
    Have you tried running the installer as Administrator?
    Do a...
  5. Replies
    17
    Views
    678

    Re: count box to box values using backcolor

    It's unclear what you actually want to achieve. Arbitrarily changing BackColour to store a value will create a riot of colours.

    As you say you're a beginner, I suggest you research Control Arrays...
  6. Replies
    25
    Views
    1,018

    Re: Problem with lines (position) in textbox

    Unfortunately it's NOT easy to verify it's not a virus or malware. Most virus checkers rely primarily on signatures of already known code for detection. A 'new' virus/malware could pass this check....
  7. Replies
    11
    Views
    443

    Re: Random Number

    No, Rnd function returns a fractional value less than 1 BUT greater than or equal to zero (0<=Rnd<1).

    e.g.


    Function GetRandom(Low as Single, High as Single) as Single
    Dim RndNumber as Single...
  8. Re: [RESOLVED] Incrementing and Decrementing number

    There is a UpDown Control, it's part of the Microsoft Windows Common Controls set, but you need to add "Microsoft Windows Common Controls-2 (VB6)" in Project->Components to use it.
  9. Re: How do i remove all know space from string

    this function will do what you want:


    Public Function RemoveSpaces(strVal As String) As String
    Do While InStr(1, strVal, " ")
    strVal = Replace(strVal, " ", "")
    ...
  10. Replies
    5
    Views
    329

    Re: [RESOLVED] Forcing a form not to close?

    Glad it works. But why are you using a String Type for 'Answer'?
    At best, its not not efficient & confusing. At worst ,it may not work under some conditions. The defined return for MsgBox() is an...
  11. Replies
    13
    Views
    513

    Re: Stopping scanning process

    Ignore me, Sorry. I misread what type of scanning you were talking about.
  12. Re: How to watch file changes *and get process id, including when no timestamp change

    While I can't offer a ready solution, I can confirm that (what I think) you want can be done, as it exists in this Process Monitor tool:...
  13. Re: New interface design for VB6, bootstrap, material, flat, metro

    Which is your primary development selection criteria? Using VB6 or Desiring certain Graphical Capabilities?
  14. Replies
    120
    Views
    7,349

    Re: https://www.radbasic.dev/

    Oops. My bad. I just glanced at the wrong project window from my 'Recents'. Forget what I said.
  15. Replies
    120
    Views
    7,349

    Re: https://www.radbasic.dev/

    Just had a quick look at https://q7basic.org/#Windows. Initally there is no mention of Open Source, just a Professional license fee, a bit further down the page, a "Trial" download. Then right at the...
  16. Re: VB6 testing in virustotal the new "Behaviour" tab

    Have you run a full Virus Scan of your whole system? I recommend a scan with an off-line scanner (CD boot). e.g. Kaspersky has a free .ISO Bootable scanner, https://support.kaspersky.com/14226
  17. Replies
    8
    Views
    482

    Re: Usb thermal ticket printer

    Back in the day, when I was doing EPoS, the manufacturer of the EPoS printers/keboards/keylocks/cash drawers etc had their own windows drivers. In my case this was TEC cash registers. One had to ask...
  18. Re: Is there a tool that can automatically copy a Form's code dependencies?

    Looks interesting. Wouldn't mind trying it out. At first glance it looks very similar to 'Bulk Rename' ( https://www.bulkrenameutility.co.uk/Screenshots.php ) which I've used for ages.
  19. Replies
    14
    Views
    655

    Re: Run time error 76 - path not found

    Could it be an Anti-virus issue? Try disabling any AV, if present.
  20. Replies
    120
    Views
    7,349

    Re: https://www.radbasic.dev/

    Replace 'person' with 'company' and you have a good description of *Microsoft*
  21. Replies
    5
    Views
    365

    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
  22. 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...
  23. 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...
  24. 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?
  25. Replies
    10
    Views
    637

    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...
  26. 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...
  27. 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
  28. 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...
  29. 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.
  30. Replies
    58
    Views
    4,678

    Re: Form Question - About Min and Max

    To sum up:
    168805
  31. 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
    ...
  32. Replies
    16
    Views
    747

    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...
  33. 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,...
  34. Replies
    3
    Views
    256

    Re: VB6 service pack 6 start error on XP SP2

    * duplicate post sry *
  35. Replies
    3
    Views
    256

    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...
  36. Thread: VBGold

    by MikeSW17
    Replies
    11
    Views
    766

    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...
  37. Thread: VBGold

    by MikeSW17
    Replies
    11
    Views
    766

    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...
  38. Thread: VBGold

    by MikeSW17
    Replies
    11
    Views
    766

    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...
  39. 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()
  40. Replies
    9
    Views
    8,343

    Re: cinema booking system

    Semi-serious comment... Maybe allow alternate seat colours or shape for users with Red-Green blindness?
Results 1 to 40 of 69
Page 1 of 2 1 2



Featured


Click Here to Expand Forum to Full Width