[ Mare_Bogovadja @ 09.06.2004. 14:07 ] @
[Visual Basic] Da bi dobio "XP" dugmad na formama posluzio sam se *.exe.manifest fajlom i sve je OK sem sto taj fajl stoji odvojeno od *.exe fajla za koji je napravljen. Kako da .manifest ukljucim u .exe a da zadrzim njegovu funkcionalnost? Probao sam da ga stavim i kao Content i kao Embedded Resource ali na kraju nastali .exe ima obicnu [kockastu] dugmad. U MSDN Library kaze: "As an alternative for new applications, you can include the application manifest directly in the header file for your application. In this case, also add the following line to the header file: CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "YourApp.exe.manifest" Be sure you update "YourApp.exe.manifest" with the name for your manifest file. After you add the line above to your application header file, the manifest will be directly included with your application binary file the next time it is compiled." Ovaj deo mi nije jasan [tacnije ovaj o header fajlu [sta je to uopste?]] jer sam tek odskora poceo da ucim VB.NET. Ako neko zeli da odgvori ili ima primer koda bio bih zahvalan. Pitanje je verovatno vrlo smesno ali meni nije :-( |