The following Sub works fine 9 out of 10 times its called. However, occasionally the dialog box will not appear. A second call to the Sub and it does. There...
... The .flags property is part of the result of the dialog. On the second call, you are using a result, in part, above, to set the flags for the current...
... I have the following defined else ware in the .bas file: $Define OFN_ENABLEHOOK &H20 $Define OFN_EXPLORER &H80000 Is this the constant you are referencing?...
... From the manual, we have: ===== Default = &H205800 for OPENDIALOG and &H202806 for SAVEDIALOG obtained by OR combination of these values: $DEFINE...
Hello everyone, I am trying to read the registry but cannot read anything. Tried everything but to no avail. pls help me.. I am trying to read commonfiles...
... Hi, Shawn. The hotreg.bas download shows all. E.g., you will see that .ReadString applies only the first value, as shown below: $APPTYPE CONSOLE 'code ...
... Another way to get this path: environ$("CommonProgramFiles") The local environment variables are often overlooked when looking for info like this. For more...
... Thanks a lot friend but i want to access some more keys and be able to write to registry. I have checked hotreg.bas and other examples and alsp the ...
... I think, as shown in hotreg.bas, is open the key with multiple items, loop through the items to find reg.Name="MenuShowDelay" and if found, then reg.Value...
... Ah, Jim beat me to it! Anyway, I took this from the Files/Code Section, from something I uploaded a long time ago (regread.bas): ==== $APPTYPE CONSOLE:...
... Hey, we're beating each other ... with wet noodles and praise! I was too lazy; your code is the essence of it and indeed Shawn might want to package it as...
Hi all: While tinkering today I recreated the classic game Pong in HotBasic and thought I'd share it with everyone for a laugh. I guess I should call it...
This is kind of weird. I have an application that has a main form with a child form. The child form is created by nesting CREATE statements. What's weird is...
... Please try clicking the main form in this to see if this meets your description of desired behavior. =====forms.bas create f1 As FORM caption="main" ...
As always, ideas aplenty. (They're easier than coding for sure) The hotbasic community is very untapped as a potential. How about an ideas board for how to...
I was going to ask a question thinking HB had date issues. After more testing it seems, HB is again in the right. Excel datevalue seems to think 1900 is a leap...
Hello everyone: I'm curious to know if anyone has experienced any portability issues with HB. Specifically, has anyone had any troubles where an application...
Norm, Try it on another machine at work. Your code worked Super here. Also try your working Home compiled exe at work. Eliminate HB as the issue. ... Cheers, ...
... Don't have a wheel mouse, but... Your report of different behavior on different machines for an animated game/display, especially using a TIMER at 2 msec...
... Thanks for the comments, Jim. Yes, clearly, the program could be written more efficiently. It was just a 30 minute exercise...but I think you're missing...
And another issue...I see that the default height of bitmaps is 64. It seems that in HB 5.2e, setting it to anything taller (80, 128, 255) has no effect. The...
... Aside from any speed issues, my logic is simple: it appears that you are misusing OnMessage and TIMER, for starters. As such, you have a demo of...
... Not true. ... Maybe not; your issue is incorrect, unreasonable code, I think. You are now a game writer! You now know that computers cannot do an infinite...
In light of Norm's interesting posts on animation, here is HOW TO KNOW IF YOU HAVE RE-ENTRANCE: At the beginning of your procedure (SUB), write this sub MyProc...
... Thanks...I'll investigate this. I remain convinced that the code is fine as is. It now runs as designed on three test machines (I have another laptop)...
... Simple: print all the messages and see what you have. How about all the paint messages and whatever. The solution is simple: do not expect reliable...