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

Is it possible to stop the form from unloading in the Form_Unload procedure?

With reference to the form I'm designing, when the Form_Unload event occurs (or rather, when the Close (X) button is pressed), a message box appears with the options OK and Cancel. If the user chooses...

View Article


VB6 Project won't open on Windows 7 64 bit...

Hi, We have a large (175,000 lines, dozens of forms and modules) reporting system built on VB6. I am charged with testing it on a Windows 7 64 bit box that has Office 2010 32 bit installed. I am aware...

View Article


Cut Sprites Out Of A Sprite Sheet...

In case you didn't know, this is a sprite sheet: http://fc05.deviantart.net/fs70/f/20...y7-d2ygn9z.jpg I would like to programmatically cut out each of those characters and save them as their own...

View Article

Select color text in a Listview

Is it possible to have a Listview display an item and its subitems with different font colours?

View Article

Combo Box Printing Issues , No Decimal Points, No comma, and Thousand Separator

Hi, I almost finish my program but I have these minor problems that I thought it could be fixed easily. Turned out it's harder than I thought when I google them though. 1) Is there a way to make combo...

View Article


VB6 to save a (unattached) copy of MS Excel during data logging...

hi. I am currently running a test GUI using VB6 - to test and log data to MS Excel 2007. All is working great. My Manager came up with a request: to give him the ability to immediately manipulate the...

View Article

Image may be NSFW.
Clik here to view.

List items from Ftp

is there any way to place a Text file in a Directory in Ftp and then gets its contents as Listbox items like

View Article

Controlling computer audio

Morning Y'all - - I'm trying to do something that it seems should be fairly simple, but even after looking through this forum and other sources in depth, I just can't quite find what I'm looking for....

View Article


ComboBox Event

What is the event that is raised when an item is selected from the list of a ComboBox (Style: 2-DropDown List)? I'm certain it's not Change, since I learned that it is raised only when text is entered....

View Article


[RESOLVED] checking between 2 values not working after clicking the button

i have a form that sends data now when i check and compare between 2 values label1.caption and txt(1).text and if label1.caption is bigger the txt(1).text then i cant send if its lower than i can. i...

View Article

how to show Excel workbook on a different drive...

Hi. I have a test GUI using VB6 that writes to MS Excel. If I use: Code: xlApp.Visible = True then the workbook is visible on the same computer as the one that the GUI is running. My question: What if...

View Article

frmentry.frm is not copied when copy the project folder to pendrive

Hai every body I done a vb project and all the files in a folder named SRLGNT.It is working well. the problem is when I copy this folder to pen drive one of the form i.e, frmentry.frm is not copied. I...

View Article

Lost in starting a project.

I have a project im working on, or attempting to start i guess. And im a bit lost on how to attempt this, so any help in getting going would be appreciated. Basically here is what im wanting this to...

View Article


Sending clipboard via winsock error 5

I m trying to send the content off the clipboard via the winsock the pb.Contents = pct rturn a error Run-time error 5 any help will be appreciated here is the code for the client and the server Option...

View Article

[RESOLVED] how to check a null value in the database access

i'm trying to check 2 values in the table if its empty or not but i get item cannot be found in the collection corresponding Code: Set rs = CN.Execute("SELECT UserSmsUid, UserSmsUn from Users") If...

View Article


[RESOLVED] command button to copy same values to another user in the same table

a little challenge for the experts here i have a form with a button called enable premmision now when i add a user i want to copy 2 values from the first user.(the same values) example if user salsa31...

View Article

[RESOLVED] how to play random mp3 files in a folder via VB6

Hello Suppose I have an app with Command Button ( Command1) and I have a folder have a lot of songs for example , (Audio) I want a code when I click on command the songs in folder (Audio) play random (...

View Article


[vbRichClient] How To...

I am starting this thread with a hope that all the users who are using vbRichClient will post all their queries here on this thread. How to use cFSO? I am trying to use the class cFSO present vbRC5 but...

View Article

check if adatabase is just opened

I use a Jet JRO code to compact and reapair Access database located in C:\MYDIR\MYDB.MDB. Naturally if the database is just opened in edit mode the code go in error..."database is just opened from...

View Article

capture java promt

Code: WebBrowser5.Navigate "javascript:void(prompt('',gApplication.getMap().getCenter()));" shows the latitude and longitude of the center of the map just fine as a pop up but how could i get its...

View Article
Browsing all 22081 articles
Browse latest View live


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