Which language would you like to magic your vb6 app to?
If you could have your legacy vb6 code upgraded seamlessly to another language which would you choose and why? ...
If you could have your legacy vb6 code upgraded seamlessly to another language which would you choose and why? ...
For the 10+ years I've been using VB6, every now and then I get a "ByRef argument type mismatch" error where I simply can't find the mismatch. After struggling for a while I've always punted by forcing the type one way or another, but this time I thought I'd ask. I'm including all the code I think could have anything to do with this; b...
Looking for a way to enable someone to upload a single file which will be series of image files (all gif) merged together as one big file. Here is what I need to do: Using VB6, want to merge the image files (potentially dozens of them) into a single file Upload file to a PHP Script (easy enough) Have PHP break apart the single file and...
I don't do a lot of coding with VB6, but I'm updating an existing app now and just encountered a snag. I figured out the problem. In VB6, queries must use the % wild card when using LIKE, but in MS Access, you have to use the * wild card. I'm querying the same database - (it's in MS Access). When querying from within MS Access, the f...
I have a VB6 application that needs to recognise when the user changes the Windows Default printer via the Control Panel. Now when the application starts up, "Printer.DeviceName" contains that default printer name...easy. If you then change the Windows Default Printer via the control panel, your VB app won't recognize the new default u...
Hi I'm currently working with the Outlook 2003 object model in VB6. I'm trying to detect when a user removes an attachment from a message but although the model provides AttachmentAdd and AttachmentRead events, I can't see how to pick up that an attachment has been removed ? Any thoughts...? TIA Matt ...
I shell out an application from my VB6 app. I would then like to close it. How can I pull this off? ...
Hi, I am using VB6. The tool that i have created extracts few zip files and unzips them onto a folder that i create locally.In the clean up part of my code, i have deleted the folder using this code If (f.FolderExists(path + "Extracted Files") = True) Then f.DeleteFolder (path + "Extracted Files") End If When i run this...
I am graduate student trying to manipulate an existing program. Basiclly, the user is tasked to follow a target around with a joystick. I want the program to have a pulse rate associated with the position of the target. I've managed to find the section in the code where the position is calculated/determined, now I just need to add a cond...
I've found lots of documentation on how to install com+ components with WiX or an exported msi from dcomcnfg but the problem with these approaches is I can't see where to specify the com+ server. Currently we register the components with clireg and the -s switch which allows us to specify the com+ server like so: clireg32.exe BLEH.VBR ...
Hey all I have a .xll plugin that registered a few functions which we use in our excel sheets in a number of places. The performance was very poor, and we didn't have the original code, so we replicated the functionality by writing the functions in VB in a module. The functions work as expected and performance is much better. The probl...
My project has maybe 130 controls (total of all labels, textboxes, etc.) in an SSTab (4 tabs). The project loads fine, it runs fine, I don't see a single error or warning at any point, but when I save the form with the SStab on it, the SStab data isn't saved (it is completely gone). Normally the relevant portion of the .frm file looks ...
Hi, i'm developing .NET app. and using some vb6 common controls in design mode I can create image list and attach it to toolbar control but when I'm programatically adding toolbar buttons Toolbar.Buttons.Add(, "tbsave", "Save", MSComctlLib.ButtonStyleConstants.tbrDefault, toolbarImages.ListImages(1).Picture) get exception "Invalid Key...
Is it possible to use the default ComboBox control under VB6 to make it a smart ComboBox? We suppose that the values are already populated in the ComboBox. For example: New Delhi New World New York We need the ComboBox to respond to one of the default events, so when for example the user writes 'N' the value in the ComboBox will be th...
We are moving out of VB6 as quickly as we can, but in the meantime we've begun building our VB6 applications from the command line on a Build Server. Problem: The build server has a basic video adapter and causes the forms to be truncated down to the resolution of the basic adapter rather than the Height and Width in the Form itself. O...
Has anyone here used either of the following (or any other tool) to convert your vb6 code to a .net language? Artinsoft's upgrade companion (converts to c# and vb.net) vbmigration partner (converts to vb.net) How effective were they and what size project did you convert? How much work was left to do afterwards? How happy are you ...
My project requires I use VB (5 or 6)* to store a date in an SQL Server database. The SQL datetime type includes the time, which I don't want. I'm also aware that VB's representation of a date doesn't mirror that of SQL Server. So, how can I store a date held in VB's date type in the SQL database, as the datetime at midnight on that dat...
I am using an SQLite ODBC Driver (from here http://www.ch-werner.de/sqliteodbc/) with my VB6 application. Everything works fine, as far as retrieving and saving data, however, if I try to get the list of table columns via the following command: pragma table_info (myTableName) The ADO call fails with 2 errors (found in Connection.Erro...
Set rs = command.Execute if not rs.EOF then 'logic here end if The above code fails at line 2, because rs is closed(probably the oledb provider figured out, wrongly, that it is an insert command so no need to return anything). The command is an insert statement something like: Insert into log(Name,Value) values("xxx", 123); select...
Hi all, It's a longshot that anyone can help with this, but here goes. I inherited a VB6 app with a Janus GridEX control. It iterates through records, and is editable. Problem is, if I edit a cell and hit the button to go to the next record, the change is applied to the next record, not the one I was editing. It's like, I need it to ...