Search:

Type: Posts; User: wengang

Page 1 of 13 1 2 3 4

Search: Search took 0.16 seconds.

  1. Replies
    2
    Views
    847

    Re: Access label flickers on timer event

    Thanks for trying it.
    You're getting the exact same result as me.
    It appears to be a known phenomenon.
    I'm just wondering if anybody has figured a way around it.
  2. Replies
    2
    Views
    847

    Access label flickers on timer event

    Hi all.
    I have a problem that is really bugging me.
    I have an Access form with an image. On top of the image is a label with transparent background.
    The text on the label is updated when the...
  3. Re: looking for suggestions for a simple combat algorithm

    Thanks, Techgnome, for getting back to me so quickly. You really put a lot of thought into that.

    I know what you mean about the board games. I remember playing Axis & Allies with offensive and...
  4. looking for suggestions for a simple combat algorithm

    Hi all.
    I'm building a clone of an old real-time strategy game from the 90s.
    I'm not privy to any of its code, so I don't know how some things were determined.

    I'm trying to come up with my own...
  5. Access form design property sheet change from inches to anything else

    No matter how explicitly I google search, I don't get this question answered.

    I am so tired of working with inches on the property sheet and twips in the code.
    There must be a way to change a...
  6. smooth movement of a picture box on timer tic

    Hi all.

    This the entire form code:


    Dim Jump As Integer
    Private Sub MovePlayerLeft()
    If picShooter.Left <= 2280 Then Exit Sub
    picShooter.Left = picShooter.Left - Jump
    End Sub
  7. Re: capturing keypress event or keydown event when another key is already being held

    THanks for replying. I really didn't follow that because I haven't used peekmessage, even though I've been doing VB6 since it came out. At the least, my first attempt to move a character around the...
  8. capturing keypress event or keydown event when another key is already being held down

    Hi all.
    I have been working on a sidescroller game in vb6 a la the original SMB.

    I have the character running through the stage by holding down left and right arrow keys (but doesn't immediately...
  9. Thread: calculating Pi

    by wengang
    Replies
    4
    Views
    4,453

    calculating Pi

    Hi.
    I have read up on a number of ways to have an app calculate pi, but I keep coming back to the same hard limit. Pretty much every app I know of in Windows stops adding decimal places after about...
  10. capturing the text data of a webpage as it appears

    Hi all.
    I have a decent amount of experience using INET, Webbrowser control, and XML HTTPRequest to download web content.
    Recently, I've been trying to auto download a site, but the contents are...
  11. Re: webbrowser shows an incomplete version of the web page

    I think you're probably right, but (full disclosure) I'm actually using MS Access forms and VBA. I just assumed the solution would be universal. What would go in the "YourProgexeName.exe" in that...
  12. webbrowser shows an incomplete version of the web page

    Hi all.
    I have tried to download pages from a website via webbrowser, but for some reason, the main content of the page doesn't show up.
    I can navigate to the page in Chrome and see it all. I can...
  13. Replies
    3
    Views
    648

    Re: Sum() slow in Access SQL, suggestions?

    That's odd. I ran it over and over. As written, there is a delay before the result comes back either in VBA or in an Access query. When I change Sum(Percent) to just Percent, I get the records...
  14. Replies
    3
    Views
    648

    Sum() slow in Access SQL, suggestions?

    Hi all.
    I have a data table with one field (PERCENT) that goes out to about 10 decimal places (1.444566433244, 0.0003343434, etc.)
    Depending on the query there can be as few as 1 or as many as 2500...
  15. Replies
    3
    Views
    810

    Re: drawing in Access

    Well, I didn't think anybody would reply that quickly.
    I decided to try out my crude dot idea, and had some early success.
    If anybody wants to replicate it, pretty simple (and if you can improve...
  16. Replies
    3
    Views
    810

    drawing in Access

    Pretty sure this is a hard no.
    Is there a way to draw in Access?
    In VB6, I built a Paint clone years ago, but all I'm trying to do is have one picture box (or whatever) where mouse down, mousemove,...
  17. Re: sending .OnMouseUp to function, but how to pass which Button was clicked?

    What you're doing is just going to cmdExecute's click event, which does tell you which Button.

    I have lots of cmdExecutes under various names that I feed into an array programmatically, and I have...
  18. sending .OnMouseUp to function, but how to pass which Button was clicked?

    Hi all.
    I've been challenging myself to write some of my old VB games in Access (yes, for the heck of it).
    In one game, I have a number of images in an array.
    Access isn't like VB with control...
  19. Re: Urgent MS Access rescue, Form overwritten!

    One funny thing, I went back to the code where I had the Application.SaveAsText and the LoadFromFile line, and I just hit CTRL+Z (undo), and the SaveAsText unremmed. That's funny to me because right...
  20. Urgent MS Access rescue, Form overwritten!

    Hi all.
    I was exporting a form to text file (Application.SaveAsText) but somehow inadvertently ran the LoadFromText line.
    Not sure how I did that since I doublechecked it, but there it is.
    I"ve...
  21. Replies
    17
    Views
    1,813

    Re: Ascii Ansi Chr()

    All I can tell you is sFile = Replace(sFile, ChrW(241), "n") replaces ñ with n in a string, where it wasn't working without the W (and 241 was ± instead of ñ).
  22. Replies
    17
    Views
    1,813

    Re: Ascii Ansi Chr()

    ChrW() did the trick, after I looked up the correct number for all the non-English characters.
    Thanks.
  23. Replies
    17
    Views
    1,813

    Re: Ascii Ansi Chr()

    Thanks, that's exactly what I was confused about. I've been out of coding for almost 17 years, but I get an idea once in a while and fire up VB6. Just forgot so much. ChrW() does sound right now...
  24. Replies
    17
    Views
    1,813

    Re: Ascii Ansi Chr()

    All you have to do is Google extended Ascii or "what is the ascii for ñ" and you'll see the other 128 values.
  25. Replies
    17
    Views
    1,813

    Ascii Ansi Chr()

    I hope somebody can explain this to me.

    I was writing a function to clean up non-English characters from filenames when I discovered that none of them were working.
    In one example, the letter ñ...
  26. Replies
    1
    Views
    406

    Re: whether or not file exists

    Never mind. The filename I was producing was over the limit (256). I thought I had taken precautions to prevent the names getting that large, but this one was an anomaly.
  27. Replies
    1
    Views
    406

    whether or not file exists

    Hi all.
    I've been using this code to determine if a file exists for many years:

    If Dir("C:\test.txt") = then 'does not exist

    Today, I got an unexpected result when I ran a subroutine...
  28. Replies
    39
    Views
    86,182

    Re: how to delete file using visual basic 6.0

    Joacim (or anybody), this is a good method, but how do I know if the user clicked yes or no on the "Are you sure you want to....." dialog box?
    I know I could just check to see if the file is still...
  29. Replies
    15
    Views
    2,302

    Re: sorting by filename length

    All, thanks for the replies.
    Yes, Length refers to the time length of multimedia.
    I can't order alphabetically because all of the information tags on the filename come after the original filename....
  30. Replies
    15
    Views
    2,302

    sorting by filename length

    All,
    Sorry, this is not VB, but it is coding adjacent.
    I've written an app that adds lengthy text to filenames (with file details).
    I want to know if there is a way natively in Windows File...
  31. Re: webbrowser control's innerHTML is different from View Page Source

    (Posting again, got an error message). The problem I had was that the WB control is showing only IE source, whereas I was looking at the source in Google Chrome, which interprets the code...
  32. Replies
    11
    Views
    1,381

    Re: newer VS versions and subscriptions

    Thanks, Si.
    That's good advice. I don't mean to say that I'm opposed to being online.
    I just don't want to have to log into any platforms or subscriptions to have an IDE in which to develop.
    I...
  33. Replies
    11
    Views
    1,381

    newer VS versions and subscriptions

    Hi all.
    To start, I may be WAY off base on my understanding of this.
    As an old VB6 coder, I never really got into the later versions of VS.
    I got 2003 right after it came out, and dabbled with it,...
  34. webbrowser control's innerHTML is different from View Page Source

    Hi all.
    I never thought about it before, but the innerHTML property from a webbrowser control is very different from what shows up when you're in a browser and click "View Page Source."
    It never...
  35. Replies
    1
    Views
    719

    MS Speech Object Library (sync vs Async)

    Hi all.

    I've posted a few questions on issues with XVOICE (DirectSS), but I'm in the process of switching over to the MS Speech Object Library (SAPI).

    I've run into one problem that is probably...
  36. Replies
    6
    Views
    1,233

    Re: one more xvoice (text-to-speech) question

    I found it. I was either half asleep or I was looking under Components. I see some trade-offs. The voice is smoother with SAPI and I can select different voices from Control Panel, but the top...
  37. Replies
    6
    Views
    1,233

    Re: one more xvoice (text-to-speech) question

    That is interesting. I have read about the MS Speech Object, but opposite to you, I don't have that reference in my computer. If it isn't too much trouble, could you tell me what file it refers to....
  38. Replies
    6
    Views
    1,233

    Re: one more xvoice (text-to-speech) question

    No, I also found very little on it, but years ago, I used it in a number of apps I wrote in VB6. You can add it to your project under "components" > Microsoft Direct Text-to-Speech. It has always...
  39. Replies
    6
    Views
    1,233

    one more xvoice (text-to-speech) question

    Hi all.
    I've written an app in VB6 that uses the DirectSS component (XVOICE.DLL).
    It works fine, but I haven't been able to transfer the app to any other computer.
    The installer crashes for...
  40. Replies
    3
    Views
    892

    Re: direct text-to-speech

    Yes, I started with what we would assume normal values to be. When I couldn't find the limits of the values in either direction, I put in the absurd values to demonstrate that it seems to accept any...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width