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

Open Different Data Source Name

Quote: FindCon.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;" & "Data Source=" & App.Path & "\BSParking.mdb;" As you can see the example above it opens BSParking.mdb, Is there a...

View Article


Excel Sheet in vb6

Hi evryone I have an application in vb6 it's a databas and now is the problem how can I open an excel sheet without going to program excel. With a form ??? How to make this in the same application ?...

View Article


No value given for one or more required parameters

Hi On rs.open it gives me above error dim rs as adodb.recordset dim str as string Set rs = New ADODB.Recordset str = "select transactionno,vehicleid,grossshiftdate,custname,prcname from transact where...

View Article

help me how to give hint in quiz

hi am making quizbot. i need source code to give hint(show 2 3 word in from answer in there pattern) as the time reach the hint(hint of give word will increase). ex: who is first man who walked in...

View Article

Image may be NSFW.
Clik here to view.

"syntax error in where clause" - please help

Hi, please help me on the below code, i am new at VB. Code: Private Sub cmdOK_Click() Dim sqlPassword As String Dim rstPassword As ADODB.Recordset Dim intDaysLeft As Integer Dim dateHolder As Date Dim...

View Article


Similar repeating code and testing tools

PicBlackSquareDown1.Top = PicBlackSquareDown1.Top + speed If PicBlackSquareDown1.Location.Y > 800 Then PicBlackSquareDown1.Top = rnd.Next(-4000, 0) End If If...

View Article

Printer font not setting correctly

I have a program in VB4 16bit thats giving me trouble. I'm trying to get it to print to a modern printer with a fixed width font. If I set the font and font size in the code it works for one page and...

View Article

Password Attemp

Heya guys =) Here is my Code Password Code: Private Sub cmdLogin_Click() If txtPassword.Text = "training" Then EmployeeStartup.Show Unload Me Else If MsgBox("Do you want to try again ?", vbQuestion +...

View Article


Image may be NSFW.
Clik here to view.

How can i download the file?

Hello, How can i download the file in background? Example link: http://www.egitimhane.com/2-sinif-de...i-d133373.html Thanks.. Attached Images  

View Article


Image may be NSFW.
Clik here to view.

Invalid Property Value: DTPicker

EDIT FORM cmdUpdate Code: Private Sub cmdUpdate_Click() On Error GoTo errupdate executeQuery "UPDATE Finder SET Owner = '" & txtOwner & "', EmployeeNumber = '" & txtEmployeeNumber & "',...

View Article

Image may be NSFW.
Clik here to view.

[RESOLVED] Invalid Property Value: DTPicker

EDIT FORM Code: Private Sub cmdUpdate_Click() On Error GoTo errupdate executeQuery "UPDATE Finder SET Owner = '" & txtOwner & "', EmployeeNumber = '" & txtEmployeeNumber & "',...

View Article

Image may be NSFW.
Clik here to view.

Combo box Shadow problem

Hi, I am using Visual Basic 6 on Windows XP test machine. Here is what I have : Option Explicit Private Const CB_FINDSTRING = &H14C Private Const CB_SHOWDROPDOWN = &H14F Private Const...

View Article

Image may be NSFW.
Clik here to view.

TextBox enable when click

Screenshot About the screenshot above, the Card Status is Enabled, but the rest are all disable. What I wanted to be is when I input card status, the Employee No. will be Enabled. Others will remain...

View Article


webbrowser ( Referer ) HOW TO

this is working wb.Navigate url:="http://yah-underworld.com/index.php" _ , headers:="Referer: www.website.nl" & Chr$(13) & Chr$(10) how do i add another line to it like this wb.Navigate...

View Article

Image may be NSFW.
Clik here to view.

A Virus! Highly Infectious Disease

Screenshot There are 2 Records, record A and record B I did update record A, but after I hit update it seems like that the record B has been infected and transform to record A! What a monster! Please...

View Article


Get with Inet not working

Having a strange problem. The code below has been working for years, however, we just changed our hosting and now it does not perform the Get. I have verified the correct username, password and file...

View Article

Combobox connect to a DTPicker

Hi, My Edit Form has a combo box, the combo-box has a 5 listed items namely; 1st, 2nd, 3rd, 4th and 5th ID. Also the Edit Form has a Disabled DTPicker. Is it possible if when the combo-box sets to 5th...

View Article


How to set the program to run on limited time or demo?

i'am a student and has a internship with government office for which this project will be tested. my coach on that office wanted a computerized inventory, that is why he asked me if i know some...

View Article

Listview Checkbox: Permament Check

In my program, using the Listview is a very big help. I need a check mark for checking up the records that are already been printed or already been released. With the built-in Checkbox of the Listview...

View Article

How do I save a file by date and time

I want to save files so that the date and time are in the file name but using Date and Time cause error 76: Path not found

View Article
Browsing all 21114 articles
Browse latest View live


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