Creating a Guessing Game
As a class project, we need to create a guessing game where the computer generates a number between 1 and 50. The user uses a button and a text box to input guesses. Here is my code so far: Public...
View Articleconvert a code to VB6...
Hi friends i have a code for creating hash code from password (for remote desktop ) . this code use CryptProtectData from Crypt32.dll this is that code : i want to convert this to vb6 code Code: unit...
View Articleshow message box That This Record already Exit in database ( no use Primary...
Hello, i have a problem that when i insert a record duplicate not show message box how can this code here in form Private Sub Command1_Click() If text1 = "" Then MsgBox "Type Class ID.", vbOKOnly +...
View Article[RESOLVED] How to align text vetically?
I'm using a floating textbox to edit the cells of a flexgrid, as the cells in it don't not have the SelStart and SelLength capabilities. Whenever the arrowkeys are pushed the textbox moves accordingly...
View ArticleQuestion about If statement
Are the two following If statements equivalent? If A = 5 And B = 5 And C = 5 Then 'Do something End If A = B = C Then 'Do something End
View Article[RESOLVED] How to write instructions on X (Exit) form
how to write code when this command his given ? Attached Images Â
View Article(help) need hash decoder
Hi everyone i have a little problem with has code.:mad: I dont know what methode to generate this string. this is a sample string. Quote: String 1: UWYC String 2: baitslfjlywo Output must be: 7607...
View Article[RESOLVED] how to count the table records and display the total in a textbox
i am trying to count the total customers in the table and display the total in a text box but i get item not found in the collection why? this is my code Code: Private Sub Form_Load() Dim rs As...
View Article[RESOLVED] help me to convert this
Hi, please help me to convert this to VB6,if any wrong coded on this,then please also mention here Code: Â public static String a(String var0, String var1) { Â Â Â StringBuffer var2 = new...
View ArticleHow to click in a Iframe submit button in webbrowser ?
I wanna click this submit button (value = "Send verification instructions") of this page https://mail.google.com/mail/h/d8qkr...wKYpyeNWmmp3YA <html> <head> <style> body {...
View Articlehow to Replace the Text in Word document using userform
hi to all am new to this forum, i am create user form in word template to insert data in particular place only. I have to create offer letter,when ever new joiner is come just i will open word template...
View ArticleHow to Query selected records in vb 6
Hi! I just wanna ask. How can I query selected records in adodc vb 6? I have a table name chief and field names ID, Date_Time, Nurse_Diagnosis, Recommendation, Medicine, Qty. What I need is to select...
View Articlebutton click event
Today I got an working example on forum to load list items with XML Code: Private Sub Form_Load() Dim objDoc As MSXML2.DOMDocument Dim objNodeList As IXMLDOMNodeList Dim objNode As IXMLDOMNode Dim...
View ArticleUsing Do While...Loop To Scan for Letters in Puzzle? (Wheel of Fortune)
I am trying to learn the concept of Do While...Loop, and I am wondering how I could use this feature to scan for any instance of the chosen letter in the puzzle? Like, if I was to pick a T, and it was...
View ArticlePrintScreen object in form and save it to disk as image
You guys work in vb since stone age , you probably know it for sure . i looked in net and i only found the code for the complete form or the complete screen and not for an object in form . How to do it...
View Article[RESOLVED] How to Query selected records in vb 6
Hi! I just wanna ask. How can I query selected records in adodc vb 6? I have a table name chief and field names ID, Date_Time, Nurse_Diagnosis, Recommendation, Medicine, Qty. What I need is to select...
View Article[RESOLVED] PrintScreen object in form and save it to disk as image
You guys work in vb since stone age , you probably know it for sure . i looked in net and i only found the code for the complete form or the complete screen and not for an object in form . How to do it...
View ArticleTrouble with counting a list of numbers from a multiline textbox.
Dim Num1 As Long Dim sum1 As Long Dim count1 As Integer Dim Divisor1list As String If KeyAscii = 13 Then Num1 = Val(txtNum1.Text) sum1 = 0 count1 = 0 Divisorlist = "" For Divisor1 = 1 To Num1 If Num1...
View ArticleHow to call public module function from DLL
Hi, I have an exe file and a dll file (include a module1.bas, class1.cls) was compiled Module1.bas Code: Public Function TestFunc() Msgbox "hello" End Function Class1.cls Code: Public Sub TestSub()...
View Articlehow to create a backup reminder VIA Public function
i am trying to create a function for the user that checks every week if the user did a backup for the system or not if he did then no msgbox will pop out if he didnt then a msgbox will appear...
View Article