Recent Posts

Pages: 1 ... 5 6 [7] 8 9 10
61
EZGUI 5 support forum / Re: Strange event
« Last post by Chris Boss on June 20, 2022, 03:07:32 pm »
Don't assume it is a Windows 10 problem. I have been using PB 10 on Windows 10 for some time without problems.
Make sure you log into Windows using an account with administrator rights. Windows gets weird about working with folders which are not in the user area when not in admin mode.

Consider that  anything may be the cause, not simply Windows or even PB 10 at that. Things like antivirus software and anti-malware software can do strange things.

Don't assume the obvious things.

Yours is not a typical problem experienced by PB users.

62
EZGUI 5 support forum / Re: Strange event
« Last post by Brian Reynolds on June 19, 2022, 09:32:41 pm »
I am having trouble reinstalling my PBWin10. I am running Windows 10. When I compile code, the result does not appear on the screen, even though I get the message:
Successfully created "C:\SheetMusic\SheetMusic.exe".
If I attempt to run the "exe" file, it doesn't work either.
I have been using Windows 10 and PBWin10 for a few years without problems.

I have gone to Compatability and the list offers the following choices:

Windows 95
Windows 98/ Windows Me
Windows XP (Servide packs 2 and 3)
Windows Vista
Windows Vista (Service Packs 1 and 2)
Windows 7
Windows 8

There is no Windows 10 in the list.

Can you suggest a setting? It doesn't work on any of the above.

I'm beginning to wonder if one of the recent updates I have had from Microsoft is causing the problem.

NB: I have also posted this on the PB site.
63
EZGUI 5 support forum / Re: EZ_FListBox
« Last post by Chris Boss on June 03, 2022, 10:44:18 pm »
The Designer generates the ID constant based on the user defined control name you define in the property dialog.

The codeclips were not generated by the designer and the name is what I wrote it to be.
64
EZGUI 5 support forum / EZ_FListBox
« Last post by Brian Reynolds on June 03, 2022, 08:51:09 pm »
I am having problems with EZ_FListBox.
I note in Codeclip the FListBox is entered as:
Code: [Select]
    EZ_FListBox %FORM1_LISTBOX1, 7, 2, 30, 17, "", "STV"
When I enter a FListBox in the designer, it produced:
Code: [Select]
    EZ_FListBox %FORM1_FLISTBOX1, 7, 2, 30, 17, "", "STV"
when it is compiled.
Is there any reason for the difference?
65
EZGUI 5 support forum / Re: EZ_GetImageSize
« Last post by Chris Boss on May 29, 2022, 08:57:18 pm »
EZGUI can not load image files other than Bitmaps (and icons, cursors).

The code you are referring to was based on code posted by Dan Ginzel which uses GDI+ API's to load JPG, PNG, etc and then return an EZGUI Picture string.

The code was on the forum, but I lost all the forum posts when upgrading the forum and have yet been bale to restore any of the old posts.

66
EZGUI 5 support forum / Re: EZ_GetImageSize
« Last post by Brian Reynolds on May 29, 2022, 06:21:32 pm »
That's odd. I got the following clip from your website a fair while ago but its not the complete info that was on the site. I can't find the complete info now. It was for loading files other than .BMP, such as .JPG, .PNG, etc. I used it a lot:

EZ_GetImageSize F$, W&, H&
Reads an image file and returns the size (width and height) in pixels, without loading.
F$ is the filename (full path) of any Image file windows supports (ie. JPeg, PNG,
GIF)
W& is a long variable to return the width in pixels
H& is a long variable to return the height in pixels
P$ = EZ_LoadImage (F$, W&, H&, QFlag&)
Loads an image file.
F$ is the filename (full path) of any Image file windows supports (ie. JPeg, PNG,
GIF)
W& is the requested width of the image (in pixels)
H& is the requested height of the image (in pixels)
QFlag& if set to non-zero (1) requests best quality possible
If W& and H& are set to -1 (or even zero) then the routine will use the actual size of
the image on file.
The return value (P$) is a valid EZGUI Picture string similiar to the return value of
EZ_LoadPicture.
67
EZGUI 5 support forum / Re: EZ_GetImageSize
« Last post by Chris Boss on May 29, 2022, 05:58:31 pm »
No such command in EZGUI.

Likely you may have used a function wrapper for other commands which you found on the forum.

Often when i write such a wrapper function I name it with the EZ_ prefix.

The command you need is:

 EZ_GetBitmapInfo hBmp&, W&, H&, PixelBits&, DIBPtr&

This will require calling the EZ_ImageHandle function to get an actual Bitmap handle from an EZGUI Picture name string (ie. EZ_LoadImage returns an internal name EZGUI uses to track a bitmap).

68
EZGUI 5 support forum / EZ_GetImageSize
« Last post by Brian Reynolds on May 29, 2022, 12:17:31 am »
I have had to reinstall EZGUI50pro and I can't find any details on the use of EZ_GetImageSize.
This may be an update after I bought EZGUI50pro.
Help required.
69
EZGUI 5 support forum / Re: Strange event
« Last post by Chris Boss on May 26, 2022, 08:57:16 pm »
That is not normal and surely not a problem with EZGUI.

Maybe a problem with the PB IDE, possibly some system corruption (ie. memory).

I would reboot your PC and try again. If it is temporary because of some kind of memory corrupt that should fix it.

70
EZGUI 5 support forum / Strange event
« Last post by Brian Reynolds on May 26, 2022, 07:22:42 pm »
I have come across something very weird when compiling code.
When I click on the compile button it takes a fair while to actually do anything and when it does it goes to the PowerBasic Home Page.
This even happens when I try to compile one of your Codeclips.
I've never had this happen before and I can't figure out why it happens.
Can you offer a suggestioon to fix it?
Pages: 1 ... 5 6 [7] 8 9 10