Recent Posts

Pages: 1 ... 7 8 [9] 10
81
EZGUI 5 support forum / Re: Strange event
« Last post by Brian Reynolds on July 06, 2022, 07:14:26 pm »
Thank you for your reply, Frank.
I've reinstalled PB10 for the umpteenth time and it's running okay at present.
The next time I have a problem I shall carry out your recommendation.
I am running Reimage (Restoro) as a Virus checking programme.
Kind regards,
Brian Reynolds.
82
EZGUI 5 support forum / Re: Strange event
« Last post by Frank Kelley on July 06, 2022, 08:12:32 am »
Brian:

Do you have any other third-party applications running in the background (e.g., security-type programs)? I use MalwareBytes on my PC (great program) but from time to time I get a compile error and the compilation aborts. This can happen even compiling when no changes to the source have been made.

After much, much trial and error, I've traced this issue to MalwareBytes' "Ransomware Protection" feature. Now, whenever a compile error of this nature occurs, I disable the "Ransomware" protection option and compiling is then error-free. Something similar on your machine might be interfering with the compile process.

(I did report this issue to MalwareBytes but apparently no action has been taken by them.)
83
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.

84
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.
85
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.
86
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?
87
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.

88
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.
89
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).

90
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.
Pages: 1 ... 7 8 [9] 10