I've encountered a problem writing the IDE (called Eduardo) that I've posted on the Files section. Eduardo uses a batch file (using SHELL as a function) to...
... Try direct call to CreateProcessA with flags = 1 which "hides" the console window (see ShellEx.inc in HotInclude and hide.bas in HotThing). :) Jim...
Thanks Doc! BTW, here's another solution (this one's from Andrew Shelkovenko from the Rapid-Q forum): id = SHELL("command.com /c " + batchfile$,0) I'll upload...
... I'm curious: couldn't you eliminate the need for the batch file by piping the compiler output to a file, and then parsing it directly from code? Something...
Hello, This email message is a notification to let you know that a file has been uploaded to the Files area of the hotbasic group. File :...
hotbasic@yahoogroups....
Jun 1, 2005 6:49 pm
7281
... You're absolutely right, and that's exactly what I did. id = SHELL("command.com /c " + batchfile$,0) was Andrew's suggestion, (in the original it was...
Hi Jim, all my attempts to get a running application with the new .dlg resource failed. If I include a dialog script (E.g. $RESOURCE TEST as "dialogtest.dlg)...
Hi, I'm trying to use $IFDEF to selectively compile blocks of code and I can't get it to work. It looks as if the $DEFINE didn't get recognized. Ex: $typecheck...
... Right. At present, user symbols in the $DEFINE list used for either $IFDEF or $IFNDEF need to be uppercase. This would apply to user symbols defined with...
... Thanks for info, Alex! With that input, I tested this with the "new GUI" in HotIDE. Turns out that both .mnu and .dlg resources have to be handled...
... Thank for the good news. ... Here is my first primitive dialog program which uses the sample dlg- file I posted here. '-----Start of code----- $apptype gui...
June 2 HotBasic 4.1i adds POPUPMENU (alias for MAINMENU) as a qualified type. Also, several recent issue reports (Alex, E.) were resolved. Cheers, Jim...
Hello, This email message is a notification to let you know that a file has been uploaded to the Files area of the hotbasic group. File :...
hotbasic@yahoogroups....
Jun 3, 2005 10:25 am
7291
Sorry, I feel this is trivial but - I saw this example in the help file for getting a list of files in a directory (in a console app) - seemed pretty ugly: r$...
... $apptype console dim firstfile as string dim nextfile as string dim mypath as string ' the files are in another directory mypath = command$(1) + "\*.txt" ...
Hi Jim I have found a problem with menu grayed. After I DIM the menu and menu items, I gray an item: mn21.grayed=true It works if I do that immediately after...
Philip Bister
philip.bister@...
Jun 3, 2005 5:25 pm
7294
Hey there Michael, Serve yourself, I hope this helps... its what you asked for!!! '``````````````````````````````````````````````` ' Demo ' Here by...
... Hey, Michael: The code above works, except that the very first file that is "found" is never displayed on the screen. I took the above, and rewrote it like...
... In addition to the suggestions already posted, please see DirTree.inc in HotInclude and the .Directory method in FORM Methods which could be used with an...
... I have a question regarding the .Directory method. After setting up a Combobox and a Listbox: ListBox1.directory("C:\",&H4000) <-- Populates the listbox...
... Nevermind, I had "sorted=false" in the combobox create statement(using HotVisual), which looks like it was blocking any additions. -- "Programming is like...
Thanks Jose very much for your kind help. Thanks also to AIR & Jim's answer. I've written a couple of personal utilities so far in HB and have been pleased...
... CB.Directory("c:\*.*",&H37) 'works in hotwin.bas Never used the &H4000 flag for "drives", but using the path of "C:\" doesn't seem to make intuitive sense...
... Thanks, Philip. I'm looking at this and have a partial fix. Meanwhile, I found after a .grayed statement, one can reassign the .caption (this sucks), and...
... Hi, AIR, depends on where you put it. Use of the sorted method will remove any contents of the listbox or combobox; therefore, it is usually the first...
... Hmmm... So....if I specify the sort method during the create code of the cb, at which point does it get destroyed? Prior to showing the form, or after? ...
... Again, suggest putting "sorted=false" first, after the create statement and for icing on cake add "ComboBox1.itemindex=0" after the .directory statement so...