Page 1 of 2

[FIXED] Visual Designer doesn't work under Vista?

Posted: Tue May 01, 2007 1:34 pm
by T-Light
Ran a search to see if this had been mentioned before but I can't find anything.

Visual Designer (Alpha 15 build 651) just doesn't want to play under windows Vista (Premium).

It opens OK, let's you set the size of the page, but once you select a gadget and try and draw it on the empty document it freezes for several minutes before allowing you to add another gadget.

I've tried running the program under administrator with the same results.

I have no problems with running PB4 on vista and I haven't seen any problem with my own GUI apps.

On this machine the pure basic folder is not inside c:/program files so I can't see it being a problem with permissions although I could be wrong.

Anyone else suffering from this?

My system
------------
Core 2 Duo 2.0Ghz laptop
Windows Vista Premium
2GB Memory
160 GB Hardrive
nVidia 7600 gfx

Posted: Tue May 01, 2007 2:11 pm
by milan1612
Hi,
I ran a test under my Vista Ultimate and I didnt't see any bugs
or problems, except a performance lack while resizing any of the
windows or controls.
Regards, milan1612

PS: I've disabled the User Account Control

Posted: Tue May 01, 2007 4:39 pm
by T-Light
Thanks. :)

I'll try the UAC or a script I found somewhere to give a program full control. I've even tried running it under xp sp2 mode and still nothing, It seems that once a gadget has been created the program freezes until I alt tab to something else and come back, even then it's a dicey affair, it only rarely gives me control and once you've added another gadget it freezes again :( .

Posted: Tue May 01, 2007 4:41 pm
by Joakim Christiansen
T-Light wrote:or a script I found somewhere to give a program full control.
Anyone know how to do this in PB? I really need it! (sorry for being of topic here)

Posted: Tue May 01, 2007 5:11 pm
by T-Light
OK then, I've tried switching off the UAC and the full rights program script and it's a no go. Wonder if it could be an OpenGL driver issue?

Joakim Christiansen
Anyone know how to do this in PB?
The script (manifest file) is this
Visual Designer.exe.manifest

Code: Select all

 <?xml version="1.0" encoding="UTF-8" standalone="yes"?><!-- Copyright © 1981-2001 Microsoft Corporation --><assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"><assemblyIdentity processorArchitecture="x86" version="5.1.0.0" name="Visual Designer" type="win32"/><description>Visual Designer</description><trustInfo xmlns="urn:schemas-microsoft-com:asm.v3"> <security>  <requestedPrivileges>   <requestedExecutionLevel    level="highestAvailable"    uiAccess="false"   />  </requestedPrivileges> </security></trustInfo></assembly>
Would be easy enough to write a quick routine to kick this out replacing the 'Visual Designer' entries with what you need, although I'm pretty sure that's not what you're after :)

Posted: Tue May 01, 2007 5:18 pm
by T-Light
Wow this is going to be a real pain, had a couple of things to do today that I can spend a couple of hours coding by hand but in a week or so I'm really going to need this :(

Anyone?

Posted: Tue May 01, 2007 10:03 pm
by Hydrate
Odd, im running Vista Ultimate with no issues, have you tried setting it to run in compatability mode for service pack 2? Also, try going into task manager and setting the process priority to real time, you never know, you might just be having troubles with speed that are hard to notice.

Posted: Wed May 02, 2007 1:32 pm
by T-Light
Thanks Hydrate. :)

I tried running in XP 2 compatabilty mode yesterday afternoon with no joy. I've just tried changing the priority mode and I'm getting...
The operation could not be completed.
Access is denied
Tried running in admin mode then changing the priority and I'm getting the same thing. Weird.

Going to have to look into this further (I'm still pretty new to vista).

Posted: Wed May 02, 2007 2:05 pm
by milan1612
T-Light wrote:(I'm still pretty new to vista)
We are all new to Vista :wink:

Posted: Wed May 02, 2007 3:22 pm
by T-Light
milan1612 -
We are all new to Vista :wink:
Aint that the case, can't even find anything on Google about 'set priority' throwing up an 'Access is Denied' exception.

OK then here's what's happening in full along with everything I've tried, just to see if it rings any bells.

---------------------------------------------------------------------
Run Visual Designer.exe (Program opens and runs without problems)
Click on the string gadget (gadget highlights and is ready for use)
Left click over 'Window 0' and draw out the string gadget then release the mouse button.

At this stage the sizing handles appear on the string box and the code appears in the code viewer. And that's it. The program has frozen.
The windows can't be selected, the gadgets can't be selected, the icon in use for the mouse pointer doesn't change shape no matter where on the visual designer interface it is hovered over. Even the Visual Designer interface itself can not be resized, minimised, maximised or closed.

Occasionaly, the interface returns to normal after alt tabbing through other open programs but this isn't allways the case. Even when control is fully returned, as soon as another gadget is drawn on the window it freezes all over again.
----------------------------------------------------------------------

Here's what I've tried so far...
----------------------------------------------------------------------
Installing the app in c:/Purebasic rather than C:/Program files/Purebasic
Running the program in Administrator mode
Running the program in Win XP sp2 mode
Switching off the User Account Control
Switching off the Aero glass for the program.
Reinstalling Visual Designer from the original zip just to make sure my install wasn't corrupted.
Running the program at a higher priority, but Vista throws an 'Access is denied' exception.
----------------------------------------------------------------------

Really should have dual booted this system :(

Anyone have any recomendations for dual booting with ubuntu on a laptop?

Posted: Wed May 02, 2007 3:34 pm
by milan1612
Any background programs running? (Antivirus Software, Firewall...)?

Posted: Wed May 02, 2007 3:52 pm
by T-Light
Firewalls just the Vista Default, I don't have any antivirus software on this machine yet.

Think I'll try booting in safe mode and see if it runs :)

Posted: Wed May 02, 2007 9:01 pm
by Joakim Christiansen
Doesn't work here either, I opened a source I had and got it's window, then I tried to move some gadgets and it just froze! (I'm using Vista Ultimate with no UAC)

Edit:
I actually see that right-clicking two times at the caption in the taskbar helps unfreeze it. But when I try to move a gadget it freezes again. :twisted:

Posted: Wed May 02, 2007 9:31 pm
by milan1612
But why do I don't have such problems :?:

Here's my system (Yes, it's slow and I'm proud of :) )
-Athlon XP 2200+
-1024 MB MDT RAM
-NVIDIA Geforce 7600 GT
-ASUS A7N8X-X Mainboard
-Vista Ultimate with latest drivers installed

Anyone else who has those problems?

Posted: Thu May 03, 2007 3:04 pm
by Joakim Christiansen
Everybody with Vista should test this, it's VERY important having a visual designer for both Vista and XP.