Dim statement question
Hi Guys, let me introduce myself, I work for a company that produces consumer materials and they are labelled in our factories, I have an issue with this: What is the situation? We print labels on...
View Article[RESOLVED] Alternative to Numega TrueTime
I'm using VB6 with SP6 on a 16 year old software package with no plans to update anytime soon. We used to use Numega Studio DevPartner, especially the TrueTime part, but we started to use 3rd party tab...
View ArticleHow to make a button that clicks on a certain coordinate inside a browser
I Need a code for a button that clicks on a certain coordinate inside a browser. Im using visual basic. And yes, I am a beginner. Thanks!
View ArticleSub buttons in the toolbar button
I want to make sub buttons under the toolbar button. For example, there's a toolbar button(shape). If I click that button, various shape buttons(line, rectangle, ellipse) should appear. This buttons...
View ArticleVisual Basic AddressOf expression cannot be converted to long
I am writing a code to control a portable radio in visual basic and have one single error that is AddressOf' expression cannot be converted to 'Long' because 'Long' is not a delegate type coming from...
View ArticleNull amount in recordset question
I use this code Code: Dim rsRpt As New ADODB.Recordset, rsAp As New ADODB.Recordset, rsT As New ADODB.Recordset, checkNo As String rsAp.Open "Select distinct k_vendor,k_name, checkno from...
View ArticleDate
Hi I am using SQL Database stored on the server . I want when user runs program on client machine it should show the Date according to server , not Client system's Date . How this can be done. Thanks
View ArticleStored Procedure
Hi How we can get SQL Server Date using Getdate() through Stored Procedure in Visual Basic 6 Thanks
View ArticlePhoto Viewer
Hello! Everyone I have new program on Photo Viewer. Everything is alright, but i'm getting little confuse on the below code: Private Sub File1_Click() If Right(F,1) <> "\" Then F = File1.Path +...
View ArticleTurn Off AutoComplete Browser Settings in IE9?
Is it possible, using VB6, to turn off the "AutoComplete" setting in an IE9 browser? If so, don't necessarily need exact code, just an idea on how to get started. API?
View ArticleSearch a Textbox for any of the given strings
Hello guys I've got four strings named Str1, Str2, Str3, Str4. I want to search a Textbox for any of these strings to check if one of them are present there. Any helps would be appreciated.
View ArticleImporting Notepad text colums in to MSFlexgrid1
Hi all:wave: I have a text file as attached, with 3 columns. How can I export the data to a MSFlexgrid1? Any help would be greatly appreciated :D Attached Files sample.txt (335 Bytes)
View Articlei cant remember how to do it
Hi, so i have a problem i cant remember how to solve. i want to open a text file and the directory is "C:\users\michael\desktop\test.txt" but it wont open obviously on other comps because the...
View ArticleCan I create an executable without compiling project?
I don't have the reference files on my machine but they are on the client machine. So how do I create the executable without one of the reference files? Thanking you in advance,
View ArticleDefault focus in a form or panel does not set inside a Web browser control
I am using defaultfocus property to set default focus in a form or panel. I am trying to set default focus for textbox and it works properly in a browser. But when the same page is loaded using...
View Article[RESOLVED] Win 7 - VB6 - MSAccess - and UAC issue
We have a VB6 application that accesses a MS Access database with both DAO and ADO. When running on Windows 7 (VB6 app is runtime executable) with different user accounts we have encountered a very...
View ArticleLoop
Hi! I have simple Do...Loop while program to print from 0 to 20. Let's have a look: Private Sub Command1_Click() Dim num As Integer num = 0 Do Print num num = num + 1 Loop While num <= 10 End Sub...
View ArticleIs it possible to create applications with UTF 8?
Hello guys, When I try to use UTF8 characters and make some forms or labels, I see only "??????". Like you see on the picture below: So, I would like to know, if there is some solution for this? I was...
View Article