ResHackerWrapperReplaceMainIcon Method
Replaces the main icon of the specified file.
Namespace: DevCase.ThirdParty.ResHackerAssembly: DevCase.net48.ThirdParty.ResHacker (in DevCase.net48.ThirdParty.ResHacker.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public int ReplaceMainIcon(
string inputFilepath,
string outputFilepath,
string iconFilepath
)
Public Function ReplaceMainIcon (
inputFilepath As String,
outputFilepath As String,
iconFilepath As String
) As Integer
Dim instance As ResHackerWrapper
Dim inputFilepath As String
Dim outputFilepath As String
Dim iconFilepath As String
Dim returnValue As Integer
returnValue = instance.ReplaceMainIcon(inputFilepath,
outputFilepath, iconFilepath)
public:
int ReplaceMainIcon(
String^ inputFilepath,
String^ outputFilepath,
String^ iconFilepath
)
member ReplaceMainIcon :
inputFilepath : string *
outputFilepath : string *
iconFilepath : string -> int
No code example is currently available or this language may not be supported.
- inputFilepath String
-
The source file path.
- outputFilepath String
-
The target file path.
- iconFilepath String
-
The source icon file path.
Int32
The process exit code.
This is a code example.
No code example is currently available or this language may not be supported.
Dim exitcode As Integer = ResHacker.ReplaceMainIcon("c:\file.exe", "c:\new file.exe", "c:\icon.ico")
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.