I wanted to include manifest file to my vb6 application so i followed below steps
1)I created myapplication.exe using vb6 IDE(which i do normally)
2)Then i created file named myapplication.exe.intermediate.manifest using notepad with below content
3. By using mt.exe provided from Windows SDK i have recreated myapplication.exe with manifest
4. Now the i used this myapplication.exe. It works without UAC prompt.
Now i wanted to know whether above method is proper and would work in all windows OS?
Also is there any method to add manifest file in my vb6 coding itself which does not require running some commands after creating exe file.
1)I created myapplication.exe using vb6 IDE(which i do normally)
2)Then i created file named myapplication.exe.intermediate.manifest using notepad with below content
Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel level="asInvoker" uiAccess="false"/>
</requestedPrivileges>
</security>
</trustInfo>
</assembly>
Code:
mt.exe -nologo -manifest "myapplication.exe.intermediate.manifest" -outputresource:"myapplication.exe;#1
Now i wanted to know whether above method is proper and would work in all windows OS?
Also is there any method to add manifest file in my vb6 coding itself which does not require running some commands after creating exe file.