just a bit more age work
in the following code I am able to get the age of a person based on the year but not on the month... for example a person born june 26 1986 is written as being 27 but they shuld be 26 untill its past...
View Article[RESOLVED] WebBrowser Question
I'm using WebBrowser to send a request to my website via HTML. In the following HTML code I have to click on the Submit button to send the request. How can I change this to do the same thing without...
View Articlearray function - > Redim preserve and array copy --variable used as...
I wanted to write some function in vb6 for 1D array like "linespace" that creat a 1D array and fill with values starting from x to y with increment n 2) and a 2D array function "zeros" that creat a 2D...
View Article[RESOLVED] Clear Rich Edit content
Hi Guys! Code: Â Â SendMessage hWndRichEd, EM_SETSEL, -1, -1 Â Â SendMessage hWndRichEd, EM_GETSEL, VarPtr(lngSelStart), 0 Â Â strLine = "" Â Â SendMessage hWndRichEd, EM_REPLACESEL, 0, StrPtr(strLine)...
View ArticleCreate a barcode for an employee number like 'NLP-01-00001'?
It is easy to scan a barcode but I haven't tried creating or printing one. For example, we want to use a barcode and put it in our Identification Card, can we create a barcode for text like...
View Articleis it a issue with winsock
im making a program which will send sms with the api provided by the company to all the numbers present in my excel file.. im loading the excel file in msflexgrid.. the logic is to send sms to all the...
View Article[RESOLVED] .frx/.frm to .bmp - urgent and stuck!
I am basically screwed at the moment... I was previously working on my VB6 project at work, and the company closed down 3 weeks ago. I thought I had backed up everything I needed, but it seems I missed...
View ArticleClick on a textbox and clear it's contents.
Hi everyone. I am working on a student program, and basically I have a textbox called Text1 that says CLICK HERE TO ENTER ANSWER, but when the student clicks on it, I would like to clear the contents...
View ArticleWebBrowser control in VB6 -shdocvw.dll not working in Windows 8
I am using WebBrowser control in VB6. when i develop this in a Windows XP machine and when i add Microsoft Internet Controls reference , shdocvw.dll gets added. And my application works fine in XP. If...
View ArticleHow can run java code in webbrowser
Hi , thanks for this site its very gd i have this code html in page Quote: <input class="avgvg_CSS apccpssvbCSS" onclick="CALL('df.a.vote');" type="submit" value=""> i want to run this code call...
View Articlehow can i send spacebar by Alternative sendkeys ?
is there code Alternative sendkeys to send spacebar command ? ?? ? ??? ?? ? ?
View ArticleEmpty TextBox trapping Problem
Private Sub cmdSave_Click() Select Case TextBox Case "a" If txtMAdd.Text = "" Then MsgBox "No ADDRESS detected...try to fill all fields before saving.!.!.!.", vbExclamation, "Mechanic Manager...
View Articlehow to prevent others to use my dll and ocx?
I was amazed when I tried to use an ocx and a dll from a program for capturing image from webcam. As I tried to use their ocx and dll in the reference of my project, I cannot add it as reference...
View ArticleMost common word, code error "Run-time error '5': Invalid procedure call or...
Code: Dim brojac1 As Integer Dim myArray() As String Dim x As Integer, y As Integer Dim RijecPonavlja As String myArray = Split(sadrzajB, " ") For x = 0 To UBound(myArray) If Asc(Right(myArray(x), 1))...
View Article[RESOLVED] How may I use more than 1 character as a red flag for removal?
Hello there. I have a list of items for a student game. I borrowed some older code from a bingo game that would let you take away numbers from the bingo list of numbers to be called. Now I am working...
View Article[RESOLVED] Bad File Mode?
Hello there. I have had the chance to try out some really neat software at school that helps with students morning routines, such as signing in/attendance, etc. The program will load up a student...
View Article[Help] Subscript out of range
Hey, I've read the FAQ and my VB knowledge is quite lacking. Without too much explanation, this code is a snippet from a script for a bot that manages battle.net chat. (stealthbot) I'm having trouble...
View Articlecolour coding or grouping records in Hierarchical Data Grid
I have a HFG as in Pic 1. Attachment 96009 I would like to make it a little easier to see different groups by separating or colour coding them as in the next two pics. Attachment 96011Attachment 96013...
View Article[RESOLVED] Is something wrong with app.path?
Hi there! I am working a student attendance prog that saves the attendance to a txt file. The program uses this line to create and save the textfile. myFile = App.Path &...
View Article