6 Replies - 2601 Views - Last Post: 12 June 2006 - 11:13 PM Rate Topic: -----

#1 StephanBotha  Icon User is offline

  • D.I.C Head

Reputation: 2
  • View blog
  • Posts: 55
  • Joined: 12-March 06

WinXP Controls in VB6

Posted 10 June 2006 - 12:25 AM

Hi All,

So far I've managed to have good progress on my VB skills. I'm not a black belt in VB6 yet, but getting there.

Is it possible to use WinXP styled controls (like button, comboboxes etc.) when designing in VB6? The borders are nice and XP like, but the rest look like win95! Can someone help? Or push me off the cliff?

Stephan
Is This A Good Question/Topic? 0
  • +

Replies To: WinXP Controls in VB6

#2 Amadeus  Icon User is offline

  • g+ + -o drink whiskey.cpp
  • member icon

Reputation: 248
  • View blog
  • Posts: 13,507
  • Joined: 12-July 02

Re: WinXP Controls in VB6

Posted 10 June 2006 - 07:06 AM

Take a read of this:

http://vbnet.mvps.or...rms/vbidexp.htm

VB6 is not generally meant for XP mimicry...
Was This Post Helpful? 0
  • +
  • -

#3 born2c0de  Icon User is offline

  • printf("I'm a %XR",195936478);
  • member icon

Reputation: 180
  • View blog
  • Posts: 4,667
  • Joined: 26-November 04

Re: WinXP Controls in VB6

Posted 11 June 2006 - 12:32 AM

This one demonstrates Windows XP (and more) Progress bar implemention methods.

Attached File(s)


Was This Post Helpful? 0
  • +
  • -

#4 Nitish4uall  Icon User is offline

  • New D.I.C Head
  • member icon

Reputation: 5
  • View blog
  • Posts: 26
  • Joined: 19-April 06

Re: WinXP Controls in VB6

Posted 12 June 2006 - 12:30 AM

To create XP application in vb 6 is very easy all you need is to write a manifest with the same name as the application

Quote

if an application name is

test.exe


then you should write a manifest file and name it

test.exe.manifest


and place it in the same directory

I am attaching a manifest file which you can modify for your applications

This one is for the vb6 application, extract it the VB98 folder of your vs6 installation.

Note: Use notepad to modify the codes in the codes in the file

Attached File(s)

  • Attached File  VB6.zip (456bytes)
    Number of downloads: 199

This post has been edited by Nitish4uall: 12 June 2006 - 12:31 AM

Was This Post Helpful? 0
  • +
  • -

#5 StephanBotha  Icon User is offline

  • D.I.C Head

Reputation: 2
  • View blog
  • Posts: 55
  • Joined: 12-March 06

Re: WinXP Controls in VB6

Posted 12 June 2006 - 12:45 AM

View PostNitish4uall, on 11 Jun, 2006 - 11:22 PM, said:

To create XP application in vb 6 is very easy all you need is to write a manifest with the same name as the application

Quote

if an application name is

test.exe


then you should write a manifest file and name it

test.exe.manifest


and place it in the same directory

I am attaching a manifest file which you can modify for your applications

This one is for the vb6 application, extract it the VB98 folder of your vs6 installation.

Note: Use notepad to modify the codes in the codes in the file


Thanks, this one works. Not for the DTPicker control but for the rest it's fine.
Was This Post Helpful? 0
  • +
  • -

#6 Nitish4uall  Icon User is offline

  • New D.I.C Head
  • member icon

Reputation: 5
  • View blog
  • Posts: 26
  • Joined: 19-April 06

Re: WinXP Controls in VB6

Posted 12 June 2006 - 12:51 AM

Well VB6 has some limitations, but there are other mean to get around with XP controls in VB6, I will post it to you as soon i get some time to write the tutorial about it....
Was This Post Helpful? 0
  • +
  • -

#7 born2c0de  Icon User is offline

  • printf("I'm a %XR",195936478);
  • member icon

Reputation: 180
  • View blog
  • Posts: 4,667
  • Joined: 26-November 04

Re: WinXP Controls in VB6

Posted 12 June 2006 - 11:13 PM

Great post Nitish4uall....Kudos.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1