vb6

Registration free COM: VB6 Executable referencing VB6 DLL

时光总嘲笑我的痴心妄想 提交于 2021-02-07 20:52:25
问题 So, I've got a single VB6 executable that references multiple VB6 COM DLLs. Is it possible for me to generate, on-the-fly, a manifest for the executable as well as a manifest for each of the referenced DLLs? If so, then how? I would like to perform this operation as part of our build process without having to register the COM DLLs as part of the process. NOTE: All the reg-free COM examples that I've found so far involve .NET interop, which is not a requirement for what I'm doing. [EDIT] After

Vb6 http post request on windows XP

旧城冷巷雨未停 提交于 2021-02-07 20:51:16
问题 I have a problem sending POST request with VB6. The code below works properly on Windows7 but on Windows XP it run without any runtime error and it sends the packet but looks like it doesn't append the post data in the packet. My code is like this: Set xmlhttp = CreateObject("MSXML2.ServerXMLHTTP") xmlhttp.open "POST", url, False xmlhttp.setRequestHeader "Content-Type", "application/x-www-form-urlencoded" xmlhttp.setRequestHeader "Content-Length", Len(parameters) xmlhttp.Send parameters where

Registration free COM: VB6 Executable referencing VB6 DLL

二次信任 提交于 2021-02-07 20:48:47
问题 So, I've got a single VB6 executable that references multiple VB6 COM DLLs. Is it possible for me to generate, on-the-fly, a manifest for the executable as well as a manifest for each of the referenced DLLs? If so, then how? I would like to perform this operation as part of our build process without having to register the COM DLLs as part of the process. NOTE: All the reg-free COM examples that I've found so far involve .NET interop, which is not a requirement for what I'm doing. [EDIT] After

Registration free COM: VB6 Executable referencing VB6 DLL

你离开我真会死。 提交于 2021-02-07 20:48:31
问题 So, I've got a single VB6 executable that references multiple VB6 COM DLLs. Is it possible for me to generate, on-the-fly, a manifest for the executable as well as a manifest for each of the referenced DLLs? If so, then how? I would like to perform this operation as part of our build process without having to register the COM DLLs as part of the process. NOTE: All the reg-free COM examples that I've found so far involve .NET interop, which is not a requirement for what I'm doing. [EDIT] After

Vb6 http post request on windows XP

女生的网名这么多〃 提交于 2021-02-07 20:46:00
问题 I have a problem sending POST request with VB6. The code below works properly on Windows7 but on Windows XP it run without any runtime error and it sends the packet but looks like it doesn't append the post data in the packet. My code is like this: Set xmlhttp = CreateObject("MSXML2.ServerXMLHTTP") xmlhttp.open "POST", url, False xmlhttp.setRequestHeader "Content-Type", "application/x-www-form-urlencoded" xmlhttp.setRequestHeader "Content-Length", Len(parameters) xmlhttp.Send parameters where

COM+ VB6 Application on 64 bit system: IBM CLI Driver transaction error when connecting to DB2

只愿长相守 提交于 2021-02-07 15:52:56
问题 We are trying to migrate an Intranet Web Application, developed in VB6, from Windows Server 2003 to Windows Server 2008 R2 and we are facing a problem with two phase commit transactions between Microsoft SQL Server 2008 and DB2 on Z/OS Mainframe. On Windows Server 2008 R2 with DB2 v9.7.500.702 Fixpack 8 (64 bit) installed, the VB6 component registered in a COM+ application, when trying to update in transaction one table on SQL Server and another table on DB2, returns this error: [IBM][CLI

Array and Split commands to create a 2 dimensional array

♀尐吖头ヾ 提交于 2021-02-07 14:23:44
问题 I'm having some trouble populating an array using a split command. The string I currently have is below MyString = "Row1 Column1[~]Row1 Column2[~]Row1 Column3" & vbNewLine & _ "Row2 Column1[~]Row2 Column2[~]Row2 Column3" & vbNewLine & _ "Row3 Column1[~]Row3 Column2[~]Row3 Column3" & vbNewLine & _ "Row4 Column1[~]Row4 Column2[~]Row4 Column3" I have an array that I want to be multi-dimensional and would like each Row# Column# to be in the correct part of the array based on its number. For

Converting DateAdd and Format code from VB6 to C#

倾然丶 夕夏残阳落幕 提交于 2021-02-07 13:12:58
问题 I have the following code in vb - tAvailableDate = DateAdd("d", 21, Format(Now, gDATEFORMAT)) I am attempting to convert this into C#. I have converted this so far - tAvailableDate = DateAdd("d", 21, Format (DateTime.Now, Global.gDATEFORMAT)); But I cannot find a replacement for the DateAdd() or Format() feature. Any ideas? Thanks. 回答1: DateAdd is an old VB6 method that was carried over into VB.NET for backwards compatibility. You could get it to work in C# as well if you included the

Converting DateAdd and Format code from VB6 to C#

╄→гoц情女王★ 提交于 2021-02-07 13:12:58
问题 I have the following code in vb - tAvailableDate = DateAdd("d", 21, Format(Now, gDATEFORMAT)) I am attempting to convert this into C#. I have converted this so far - tAvailableDate = DateAdd("d", 21, Format (DateTime.Now, Global.gDATEFORMAT)); But I cannot find a replacement for the DateAdd() or Format() feature. Any ideas? Thanks. 回答1: DateAdd is an old VB6 method that was carried over into VB.NET for backwards compatibility. You could get it to work in C# as well if you included the

Win32 support on Windows 10

丶灬走出姿态 提交于 2021-02-07 10:11:32
问题 Does Windows 10 support running older Win32 (MFC, ATL, Visual Basic 6) applications on ARM processors? Does it require some form of emulation or conversion? 回答1: There's no x86 Win32 emulation at all. You need to use a toolset designed for the platform. 回答2: As with 7/8.1 Windows has leaned further and further into the Net way of doing things. So many of the commandline functions are done through net calls. Also note that Win10 is pretty much Win NT, it is basically what Win98 should have