12,155 Topics
Good day guys! How to connect mysql to visual basic 2008? thanks...
Hi, i want to get current position of cursor on the form. there are label to show the coordinates of cursor position. anyone can help me. i don't have idea for this. thanks Best regards.
Hi masters.. how can i shutdown computer using api files in vb6? best regards.. Gbu
how to create Context Menu and Event Handling in Visual Basic .NET
I am a programming student and active volunteer for a foundation, if anyone out there is kind enough to share some help please read below. I will need your help guys for a Simple Inventory System for a foundations' furniture and jewelry store. The software of course should follow the …
Is there an instruction that I can add to a button click to exit a program
Hi, All: I am getting crazy about this error. I tried everything but no help at all. Here is the simple task I want to do: adding a chart. The code is as below: Charts.Add ActiveChart.ChartType = xlXYScatterLines Set myrange = Worksheets("Sheet1").Range("B16:B18") ActiveChart.SetSourceData Source:=myrange, PlotBy:=xlColumns ActiveChart.Location where:=xlLocationAsObject, Name:="Rates" It always …
i want to view the number of my expired and non expired stocks, and i cant figure it out. Heres my code. can some please help me? [CODE] Private Sub Form_Load() If rsInventory.RecordCount > 0 Then Do Until rsInventory.EOF If Val(rsInventory("Expiration_Date")) < Date Then expired = expired + 1 rsInventory.MoveNext …
Good day! May i ask? This is the scenario: The main purpose of daily activity report is to monitor the library transactions and to find out borrowers who are overdue. The report should be generated at the end of each business day and should contain the following data items: for …
Hello, I am trying to do (I think) a simple thing in VB- send commands to the com port or parallel port. VB is out of my comfort zone. I am a beginner. Most of my experience has been in industrial controls/plcs, etc. Ideally, I could send a discrete binary …
Hello, I am having an issue with my legacy app saving files to Windows 7 machines. My first thought was that I would just run the program as administrator but that helped none. I have attempted saving this image to the temp folder and to appdata but neither seems to …
Got this quiz and want to change the code so that it displays the correct answer for any question that the player misses. I open it/modify it in NotePad and dbl click the file to launch Windows Script Host to run the quiz... Any help will be appreciated. 'Perform script …
Hi, I have visual basic 6 program which loading and saving a big .bmp file. This is the bizarre thing: It runs okay (although slow) in windows xp with Intel Pentium 1.5 Ghz processor and 512 Mb of RAM. So, logically it will run okay and faster in windows xp …
Hello I'm new to this forum and quite new to visual basic. I started editing an existing code (basicaly to learn vb) without any real previou experience. Well let's get to the point; I have a form that gathers data from db ordering by user ID (on click count). I …
please help me! im doing a date comparing project where in i compare the expiration date and the current date i put this on the general [CODE]dim mydate as string[/CODE] then at the formload [CODE]mydate = format(now,"mm/dd/yyyy")[/CODE] and also on my database id format the Expiration field as Date with …
In vb6 How to Set App.Path in .mdb file
Need to write a script wit the following criteria using VBScript: Am an English teacher and have some programming experience but not to this extent that is needed. Just trying to make it easier on me for grading... 1. prompt user for a # of quiz scores to input, should …
Hi Here is my question. My project is basically a addition test for 5 to 9 year old children. On my form I have a button which when clicked, it inputs a number from 1 to 10,( which is chosen by the user via an combo box drop down), into …
I am trying to make a stock control work sheet and I am having problems with a circular reference. Take cell B2 and place this formula in it =(A2+B2). I now have a circular reference. I have turned on the iteration in Tools,Options calculation and limited the maximum iterations to …
how can you sort out an unlimited file when your using a bubble sorting technique in vb6?
Hello, i would to import the last modified txt file from a directory (c:\Folder) using a macro in Excel. I have a folder which is incremented everyday by a new txt file. The goal is to import the last txt file added in the direrctory. I've already created a an …
Was how to form the password one could call the 4 form with each different password. example for the administration can only open the form and form alone administration secretary could only summon his secretary form only & to superiors could open formnya all. thanks for attention & assistance
[CODE] Option Explicit Dim rs As ADODB.Recordset Dim savePurpose As String Private Sub getData() Call EnableEntryControls(False) lvRec.ListItems.Clear Set rs = GetRecordset("Select * from tblDocSched") If Not rs.EOF Then 'records exists Call SearchMode(True) While Not rs.EOF lvRec.ListItems.Add , , rs.Fields("PhysicianNo").Value lvRec.ListItems(lvRec.ListItems.Count).ListSubItems.Add , , rs.Fields("PhysicianName").Value lvRec.ListItems(lvRec.ListItems.Count).ListSubItems.Add , , _ IIf(IsNull(rs.Fields("Department").Value), "", rs.Fields("Department").Value) …
[CODE]rsInventory.Open "SELECT Expiration_Date FROM YourTable WHERE Expiration_Date < DateValue(Date)", conn, adOpenStatic, adLockOptimistic[/CODE] what should be the value of that date. if i put date [CODE]rsInventory.Open "SELECT Expiration_Date FROM YourTable WHERE Expiration_Date < Date", conn, adOpenStatic, adLockOptimistic[/CODE] ive got an error 'no value given value given for one or more required …
What i wanted to do is to limit the number of users to be registered for my system. One for User type and one for Administrator account, and if there is already a user and admin account, adding will be disabled, else, enabled. Here's the code im using. [CODE]Private Sub …
Hello, I'm trying to open a URL wit the default browser in C++ using ShellExecute(), however I'm unable to do this, even using the example into the mocrosoft site. I'm not sure about what I'm missing. I have: [CODE] #include <windows.h> ... private: System::Void Go_home_LinkClicked(System::Object^ sender, System::Windows::Forms::LinkLabelLinkClickedEventArgs^ e) { ShellExecute(NULL, …
Hi, Just a form where I want to put a default value for a combobox: private sub form_load() me.combobox1.defaultvalue = 3 end sub The property defaultvalue is giving an error, 'method or data member not found'. what do you think?
please help me in making cpu scheduling in vb6!please...thank you so much for the help you can give..
Hi, Could anyone send me code for following problem.. I have two text files, one containing list of folder names another is a log file containing error description. I have to find error description from log file for every names in first text file. And i have to copy the …
Hi, Can somebody tell me how i can link two or more list boxes so that if an item is selected in a list box in a row, another item will be selected in the same row without selecting them one after the other from different list boxes. Thanks.
Hello, I have an Image Specifically for a certain XML file. And in Visual Basic is there any way to add an image, then have the image read from the XML file? Any Help would be awesome. :)
I have searched and cannot find out why my code will not update the database. The program stops at the mDA.Update(mDS, "temp_data") line with the following error: System.Data.OleDb.OleDbException was unhandled ErrorCode=-2147217904 Message=No value given for one or more required parameters. Source=Microsoft Office Access Database Engine StackTrace: at System.Data.Common.DbDataAdapter.UpdatedRowStatusErrors(RowUpdatedEventArgs rowUpdatedEvent, BatchCommandInfo[] …
Hello There, Is it possible to put a datepicker within a datagrid?. Can somebody show me the code pls. Thanks again Newvbguy
Dear Sir/Madam How to check execution time of a procedure with the help of Timer control? How i have tried, i am attaching herewith my test program. Please guide me.
[CODE] Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSend.Click Dim strSubject As String 'subject title Dim strBody As String 'Body of message Dim strBody3 As String 'Body of message Dim strBody4 As String 'Body of message Dim strBody5 As String 'Body of message Dim strBody6 As …
I'm a beginner student learning Visual Basic 2010, and im trying to create an auction countdown timer in my form but I'm not sure how to do it. The countdown timer Im interested in would be similar to the ones found in BeezID or Swoopco, where the timer continuously counts …
Hello, I'm trying to make draggable a borderless form developed using Visual C++. How ever, I'm not having look with it, and I had been unable to find an example about how to do it around the web. This is the code I'm using currently, and which is not working. …
I'm rather confused whether the application I have seen used a tool strip or a tab control for its main menu. When I tried clicking the tool strip images, the panel below changes instantly just like the behavior of a tab control, moreover, inside the panel is a tab control. …
hello guys:D, i am new to vb.net and need some help from you. i have created an application in microsoft visual basic express 2010. it works fine when i debug . also works fine when i publish a setup file and launch it. it works awesome on my computer. But …
hi guys im making a button which is print im still learning on how to do or use crystal report in vb6 to print a specific record based on what the user will input on the textbox or flexgrid anyone can help me on this?im eager to learn about this.i …
Hello. I've learned programming in Visual Basic 6 followed by turbo C++. I was able to make COMMERCIAL software using VB6 but not with C++. The thing is I need to learn a language (for software development) that has syntax and logic similar to C++ BUT COMES WITH AN INTERFACE …
Good day, I have a system and it has a studentdatabase.mdb database, ive putted password into the .mdb file and now when I run the .exe file of my vb6 program it says Not a valid password, Question: How can I automatically put the password of the .mdb file when …
Dear Sir/Madam, I have two types of procedure for one/same result. No. 1 procedure is very long without loop and no. 2 procedure is sort with many loops. So I want to check those procedure, which one is taking less time than another. Please guide me.
For example i have the following fields in the database name, student number, course then i have multiple data in the database e.g. 25rows = 25 students when i try to edit them, you need to first click the row in the datagrid that you want to edit then ive …
I'm just trying to write the following out in an excel cell using VBScript. What I want in the cell: =BDS(A2,$B$1,"dir=H") I'm having problems with excel accepting the quotations for some reason this is what I have and is getting an error with: ""=BDS(A"& LC &",$B$1,"dir=H")""
Guys! im doing a search program where in ill just search the name of the product then print it. [CODE] Private Sub txtSearch_Change() rsTransaction.Close rsTransaction.Open "select * from tblTransaction where mid$(Date,3,2) like '" & txtSearch.Text & "%'", con, 3, 2 end sub [/CODE] it is actually doing fine but i …
[code]Option Explicit Dim connectionado As ADODB.Connection Dim recordsetado As ADODB.Recordset Dim num As Integer Private Sub cmdCanceL_Click() frmSTUDENT.Enabled = True frmSTUDENT.Show Unload Me End Sub Private Sub openDbaseConnection() connectionado.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Documents and Settings\student\My Documents\dbStudentInfo.mdb;Persist Security Info=False" connectionado.Open recordsetado.ActiveConnection = connectionado recordsetado.CursorLocation = adUseClient recordsetado.CursorType = adOpenStatic recordsetado.LockType = adLockOptimistic …
hi can anyone tell me how to bring the WebCamCapture in visual basic 2008 .......the attached project is one i got from internet............in that WebCamCapture is something which i cant find also i cant bring that into a new project
hi can anyone tell me how to bring the [B]WebCamCapture[/B] in visual basic 2008 .......the attached project is one i got from internet............in that [B]WebCamCapture[/B] is something which i cant find also i cant bring that into a new project
hi mam sir can i ask for a copy of a reservation system using vb 6.0?
The End.