10,992 Topics
![]() | |
Hi.... I am a student. When i tried to connect VB with Access, it is giving me this message "Run-time error 13, Type Mismatch" Below is the code [code=vb]Dim DBase As Database Dim RBase As Recordset Set DBase = OpenDatabase("DB Name") Set RBase = DBase.OpenRecordset("Table name") [/code] The funniest thing … | |
My subscription system is now running though with errors here and there.the error that concerns me a lot is a runtime error that says [QUOTE]multiple steps generated an error check value status[/QUOTE] and points to this code....[CODE]r.Fields("companyphone") = txtcphone.Text r.Fields("companywebsite") = txtcwebsite.Text[/CODE] and this code is in my save button. … | |
hello. please i would want to know how i can communicate with the system and find the system's present status such as logging off, shutting down, etc. vb codes would be most appreciated. thaNKS | |
i have 2 forms..when i start my application..form1 loads...then i navigate to form2 and adds some data in database using controls on form2, which should also reflect on form1... My data is not getting reflected on form1, after i hide form2...before giving "form2.hide", i tried giving "form1.show" and "form1.refresh" but … | |
[B]hello everybody, im venkat doing my b.e 3rd year... Im currently working on my project of college administration system using vb6. I need help on how to save an image in the access database...i have got the code on how to browse an image. but i'm not able to find … | |
I want to calculate average of grades of each student with SQL command but I encounter problem with this code. I have 3 tables related to each other and want to calculate average of student grades. This is my SQL string but it dose not work. What is the problem … | |
Hello everybody, I have an issue with a code. I'm don't know how to start this. Here is my problem: Column 2 of my MSFlexgrid = store number. Ex: 1009,1010 etc. In column 20 of my MSFlexgrid = Delivery day. Ex: Sun, Mon, Tue......, Now if store 8009 have multiple … | |
how can i create an database dynamically i.e. my code creating database while running taking an user input?? i have seen code like below working Dim db As Database Dim ReS As Recordset Set db = OpenDatabase(App.Path + "\Data\" + Userinput + "\Memo.dat") Set ReS = db.OpenRecordset("Memo") ReS.AddNew ReS("Title") = … | |
Here is the code I'm working on. The user should be able to type in a number and then after clicking the button, list (in a listbox) of all the prime numbers leading up to the number (including the number if it's prime) MY ERROR/PROBLEM: When i input a number … | |
I am using a MDI Form and several documents can be opened using "CommonDialog1.ShowOpen" If i open a file then go back to open another file but click cancel or the "x" then it will open the last file. so i need to know how to clear the "#1" my … | |
dear all, what is the sql command for ms access 2007 to get the tables name of the database? and also how to put these names into a list box? thanks in advanced. 4ukh | |
Type BITMAPFILEHEADER bfType As Integer bfsize As Long bfReserved1 As Integer bfReserved2 As Integer bfoffbits As Long End Type Type BMPInfoHeader biSize As Long biwidth As Long biheight As Long biPlanes As Integer bibitcount As Integer biCompression As Long bisizeimage As Long biXPelsPerMeter As Long biYPelsPerMeter As Long biClrUsed As … | |
I have the following code: [code] For lngPosition = LBound(strNames) To UBound(strNames) mainForm.NameDisplay.Caption = strNames(lngPosition) mainForm.StockDisplay.Caption = intLevels(lngPosition) Next lngPosition [/code] This code, in my opinion, should print everything in array in a label. However, it only prints the last element of the array. Anyone got any ideas on how … | |
Hi, Let's say I have a form full of objects and want to make all of them (or half of them, whatever) invisible. Is there a short way to do that without a need of setting visible to false individually to each object? | |
Hey, one simple question: how to call Image1_click event form module? | |
i am trying to make sure that one record is not entered twice into the same database but the code i am using is giving me an error [CODE]Set ri = deSub.conn.Execute("SELECT* FROM individualsubs WHERE firstname = '" & txtfname.Text & "' AND surname = '" & txtsurname.Text & "'") … | |
I am trying to create an If Then statement to use in an excel spreadsheet using data from 2 or 3 columns. Column AB has text. Column AA has a date in it. I need the statement to say if column AB says RFEP or TRFE and Column AA is … | |
I am currently trying to create a Web Design program, freeware, for use to help with the aid of web design. I want it to be sorta like... "Web-Design-Toy" by ACME, only with more features. To where when you type in the textbox, it comes out in a live view … | |
I have a subscription system that i have developed. the system is supposed to automatically subtract the number of copies given to a client every monthend as per request they made of the copies required upon joining. my problem is i cant make my code run through my database so … | |
Hi Everyone, This feauture enables to use "Try" exception handling in VB programs like VB.net Try-Catch statement. [URL="http://sites.google.com/site/truetryforvisualbasic/"]http://sites.google.com/site/truetryforvisualbasic/[/URL] I think it's a new way of exception handling in VB 4,5,6, VBA and VBScript. I'm waiting for opinions. | |
okay. i'm an B.S.I.T student and we're going to develop a system. i hope you can suggest a unique system. my professor doesn't like common system: library system, student information system, etc. hope you guys can suggest some. we might use VB6, VB2008 or VB.net. it's up to our prof. … | |
Is it possible to make a program using VB where you let people visit a site and get their IP address and use their IP address to click the link which is inside the site they visit? Ex. My site location is: [url]http://www.mysite.com[/url] And this site contain one link name … | |
Hi all, I am new to VB. i want to know how to connect to a remote server and run three batch files with some arguments, over there. E.g. machine Ip Address:xxx.xxx.xxx.xxx username:test password:test I have to connect to the machine name and run the batch files. Please suggest a … | |
Hi again, I have a huge code written, but I'm not even halfway there. Had to split couple of procedures to make everything work smoothly etc. I was wondering, would it be reasonable to put some of my code into modules, in order to avoid compiling or similar errors in … | |
Hey, How not let the user to close a form with a close button? Basically, I need a form to be hidden most of the time, but sometimes it is shown by the code (intentionally). And when you hit close button, user not only closes the form, but unloads it … | |
Read a post that had a similar scenario and wonder how it was solved. environment VB6, sql server 5.0, windows 2003 server, xp sp2 clients Randomly getting data populated with first record information. original post was from looney064 on 6/24/08 Just joined so if this is out of format please … | |
Hello, would you please assist me in solving this problem: I have an Excel object (Excel.Sheet.1) in MS Word document. I'm trying to write a Visual Basic macro for MS Word to change the data in cell A1 of this table. How can I access the cell? I can only … | |
Using Visual Basic .Net, explain what each variable type listed below holds, how big it is (i.e. the number of bytes it uses) and give an example of how it might be used. Data Type Explanation space occupied Example Text Integer Floating point Date Boolean Bytes | |
Using Visual Basic .Net, explain what each variable type listed below holds, how big it is (i.e. the number of bytes it uses) and give an example of how it might be used. Data Type Explanation space occupied Example Text Integer Floating point Byte Date Boolean | |
I am working with VB6 (Pro. Edition) and in my tool box I do not have the slider control. Does anyone know how I can add that to my programs? | |
I am an IT student and working on a project. Since we have not yet been taught about databases, can anyone show me basically how you design and create an access database in Visual Basic 6? | |
Hi guyzZz,.. How can I send a string into my POS POLE Display...??? Idea and Some Source Code is appreciated... TnkXx.... | |
I need to copy text form a text box for example: My text box has temperature="18.5" in it and i want to copy the text 18.5 i already have it selected i just need to copy it or put it into a var | |
Hello.....I have problem ......i have to transfer a sms from a mobile to another mobile which is connected to a computer.i have to read the sms directly through computer without seeing tne mobile which is connected to computer via USB........then i have send a sms from computer to mobile(which is … | |
Ive been working on a checkbook application for my visual basic class and I'm a little stumped.. To preface, the values I need to mess with include: transaction type (checking or deposit) DTP check number ("dep" if deposit) payee (who check is for) purpose of check/deposit amount of check/deposit user … | |
I have developed two large VB 6 programs and apparently and unintentionally developed one as a Project Group rather than a stand alone Project. As A group I have problems that all releases of the program seem to be altered each time I make a development change, which I dont … | |
Hey guys! I figured it might be easier to have my various questions in separate posts, to avoid confusion. My next problem is that with two of my tables (Hours Worked and Occupations) when i want to save the records, it places the correct values (taken from text boxes on … | |
can anyone help me pls on how to resize treeview while the program is running.. i know how to populate treeview but when the text is to long not all text will be displayed that is why i want to know if there is way on resizing it while running.. | |
have any code for all form. I mean, here I write [CODE]form1.show form2.show form3.show[/CODE]But I want I write one line. like: "allform.show". or other what is right. | |
Hello, I have a DatePicker and text box on my Form and When I try to show the choosen date of DatePicker in the TextBox. It Shows the date and time. But I want to show only date. Plz help me. Code: text1.text=DatePicker1.value | |
Hi gang, I've started making a card game, which seems is going to be quite a challenge for me. To make my question more simple, let's say we have a form with three empty images and three images with cards. How do I put those three card pics randomly into … | |
Dear All, I have installed Visual Studio 2008 Express edition " Free by Microsoft ". I have done some of my assignment in vba using excel 2007. i want to learn office programming in visual Studio 2008 Express Edition the enhanced features and their advance application in office 2007. Please … | |
Hi to all, May I ask any help for a code in VB6 in saving images in either SQL server or MS Access databases? Please give me some idea thanks a lot in advance. | |
i run vb6.0 code in xp for getting hdd physical id and it run ok. but when i run same programme in vista it does not display any hdd physical id. please solve the problem | |
//program for salary payroll #include<iostream.h> #include<stdlib.h> class employee { char name[50]; int number,worked_hours,PF,HRA,salary,net_salary; public: void read(); void calculate(); void display(); }; void employee::read() { cout<<"enter the employee details here"; cout<<"\n enter the employee name"; cin>>name; cout<<"\n emter the employee number"; cin>>number; cout<<"\n enter the employee worked hour"; cin>>worked_hours; cout<<"\n enter … | |
Easily allows temporary message to be displayed on any label for a programmable length of time. This is a very simple way to display a temporary message on an existing label (or textbox)without doing a lot of coding. | |
I have created form resembling a standard dialog box where some enters there name into a text box and then hits 'ok' taking them to the main form..On this form I need to get the name that is typed into the text box to be displayed on the main form. … | |
Here my code to display the menu: Private Sub Text5_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single) If Button = 2 Then PopupMenu t5menu End If End Sub But my problem is the default popup menus such as undo, copy, cut etc. keeps in taking place … | |
conectivity of sql & visual basic is needed as early as possible pleaseeeeeeeeeeeeeeeeeeeeeeeeeeeee! | |
Create an application that will predict the approximate size of a population organisms. The user should select or enter the starting number of organisms in a combo box, enter the average daily population increase (as a percentage) in a text box and select or enter the number of days the … |
The End.