cant display my binary answer
Hi Ev1~ here is my sample code for binary code somehow when i try to click the answer it only display 00000 when i press no like 98 or any other no.. Code: Private Sub Binary_Click() Dim df As Integer...
View Articlecell checkbox
Hi, How to remove checkbox only in selected cell using vsflexgrid. By default I set column data type to boolean but when loading the data I want to remove the checkbox if no data available inthe cell....
View Article[RESOLVED] Sorting Arrays
Hello, Im looking to sort one array, and use the index from that array to allocate another array... ive declared; dim player(0 to 2) as string dim score(0 to 2) as integer I have sorted the score array...
View ArticleI need some serious help
Hi when ever I open a project I get this message object library not registered and that happens under components and says c:\windows\system32\mscomctl32.ocx this just started to happen when I moved to...
View ArticleI need some help please!
I am new to writing VB. I like it, it's simple and I have learned a lot in 1 month. I co-modified an application that displays information on TV screens. Nothing complex, just changes the image every...
View Article[RESOLVED] value error
hello everyone i have a form with 2 combobox now i added a text and i get a error message this is the code Cn.Execute "INSERT INTO Curses " & _ "(LssID, LssDate, LssStudID, LssTchrID ,Lsname)...
View Article[RESOLVED] Resize a Form
How do I resize a Form and keep the textbox the same ratio and the Listbox always the same width but it's height is resized keeping the same ratio Example: ScaleMode = Pixels Form.Width = 9390...
View Articlems access in web hosting for vb6.0
hi all, i have developed a front end in vb6.0 and connected back end as Microsoft Access 2007, now i am looking for ms access (back end) to be stored in web host and that should connect vb6.0. Please...
View Article[RESOLVED] Connection String
Hi I have written this cnn.Open "Driver=SQL Server;Server=Machine1;Database=Test;uid=sa;pwd=sql;" I want to hardcode this , i want to pass ServerName & pwd as variable . How it can be done Thanks
View ArticleHide Outlook Express send/receive window
Hello All! :wave: I'm using this code in order to check new messages: Code: With MAPISession1 .SignOn MAPIMessages1.SessionID = MAPISession1.SessionID MAPIMessages1.FetchUnreadOnly = True...
View Article[RESOLVED] Run-time error 1004, Application-defined or object-defined error
Code: 'Save the report   msFileName = "STT_Audit_" & Format(mdtStartDate, "yyyymmdd") & "_" & Format(mdtEndDate, "yyyymmdd") & "." & msFormat   sFullFileName = msFilePath &...
View Article[RESOLVED] Cannot end a while-loop. Error message
Hi I get an error message when compiling the following code: REST = 10 While REST >= 0.001 REST = 0 HJXS = XS XS = XS - (XS * XS * XS + AKS(2) * XS ^ 2 + AKM(3) * XS + AKM(4)) / (3 * XS ^ 2 + 2 *...
View Articlemy decimal function is not working
Hi Ev1 last time i already made hexa,octal and binary...somehow when it comes to decimal it have an error it says expected array at the Dec line Code: Private Sub Decimal_Click() Dim dec As Long...
View ArticleHelp for creating a VB GUI for modifiyng a VBScript file
Hello everybody, My name is Cristi, i am an engineer, i have a task to do and i am a bit confused how i could do it in the easiest and best way. So here i am asking for a little help from you people. I...
View ArticleHow to print the record shown on DataGrid after querying the database
Hi, I really need help. I'm a new user in this VB forum. I wrote a software to monitor academic performance of students. I have linked Adodc to DataGrid to retrieve some record from the database based...
View ArticleHow to calculate a value depending on width of Form
I have a Form that shows a progress bar like (not a real progress bar) motion that prints a certain number of repetitive characters across the width of a Statusbar. The number of characters that it...
View ArticleCan't figure out the logic to avoid a crash
A function performs a loop that simulates some animation on a picturebox and goes on for about 15 seconds. The associated code uses an instance of a class. If I click on a "Exit button" while the...
View Article[RESOLVED] Restart Program
Hi, I've made a game using visual basic 6. When the last form is displayed the user will be given two options - to play the game again or to leave the game. Is there one piece of code which will reset...
View Articlemy openpar not working
Hi Ev1~ i need to do this ( )for my calculation ..somehow when i want to make a coding for the openpar & closepar it highlight at AddTextAndFocus ""...it tell variable not define Code: Private Sub...
View Article