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

Convert Word Doc to PDF using VB6

Hi guys ! This is my first post, hope it's on the right place hehe... Here is the code I'm using to make the conversion: Code: Word_App.ActiveDocument.ExportAsFixedFormat...

View Article


Hiding MS Word GUI using WebBrowser (ieframe.dll) control

I'm working on an application where we need to display read-only MS Office documents in a window much like the preview pane in Windows Explorer. Currently, my solution is to use the WebBrowser ActiveX...

View Article


Need help with an old vb project, bas file is in assembly.

Hello, the company my brothers works for has an old program written in visual basic that won't work due to a lost password from a few years ago. He retrieved the source code from the original developer...

View Article

How do I change ownership of an object

For example, App1 has a Picturebox control. App1 owns the picturebox so it would be correct to say the App1 is both the Parent and the Owner of Picture1. Now I change Parent's. I make App1's Picture1 a...

View Article

Directory/file navigation in VB6

I am using VB6 on a Windows 7 (64bit) PC and want to modify a program written in Windows XP. The original program used CommonDialog and worked exactly how I wanted it. But CommonDialog does not work on...

View Article


Randomly pick list of names

I wonder if anybody could help with a little program that i am trying to do i have a list of 34 international Football (soccer) teams and i want to randomly pick them to go in to groups a bit like the...

View Article

Webbrowser and SendData

Hey all, I have a piece of header data for a website and now i want to send this data via the webbrowser. But i am not sure what to send and where to put it This is what i get from Live HTTP Header in...

View Article

MSAgent Using "Create Object" Error "The callee is not available and...

Here is my code: strAgentName = "Merlin" strAgentPath = "C:\WINDOWS\msagent\chars\" & strAgentName & ".acs" Set objAgent = CreateObject("Agent.Control.2") objAgent.Connected = True...

View Article


how to count each value in the database using progress bar

i have a progressbar that loads drom the db is there a way that the progressbar will count each value in each table? this is the code that i use Code: Set rs = New ADODB.Recordset     rs.Open "SELECT *...

View Article


Disabling one image in WebBrowser Control

Is there a way to disable one specific image from loading (speed concerns) when using a webBrowser control in VB6 ? Is there a way to intercept the creation of the webpage before it is loaded, and then...

View Article

Using 2 Databases together in Insert Statement

Hi, I am using Access databases I want to copy data from one database to other database, ADODB connection names are DbSource and DbTarget. I have placed 2 ListBoxes on the form, list1 and list2, and...

View Article

Windows file name case-insensitive

is there away to make windows case sensitive through registry or api. CASE.txt case.txt any help thank you:wave:

View Article

[RESOLVED] how to count each value in the database using progress bar

i have a progressbar that loads drom the db is there a way that the progressbar will count each value in each table? this is the code that i use Code: Set rs = New ADODB.Recordset     rs.Open "SELECT *...

View Article


[RESOLVED] Using 2 Databases together in Insert Statement

Hi, I am using Access databases I want to copy data from one database to other database, ADODB connection names are DbSource and DbTarget. I have placed 2 ListBoxes on the form, list1 and list2, and...

View Article

Image may be NSFW.
Clik here to view.

[RESOLVED] ProgressBar1 did not advance...

Hi. I am testing a very simple progressbar code where the progress bar is supposed to advance (its tick bar display) once every second, after I had clicked the start button. The Timer1 is setup to...

View Article


[VB6] Question about winsock arrays and maximum array connections?

I have my server-client application to currently support 500 winsock connections on 1 single port. My question is, How many connections/arrays can it hold. once I get a large number of connections...

View Article

Bejeweled-Like Algorithm Needed...

As the title states, I am looking for a Bejeweled-type algorithm that will trigger if three adjacent objects in a row or column are all clicked.

View Article


Winsock Multiple GET Requesting

Hey, Fairly simple issue here... I'm building a Google Rank Checker. Basically it goes to google.com page 1, searches source for a string of text (in my case, my website URL) Simply put, this is what...

View Article

How to make a WMF file

I think they are better for resizing than using an Image Control and stretching the image. Anyone know how I can make them?

View Article

Count the value inputted in textbox

Hi guys I have this simple VB 6 problem. Hopefully you can solve this because I cant get the right approach, I have a txtbox named txtNoOfLot wherein you will input random number from range...

View Article
Browsing all 21195 articles
Browse latest View live


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