tomfranks
06-16-2004, 08:05 AM
Hey all, i've used a manifest file with VB6 to make the buttons etc appear XP style at runtime using a call to that file in the form_initialize event. I'm unsure how to go about doing this in VB.NET though. Any help would be greatly appreciated.
Also, as i'm trying to adapt to VB.NET, what do i use instead of modules as they dont seem to be in VB.NET :?
rot13
06-17-2004, 06:16 PM
1) There is a manifest file thingy in the help, but I have made a very simple program to generate them for you if you want to use it instead. You input 'the_name_of_your_exe.exe' (make sure you include .exe) and browse to the bin folder of your project, and also you must make sure to include the manifest file in your install project. To use this manifest file, all you have to do is set each buttons flatstyle property to 'system', and thats it. There is a different way to do all this without a manifest file in .net 1.1, but i dont use it.
2)There is modules in vb.net. Go to File>add new item then select module. I assume you can use them pretty much the same as vb6 did, but I dont know vb6, so I could be wrong.