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

[RESOLVED] Need help with a Listbox.ListCount error

My goal is to get CheckList to exit the sub if there is nothing in List1, but otherwise to run the code that comes after the if/then statement. The following code exits the sub as though...

View Article


Shockwave Resources that are embedded in RES File???

Hello I am looking to have a Shockwave DCR file, to be played everytime the Control is loaded in a Control Array. That part I have down pat, but then there is a problem with getting the Shockwave DCR...

View Article


[RESOLVED] I have a form thats an exit and I want it to disable other forms...

Hi, everyone, Hope everyone having a good day, I have a question, When I open my Exit form I want to disable all other form, stuff like I have a button and when the exit form opens I can still press...

View Article

how to read multistructural row of file

By function readLine i will read this sentence: 34444;12.12.2012;15.1.2015 (code; date1; date2) please: how to read which part of sentence is code, what is date1, what is date2 ?? thanks for useable...

View Article

I need to creat a popup menu with form name menu1 and menu name testmenu?

Hi, I need a right click menu, so what I have is a menu1 form that's the form name and it has a menu that I Its name is test menu, now I tried this code and did not work, am I doing something wrong....

View Article


Moving All Four Picturesboxes

I'm using the below code to move a Picturebox around the Form area. It's fine for moving one Picturebox but how do I move all 4 pictureboxes at same time and keep their respective positions by just...

View Article

WScript.Quit getting an error (Object required)

I made this code out of bordem but became really into it. It's a test that asks you questions and marks your score in a text document. The problem is, when ever I don't have WScript.Quit, it loops...

View Article

[RESOLVED] Prevent User From Resizing Column Width in ListView

is there a way to prevent from a user to resize the columns in a listview?

View Article


Designing/Formatting Excel during exporting Data from vb6 application.

Im using this code to export data from my vb6 application to excel. Is it possible to apply color formatting in the cell/columns of the worksheet where my data will be exported? Code: Private Sub...

View Article


Shell does not work in windows 7 and 8 pc for openfile command bat files

I am running a bat file in my vb6 code as shown below Code: Shell(Chr(34) & GetOpenFileList & Chr(34), vbMaximizedFocus) The bat file content is Code: openfiles /query /FO CSV >>...

View Article

Shell does not work in windows server 2008 and 2003 for openfile command bat...

I am running a bat file in my vb6 code as shown below .GetOpenFileList is a variable having path of bat file. Shell(Chr(34) & GetOpenFileList & Chr(34), vbMaximizedFocus) The bat file content...

View Article

Database, ADODC, table issues.

i have one database and two tables there are : field table1 : id, name. field table2 : id, picture. it have relationship on "id-to-id" with one-to-many relationship. i want to make one id have many...

View Article

Combobox showing options in listbox??

Hello All! I'm totally new on this. But I'm trying :) I was thinking of creating a Character generator to an Old time RPG (Paper and pen) and was thinking of using a ComboBox to select the Race and...

View Article


calculate distance from zip code vs zip code

I need to calculate distance in Km from zip code to zip code...? Suggest me a method iin vb6. Tkx

View Article

VB6 and Excel loading then unloading immediately

First off I posted this here http://social.msdn.microsoft.com/For...forum=exceldevHowever I think this is the right forum for this. We have an old VB6 application that uses data from and to Excel...

View Article


[RESOLVED] How to run periodically a process

Hello, I want to check automatically, at certain time intervals, if a folder has some files which I am interested in. For this purpose I chose to use the classic timer control checking per second if my...

View Article

Need a little help....

I am wondering if anyone has seen a code that will convert a date and time into the unix time stamp through visual basics. I have been looking for some time now and it would help me greatly. Any input...

View Article


Insert , Update, Delete,Update Cant figure it out

i have 2 tables named Debts & History i have a form that is named Frmorders now there is a comobox named CmbStatus it has 2 things Paid NotPaid i have also Have a form named FrmDebts now if i pick...

View Article

Image may be NSFW.
Clik here to view.

Creating Table which has Picture, ComboBox, CheckBox, Label

I want to generate table which have Picture, ComboBox, CheckBox and Label like attached file. I'm not sure if this kind of complex table is possible by MSHFlexGrid control. If not, how could I make...

View Article

[RESOLVED] How can I open a form by pressing F7

Hi, I need a code on how to press any code of like F7 F12 F3 to open other forms on my project. thanks

View Article
Browsing all 21835 articles
Browse latest View live


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