[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 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 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 ArticleHow to run opened form Directly?
I have a project in which i have added hundreds of forms....is there any way by which i can directly run(execute) opened form without changing in 'sub main' option?
View Article[RESOLVED] Menu Editor: Custom Shortcut, possible?
Hi Gurus and Everyone, I'm wondering if it's possible to make/modify/add more shortcuts on the context menu, for example: I will try anything to achieve this, even if it means to have only the...
View ArticleMigration - please advice
The heroic vb6 has kicked the bucket. Compatibility issues all the time - mostly with paths. Win 7 creates mystery paths, u can't read your own files. I gave up. And Microsoft say they want to stir...
View ArticleRestrict texboxt if input letters with numbers.
Hello guys, can you help me with my problem? I've created a program in vb6 and it will validate the characters you input in text box if it is a letters or a number. But how it is when I input letters...
View Article[RESOLVED] Cannot Jump to CmbLabel beacuse it is hidden error
when i highlight and press definition i get this error never seen this msg before i want to change the contex of this combobox how do i make it unhidden?
View Article