I have that message when I try to double click the .exe.manifest
http://www.vbforums.com/attachment.php?postid=647125
Printable View
I have that message when I try to double click the .exe.manifest
http://www.vbforums.com/attachment.php?postid=647125
i would suggest you click open with and then choose notepad
It will just be a standard text file with a different extension used for xp system purposes
If you are trying to run the actual program by double clicking on this file then, you can't.Quote:
Originally posted by DaoK
I have that message when I try to double click the .exe.manifest
http://www.vbforums.com/attachment.php?postid=647125
Try to follow the guidelines on allapi.net website. You need to click on the actual ".exe" file rather than ".exe.manifest" file.
so....if you're planning on distributing the program, try making the attributes of the manifest file READONLY, HIDDEN, SYSTEM, so regular users can't see it.
...or you can just edit the desktop.ini file to hide it.:D
thx you :) it work great and it's sexy
See the difference between both, what I do not like is than 16x16 images in the ToolBar look 32x32 :(
http://www.vbforums.com/attachment.php?postid=647142
Never hear that ? How?Quote:
...or you can just edit the desktop.ini file to hide it
Here is the MSDN help about it : http://msdn.microsoft.com/library/de...sxmlfusion.asp
Hope it will give you more information :)
I used the manifest method to make my program look XP style, and it worked. There are two problems I'm having though. Whenever I move my mouse pointer over one of the controls (option buttons, check boxes, command buttons, etc.) the images on my form flicker. THe second problem is the background for my option buttons shows up as black instead of the color it is supposed to be. I don't have these problems when the manifest isn't used.
http://www.neocodexs.com/opt_prob.jpg
It is actually possible, using SetWindowRect i thinkQuote:
Originally posted by Motoxpro
nope....ur talking about making then rounded? nope....you have to just make a image insted of a button
heh works like a charm!!!
i like this :)
but don't forget to add this code to all the forms in your project:
VB Code:
Private Declare Function InitCommonControls Lib "comctl32.dll" () As Long Private Sub Form_Initialize() InitCommonControls End Sub
or if you're so inclined, make that function a public function so u don't hafta declare it in each form...
but don't forget that code, otherwise it will not work! nothing will happen if u open the app and u don't have that code !
umm also make sure it's form_Initialize not form_load....
nice code though :)
Quote:
Originally posted by da_silvy
It is actually possible, using SetWindowRect i think
i didnt know about the manifest when i posted that
I never put that :
Private Declare Function InitCommonControls Lib "comctl32.dll" () As Long
Private Sub Form_Initialize()
InitCommonControls
End Sub
And it work for me ? What that do more ?
hmmm....i did it
No senseQuote:
hmmm....i did it
Is not it "SetWindowRgn" that is used to create a region of different shapes - other than the rectangle ones?Quote:
Originally posted by da_silvy
It is actually possible, using SetWindowRect i think
Yes, you are correct
I was prolly too tired when i posted that
Motox
The manifest would make no difference to the ability to use SetWindowRgn on a button
You have to choices:
1) Either include the code
Private Declare Function InitCommonControls Lib "comctl32.dll" () As Long
Private Sub Form_Initialize()
InitCommonControls
End Sub
2) or you can just ignore this code but keep in mind that the last control you put in the form must be a common control one
That's why it worked for you Daok. I bet that if you open your application and include one more command button your compiled exe won't run :)
Also the InitCommandControls function call doesn't need to be in every form. Just make the declaration public
Wh1t3w0lf
:DQuote:
or if you're so inclined, make that function a public function so u don't hafta declare it in each form...
the point of that?
:p
Well, I put some option buttons inside a frame, and if I use the manifest file the option buttons shows black...
I also put the InitCommonControls thing, but is not working...