It is currently Thu Jun 20, 2013 7:05 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 1533 posts ]  Go to page Previous  1 ... 89, 90, 91, 92, 93, 94, 95 ... 103  Next
Author Message
 Post subject: Re: PureForm gone crazy..
PostPosted: Sun Apr 10, 2011 12:54 am 
Offline
Addict
Addict

Joined: Tue Feb 22, 2011 1:16 pm
Posts: 1480
What happens if you rename the Help file so it can't be found?

_________________
Microsoft Visual Basic only lasted 7 short years: 1991 to 1998.
PureBasic: Born in 1998 and still going strong to this very day!


Top
 Profile  
 
 Post subject: Re: PureForm gone crazy..
PostPosted: Sun Apr 10, 2011 1:12 am 
Offline
Addict
Addict
User avatar

Joined: Wed Feb 17, 2010 12:00 am
Posts: 1008
Location: Anderson Island, WA
MachineCode wrote:
What happens if you rename the Help file so it can't be found?


it loads my browser, 3 times with
http://gnozal.ucoz.com/PureFORM/PureFORM_Manual.htm

browser then has focus, I switch back to pureform and again, it loads up 3 more browser pages.....


Top
 Profile  
 
 Post subject: Re: PureForm gone crazy..
PostPosted: Wed Apr 13, 2011 9:18 am 
Offline
PureBasic Expert
PureBasic Expert
User avatar

Joined: Sat Apr 26, 2003 8:27 am
Posts: 4231
Location: Strasbourg / France
Did you install some software / tool that may mess around with shortcuts ?

PureFORM starts the help if (GetAsyncKeyState_(#VK_F1) & 32768) is true.

_________________
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).


Top
 Profile  
 
 Post subject: Re: PureFORM 1.99 (yet another FORM designer)
PostPosted: Sat Apr 30, 2011 10:15 pm 
Offline
User
User
User avatar

Joined: Sun Dec 17, 2006 5:30 pm
Posts: 44
Location: Milwaukee, WI, USA
I am using build 419 and having trouble with the Code Infuser. I keeps getting corrupted somehow. Seems very touchy.
Overall, though PureFORM is cool. I'm just having a bump in the road here.

DB

_________________
- DB


Top
 Profile  
 
 Post subject: Re: PureFORM 1.99 (yet another FORM designer)
PostPosted: Mon May 02, 2011 10:08 am 
Offline
PureBasic Expert
PureBasic Expert
User avatar

Joined: Sat Apr 26, 2003 8:27 am
Posts: 4231
Location: Strasbourg / France
purebuilt wrote:
I am using build 419
That's odd ; latest public build is 417 iirc.
purebuilt wrote:
and having trouble with the Code Infuser. I keeps getting corrupted somehow.
If you could post the steps to reproduce the issue, I would take a look.

_________________
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).


Top
 Profile  
 
 Post subject: Re: PureFORM 1.99 (yet another FORM designer)
PostPosted: Mon May 02, 2011 3:46 pm 
Offline
User
User
User avatar

Joined: Sun Dec 17, 2006 5:30 pm
Posts: 44
Location: Milwaukee, WI, USA
Sorry, build 417.

The issue I believe happened when I had set a code infusion and then changed a menu constant. It seems to not check if a device handle exists before trying to write to it. Once I deleted all the code infusion elements I was able to put them back for everything but the menu (which I am still developing). They are working but I have not added any menu items code infusions back. I love the tool though and the code infusion idea is great. I wish PB had a form designer to this as well. Otherwise changes in the UI destroy your code.

DB

_________________
- DB


Top
 Profile  
 
 Post subject: Re: PureFORM 1.99 (yet another FORM designer)
PostPosted: Sat May 07, 2011 7:53 pm 
Offline
User
User

Joined: Wed Nov 10, 2010 11:44 am
Posts: 23
Location: Germany, Niedersachsen
Hello Gnozal,

can you, or would you answer this questions?

Thanks.

1.) pureFORM consists auf only 3 files. But witch other files are absolutly nessessery?

2.) what exakt is going on when i press in the original pb ide the command "make EXE"?

Which files in which format will go with which parameter to which files (linker....compiler....)?

3.) Dito, when press in pureFORM the F6 Command, and/or the F7 Comannd.

Thanks

_________________
Best regards.
John(ny)
www.loetseite.de
less is more :-)


Top
 Profile  
 
 Post subject: "Error message : ... not a valid x86 executable"
PostPosted: Thu May 12, 2011 1:17 pm 
Offline
User
User

Joined: Sun Oct 24, 2004 9:25 am
Posts: 61
Hi Gnozal-
gnozal wrote:
ar-s wrote:
Hum that is strange,
i have check my directories, PureForm is in the good one (PB 4.51 x86 / plugin (and root as well), the error message :
Why does it take the x64 directory to work ?
It seems that PureFORM has detected your x64 installation.
You can change the compiler path in Preferences : set the path to the x86 compiler.

I encounter the same problem, and if I set the Compiler path in Preferences,
PureFORM seems to delete it again when I start it the next time - the error pops up (with obviously an empty string for compiler path displayed - , but pureform will then run after clicking the error away).

Looking into preferences after that indeed shows an empty field for compiler path, whereas if I look into PureFORM.ini before I (re-)start Pureform, the previously entered Path had obviously been recorded correctly.

AND it seems to be looking for the compiler on the SD card Drive Letter ( I searched all Registry and all .ini Files but couldn't locate a corresponding entry at all (I actually hav run PB from the SD card some times in the past).

Environment:
Win 7-64 Home Premium
PureFORM 1.99 Build 417
PureBasic 4.51 (x86) final release

Yes, I HAD had installed 4.60ß1 x64,
but after reading the previous poster's posting and your replies,
I uninstalled it through its uninstaller.
The error remains the same.

I have - of course - also re-installed PureBasic 4.51x86 and PureFORM
after uninstalling the x64 version of PB. Didn't help!

_________________
Is this an artifact or should it be disposed of ?


Top
 Profile  
 
 Post subject: japbe+pureform - overwriting code?
PostPosted: Sun May 15, 2011 4:44 am 
Offline
Addict
Addict
User avatar

Joined: Wed Feb 17, 2010 12:00 am
Posts: 1008
Location: Anderson Island, WA
I am not really sure how I keep doing it -- but several times I have ended up with the "form code" inside of a code-infusion window, and my changes lost..

I'm sure it's a "don't push that button" sort of thing -- but honestly, i don't know what I do to get it in there. is this a common problem or unique to me?

I open japbe then open up my pureform project, made some changes, add some code infusion, hit save; then "update code" and then return to japbe (I thought it integrated tighter and wouldn't have to, but) and then "reload code", and try to run.

at this point -- sometimes it works as expected, other times, my "modified" code in japbe is gone, and then the code sort of "repeats itself" w/in the object I most recently did a code infusion....


Top
 Profile  
 
 Post subject: Re: "Error message : ... not a valid x86 executable"
PostPosted: Tue May 17, 2011 8:33 am 
Offline
PureBasic Expert
PureBasic Expert
User avatar

Joined: Sat Apr 26, 2003 8:27 am
Posts: 4231
Location: Strasbourg / France
Captn. Jinguji wrote:
I encounter the same problem, and if I set the Compiler path in Preferences,
PureFORM seems to delete it again when I start it the next time - the error pops up (with obviously an empty string for compiler path displayed - , but pureform will then run after clicking the error away).

I can only repeat what I said : set the path to the x86 compiler in Preferences.
If it doesn't work (I can't think on any reason), you may modify PureFORM.ini directly : FORM_CompilerPath = C:\YourPBx86path\Compilers\pbcompiler.exe

_________________
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).


Top
 Profile  
 
 Post subject: Re: japbe+pureform - overwriting code?
PostPosted: Tue May 17, 2011 8:43 am 
Offline
PureBasic Expert
PureBasic Expert
User avatar

Joined: Sat Apr 26, 2003 8:27 am
Posts: 4231
Location: Strasbourg / France
jassing wrote:
I am not really sure how I keep doing it -- but several times I have ended up with the "form code" inside of a code-infusion window, and my changes lost..

I'm sure it's a "don't push that button" sort of thing -- but honestly, i don't know what I do to get it in there. is this a common problem or unique to me?

I open japbe then open up my pureform project, made some changes, add some code infusion, hit save; then "update code" and then return to japbe (I thought it integrated tighter and wouldn't have to, but) and then "reload code", and try to run.

at this point -- sometimes it works as expected, other times, my "modified" code in japbe is gone, and then the code sort of "repeats itself" w/in the object I most recently did a code infusion....

If you run PureFORM as a jaPBe plugin, you should not have to reload the code, PureFORM does it automatically before quiting (if you checked 'Reload code in jaPBe after PureFORM closes' in Preferences.
Note that all code between two Start/End tags is replaced.

PureFORM.chm wrote:
Full source code update : use function 'Update code in source'

1. Enable the code update feature :

- In Preferences, check 'Add PureFORM tags to generated code'
. The first time, save the generated code with 'Save as code' in the main menu.
. The next time (after you changed the form) you can update the source with 'Update code in source' in the main menu.

2. Enable jaPBe reloading changed code :

- In Preferences, check 'Reload code in jaPBe after PureFORM closes'

Then it should work like this :
3. Open 'MyCode.pb' in jaPBe.
4. Start PureFORM as jaPBe plugin : it will open the project 'MyCode.pbf'.
5. Modify the form.
6. Use 'Update code in source' to update the source.
7. Exit PureFORM.
8. 'MyCode.pb' is reloaded when you quit PureFORM (if project has changed and code has been updated).

_________________
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).


Top
 Profile  
 
 Post subject: Re: PureFORM 1.99 (yet another FORM designer)
PostPosted: Tue May 17, 2011 8:57 am 
Offline
PureBasic Expert
PureBasic Expert
User avatar

Joined: Sat Apr 26, 2003 8:27 am
Posts: 4231
Location: Strasbourg / France
Update (build 418)

Changes :
- Custom gadget selector is now a drop down menu in the gadget tool bar
- Added support for OpenSubMenu(Text$ [, ImageID]) in the generated code if detected PB version >= 4.60
- You may add the CanvasGadget as custom gadget :
  Name : CanvasGadget
  Init code : <empty>
  Create code : CanvasGadget(%id%, %x%, %y%, %w%, %h%, %[flags]%)
  Free code : <empty>
  Flags : #PB_Canvas_Border|#PB_Canvas_ClipMouse|#PB_Canvas_GrabMouse|#PB_Canvas_Keyboard|#PB_Canvas_DrawFocus
  Comment : CanvasGadget [Purebasic 4.60+]

_________________
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).


Top
 Profile  
 
 Post subject: Re: PureFORM 1.99 (yet another FORM designer)
PostPosted: Tue May 17, 2011 10:17 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Sat Jun 28, 2003 12:01 am
Posts: 352
Hi!

I copied the new version on my pc (Windows XP SP2 32 bit).

If I call PureFORM.exe an error message is shown :-(

Messagebox titel: Invalid EXE
Messagebox text: is not a valid x86 executable !

If I click on OK button, PureForm starts its GUI :-)

cu,
guido

_________________
Windows 8 / Windows 7 / Windows XP (als VM)
PB Last Final / Last Beta Testing


Top
 Profile  
 
 Post subject: Re: PureFORM 1.99 (yet another FORM designer)
PostPosted: Tue May 17, 2011 10:53 am 
Offline
PureBasic Expert
PureBasic Expert
User avatar

Joined: Sat Apr 26, 2003 8:27 am
Posts: 4231
Location: Strasbourg / France
helpy wrote:
I copied the new version on my pc (Windows XP SP2 32 bit).
If I call PureFORM.exe an error message is shown :-(
Messagebox titel: Invalid EXE
Messagebox text: is not a valid x86 executable !

You can change the compiler path in Preferences.
You may also modify PureFORM.ini directly : FORM_CompilerPath = C:\YourPBx86path\Compilers\pbcompiler.exe.

_________________
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).


Top
 Profile  
 
 Post subject: Re: "Error message : ... not a valid x86 executable"
PostPosted: Tue May 17, 2011 11:17 am 
Offline
User
User

Joined: Sun Oct 24, 2004 9:25 am
Posts: 61
gnozal wrote:
I can only repeat what I said : set the path to the x86 compiler in Preferences.
If it doesn't work (I can't think on any reason), you may modify PureFORM.ini directly : FORM_CompilerPath = C:\YourPBx86path\Compilers\pbcompiler.exe


Gnozal, I know you are a very nice guy, so I won't answer "...and I can only repeat that..." ;)
Take my word please, I tried your suggestion (several times) already.

Let me put it this way:
* Is there corresponding code at all in PureFORM that actively removes the Path entry from the settings and subsequently from the .ini
(be it deliberately or casually by putting "" where a non-empty path string should rather be) when it starts up, reads the .ini file and doesn't like what it sees at the target point in the file system ?
(I really can't think of any malware or similar outside stuff of PureFORM that concerns itself with producing this "oh so funny" misbehaviour )

* Is it a secret how PureFORM actually arrives at the conclusion that the respective file is " not a valid x86 executable", or could you share
the criteria with those of us who are concerned with the problem (e.g. Helpy as well as me ) ?

* I checked more closely, I would have to have at least one USB stick plus the sd card plugged into my notebook to actually have
drive letter "F:" assigned at all ( something I very rarely do, and almost definitely not at all when I'm using PB or Pureform ).
Could possibly any "default" reference path "F:\..." be hidden deep, deep down in PureFORM's sources, somehow getting applied because
some "if-then"- or "select" - construct falls through "the floor of all anticipated conditions" for whatever reason ?
(No especially french letters visible in the path to the "ghost" compilerfile path, though).

Can I do anything more to track down the problem ?

Hope my wild speculations of what could possibly be are not arriving at your end as offensive,
I really am at a loss what could be a reason on the computer near me ;).
The windows event logs are quiet on the matter, no "you need authorization for what you are trying to do", nothing.

Kind regards
CJ

_________________
Is this an artifact or should it be disposed of ?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1533 posts ]  Go to page Previous  1 ... 89, 90, 91, 92, 93, 94, 95 ... 103  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye