Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Browsing all 21376 articles
Browse latest View live

Can I call a sub when a user clicks on the little red x in the top right corner?

Hi there everyone. I have this student point prog, and I would like to be able to call a sub SaveStudentBANKACC when the user clicks on the little red x in the top right corner. I know there is a form...

View Article


How to catch a oracle output value in VB

I'm new to VB and I was wondering how to catch an output value from an oracle command. I got this code: Code: Dim paramRet Dim output Sub function() sql = "DECLARE  variable := VARCHAR(10);  variable...

View Article


To make the clsid address of the ActiveX to be stored as a String Variable!!

Hello I am trying to use a FileListBox to capture the clsid address of an ActiveX Control that is selected using the FileListBox and then store the clsid address as a String, like that of what I was...

View Article

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 Article


How 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 Article

Sub 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 Article

Visual 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 Article


Null 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 Article


Date

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 Article

Email

Hi Is it possible to send email with attachment Thanks

View Article

Stored Procedure

Hi How we can get SQL Server Date using Getdate() through Stored Procedure in Visual Basic 6 Thanks

View Article

Photo 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 Article


Turn 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 Article

Search 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 Article


Image may be NSFW.
Clik here to view.

Importing 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 Article

how can I get url from firefox and chrome?

how can I get url from firefox and chrome?

View Article


i 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 Article

Can 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 Article

Default 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
Browsing all 21376 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>