How i can make system default buttons using vb6 I mean the application will show the system default button on Windows XP Windows 98 2000 Vista.
I know i can do this with vb.net but i do't like .net so any suggestions !
Three answers:
answerseeker
2008-01-23 00:19:40 UTC
First you need to create a manifest file:
version="1.0.0.0"
processorArchitecture="X86"
name="CompanyName.AppName.AppExeName.exe"
type="win32" />
App Description
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="X86"
publicKeyToken="6595b64144ccf1df"
language="*" />
Save it as .exe.manifest and make sure it's located in the same location as your application.
Then just declare the InitCommonControls() API, and call it on your form initialize event.
JA12
2008-01-22 23:48:20 UTC
Are you talking about the "Start" button. Easy, just assign an image to the button and then pop up a menu when the button is clicked and a different menu when right-mouse-button is clicked.
chit c
2008-01-23 09:48:01 UTC
You will find the answer here
http://www.freetutes.com/VisualBasic
ⓘ
This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.