vb6

VB6: Extend number of items in combo box

Is there a way to extend the number of items that appear in the VB6 combo instinsic control, when it drops down? I have about 10 items and I'd like to show them all. ...

VB6: flicker free ListView with LVS_EX_DOUBLEBUFFER?

With VB6, is it possible to use LVS_EX_DOUBLEBUFFER to make the common control ListView flicker free? This property is exposed in VB.NET, but not VB6. I will be using version 6 of common controls, so in theory it should work. However I do not know how to implement it. ...

how to pass parameters to a function in a .net dll via COM/VB6?

hi guys, i have a .net dll written in c# which reads data off a data source and acts as a wrapper to allow other apps to call its function to retrieve those data. the thing is i didn't anticipate the .net dll to be used for other than .net apps, so now i was told this all is going to be used in a vba/powerpoint macro which i figure is r...

visual basic 6.0 project menu corrupted

hi all I do not know why the project menu in visual basic 6.0 IDE has been corrupted and I don't see all menu items such as references, project properties,.... it might be useful to know that I have installed SP6.0 of visual studio 2000 enterprise edition. any suggestion ? ...

How to declare variable containing character limiting to 1000 bytes in vb6

How to declare variable containing character limiting to 1000 bytes in vb6 ...

Ways to feed a report (degined by crystal reports 8.5 in vb6.0) to show a special record ?

Hi I am new to Crystal reports and now I have designed a report via Crystal reports 8.5 in vb6.0 and wanna to display the report. I have picked up fields data from a View within my Data base but as you know Views have several records. I wanna to select a special record by a Primary key which is value of a textbox on my form. please h...

Limiting the size of vbstring to 10240 bytes in VB6

Possible Duplicates: How to declare variable containing character limiting to 1000 bytes in vb6 Object variable or With block variable not set runtime error in VB6 Exact duplicate of askers own question How to declare variable containing character limiting to 1000 bytes in vb6 How to declarare the size of string variable as 1...

visual basic 6 default property/method in module

In Visual Basic 6, it is possible to define a method/property as "default". When this is applied to a class, and a class instance is used, certain assignments use the default property/method defined on that class implicitly. However, it is also possible to apply default to a property/method that is housed in a module. What would this ach...

How to Call C++ Class Library From VB6

How do I make a C++ class library COM-Visible, and call it from VB6 code? ...

How to debug vs 2008 c# express dll which is called by a vb6/vba app?

Hi guys, i have a c# dll which is written to act as a wrapper to grab data from a data source and pass it to a vba/powerpoint ppa application. i don't have much experience with vba which is why i'm simulating this using vb6 which i know a tiny bit more about. i'm having enough problem as of now trying to understand the syntax and what...

Why do the windows of my Outlook mail items become unusable after my application terminates?

I have a VB6 application which creates and displays mail items in Outlook using Redemption's RDO. Everything works except after my application terminates the window of every mail item originally created and displayed by my application becomes unusable, i.e. I cannot send, save or print from that window. Requested clarification: I create...

How to set Weekly format for the DTPicker control?

Using VB 6 Am using DTPicker Control, In that I want to display weekly like 01/07/2009, 08/07/2009, 15/07/2009 so on…, If I am selecting a date after 01/07/2009, it should Display 08/07/2009, if I am selecting a date after 08/07/2009, it should display 15/07/2009. If am selecting a date before 01/07/2009, It should display 25/06/2009...

How to get the date parameter field in the CRViewer control?

Using VB 6 and Crystal Report 8.5 I want to pass the date parameter filed in CRViewer control. Code: Dim crApp As CRAXDRT.Application Dim Report As CRAXDRT.Report CR2.ParameterFields(1) = "txtFromDate;" & dtpFrom.Value & ";true" CR2.ParameterFields(2) = "txtToDate;" & dtpTo.Value & ";true" CR2.DataFiles(0) = App.Path & "\STAR.mdb" CR2...

How do I compare the size of executeables in VB6?

I have a project where I need to compare 2 executeable files and see if they are of the same file size. Unfortunately, this is an addition to an existing VB6 project. I'm not entirely sure how to do it other than compare filestreams? Could someone point me in the right direction? Thanks in advance for any help. ...

winsock socket error

followin error in vb6 code: 1) Error(10022) Socket not bound, invalid address or listen is not invoked prior to accept 2) Error 10048 - Address in Use ...

VB6 Will not Create EXE file - But it use to?

I am trying to compile a VB6 project. On the File Menu it use to display MAKE PROJ1.EXE. Now it displays MAKE PROJ1. (note EXE is missing) The program runs fine in the IDE. I can start with full compile. I can even create a set up disk from the packaging and deployment wizard. I have a sucessful install, but the package will not run...

Looking for VB6 Report XP file

Please i would want to know what kind of VB6 file that generates a report, in a VB programming? ...

Progress Bar and File Copying Problem?

Using VB 6 In my Project, when I copy the file from one folder to another folder, at the time I want to show the progress bar like copying…., Once the file was copied the Progress bar show’s 100 % Completed. Code. 'File Copying Private Sub Copy_Click() Timer1.Enabled = True Dim abc As Integer Dim line As String abc = FreeFile Open A...

How to select Monthly and yearly Dates?

Using VB 6 Using two DTPicker in my project, I want to select monthly and yearly like MM/yyyy and yyyy Now am Using Daily Date’s like 23/02/2009 (dd/MM/yyyy), I want to use like Monthly (MM/yyyy) and Yearly (yyyy) My Code Public Function DaysInMonth(dte As Date) As Integer Dim d As Date d = DateAdd("m", 1, dte) d = DateAd...

VB6 DATA REPORT FILE

Please i would want to know what kind of VB6 file(s) that generates a data report? Example vb common dialog is generated by COMDLG32.OCX, vb datagrid is generated by MSDATGRD.OCX, microsoft data report designer v6.0 is generated by MSDBRPT.DLL ...