vb6

Check with adding / removing objects in VB6

萝らか妹 提交于 2020-02-25 04:19:27
问题 I have a query, I have this interface: The ComboBox are inside a UserControl, pressing the Add this UserControl button with the ComboBox adds the UserControl / ComboBox in a PictureBox: What I want is that, for example, when the user selects values ​​of the two ComboBox and press the button add these selected values ​​go to the PictureBox (below) and the values ​​that are selected in the UserControl are cleaned.I leave a picture of what I say, suppose the user selected the values ​​of the

Check with adding / removing objects in VB6

安稳与你 提交于 2020-02-25 04:17:12
问题 I have a query, I have this interface: The ComboBox are inside a UserControl, pressing the Add this UserControl button with the ComboBox adds the UserControl / ComboBox in a PictureBox: What I want is that, for example, when the user selects values ​​of the two ComboBox and press the button add these selected values ​​go to the PictureBox (below) and the values ​​that are selected in the UserControl are cleaned.I leave a picture of what I say, suppose the user selected the values ​​of the

Check with adding / removing objects in VB6

↘锁芯ラ 提交于 2020-02-25 04:17:01
问题 I have a query, I have this interface: The ComboBox are inside a UserControl, pressing the Add this UserControl button with the ComboBox adds the UserControl / ComboBox in a PictureBox: What I want is that, for example, when the user selects values ​​of the two ComboBox and press the button add these selected values ​​go to the PictureBox (below) and the values ​​that are selected in the UserControl are cleaned.I leave a picture of what I say, suppose the user selected the values ​​of the

Events do not fire when displaying a VB6 modal form from a C# modal form?

戏子无情 提交于 2020-02-23 10:13:00
问题 EDIT - I discovered that when the VB6 program runs compiled, the events work normally and there is no problem. It is only when the code is running in the VB6 IDE that the events are broken! This does not entirely solve the problem because it would be very inefficient development if we can't debug in the IDE; but maybe it provides more insight into the root cause. I guess the fix that is needed (if possible) is to get the events to work normally / correctly in the IDE. I am loading a modal VB6

Multiple variable assignments in one statement in Visual Basic 6

自作多情 提交于 2020-02-22 15:29:12
问题 Working with legacy code I came across some strange variable assignments that I am not sure are legal VB6 syntax, but I cannot find the documentation to back up the feeling. Dim ComStart, ComEnd, CR As Boolean ComStart = ComEnd = CR = False My suspicions are a) the original declarations should be Dim ComStart as Boolean, ComEnd as Boolean, CR as Boolean b) the declarations as they are implemented now will not assign anything to ComStart . Any answers or documentation are much appreciated 回答1:

How to emulate .net Int64 in VB6?

旧巷老猫 提交于 2020-02-03 16:50:42
问题 How can store an Int64 number in VB6, to work with Win32 functions? Is there a way to define a type like Int64 in .net? And simply evaluate the number. 回答1: I think many of VB6 programmers need something like this, Because some of the Win32 API's use _int64 as their parameters. I wrote a function to cast a currency into an API compatible structure. Put these codes in a module file. Private Declare Sub CopyMemory lib "kernel32" Alias "RtlMoveMemory" (Destination As Any, Source As Any, ByVal

How to emulate .net Int64 in VB6?

大憨熊 提交于 2020-02-03 16:46:57
问题 How can store an Int64 number in VB6, to work with Win32 functions? Is there a way to define a type like Int64 in .net? And simply evaluate the number. 回答1: I think many of VB6 programmers need something like this, Because some of the Win32 API's use _int64 as their parameters. I wrote a function to cast a currency into an API compatible structure. Put these codes in a module file. Private Declare Sub CopyMemory lib "kernel32" Alias "RtlMoveMemory" (Destination As Any, Source As Any, ByVal

How to emulate .net Int64 in VB6?

房东的猫 提交于 2020-02-03 16:46:28
问题 How can store an Int64 number in VB6, to work with Win32 functions? Is there a way to define a type like Int64 in .net? And simply evaluate the number. 回答1: I think many of VB6 programmers need something like this, Because some of the Win32 API's use _int64 as their parameters. I wrote a function to cast a currency into an API compatible structure. Put these codes in a module file. Private Declare Sub CopyMemory lib "kernel32" Alias "RtlMoveMemory" (Destination As Any, Source As Any, ByVal

Looking for example projects and “how to create” VB6 Active X EXE's

僤鯓⒐⒋嵵緔 提交于 2020-02-03 10:00:08
问题 I'm learning how to create an VB6 Active X EXE. (I need to add the ability for a number of VB6 apps to "phone home" to a server and I'd like centralize this but don't want to do it with a DLL because I'd like to only need Firewall permission for one program (the "phone home ActiveX EXE). I've found a few tutorials but I'm looking for a downloadable project to "play around with". 回答1: A tutorial and a project: the VB6 documentation has a good tutorial Creating an ActiveX EXE Component. A more

Looking for example projects and “how to create” VB6 Active X EXE's

两盒软妹~` 提交于 2020-02-03 10:00:06
问题 I'm learning how to create an VB6 Active X EXE. (I need to add the ability for a number of VB6 apps to "phone home" to a server and I'd like centralize this but don't want to do it with a DLL because I'd like to only need Firewall permission for one program (the "phone home ActiveX EXE). I've found a few tutorials but I'm looking for a downloadable project to "play around with". 回答1: A tutorial and a project: the VB6 documentation has a good tutorial Creating an ActiveX EXE Component. A more