vb6

How can I run a Perl script through an ActiveX Control within Excel?

I want to run a Perl script at the click of a button inside an Excel spreadsheet. As the button is assigned to execute a VB macro, the macro should effectively execute the program. As my first ever VB script, this is what I came up with, which throws up an irritating Run-time error '424': Object required error. Sub RunPerlScript() ...

How to migrate ugly and undocumented VB6 Code to .NET

I know that there are already Questions about VB6 migration, but the code base of my project brings some new questions here. I have to say the Code quality, structure and architecture is just a nightmare. There are 2 Big Projects: Nr.1 with 40 Forms, 40 Modules and a few class files, this EXE is kind of a "base system". Nr.2 with 80 For...

Calling vb6 objects from asp.net web service fails but works from forms app

We have an asp.net web service running on Windows Small Business Server 2008 SP2 (64-bit). It is in its own application pool. We've tried both Integrated and Classic settings for Managed Pipeline Mode. Enable 32-bit Applications is set to True. It is not able to successfully call a vb6 dll method but a Windows Forms app on the same m...

Help with the ffmpeg

I can read now the last line from the FFmpeg procees executed in a cmd window. with this source using Scripting host model object reference. Private Sub Command1_Click() Dim oExec As WshExec Dim sRow As String With New WshShell Set oExec = .Exec("ffmpeg.exe") End With Do While oExec.Status = Wsh...

Calling a C# asynchronus method from a VB6 application

I have a C# dll that when the main method is called, it opens a windows form. This dll is currently accessed through VBA by a vendor application. The problem is that when the dll is called and the form opens, the user loses the ability to interact with the vendor application. I was hoping that if I could modify the dll to support an a...

VB6 call Oracle procedure error

We have a lagacy VB6 app that uses an ODBC connection to a Oracle 10g DB. We are upgrading to a 11g drivers on our SOE and parts of the app have issues. Works fine with a 9.2 driver. Oracle Client 10g/11g does not like lower-case calls. This is evident in the fact that the calls that succeed are in upper case and the calls that failed a...

Internet Access Controller using .net ( vb or c# )

I want to develop a software which restricts users internet access using vb6 or vb.net. This is not a baby sitter program but 1) whenever a client machine takes any browser it should ask for username and password. 2)There should be option for adding new users at the server side application. can anyone suggest any name of such a s...

Hidden Window Display on Users Desktop

We have a VB6 application that uses a non-visible window (form) for DDE communication. We have some clients reporting that occasionally they can see this window on their desktop. I did a scan through the code for any visible = true or show's on the form in question, but nothing. This about all we do with it: Load frmDDELink frmDDELin...

Encrypt printable text so result is still printable (can be typed)

I want to encrypt some info for a licensing system and I want the result to be able to be typed in by the user. Update: This operation must be reversible (decrypt-able) E.g., Encrypt ( ComputerID+ProductID) -> (any standard ASCII character that can be typed. Ideally maybe even just A-Z). So far what I did was to convert the encrypted t...

MSN messenger type popup notification using classic visual basic 6.0

how to build MSN messenger type popup notification using classic visual basic 6.0 ...

Which open source Source Controls products integrate with Microsoft VB6?

I'm looking to possibly move away from CVS (to maybe SVN). Anyone know which open source version control systems integrate with the VB6 IDE (automatic checkouts, etc.) ? ...

Use .NET in VB6 or classical ASP

Duplicate of Calling .NET methods from VB6 via COM visible DLL Which ways exist to use/call .NET classes/functions/libraries (.net 3.x) in VB6 or classical ASP ? Has anybody experiences with that ? How much effort is necessary to wrap .NET to COM ? Are there tools which help ? ...

How to identify or read nsf mails containing inline image

I am trying to read mails programmatically in VB6. but i am unable to read mails containing inline images or HTML code like hyper link. Can anyone suggest me the way to read this type of mails. EDIT: I am not getting any error message but nsfDocument.GETITEMVALUE("Body")(0) returns only text. images are not shown. ...

Guidelines for application colors (background, buttons, etc.) on Windows?

What are the recommended colors for an application's background, button faces, etc.? In the past I've just chosen a color scheme but I'd like to be more compatible with the Windows Accessibility Options, etc. I see that VB6 has System Colors like Application Workspace. Edit: I'd like to find an explanation of all of those colors (lik...

vatab pro 2.0.46 unsetting radio option on tab

I have a vatabpro control version 2.0.46 by Farpoint technologies in VB6 on a form. In the form activate event some code is run to show and hide the certain tabs in the va tab pro control. After this a normal option button on one of the tabs is set to true. When the form is displayed all the radios on the tab are unchecked even though...

Getting VB6 to reveal which component doesn't have a design time license installed

I've inherited a VB6 project that I'm trying to "Make". The build fails on the "Making EXE" step with a licensing error: License information for this component not found. You do not have an appropriate license to use this functionality in the design environment. How can I figure out which component is missing the license? The proj...

Calling .Net Classes from Visual Basic 6

We have a .Net DLL. We need to call this DLL from a VB Application. What are the procedures we need to follow? ...

Calling .Net Classes from Visual Basic 6

Hi, I have a .net dll file. I have to call one of the methods in this dll file from a VB program. This dll file uses another .net dll file for logging purpose. I able to call a .net class library method from VB6 application. But, I am getting the exception that unable to load assembly (which is used for logging). How the vb6 applica...

What is the equivalent in .NET for ChrToOemA from VB6?

I'm migrating an application from VB6 to .NET and in VB6 i have a a call to this method: CharToOemA. I don't understand what it does and how I can reproduce this functionality. The line in VB6 is like this: Call CharToOemA(Text, Text), where Text is a string. Is there an equivalent in .NET for CharToOemA from VB6? If there isn't how can...

Icon not displaying when exe is created in VB 6.0.

Hi, For the exe generated, the Icon is not displayed. I added the Icon in the project Properties --> Make tab --> Application --> Icon. I am using Vb 6.0 I can see the icon in the project properties. but the same is not displayed when the exe is generated. I added the icon in the resource file too. But its not displayed. I added the...