Legolash2o Posted May 27, 2009 Share Posted May 27, 2009 Here is something for those who want to work with WIMGAPI and VB .NET. Just add the module below to your project and use the examples below that to do your tasks. I will be updating it with more functions. If you know any which have not been added yet please post a working example WIMGAPI Module v1.0The places where you see the number 1, that is the image index.Mount ImageIf CWIM_MountImage(1,"C:\Wimfile.wim","C:\MountPath") = true then'DO THISelse'MSGBOX("There was an error mounting this image")end ifUnMount ImageIf CWIM_UnMountImage(1,"C:\Wimfile.wim","C:\MountPath",True) = true then'DO THISelse'MSGBOX("There was an error unmounting this image")end ifDelete ImageCWIM_DeleteImage("C:\WimFile.wim",1)GetWIMInfoDim WImInfo = CWIM_GetWimInfo("C:\Wimfile.wim")Capture ImageCWIM_CaptureImage("C:\FolderToCapture","C:\NewWim.wim",WIM_COMPRESS_LZX,"C:\Temp")Export ImageCWIM_ExportImage("C:\OriginalWim.wim","C:\ExportedWim.wim",1,"C:\Temp") Quote Link to comment Share on other sites More sharing options...
Jatin Beniwal Posted May 27, 2009 Share Posted May 27, 2009 Thanks for the guide. Quote Link to comment Share on other sites More sharing options...
AMIRZ Posted June 13, 2009 Share Posted June 13, 2009 Thanks Quote Link to comment Share on other sites More sharing options...
3DotDev Posted June 14, 2009 Share Posted June 14, 2009 Thanks a lot Legolash2O. :thumbsup_anim: Quote Link to comment Share on other sites More sharing options...
3DotDev Posted August 18, 2009 Share Posted August 18, 2009 Hi,I use the capture function in my project but i'd like to edit the properties "NAME" and "DESCRIPTION" with 2 textBox on my Form. My question is : Must I use the "SetImageInformation" function to do that ?I have read all of this document and I can't really find my way : My linkhttp://msdn.microsoft.com/en-us/library/dd834960.aspxhttp://msdn.microsoft.com/en-us/library/dd834960.aspx... Quote Link to comment Share on other sites More sharing options...
lhenry Posted August 31, 2012 Share Posted August 31, 2012 Resurrecting an old thread, I know, but it would be wonderful if the attachment could be replaced / fixed -- not showing it as active or valid. Thanks! Quote Link to comment Share on other sites More sharing options...
ERI Posted September 10, 2012 Share Posted September 10, 2012 I also would like to be able to download this attachment Quote Link to comment Share on other sites More sharing options...
Legolash2o Posted September 10, 2012 Author Share Posted September 10, 2012 I no longer have the code anymore, i think i got rid of it years ago, it's available via google if you look in the right places. Sorry. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.