Random Questions
This maybe quite immature topic but many programmers overlook or neglect these...or just confuse (just like me :bigyello: ) Here I go: ------------------------------------------------------------------...
View Article[RESOLVED] help on function to return with decimals
I have this function Public Function GetIntervalWeeks(mycriteria As Integer) As Long Dim a As Date Dim b As Date a = Format(GetLastRequestDate(mycriteria), "mm/dd/yyyy") b =...
View Articlehelp on query
I have this two tables: PO tables and Purchases tables Purchases data comes from approved transactions from the PO. But when I retrieve data from PO, it should be net of previous received orders like...
View Articleinvalid use of null
help me..... i m writing the code for an app i m getting the error invalid use of null.my variable storing null value after the loop execution.first 3 times of loop execution it is saving the correct...
View ArticleVb6: how to execute standard exe in a synchronous way
Hi all, I did a standard exe in VB6 that I launch from dos command line. When I execute the program, the prompt returns immediately while the program executes his commands. How can I execute the...
View ArticleMoving Counter (Text Boxes)
I am trying to create the game frustration in VB6 using text boxes and I have encountered an issue. I cannot get the counters to move around the board as they should. I have attached a .zip file with...
View ArticleOperation must use an updateable query.
Hi to all master, i'm new in vb6 programming and i'm creating a simple server/client connection which saves and delete a record. upon clicking the save button i always get an error of OPERATION MUST...
View ArticleKeeping Score in vb6
I am coding Pong in Visual Basic 6, I am currently struggling on how to keep a running-score for each paddle. I would like the game to be up to 10 "Points". Once a player has reached that he will be...
View Article[RESOLVED] how can i make a progressbar with 15 seconds duration countdown
how can i make a progressbar with 15 seconds duration countdown i mean like 15 ,14 and when it is 0 then msgbox popsout
View ArticleImage (or Label) Control Array (Index) within UserControl?
I am wondering if it is possible to use image or label control arrays on a UserControl? Like, if I were to use the following code: Code: For i = 1 To 12 Â Â Form1.UserControl1.Label1(i) = "X" Next Is...
View ArticleMake chart like this
hi.. iam use Ms. excel to make chart like this and the data source: KELURAHAN PENYAKIT QTY Kota 1 TBC KELENJAR 10 Kota 1 THYFUS DAN PARATHYFUS 1 Kota 2 TBC KELENJAR 6 Kota 3 TBC KLINIS TANPA...
View Articleset/calling OCX from different path of System32
I have a ocx in c:\mydir\myocx.ocx I need to calling this ocx from local dir insteda to system2. Note: i cannot have a permission to save this ocx in sytsem32 :mad::(;)
View Article[RESOLVED] Change Webbrowser Background Color On The Fly
I would like to know how to change the webbrowser background color on the fly. I've loaded a URL and I want to be able to possibly Document.Write a background color change. Any ideas?
View ArticleUsing PictureClip
I thought PictureClip holds an array of pictures (Rows and Columns) and in order to get a certain element you needed to reference it by it's row and column numbers but I do not see any property to do...
View ArticleDeleting Installation Proram
Hi, all. I want to make my installation program a "run once only" program. So I currently have the installation program install the compiled VB. When the VB.exe is run, I have the following code:...
View ArticleI want to get my Results as an array then Send them to an excel Sheet !!
Hi, I'm a Civil Engineer and I'm new to VB I've this assingment that should be delivered after 9 hours :cry: I should make an " Interaction Diagram " and that is some sort of a diagram between...
View ArticleListView header drop down?
This is a really neat feature in Explorer and I'd like to add it to my ListView, but I'm not sure how: None of the documented styles for the header control do that. Anyone have any idea how to do it...
View Articlesum of columns in sql which includes null values
I'm trying to retrieve a field based on a condition as follows. A11, A13, A21 and A23 are the columns (Number data_type) may contain null values. My condtion is : Retrieve SubID where (A11+A13-A21)...
View ArticleForm Objects Position Top Left
Hi everyone, I was wondering if there is any tool in VB6 itself or a third-party-tool that can allow me to get the position of objects that I move in my form. I do this manually but is taking me for...
View ArticleSave MS Access Database file as a ZIP file with VB6 code
I would like to know how to save my MSAccess Database file as a ZIP file with the help of VB6 code. Can anyone help me please ?
View Article