10,989 Topics
| |
Hi, How to connect visual basic program with mysql database?I need a sample program of retrieving the data and also inserting the data into the table using mysql database..........I dont have any idea..... please help me ....... Regards, Santhanalakshmi. | |
I want to make a data report. I write a name (like: taher) in a text box then press a button and then (taher's) all data will show. how it possible? I want it many ways. like name, ID, date. I mean I write name or ID or date and … | |
Hi guys i'm currently creating a vb6 version of the arcade game "Stacker" [url]http://en.wikipedia.org/wiki/Stacker_(game[/url]) The above link will give a detailed version of what i'm trying to create however for those who just want a rundown here it is: There is a row of three cubes which move side to … | |
Can anyone tell me why i am getting The requestedmember of the Collection Does not exist.Runtime error '5941'.Any help would be Greately appreciated.Cursor go on the bold line. [code] Sub CreateMaterialsTable() ActiveDocument.Tables.Add Range:=Selection.Range, Numrows:=3, NumColumns:= _ 4, defaulttablebehavior:=wdWord9TableBehavior, AutoFitBehavior:= _ wdAutoFitFixed [COLOR="Red"]ActiveDocument.Tables(3).Select[/COLOR] 'selection is Application.selection object With ActiveDocument.Tables(3) If .Style … | |
I m reading the doc file in binary mode,Junk Characters are returning,Now i want to convert these junk characters(BYTE ARRAY) to string....But mine code is not converting... [code] Private Sub Form_Load() RaedOtherFile "D:\THIS IS S A TEST SCREENING.doc" End Sub Private sub RaedOtherFile(sFileName As String) Dim bytData() As Byte Dim … | |
I've been able to design a front-end for a C DLL, calling the DLL functions from the VB program but I'm having trouble calling the VB functions from the C DLL. Maybe I should have put this in the C forum, but I don't know. If I have this in … | |
Hi, Im new here, im sorry if i am posting in a wrong forum, i have a piece of code that update a binary field in sql server 2000, im keeping this code a simple as possible, so this is working but only save the first character in the string … | |
I use a database connection string as below and my program work fine. Public Function initdb() Set ws = DBEngine.Workspaces(0) Set db = ws.OpenDatabase(App.Path & "\Masterfile.mdb") Set rs = db.OpenRecordset("Detail", dbOpenTable) max = rs.RecordCount Exit Function End Function *********************************** But now I lock the msaccess table ie. Masterfile.mdb with password … | |
I am using VB 4 and have some VB programs that I would like people to be able to download from my web page. The whole thing is a mystery to me..what do I have to do..In English would be appreciated | |
Hi I really need help It is a homework for just four days later. want someone to write two programs for me: 1-A program that converts a decimal number to hexadecimal 2-A program that generates the output below using loops: | |
can anybody tell me .why it is not working .any help would be greately appreciated.Bold line is not working.Kindly find the attachment also.it becomes red i am using ms office 2003. kindly help me. here is the code what i have written. [code] Sub AddTopHeader() Selection.TypeParagraph Selection.TypeParagraph With Selection .Font.Name … | |
How do you call passwords from a txt file to check with the entered password to allow access. I hope that makes sense. | |
Hi I have a checklist box and I am trying to Check and Uncheck the the Items with a single click. My code seams to be checking and uncheking if the Item is not selected. If I Click on an Item that is checked it will uncheck it or vice … | |
Hi, I have a function in VB6 like this: [CODE]tot = CLng(tot Xor Not lngdata)[/CODE] I'd like to do the same in c++, but I can't get the same results... I've tried like this: [CODE]tot = (int)((-1) * (tot ^ lngdata) ); [/CODE] But I don't get exactly the same … | |
Hello, I have the same problem as this poster [URL="http://www.daniweb.com/forums/thread89221.html"]http://www.daniweb.com/forums/thread89221.html[/URL] but to summarize: I have a VB6 project that worked fine until Sep. 2008. I have not worked on it since then so when I started working on it in the last month and got error messages I was very … | |
hiya! i need to provide a free business directory on my website.i am planning to make business directory as a webservice.users will b accessing from different domains. question 1: is it possible to implement my idea as a webservice in visual basic and will it be accessible from anywhere? question … | |
hello everyone. the package i made cant be uninstalled. th uninstallation process shows that it was successfully uninstalled but the system reamains in the computer. why is that? the user should manually delete the package found in c:\program files after the installation process was completed in order to completely delete … | |
Hi i have been working on a project for my younger brother. A simple VB6 and MS Access/SQL server based client-server database. For that i recently started working on VB6 as i previously had only worked on Java and C++. I have been consulting the book "Using Visual Basic 6" … | |
so im trying 2 add data to my table in the database, done all the connection (OLEDB one) so this code adds to my database: [code] SQL = "Insert into Bookings(StaffID) values('" & stafid.Text & "')" DC1 = New OleDbCommand(SQL, cN) DC1.ExecuteNonQuery() MsgBox("Record Saved, Thank you!", MsgBoxStyle.OkOnly, "") [/code] this … | |
Hi, In the VB projects that use Access Databases, its found that the user is able to access the database directly (manually) ie by reaching the file and double clicking it open. But, what all can i do to prevent the user from directly accessing and using the database? What … | |
hi i am having some trouble with my pause and stop buttons. im using a Horizontal scroll bar and timer for the tracking bar insted of the usual media player controls in the bottom of the visitation. my pause button does not work at all and this is the code … | |
hello there, i have a network project for the school that i should give it in about a month from now. well basically we want to make a game with a chat window connected to the network without using internet (by lan). i want to make x/o game with a … | |
Hello I am sure this is well within most peoples capability on this site and am a little embarassed posting this but alas here goes. I am using Crystal reports and I have only just remembered I can use VB code in Crystal. I have a report based on 3 … | |
Hello, I need to autocomplete for a textbox. If i type 'a" in textbox means, it must show the dropdown list showing all words starting with a. Like that for all the alphabets. It must show the words based on the user typed words before. Suppose when the user first … | |
I am trying to edit information contained within an access database using vb6 on a client server book lending program. I am fairly new to vb so please excuse incorrect terminology etc. I have included the server code for adding a book as the edit code will have to follow … | |
well i am working on program which inputs : 1. student record (name , semester , class , branch , roll no ) 2. the various subjects on which the exam to be held 3. the date on which the subject s exam to be held the data which is … | |
Hey all, I have been working on this maze game for my introduction to programing class. I have run into a problem. I have my picture box which is the cursor start at location 32,32. When I click any of my buttons it moves the picture box to 0,0. from … | |
hello frendz.. im working on a small application wher i need to copy the data from excel sheet and paste it to the text file.im trying to create a macro for tht. the selected row should be in a specific format. like if ther r 3 colums then the text … | |
hi.. im writing a macro in Excel to copy a selected roe into a text file. i ve taken a button on a sheet and when user clicks on the button the selected row (only selected row) should b copied into a file on c: seperated with ","... ive written … | |
Any help is greatly appreciated!!!! I have already created a dialog box that holds the Combobox that contains the list of searchable terms but I am getting stuck on my search/go button. Here is a link to a copy of the DB Event Search form in question. [url]http://cheekeemonki.angelfire.com/Event_TESTER.accdb[/url] I have … |
The End.