May 03, 2024, 12:36:42 PM

News:

Own IWBasic 2.x ? -----> Get your free upgrade to 3.x now.........


Recent posts

Pages1 2 3 ... 10
1
General Questions / Drop File
Last post by Brian - Today at 05:19:13 AM
Has anyone an idea how to drop a file on a program icon, and then that program loads that file?

I want to be able to drop an image file on to my program icon, and then display the image. I know how to drop a file onto an open window, but not the program's icon

Brian
2
General Questions / Re: Any fix soon for IWB file ...
Last post by billhsln - April 25, 2024, 11:27:54 AM
Just as a note.  I copied my files from Win 10 Pro to my new Win 11 Pro machine.  I did NOT install IWB, I just copied the files to where it existed on my old laptop.  I tried a compile, and it seems to have worked.  I haven't tested the executable yet, but the compile did work.

I did try to install it before, but I noticed that the example files end up in an APPS directory which usually requires admin access to work in.  Maybe that is the problem?  Since I copied my source data to the new machine, I put it under where it exists on the Win 10 machine.

C:\Users\Public\Documents\IWBasic\MyProgs

I wonder if that would make a difference?

Bill
3
General Questions / Re: Editor Options problem
Last post by Brian - April 18, 2024, 06:40:35 AM
Bill,

You could always copy IWBDev.ini in the \bin folder from your old PC to the new one. The Compiler options are in that file, as well

Brian
4
General Questions / Editor Options problem
Last post by billhsln - April 17, 2024, 10:50:13 PM
I installed IWB on a new machine, but my problem is that the Editor Options dialog is way too big and I can get to the options to close the dialog.  Also the Compiler Options:Flags does not scroll.  Is there some way to fix this?

Thanks,
Bill
5
GUI Central / Image File Request
Last post by Brian - April 16, 2024, 08:39:39 AM
Hello,

Here's another simple image viewer from Steve Boothman (bevets, RIP). It can display bmp, jpg, gif, ico, cur and ani images, and you can set the scaling on the fly. This version starts at your GETSTARTPATH

If you need to recompile, you will need Steve's Control_Pak stuff. I must admit it took me some time to make it run, because he programmed it for EBasic, and some stuff in IWBDev is already there

Exe included

Brian


6
General Questions / Re: Folders and Files
Last post by Brian - April 07, 2024, 05:26:45 AM
Yes, I have seen that, Clint, thanks. What I was hoping for is to get the results of the SHBrowseForFolder into a Treeview without actually showing the BrowseForFolder dialog

Brian
7
General Questions / Re: Folders and Files
Last post by ckoehn - April 06, 2024, 06:18:05 PM
There is this example in the IWBASIC Example folder.

Later,
Clint

8
General Questions / Re: Folders and Files
Last post by Brian - April 04, 2024, 04:17:55 AM
Found some Powerbasic code to have a play with later
Brian
9
General Questions / Re: Folders and Files
Last post by Egil - April 03, 2024, 12:47:04 PM
Horst Schaeffer have written a smart little tool doing exactly that. I beleive it is written with PureBasic. The program is called "MemPad", and can be found on hiw webpage:
https://www.horstmuc.de/win.htm

If I was going to write such a tool, I would first call the FolderFind routine above, and then inspect the returned buffer line by line.
If the specific returned line is a file, write it to the first branch of a TreeView and if it is a folder put the returned buffer on hold and call the FolderFind routine again using a buffer with a second name and do the same with this new buffer until the end is reached, and then continue with the first buffer again.

In this way you will be able to fill in rather complex TreeViews. And I really beleive that the author of MemPad has done the coding in a similar way.

Should be interresting to try something like this, but that has to wait till I'm back home again ( in seven weeks). Or maybe you can try a day you become extra inspired??


Regards from Trondheim.

Egil
10
General Questions / Re: Folders and Files
Last post by Brian - April 03, 2024, 07:01:02 AM
Good effort, Egil! But what I really want is for drives and folders to be in their own Treeview control. Anyway, here's your code converted to IWB, if anyone is interested

Brian
Pages1 2 3 ... 10