vb6

Is there a way to specify File Name= in UMMM (Unattended Make My Manifest) creation of Program.exe.manifest?

元气小坏坏 提交于 2020-07-03 13:52:25
问题 Is there a way to adjust the UMMM.ini file and / or the UMMM.bat file to specify in the <File Name=... > the \Dependencies subdirectory when it creates the Program.exe.manifest? Re: vb6 "regfreecom" autocreate manifest for ocx file Re: VB6 RegFreeCom SideBySide SxS Manifest Test for TABCTL32.ocx Using a UMMM.ini file like: Identity zTABCTL32.exe zTABCTL32.exe "TABCTL32 Test program 1.0" File C:\WINDOWS\system32\TABCTL32.ocx and a UMMM.bat file like: UMMM.exe zUMMMTabCtl32.ini .\manifest

Is there a way to specify File Name= in UMMM (Unattended Make My Manifest) creation of Program.exe.manifest?

大憨熊 提交于 2020-07-03 13:51:34
问题 Is there a way to adjust the UMMM.ini file and / or the UMMM.bat file to specify in the <File Name=... > the \Dependencies subdirectory when it creates the Program.exe.manifest? Re: vb6 "regfreecom" autocreate manifest for ocx file Re: VB6 RegFreeCom SideBySide SxS Manifest Test for TABCTL32.ocx Using a UMMM.ini file like: Identity zTABCTL32.exe zTABCTL32.exe "TABCTL32 Test program 1.0" File C:\WINDOWS\system32\TABCTL32.ocx and a UMMM.bat file like: UMMM.exe zUMMMTabCtl32.ini .\manifest

Is there a way to specify File Name= in UMMM (Unattended Make My Manifest) creation of Program.exe.manifest?

橙三吉。 提交于 2020-07-03 13:51:12
问题 Is there a way to adjust the UMMM.ini file and / or the UMMM.bat file to specify in the <File Name=... > the \Dependencies subdirectory when it creates the Program.exe.manifest? Re: vb6 "regfreecom" autocreate manifest for ocx file Re: VB6 RegFreeCom SideBySide SxS Manifest Test for TABCTL32.ocx Using a UMMM.ini file like: Identity zTABCTL32.exe zTABCTL32.exe "TABCTL32 Test program 1.0" File C:\WINDOWS\system32\TABCTL32.ocx and a UMMM.bat file like: UMMM.exe zUMMMTabCtl32.ini .\manifest

VB6 Crashing with Run-Time Error 5 with only msgbox

穿精又带淫゛_ 提交于 2020-06-29 05:14:00
问题 I'm not really sure why VB6 is crashing. I have a form with a checkbox and if it's checked, then I msgbox a value. The only thing I have in that Subroutine is the msgbox. I'm running this on Windows 10. I've already set the compatibility mode to Windows XP but that doesn't change the behavior that's happening. How do I fix this? I'm not even sure what the issue is. Private Sub ChkNonSerialize_Click() MsgBox "Test" End Sub 来源: https://stackoverflow.com/questions/62283655/vb6-crashing-with-run

How to check the key is exists in collection or not

半世苍凉 提交于 2020-06-26 03:41:52
问题 I want to check collection variable contains the key or not in visual basic 6.0 Below is the collection variable I am having pcolFields As Collection and I want to check whether it contains the field Event_Code. I am doing this as below but it not worked for me. If IsMissing(pcolFields("Event_Code")) = False Then 'Do Something End If 回答1: Collections are not useful if you need to check for existence, but they're useful for iteration. However, collections are sets of Variants and so are

GoTo <Line number> in VBA

一世执手 提交于 2020-06-24 12:35:07
问题 From the VBA help file: GoTo Statement Branches unconditionally to a specified line within a procedure. Syntax GoTo _ line _ The required line argument can be any line label or line number. Remarks GoTo can branch only to lines within the procedure where it appears. My question is, how can I jump to a line number using GoTo ? (I know how to jump to a label.) (Note: I'm asking this for curiosity's sake. I have no intention of actually using GoTo this way.) 回答1: I understand your dislike of the

How to destroy an object

偶尔善良 提交于 2020-06-11 16:48:47
问题 It seems that Set Object = Nothing didn't destroy the Fs Object in this code: Sub Test2() Dim Fs As New FileSystemObject Set Fs = Nothing MsgBox Fs.Drives.Count ' this line works End Sub The last line works with no errors!. thats mean Fs Object is still exists, right?. So how to destroy this Fs Object. 回答1: Another way to ensure proper destruction of an object, is to yield its object reference to a With block (i.e. don't declare a local variable): Sub Test() With New FileSystemObject MsgBox

Debug an active x dll in vb6

天大地大妈咪最大 提交于 2020-05-17 07:24:10
问题 i am trying to debug an application in vb6 which has output type ActiveX Exe , and have reference of active dll , i have tried changing to binary compability for both of projects. but i am not able to step into that activex dll project code. can you help me with step into other project dll and debug code ? i have even tried creating project group but even i am setting up Exe project as start up , i think it is trying to run dll project first and giving an error. 来源: https://stackoverflow.com

How to fix broken references in VB6

烂漫一生 提交于 2020-05-15 08:17:30
问题 I have a VB6 project that I was actively developing on one machine and have had to move the VB6 project over to a different machine running hardware that my program will be talking to. After moving the project, I am getting file not found for comctl32.ocx. The error message includes the path to the file and I've verified that the path is correct and that the file actually exists. I have also registered that OCX file with regsvr32 and it still isn't loading. Is there a way to fix this? I also

How do you return an struct or class from a .NET COM dll to a consuming VB6 application?

ε祈祈猫儿з 提交于 2020-05-13 08:04:13
问题 This seems like something that would be easy to find on here, but if this has been asked before, I don't see where. Basically, I'm a.NET developer and am having to work with VB6 for a minute and learn about making a COM DLL. I'm working in C# and am trying to get a COM DLL made in that language to return a custom class/struct to some VB6 code, and though the answer here was easy enough to use when returning a string or int from the COM method, I'm having trouble getting it to work with an