vb6

Win32 support on Windows 10

孤人 提交于 2021-02-07 10:09:56
问题 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

Win32 support on Windows 10

只谈情不闲聊 提交于 2021-02-07 10:07:30
问题 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

Win32 support on Windows 10

给你一囗甜甜゛ 提交于 2021-02-07 10:06:22
问题 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

Win32 support on Windows 10

≡放荡痞女 提交于 2021-02-07 10:05:02
问题 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

VB6-how to create log file in VB6 while launching application

假装没事ソ 提交于 2021-02-07 03:32:40
问题 I want to log the exceptions occurred during execution of my app. Before this I handled it with message box. I am new to VB 6. Please provide some sample code to create log file and to save exception messages. Thanks.. 回答1: You need error handlers, using On Error Goto , so that you can execute your own code when an error occurs. (BTW in VB6 they are called errors not exceptions .) The free tool MZTools is excellent - it can automatically insert the On Error Goto and an error handler which

Check if mapped network available

空扰寡人 提交于 2021-02-05 10:43:25
问题 I am trying to have my program check is a mapped network drive is actually connected, and change the curDrive variable based on the result. It works okay, but if the drive is still mapped and the drive is not available, there is a long delay while the program tries to connect (4-6 seconds). I tried two methods and both ways have this delay. I tried the following: On Error GoTo switch checker= Dir("F:\") If checker= "" Then GoTo switch curDrive = "F:\" GoTo skip switch: curDrive = "C:\" skip:

Debugging VB6 dll from VB6 exe

狂风中的少年 提交于 2021-02-05 06:32:25
问题 I have a VB6 program that calls a VB6 DLL which in turn calls another VB6 DLL. When I execute the calling program there is an application error which I am unable to pinpoint so I researched how if it was possible to "see" the error in the dll. I read Stackoverflow entry question about debugging VB6 dll and followed the directions of Booji Boy to create a vbg. I also followed his directions and removed the two DLLs from he Reference list. The calling program takes a .txt file as input. When I

Using Microsoft (Office) 365 tools in Visual Basic 6.0

纵饮孤独 提交于 2021-02-05 06:01:09
问题 I'm developing an application written in Visual Basic 6.0 that supports exporting listViews to Microsoft Excel documents. Everything works perfectly fine if a user has an older version of Microsoft Office installed. Now I want to add support for users who only have Microsoft/Office 365 on their systems. I've googled my way into depression in the past couple of days because I don't know much (or anything really) about dll/ocx files or registries. I'm not even sure if something like this can

Debugging VB6 Code From Visual Studio 2012

99封情书 提交于 2021-02-04 10:51:12
问题 We have a .NET application using a lot of legacy components written in VB6. We were able to debug the VB6 code using native code debugger and generated pdb files in Visual Studio 2010. After upgrading to the VS 2012 (including Update 2) we cannot do this. The module window shows following message: Binary was not built with debug information. You can also find following message in the output window: Module was built without symbols. When I try to load symbols manually, I get following message:

How to use Office 365 API in a VB 6.0 application

北战南征 提交于 2021-01-29 16:32:13
问题 I am working on an application in VB 6.0. The application uses the MS Office API to interact with Office. Is it possible to use the Office 365 API in that application? If yes, how can I do that? 回答1: The Office 365 API is based on .NET, while VB 6 is not, you can use COM as a bridge: you write a C# DLL to access Office 365, then wrap it as COM component, then VB 6 can use the C# DLL via COM. But I think this approach will be problematic. VB 6 is really too too old. 来源: https://stackoverflow