Search:

Type: Posts; User: baka

Page 1 of 13 1 2 3 4

Search: Search took 0.03 seconds.

  1. Re: ECMA group for BASIC - who would you nominate?

    well, not sure.
    its not the same as the smartest kid or the one with most knowledge of the language.
    this job is for people that enjoy doing this kind of work.
    sure he need to have a vast...
  2. Replies
    12
    Views
    590

    Re: Buttons design and caption

    well. I have my solutions that works. graphical. using pictureboxes.
    what have u?
    just talk but nothing to show that actually works and it looks nice.

    people need to experience that on their...
  3. Replies
    12
    Views
    590

    Re: Buttons design and caption

    if u dont like the button, create one your own. how hard can that be?
    its simple math and rendering. and u can pick any kind of button style.
    just use a picturebox and use bitblt or alphablend.
  4. Re: CreateObject("Word.Application") very slow with Word version 16

    I use word and I noticed that the only thing that is fast enough is CheckSpelling.
    trying to add grammar will make everything too slow.
    also I use it in my "graphical" text-editor for my game. so...
  5. Re: I want the code to turn off the computer, can you help?

    or use

    shell "shutdown /s"

    write shutdown in a cmd for more options.
  6. Re: Looking for a simple function which returns TRUE if a string contains emoji ...

    I smell a school project
    maybe the teacher told him to create a function that will check the string for emoji
    and now he's here asking for something fancy to impress.
    theres no 1 way of doing it....
  7. Re: Looking for a simple function which returns TRUE if a string contains emoji ...

    well u could follow the principles of what others uses
    https://unicode.org/emoji/charts/full-emoji-list.html
  8. Re: Looking for a simple function which returns TRUE if a string contains emoji ...

    it depends on the principles.
    like here we have ": )" = :)
    while in discord u use :smile:
    it depends on you,
    if I where to create a writer/editor I would use a 2 char system
    first is the ascii...
  9. Re: Get Extended details of video device used

    well not sure u can.
    if theres some info in the meta-data, but no all video format has that.
    like mp3, u can include a cover, but not all mp3 has that. the same with information about author etc.
  10. Re: Continue Loop without event interruption

    yes and no.
    u need to use multi-threading.
    should be available if u search.
    The Trick made something.
  11. Replies
    8
    Views
    404

    Re: Create mp3 or wav file from text

    unlikely its infected. VB6 projects often result in false-positive.
    make a empty project and compile it and it will result in something. antivirus tools don't like VB6.
    it need to be +10 result...
  12. Replies
    8
    Views
    404

    Re: Create mp3 or wav file from text

    https://www.vbforums.com/showthread.php?825283-RESOLVED-Saving-a-wav-file

    for mp3 u need to be able to encode it.
    I think its possible with directsound, but never tried.
    I think The trick could...
  13. Re: [RESOLVED] How to verify match is 100% in string

    rev=reverse so it will start from end.
    most of the time instr is the best choice.
  14. Re: Can I make my program work without installing any portable version?

    what u mean?
    setup-free?
    portable version means u dont have a setup and can run it immediately. everything is integrated into the project.

    theres multiple threads about reg-free solutions.
    but...
  15. Re: Is It Possible to display running app in same monitor as the VB6 IDE?

    well. I think its possible to create an addon that will center the app to the specified monitor.
    but someone need to create it.
  16. Re: Is It Possible to display running app in same monitor as the VB6 IDE?

    using API u get it in pixel.

    lets say monitor 1 is 1920x1080 monitor 2 is 800x600 and the app is 400x300 in size
    to place it in the monitor 2 center
    "left" is 1920 + 800 / 2 - 400 / 2
    thats why...
  17. Re: Is It Possible to display running app in same monitor as the VB6 IDE?

    the app should start in the same area as the IDE
    if not is because u have some "startupposition" like center?
    set it to manual. u can get the monitorinfo using the API GetMonitorInfo and to know...
  18. Re: Semi-Transparent Rectangles

    its the AlphaBlend that enable u to have Semi-Transparent rectangles.
    that is why u need it and it will "copy" the hidden rectangle. so copy hidden to whatever place.

    I have not looked into your...
  19. Replies
    11
    Views
    500

    Re: Remove References

    dilettante is just old.

    programming can be a lot of things.
    and one thing is to discover new things.
    and another is to try its limits.

    even if its not needed 99.9% of the time its still...
  20. Replies
    12
    Views
    820

    Re: Decimal to binary error

    its just a \ if u compare, and members already told the OP about it. so nothing new, just show how u can make it into a function.
  21. Replies
    12
    Views
    820

    Re: Decimal to binary error

    Function DecToBin$(Value&)
    While Value > 0
    DecToBin = Value Mod 2 & DecToBin
    Value = Value \ 2
    Wend
    End Function
  22. Re: Vb6: read richtextbox line by line; out of string space

    Private Sub Command1_Click()
    Dim Find&
    Find = InStr(RichTextBox1.Text, vbCrLf)
    If Find > 0 Then
    Text1.Text = Left$(RichTextBox1.Text, Find - 1)
    RichTextBox1.Text =...
  23. Re: Vb6: read richtextbox line by line; out of string space

    vb6s its the same issue and exactly the same solution for both the old and new thread.
    I gave u a solution. very simple and it should work here as well. DO NOT SPLIT. theres no need for that.

    ...
  24. Replies
    2
    Views
    282

    Re: Vb6: run-time error out of memory

    didnt u ask something similar a few weeks ago.
    I already answered. same answer this one again.
  25. Re: Do programs made with Microsoft Visual Basic 6 work on Mac?

    u old folks need to get updated.
    go check https://www.winehq.org
    before u say "no".
  26. Re: Do programs made with Microsoft Visual Basic 6 work on Mac?

    it seems some can make it work using WineHQ.
    my game-project didnt work, but its quite complex. maybe simple project works? I dont have Mac so I can not tell.
  27. Replies
    15
    Views
    613

    Re: Monitor Scale Factor

    I dont use DPI at all.
    u can create your own scale factor by just using a default resolution and compare that with the screen resolution and create a "ratio" value.
    thats how I do it.
  28. Replies
    11
    Views
    649

    Re: Screen Capture - almost

    u can use the "PrintScreen" method, that will take a screenshot of the entire screen.
    so simulate a keypress for the print-screen, copy the bmp from clipboard to a picturebox
    and use whatever...
  29. Replies
    11
    Views
    649

    Re: Screen Capture - almost

    u can use getcursorpos, windowsfrompoint, ScreenToClient, GetWindowRect to get the hwnd of the current window under the mouse.
    after that u can capture that hwnd using bitblt. of course some...
  30. Thread: [RESOLVED] Color

    by baka
    Replies
    14
    Views
    676

    Re: [RESOLVED] Color

    Private Type MyRGB
    red As Byte
    green As Byte
    blue As Byte
    End Type

    Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (lpDest As Any, lpSource As Any,...
  31. Replies
    35
    Views
    1,526

    Re: Bringing Civility Back to the Forum

    the problem is that people will find others way, always. if u really want to provoke someone u do.
    and when the system is so controlled that u can not do anything, its usually also the same time...
  32. Replies
    35
    Views
    1,526

    Re: Bringing Civility Back to the Forum

    yeah. the "AI" if we can call it that will not understand.
    while a human will understand, since we are "reading" everything and creating context (sure, even human can get confused and understand...
  33. Replies
    35
    Views
    1,526

    Re: Bringing Civility Back to the Forum

    what is proper?
    to be really mean to someone but your language is perfect? or someone with bad language that just uses profanity?
    for me is the context that is important, if someone is telling you...
  34. Replies
    12
    Views
    904

    Re: Unable to Retrieve Command Line Arguments

    yeah, theres an order of things.
    the references, modules and the current class/form.

    that is why if u have a function with the same name of any of the functions in VBA, it will be used first.
    if...
  35. Replies
    35
    Views
    1,526

    Re: Bringing Civility Back to the Forum

    fighting is part of life.
    but sure. if it goes out of hand, a moderator could "stop it" by telling everybody to calm down.
    thats it.
    no need for more control. we have enough of that from the...
  36. Re: Looking for PictureBox redraw suggestions to avoid 'blanking'

    no need for that. he just want to avoid that "blanking" that occurs when he remove the picture.
    so, as I pointed out, with minimal code u can achieve that. not sure why people always try to make it...
  37. Replies
    32
    Views
    1,178

    Re: Splash Screen with Bitmap in DPIAware App

    Private Declare Function MonitorFromWindow Lib "user32" (ByVal hwnd As Long, ByVal dwFlags As Long) As Long
    Private Declare Function GetMonitorInfo Lib "user32" Alias "GetMonitorInfoA" (ByVal...
  38. Re: Looking for PictureBox redraw suggestions to avoid 'blanking'

    one simple way is to use the "picture" as a "cls" solution.
    so place the picture in another picturebox
    and use bitblt to copy that picture.
  39. Replies
    32
    Views
    1,178

    Re: Splash Screen with Bitmap in DPIAware App

    wqweto yeah. but if u continue reading my post I write: "somehow" at the size of the screen.
    u can resize it. no need for any DPI awareness.
    the screen size is "correct" no matter DPI u use. so u...
  40. Replies
    32
    Views
    1,178

    Re: Splash Screen with Bitmap in DPIAware App

    why bother?
    create a borderless form, use pixel at startup resize borderless form with the size of the BMP and center it by calculating the screen.size.
    done.

    if u instead would like the BMP to...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width