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 ArticleExcel 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 ArticleNo 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 Articlehelp 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"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 ArticleSimilar 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 ArticlePrinter 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 ArticlePassword 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 ArticleHow 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 ArticleInvalid 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[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 ArticleCombo 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 ArticleTextBox 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 Articlewebbrowser ( 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 ArticleA 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 ArticleGet 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 ArticleCombobox 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 ArticleHow 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 ArticleListview 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 ArticleHow 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