Search:

Type: Posts; User: baka

Page 1 of 13 1 2 3 4

Search: Search took 0.06 seconds.

  1. Replies
    7
    Views
    212

    Re: Truncate the Array

    sorting is easy. u can modify a quicksort,
    example:


    Private Sub QuickSort(c() As mytype, ByVal first As Long, ByVal Last As Long)
    Dim Low As Long, High As Long
    Dim MidValue As String...
  2. Replies
    7
    Views
    212

    Re: Truncate the Array

    it seems from the log that 2 values are numbers and the other is a 3 letter string.
    if thats so, I would make a custom type,
    example:

    type mytype
    value1 as integer
    value2 as integer
    ...
  3. Replies
    18
    Views
    458

    Re: Extended ascii characters

    without changing ansi/unicode?

    one trick could be to use + together with underscore + but u will need RichTextBox instead of textbox to make it work.

    example

    RichTextBox1.Text = "Text +...
  4. Replies
    24
    Views
    463

    Re: Different Boggle Question

    the reason I think "close by" is a good way is that u can change the amount of boxes to anything, 4x4, 5x6, 8x8, well anything that can fit the screen and it will work.

    I would do:
    -...
  5. Replies
    24
    Views
    463

    Re: Different Boggle Question

    since you are using texboxes, u could actually skip the matrix and instead do a "close by" approach.
    so, if u click on M. u do a loop 1-16 and check if any of the 16 is within range of "M"
    ...
  6. Replies
    8
    Views
    328

    Re: Why did this trigger Defender?

    all my programs gets reports, but usually from antivirus that are unknown.
    so if I upload my exe to virustotal, theres at least a few reports.

    but, sometimes I get a lot, if I use API that...
  7. Replies
    21
    Views
    756

    Re: Problems with IDE and W10

    I dont want to repeat myself, did u try App.ThreadID?

    also, if u made a new installation and u get the same result it most be something else, that API itself is harmless, but together with...
  8. Replies
    21
    Views
    756

    Re: Problems with IDE and W10

    now u say ".dll" changed nothing. did u make it work or not?
    also, did u try using App.ThreadID?
  9. Replies
    21
    Views
    482

    Re: Read background color of a bitmap

    yeah, theres no 100% accuracy here. only a "as good possible" guess.
    the algorithm to figure out the background color could be made sensible, and it need to be sure or it will make a "default"...
  10. Replies
    21
    Views
    482

    Re: Read background color of a bitmap

    more suggestions:

    - I would look into the source, from where u get this clipart, is it really from a bmp or maybe from gif/png, maybe theres a better way of getting the picture?

    - if theres no...
  11. Replies
    21
    Views
    756

    Re: Problems with IDE and W10

    are you really sure this is the API that crashed it?
    its a very simple API that should not crash at all.
    what about


    Msgbox "Before"
    lngThread = API_GetCurrentThreadId()
    Msgbox "After"

    if...
  12. Replies
    21
    Views
    756

    Re: Problems with IDE and W10

    exactly. I remember one time that it was the reverse, it worked on IDE but after compiling, I got a crash.
    I also know that in windows 10 I can avoid crashes for some "situations" that would crash...
  13. Re: Sending folder with files, to a remote ip address machine

    as I told, first u learn a chat program.
    after that u create a "bot", meaning, the other side can be controlled with "commands"
    like "@login mypassword"
    that will allow you to use the "bot" and...
  14. Replies
    21
    Views
    756

    Re: Problems with IDE and W10

    I dont believe its the IDE but the API u are using.
    I know that I have issues sometimes with API, that could work and suddenly not work.
    the reason could be complex, maybe something before the API...
  15. Re: Sending folder with files, to a remote ip address machine

    it sounds more like a trojan program that takes control over the remote machine. :)

    well, it all depends whats the purpose of this.
    u also need to know the remote computer operative system and...
  16. Re: Sending folder with files, to a remote ip address machine

    remote control is an "advanced" client/server chat program. if you learn about that you know how to control your remote computer.
  17. Re: Sending folder with files, to a remote ip address machine

    my advice is to learn about "client" and "server" chat. theres source examples you can study.
    when you know how 2 machines can communicate using winsock, we can start the discussion of remote...
  18. Replies
    43
    Views
    1,131

    Re: Vb6: Winsock data arrival multiple packets

    we are not here to make the code for you, but for you to do it yourself.
    I told you what to do, but you dont want to learn. and if you do some searches you will find how to make a handshake, what...
  19. Replies
    43
    Views
    1,131

    Re: Vb6: Winsock data arrival multiple packets

    this is not a "pay for code" site, but a discussion, sharing, educational, helping, teaching forum.
    I will never take a job, and most of the other members will not as well.
    in the other thread you...
  20. Re: Vb6: winsock data arrival get all data from large site

    u need to learn the handshake, to tell the server how u want the file, its not really VB6 but http header protocol.
    some server will "close" the connection when transfer is done, while other will...
  21. Re: Vb6: winsock data arrival get all data from large site

    what is IsComplete? show function

    also, Static will never reset. it will keep adding data to it.
    you need to reset strTotal somehow, or use a global variable instead.
    I would not use Static...
  22. Replies
    43
    Views
    1,131

    Re: Vb6: Winsock get data fix ( i pay $200 to who can fix this)

    example:


    Private Declare Function URLDownloadToFileA Lib "urlmon" (ByVal pCaller As Long, ByVal szURL As String, ByVal szFileName As String, ByVal dwReserved As Long, ByVal lpfnCB As Long) As...
  23. Replies
    43
    Views
    1,131

    Re: Vb6: Winsock get data fix ( i pay $200 to who can fix this)

    that is very basic, you should show the code you are using and we could help you out what you did wrong.
    the importance is the handshake/header when you send the GET command so that the server will...
  24. Replies
    43
    Views
    1,131

    Re: Vb6: Winsock get data fix ( i pay $200 to who can fix this)

    didnt work? I have a site-grabber program and I use this API.

    u want the page source of http://apache.org/? like index.html?
    or is it something else you want? maybe its not apache.org you want...
  25. Replies
    43
    Views
    1,131

    Re: Vb6: Winsock get data fix ( i pay $200 to who can fix this)

    the API URLDownloadToFile is quite handy when grabbing files.
    what u need is the directory list of the page, if the http server is allowing browsing.
    if the page is generated or html, u can create...
  26. Replies
    9
    Views
    354

    Re: Empty Array of UDT?

    we can still use the "Not Not" right?

    If Not Not A.A2 Then Debug.Print UBound(A.A2) Else Debug.Print "-1"

    but I can see the use of it, if we dont want to initialize the undefined array, that...
  27. Replies
    7
    Views
    471

    Re: Winsock LocalIP is not the correct IP

    I did try the code and it doesn't work with windows 7. it seems the API calls will only work on the private IP, not external. I remember it worked on XP, could be something is changed or I was just...
  28. Replies
    7
    Views
    471

    Re: Winsock LocalIP is not the correct IP

    to get the internal ip (not the localhost), is easy, but to get the ip that the outsider need to have to be able to connect to you is another thing.
    I remember this issue when I worked on that 10+...
  29. Replies
    12
    Views
    529

    Re: VB6 Draw Smooth Text

    u have Anti-aliasing property on?
  30. Thread: decimal point

    by baka
    Replies
    5
    Views
    299

    Re: decimal point

    even a replace could work here. in the end its just string manipulation.
    we can even replace format with other calls to do exactly what u need.
    this dont need to be a locale fix, but just a string...
  31. Replies
    7
    Views
    471

    Re: Winsock LocalIP is not the correct IP

    I remember I did have this issue +10 years ago when I worked on that.
    the IP returned was the internal one (not the localhost) but I needed the one that was connectable from internet.
    theres a way...
  32. Re: How Many People are Sticking around Until the end of VB6

    I did get used to Paint Shop Pro 6 and after many years I knew exactly how to use it.
    Eventually I was forced to change, I needed the multi-layer feature that PSP6 didnt have. I tried a few and it...
  33. Re: How Many People are Sticking around Until the end of VB6

    its easy to get used to something.
    before VB6 I got used to all the previous programming languages and it was always a bit hard to change.
    now, with so much VB6 under my belt, it will be even...
  34. Re: How to Terminate Previous Instance of My Application

    that is a very strange way of doing programming.
    the most important thing as a programmer is "stability", we dont want crashes.
    also, if you can "trap" the error, why close the app at all? usually...
  35. Re: VB6 Question: Is there a method of reading an embedded image in a DLL using GDI+?

    whats the purpose of this tool? I mean, theres tons of extract tools that u can download that are free.
    if u need a way to store "your own" png theres other ways of doing that.
    the title says...
  36. Replies
    19
    Views
    1,206

    Re: we almost got the source to VB6

    that "part" could be a nice thing to have for "archive" purposes.
    anyone can zip all the projects and upload it? we could learn a bit or two?
  37. Replies
    19
    Views
    1,206

    Re: we almost got the source to VB6

    I think the best would be to make a stripped down version of VB6, with as little runtimes possible, so a minumum and from there, carefully adding features one by one.

    what I want is the feeling of...
  38. Replies
    19
    Views
    1,206

    Re: we almost got the source to VB6

    the source is somewhere. it would be very strange they wipe out the source just to be sure it will never get leaked.
    this "hacker" got his hands on xp and Im sure if there where other sources he...
  39. Replies
    58
    Views
    1,540

    Re: need 2 decimal places

    there has been appeals before but Microsoft is hard to deal with.
    the best deal would be to give the source code to the public, but its futile, Microsoft will never give that.
  40. Replies
    58
    Views
    1,540

    Re: need 2 decimal places

    IDE is not what Im worried about, its the compiled exe that worries me. will it work in all future windows 10 updates? will it work in the new OS that will be released.
    IDE you can always run in a...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width