12,155 Topics
help guys. im having this error.. i don't know hat to do.. please help..thankss #Region "FillListView" Sub FillListview() lvList.Items.Clear() sqlQry = "SELECT * from book ORDER BY book_id ASC" Dim mycmd As New MySqlCommand(sqlQry, myConn) Dim dReader As MySqlDataReader = mycmd.ExecuteReader() <---- this is the error im getting it says …
Hi guys, currently I'm doing my final year project using visual basic 2008 with active RFID. i need to determine the position of the tag in a 2D display. I managed to create a VB program where I was able to detect the RFID tag. the next step is to …
we were asked to input a number and display the sum of the odd and even integers. eg. number: 10 sum of odd: 25 sum of even: 30 [code]intnum = CInt(txtnum.Text) Dim counter% = 1 Do Until counter = intnum intcompare = counter Mod 2 If intcompare = 0 Then …
hi guys i ve a problem in doin my project. wen i give some data in the sales bill form i ve created, tat should appear in ms word bill format i ve designed how to connect my vb form with word and to take a print of it, plz …
[CODE]BACKUP DATABASE [DATABASE NAME] TO DISK=’\\SERVERNAME\PATH.BAK’ RESTORE DATABASE database_name FROM backup_device WITH RECOVERY[/CODE] i dont know wheather i should create a query file for the code
I need to draw a line on the FlexGrid in order to indicate what the center of the data. I use picture box on it and draw a line on that flexgrid. the problem is when I zoom the Flexgrid, the line is not put on the center as i …
How can i copy file with 60GB of size with much faster than usual copy (OS-Windows XP) using VB6.. any help plz.. thanks... xirosen
I am currently working on a program in Visual Studio 2010 and am having issues with getting it to send files, actually I am having issues with just about everything. The program is designed to send specific files to an iPhone through USB. I know it is possible and I …
What text1.SetFocus used for? Cheers, FPinget
I'm interested to see how many languages most programmers end up learning and what languages are the most useful or popular. I've seen people talk about Javascript, C, PHP, Visual Basic, SQL, Java, and Python a lot. I thought it would be good to write down a list of programming …
Hey guys,,here is a code that i got to upload an image,,,,i seriously dont understand wat s going on in this code,,,could some one help me out,,,,pls,, [code=vb] Private Sub mnuRecordAdd_Click() Dim rs As ADODB.Recordset Dim person_name As String Dim file_num As String Dim file_length As String Dim bytes() As …
Hello experts! Since I am a newbie in the Vb programming, I'm really eager to ask you about making a search code. In my program, I have a textbox named txtCriteria.text, wherein the user inputs the title of the book they want to search. These are the objects I have …
Hello All, I am not incredibly skilled in visual basic. I have manipulated script to suit my needs but have never written it myself. I am in need of help/direction. I have a database which was designed by someone else. I am looking to update a table in this database …
i need help . what are the codes for importing data from access and creating a text file which you save to a certain name. and this text file gets specific information by search. And can all that be done in one button?? Thanx
I do hope this is the right section (since VBA is so close to VB 6.0). Well here is my dilemma: I am trying to have Access return a customized report. The format I have been asked for it to be output as it the following: Machine type // where …
hi; I need help .now am using vb6 how to icrement values in database(ms acesss). if user click the check box then authomatically increment the database value 1 to 2 how it is posible.pls give a sutable solution
im fairly new to vb and wat i have to do is a very complex assingment. it will be a great help if this query is answered. i have made a form with 2 textboxes and a save command button and a database in ms access with 2 columns all …
i have a table called Members which contain records of all customer. in a form i fetch records from Members according to user input by Adodc1 then when i click on save button records are saved in different table called FD by Adodc2 if records are not found in Ist …
hi! any idea how to convert numbers into words like for example i input the number 1 and it will display the word "one". i want to make this in a large number like morethan or around 1 million. Anybody can help me! Thankyou in advance
[B]Hello..! i have an problem to connect a progress bar with listview object.P.bar working properly. bt i want to connect p.bar with ma sql database while m searching database.kindly help me where m i doin wrong..the code is below.[/B] Private Sub cmdRFind1_Click() On Error Resume Next Dim vLst As ListItem …
Is there a way to determine what control I clicked using a global click event. I would like to be able to click a form text box table I created for my access app to enable to enable and unlock it without have a million on click event handlers
Hello everyone! I'm new here. I'm currently working on a project. The concept is that I created a shell script that will query information, then I will use VB to get the data retrieved by the shell script and put it in a text file. I do not know how …
hi all,i dont know how to create a DLL and once created how to use that dll in a standard exe project.so plz guide me for the same by giving a simple example.All kind of hepls are greatly appriciated.
Hi i am working on website "http://pipecalculator.certainteed.com/index.aspx". The website is built on visual basic. I have to add line chart in it, which will use X and Y coordinates as inputs and outputs from the pipe flow calculator values. How should i go about it? Thanks Sidharth
I have a Splash Screen (which is the first thing that loads). and after 10 seconds of viewing the splash screen i want a form to appear... is that hard to do?
I need someone to help me with VB6 codes to add new columns to already created Access database table at run time. Secondly, i needed to create a duty rota table that keeps track of staff duties for 365 days. I am a bit confuse as i intended placing the …
please guide me how to resize or stretch the picture with in a cell using vb 6.0
Hi! May i have a sample code for log in and password under vb6. Please help....
hi all! In Vb i have used Data Grid viewer.It is used to display the textbox content in form, whenever <ADD> button is clicked. When i click the <ADD> button I'st time, the text box content is displaying correctly. When i click the <ADD> button II'nd time, the text box …
Hello Daniweb'ers, I was wondering if you could help me. I'm developing a YouTube downloader and want to be able to convert a YouTube link into a title. Such as this: textbox1.Text = " [url]http://www.youtube.com/watch?v=Bj7_W1FuO70&feature=related[/url] " label1.Text = " Fire Like This Hardknox Me Myself And Irene " In other …
hello to all, by the way i'am new in visual basic. could any teach me how i should start my project. my project is that. its talk about accounting the proopsheet and the ledger. now this is the problem when a person created a proopsheet in excel, there is three …
will an old pc with 1.6GHz winxp sp3 608MB RAM 80GHD work with installed programs like visual basic 2010 edition, mysql5, php, apache, phpmydmin. is there any possiblity that it would crash? needs a good answer asap. thanks
So, I want to do these operations using inline assembly. I'm using visual studio 2008 and I'm getting weird results towards the end. I think it has to do with the fpu register stack. norm2 comes out as garbage values, while c, b and a are what they are supposed …
Ok, well I am new to VB, but have a general idea of it, and im trying to make a program that does the following (and it fairly simple) button 1 = Open button 2 = search and replace textbox = text to search for replace = a given, non …
hi all, any one can help me that when i tried to connect .dbf foxpro3.0 database file to DAO control it throws an error like this "'F:\database\accno.dbf' isn't a valid path. Make sure that the path name is spelled correctly and that you are connected to the server on which …
Hi I want to blow up a picture. How can I do this in code, any ideas? VB 4 or 6
hey dear experts is there a way to shutdown computer after downloading a file from the internet in vb6? i already know an effective forcefull shutdown code in vb6. i just want to execute that code after i finished downloading a file from the internet. how can i do it? …
So I am having trouble with visual basic. I've scoured several forums (although someone might link me to another thread on this one) and have not been able to find a solution to my problem. I need to stop the code from running for an amount of time that varies …
I have a program in which a user enters a sentence in English into a text box, then the sentence is translated into French and German based on words in an array of structures that gets its values from a text file. I have almost all of the program written, …
Hi, Please help me, this is my activity the Rock, Paper and Scissors Game, I need codes for this game. Like the game the program should determine the winner. In my output (please see attached), the Player1 and Player 2 should choose each a hand gestures in commands buttons: rock, …
I need to run a batch file batch file which is stored in my C folder. When I run this file, I get the following on the cmd. 1 APs were seen MAC Address SSID RSSI 00:27:0d:b6:df:10 IBM -93 Press any key to continue . . . Now, I need …
I am writing a program that sends an email with attachments. I need to send it as HTML but I can not find any reference as to how to do this. My code follows: [ Private Sub sendMail(ByRef Message) Dim Attach As Attachment Attach = New Attachment("c:\Project\Articles1\Article.txt") 'create the mail …
Hi all I was working on a program and really need some help with my coding. Here is code I'm working on thanks for your advice in advance. 'this program will Display Year of age and days on earth assumming the current date is 12/31/2006, the user types 1980 into …
I am getting runtime error 424 when I try to access my global dictionary's count. It works fine when in the sub routine that initializes the dictionary and right after the sub routine was called inside the form_open event. Why would I be getting this error when I click a …
please guide me how to insert a picture to a particular cell in excel sheet? I used the following code, but it inserts the picture in the excel file not in the cell I specified. Dim xApp As Object Dim xWb As Object Dim xWs As Object Dim img as …
hi there,i have problem with insert image into mysql.... is there any function that can be use ??? please help me :?:
I'm rather curious about sound effects in windows form, instead of showing messagebox alone, is voice prompt exist in visual studio 2008 -- maybe using an mp3 or wav file?
Why is it that when I call recordCount on a rescordset it returns 1 even when I know that there is two different records in it and able to access those two records in the set.
hello every body i just join us so ..... i have a little problem with a variant , i call in first step : "variantClear(&bbvariant)" and after when i call a member of my bbvariant " _bstr_t (bbvariant.bstrVal).length() " is not equal to 0 , so i want to someone …
Hi pipo, I have a MSACCESS db linked with my project. The db has related tables but when i delete fields from one table, related fields in other tables dont go Plz help
The End.