vb6

How to refresh the crystal report?

Using VB6 AND Crystal Report 9 In my software when i view my report, it is displaying a old data's, if there is any changes in the data's every time i have to refresh my report. How to refresh the report automatically when i run my software. Code Dim crApp As CRAXDRT.Application Dim Report As CRAXDRT.Report Set crApp = New CRAXDRT.App...

Where can I download Sp5 for Visual Studio 6.0?

Folks, My google-fu is failing me today. Anyone have a link to a download for VS 6.0 Sp5? I can download SP6 but the bean counters say it has to be SP5. Thanks ...

Generating Serial Number

So I'm creating a Activation class for a VB6 project and I've run into a brain fart. I've designed how I want to generate the Serial Number for this particular product in a following way. XXXX-XXXX-XXXX-XXXX Each group of numbers would be representative of data that I can read if I'm aware of the matching document that allows me to und...

Is there a way to Zoom a Rich Textbox's contents in VB6?

I am trying to zoom (resize) the contents of a rich text box in VB6 so that all the content is visible. (I zoom out until the scroll bars disapear). ...

How do I save an entire VB6 project to a new folder? Modules and all.

How do I save an entire VB6 project to a new folder? Modules and all. I'm in a position where I need to work with some old VB6 projects. I'd like to save them to a new folder but when I save the project, all that is saved is the vbp file. No modules, no frm files. I want to be able to save all the info to a single folder without moving e...

Assign VB6 Variant into an Object

I have a VB6 application that uses a C# compiled Dll. I have been successfull in making this work by means of COM. But my problem is that I have a Variant array with String and Double data types inside it. I need to pass this array to my C# Dll, which is receiving the array as an Object. So, all I need to do is to convert the Variant arr...

How would one go about Accessing Variable Addresses in VB.NET

I have to upgrade a legacy VB6 app to VB.NET; this app uses a function call from a .dll that takes a memory address as one of it's parameters. The VB6 app does this with the VarPtr() function, but this function does not exist in .NET. How do I retrieve the memory location of a variable in .NET? -Edit1 For example aVariable1 = aFunct...

A way to update the active sheet from the active Excel workbook using c# ?

I would like to update values in the current sheet in current document regardless of file name of excel. In vb6.0 we could do Set AppExcel = GetObject(, "Excel.Application") Set SheetExcel = AppExcel.ActiveWorkbook.ActiveSheet How ever I have been trying to do same in C# . Is there a way to do same in C#. ...

Building connection pool for a custom database in classic ASP

In my real application, I have a VB6 DLL which is called from classic ASP pages. The application calls a non-standard database. I want to have a connection pool class which will stay alive permenantly. I set the compilation flags to keep the DLL in memory but despite that, the pool is periodically destroyed. I’ve already tried changin...

Crystal Reports 7 runtime

i use a program written in VB6 that uses crystal reports 7 for reporting. my machine crashed recently. i managed to copy the program files to a new system. when i try run the program, a file related to crystal reports is said to be missing. i was advised to install crystal reports 7 runtime. but i don't have the setup. anybody know where...

Finding ODBC connection name

Situation: I have a program written in VB6 The source code of the program is not available It connects to a database using ODBC connection string. The vendor setup a connection name to the database when the program was first installed 6 years ago My machine crashed, all the settings are gone! The program vendor is out of business. Even...

How to embed Adobe Photoshop in my App

We are developing a software that will automate many crucial activities in Photoshop. This application is targeted for newbies. In this application I want to embed Photoshop's window in my applications window. Currently Photoshop runs separately in its own window. How can I get it to run in a particular location in given space in my a...

Download File - VB6

Hello Everybody, Does anyone know how to download a file (without opening a webpage), and save it to a directory in Visual Basic 6.0? Its a pretty straightforward question, so I'll just leave it like that... Thanks, Kevin ...

VB6 File Access on Windows 7

I installed an old VB6 app that I wrote on Windows 7. The app produces an HTML file and saves it to Program Files (x86)/{Application}/report.html. I then installed a newer version of that app on the same machine and ran the same report. But when I open the new generated report.html file, I see the OLD version of that file. It seems lik...

What causes this error? "Runtime error 380: Invalid property value"

Hi all we had developed an application using vb6.0 and SQL server 2000 a few years ago. recently, some of our customers tell us that while running the application, on some of computers which use Winxp sp2 as their O/S, they get the following error when they want to show the search form: "Runtime error 380: Invalid property value" What...

Disable HotKeys When Typing - VB6

Hey guys, In my VB6 program, I have tons of hotkeys such as X, A, D... ETC . I also have a chat system in it, where everytime I use the characters X or A it will do the actions of those hotkeys. For example, if X was to close the application (not that it really does), when I am typing "fiXing" into my chat textbox, it will close the app...

Is there a way to register a dll on a server as part of a build?

I'm trying to build our web application automatically. I need to be able to copy the VB6 DLL's to a server and register them since the webapp is using them as a backend. I can't seem to find a way to register them from another machine. I can't use rsh because it isn't allowed on this server. ...

Progress bar in VB 6.0 from Transcoding process in FFMPEG

Hello experts. firts excuse me for my English it`s super Freak. Sorry I have a big problem , i need finish my applicatión in VB6.0 for a test in my High Schooll and i can`t find the solution, My app open a FFmpeg.EXE file which open a cmd window Prompt and start a trascoding process, i need link the last line generated into the Promp...

Is there a COM accessible library to allow URL Encoding?

Using VB6. It's not hard to roll your own, but I wondered if was a prebuilt one out there? ...

Address space of DLLs called from classic ASP

My application consists of a VB6 DLL that is called from ASP. It needs to manage a pool of connections to a (non-standard) database. I implemented this by using a global variable, but this is being reset every 20 minutes due to an ASP setting causing the application to crash. A previous poster said that DLLs in ASP are all created in th...