Using Datepart and Dateserial in SQL query
hello, I trying to execute the following sql query on Access database, to get those records which have DOB (a date) greater than 7 days than datetill (a Date) Bdaystr = "Select * From MemberRegister...
View Articleapplication hang problem
I have code below to check for piracy of my software. Though it is not the best out there but perhaps way to make it harder or annoying to be pirated. Code: Public Sub CheckForPiracy(num As Long)...
View ArticleNeed VB code to view which subset appears most
Challenge: The file Challenge.txtcontain a list of itineraries. Each row (or itinerary) contains a list of destinations separated by the char ";". SUPER-HARD: find the 10 most frequent subset of...
View Article[RESOLVED] Error in Using Option
Code: Private Sub cmdPrint_Click() If Opt1.Value = True Then Dim cnview As New ADODB.connection Dim rsview As New ADODB.Recordset Call connection(cnview, App.Path & "\Seeyou.mdb",...
View ArticleRESOLVED - multi search in txt files
Hi! I have a problem with txt files. There are may txt files in folder. I need to search a few string in txt files. For example; Within each file "11.10.2016", alex martin,...
View ArticleGettting tab names in IE11
With the help of the API functions SendMessage, GetWndowLib, and GetClassName I can get the tab name of a specific IE 11 tab, if it is active. But if the tab I need is not active, how do I get it. How...
View Article[RESOLVED] Gettting tab names in IE11
With the help of the API functions SendMessage, GetWndowLib, and GetClassName I can get the tab name of a specific IE 11 tab, if it is active. But if the tab I need is not active, how do I get it. How...
View ArticleChange to defaults
Hello My preferred font on all vb6 forms, controls etc. is Microsoft Sans Serif 10 point bold (and not MS Sans Serif 8pt regular). Is there any way I can reset the defaults of these so that the IDE...
View ArticleComponents could not be loaded
Hi I am trying to select component mscomctl.ocx it gives message '' Could not be loaded . Secondly on some components it gives message "Object control could not be loaded". I am using Windows7...
View Articlehow to query to list range dates
This involve to table field to query a result but I would like to list in rows a result of sql query between two dates. Im using mysql. I been thinking awhile now, i cant have idea of what statement to...
View ArticleJavaScript execution via VB
Hi All, Please need your kind assistance here with a code I am trying to automate the way we send bulk/free sms using way2sms.com. Basically I have coded a VB form with a webbrowser and I I am reached...
View ArticleAccessibility and VB6 user controls (supporting screen readers, etc)
I've tried searching the forums for information on adding accessibility features to VB6 user controls, but the results are pretty slim (and 15 years old!). So out of curiosity - are there any...
View ArticleConvert 8bit Wav to 16Bit wav
Hello, Assuming we have our 8Bit wav loaded in a bytearray. How can I convert this to 16bit and save out as 16bit ?
View Article[RESOLVED] Run time Error 3709
Code: Private Sub cmdPrint_Click() If Opt1.Value = True Then Dim cnview As New ADODB.connection Dim rsview As New ADODB.Recordset 'Call connection(cnview, App.Path & "\Seeyou.mdb",...
View Article2tables Data in one report
Code: Private Sub cmdPrint_Click() Dim cnview As New ADODB.connection Dim rsview As New ADODB.Recordset Call connection(cnview, App.Path & "\Seeyou.mdb", "endromida") 'Call connection(cnview,...
View ArticleCopying folders with subfolders. Too good to be true?
I have a large folder with many subfolders, some holding other subfolders and all holding files. I wanted to automate copying the main folder to another location, keeping all the structure intact. Many...
View ArticleClikc ok button on dialog box opening in webbrowser
Hello, I am new to VB6 and have to modify some code. My program loads a web page in webbrowser control and data is filled automatically when Ok button is clicked a dialog box is poped up I want to...
View ArticleInvalid Picture error in Picture box
Hello all, I am downloading a picture from website using URLDownloadToFile(0, img.src, imagenm, 0, 0) The file is downloaded perfectly and can be opened in mspaint ok But when i try to set it as...
View ArticleIs there a place to download OCX files?
I have a VB6 project that needs to be updated, and when I load it into VB6 on an Xp machine it says it can't find some OCX files. I'm not sure if these were 3rd party or from a very old Microsoft VB...
View Article