Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Browsing all 21266 articles
Browse latest View live

run time err 10 in vb6

hi what is the cause of run time error 10 this array is blocked or temporarily locked.

View Article


Resize ListBox

I was referring to this thread - http://www.vbforums.com/showthread.p...ntrols-on-Form - and found it to work well enough for what I need in VB6. However, listboxes will compress and expand for...

View Article


Help!!!(please)

okay so i want to know how to show another form and i already know how to its show(whateveryourfornameis) and thats it but when i run my form and i mouse over my label and displays a message and does...

View Article

Search/Data collection coding help.

Hey, I'm a Mech Engineer and i work with a team. We search multiple excel files in different locations with information on multiple sheets. i'm trying to lean (improve this process) from college coding...

View Article

[RESOLVED] Working with multiple copies of a form?

I am making a notes app. There is a form, which is the parent, the example, the form that all the new ones are going to be a copy of, and has a textbox in it. It's called frmExample. I use: dim newNt...

View Article


[RESOLVED] MSCOMM32.OCX - How to use?

Gentlemen: I refer to "Visual Basic Concepts / Using the Communications Control". The URL is: http://msdn.microsoft.com/en-us/libr...(v=VS.60).aspx The Communications Control is MSCOMM32.OCX. Under the...

View Article

formName.show displays Name, but immediately removes it. Why? Need help, badly.

My VB6 App calls uses numerous forms. formName1.show diplays Name1 just like it should. formName2.show displays Name2 for only a mil-sec, then off. I can find no difference in definition of the forms....

View Article

Saving Word file to PDF

Hi everyone. My vb6 application uses a command button to open a Word 2010 document and fill it with various data. What I would like to do is place another button to convert this document into a pdf...

View Article


Image may be NSFW.
Clik here to view.

Error While Exporting the Data from Flexgrid to MS Access Table

Hello all, I know this query might have been asked many times in this forum but really appreciate if any one helps me out. Problem Statement : i had to export the data stored in Excel to a Flex Grid...

View Article


Subs/Functions Colored in Code Window

I am curious to know if there is a way or an Addon to VB6 where you can have all your subs/functions called be colored with any color you desire such as purple. It would help tremendously if it exists....

View Article

Send Email is showing error Transport failed to server

Am using the following code to send mail Code: Dim Mg As Message     Dim iConf As Configuration     Dim fn, schema     Set Mg = CreateObject("CDO.Message")     Set iConf =...

View Article

[RESOLVED] access webcamera in my laptop

hello im trying to access my web cam with vb 6 any ideas where to start or how? i searched the web found some samples but they all not working tnx in advanced

View Article

[RESOLVED] project to fit any resolution

hello i created a programm in vb 6 with resolution 1280 X 1024 is their a way to make it fit to all resolutions so that the programm will work no matter what i change? on any resoluton tnx for the...

View Article


require free vb6 for sp2

hi, can anybody give a link for free download of vb6.0 for sp2 pls...

View Article

VB 6 and Access

Hi all, Is VB6 compitable with ACCESS 2007.I keep getting the message "unrecognised database format".I have been able to communicate with BIBLIO but not the database I created in Access 2007 .Can some...

View Article


Changing ImageBox Picture in UserControl?

I remember having a user control done for me back in 2009 with the text label that could be changed in the program. But I am wondering if there is a way to add an ImageBox Control in a control array...

View Article

Precision problem (single vs integer data types)

At a certain stage during program run, (single) variables A and B have values: A = 4.95 B = 5 At these statements: If B-A > 0.05 Then Do This Else Do That End If B-A is 0.05 so 'That' should be...

View Article


[RESOLVED] Connection String

Hi I have written this cnn.Open "Driver=SQL Server;Server=Machine1;Database=Test;uid=sa;pwd=sql;" I want to hardcode this , i want to pass ServerName & pwd as variable . How it can be done Thanks

View Article

Hide Outlook Express send/receive window

Hello All! :wave: I'm using this code in order to check new messages: Code: With MAPISession1 .SignOn MAPIMessages1.SessionID = MAPISession1.SessionID MAPIMessages1.FetchUnreadOnly = True...

View Article

[RESOLVED] Run-time error 1004, Application-defined or object-defined error

Code: 'Save the report     msFileName = "STT_Audit_" & Format(mdtStartDate, "yyyymmdd") & "_" & Format(mdtEndDate, "yyyymmdd") & "." & msFormat     sFullFileName = msFilePath &...

View Article
Browsing all 21266 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>