vb6

Vb6 library you found for creating excel spreadsheets

Hi Does any anyone know a good library for creating excel spreadsheets using VB6 without having excel installed. I am trying to get a legacy app working on terminal services with the minimum amount of changes to the existing code base. Many thanks Peter ...

Crystal Report 8.5 + SQL Server 2008 - connection bug

I have issues with connection in application that uses Crystal Report. Issue occurs when CR component initializes connection to database. Application crashes at that point. But when I initialize connection to some directory on server via remote desktop before application starts, then it connects to database successfully. In our projec...

vb6: graphics question

hi, i'm wondering if the following could be done easily with vb6: load a transparent bitmap (eg. gif or png) - 2 colors change its color display several instances in different colors do this layered + different drawmodes so what i want is overlapping instances in different colors and drawmodes. i know it could be done using the poly...

VB6 ActiveX exe loses focus when launched from a third party app

I have a VB6 ActiveX exe that is launched from a third-party CRM App. On launch, the main form opens but it starts to flash and then loses focus. If you move the form, you'll see a server busy screen with the Switch To, Retry button. I've tried using SetFocus and the SetFocusAPI in the OnActivate event of the form, but that doesn't work...

vb6: fill polygon with gradient

hi, can anyone tell me if it's possible to fill a polygon with a gradient under vb6? thx ...

what are the licensing requirements of vb6 programs

Dear all, one of my friend is making commercial program in vb6 , is there any license required to sell the application to end user. he is having vb6 developer license. ...

text orientation flexgrid

Hello guys Is there anyway to align the text in msflexgrid in vertical orientation like excel does? thanks ...

VB6 PictureBox SavePicture - save picture as png?

With VB6 PictureBox, how do I save to the png format? ...

Unable to load dsr files in vb6 project

I am currently trying to open up an old project that I have in my possession. Its written in vb6 and I have attempted to upgrade to a newer version but I get a slew of errors saying I need to have a working vb6 environment with all references in order to upgrade. I have vb6 itself working and when I open my project file any .dsr, .dsx f...

Named Pipes from VB6 to WCF

Can I have a VB6 app call a named pipe connection to a service written in C# with a WCF endpoint? The VB6 project that makes use of named pipes to talk to a service written in C++. I would like to convert the C++ service to C# (.NET 4.0 preferably). The VB6 project uses a Win32 call to CallNamedPipes to send a message to the server. ...

Why aren't TypeLib enums exposed as enums in Visual Basic 6.0?

I have a VB6 project that references COMSVCSLib and one of the methods makes calls to COMSVCSLib's SharedPropertyGroupManager.CreatePropertyGroup passing LockMethod and Process as parameters. Cleaned up VB6 code: Dim groupName As String Dim spmMgr As COMSVCSLib.SharedPropertyGroupManager Dim spmGroup As COMSVCSLib...

How to check type of Object in VB 6 ? - I do not want to use 'TypeOf' method.

How to check type of object in VB 6.0 we have to modify existing code to use 'typeof' method, Is there any method like moving cursor over object variable or like quick watch where I can see its type. I know following method but I do not want to use it - Set fs = New Scripting.FileSystemObject If TypeOf fs Is Scripting.FileSystemObjec...

VB6 program crashing during DoEvents, why?

I have a printing application that is using the Printer object to print files. On one particular machine (not others), this program will crash after processing some number of files (20 or so). The crashes always occur during a DoEvents call. Has anyone seen anything like this? Thanks! ...

Did VB 6/.NET interop recently get broken by a Windows update?

Recently a VB 6 application using .NET 1.1/2.0 components stopped working on my companies XP machines. The IT department was installing Windows patches at the time, so I'm wondering if anyone has heard of an update breaking VB 6/.NET interop? ...

Opening WPF form from VB6 app always loses focus

I have a WPF DLL containing a few forms I'm trying to call from a VB6 app. I've got most of the interop figured out. I can open the forms fine and for the most part they work fine. They operate on their own and don't need to communicate with the VB6 app. The problem I'm running into is that when the WPF forms open the first time I hi...

Read HKU VB and VBA Program settings

How do I read a particular vb program settings or registry entry from the registry of the key "HKEY_USERS\S-1-5-21-1390067357-1965331169-725345543-1003\Software\VB and VBA Program Settings".A standardized way to read as the part after hikey_users and before software changes with the pc used,but the vb programs do write perfectly at the ...

Which Blowfish algorithm is the most 'correct'?

I'm running Windows Server 2k8 (maybe that's half the problem?) Anyway, I'm getting different values out of different Blowfish modules in various languages. Is there one which can be relied upon as the standard? For the following examples, assume the key is password and the plaintext 12345678. a. The Online Encrypt Tool with Algorithm ...

VB6 .NET Interop - Performance issue

Hello ! I'm trying to use a VB6 app consumed in a C# app. The VB6 App is a Winform app. To do this, I have modified the VB6 App (EXE) to a DLL. Then I've referenced it in my C# app. In my VB App, I've add a new Class with some methods just to open VB forms. Everything works fine... except that if the form has many controls (30), the wi...

Using Excel Solver in VB with no cell references?

Hello there, I am writing some visual basic code to solve for a solution. In the end I want it to optimize the solution through iterative method which is exactly what the Excel solver does. However I need it in pure VB. The Excel solver relies on cell references which does not work for me :( My problem has 6 parameters and 1 value to m...

Visual Basic 6: Applications

Are there any enterprise class and/or commercially available applications written in VB6? Note that I am not referring to any .NET here. This question is specifically about Visual Basic 6. I know that there is a lot of internal code written by companies in this language but I was wondering if there is any commercially available software ...