16,916 Topics
![]() | |
hi there . tried many time on doing the project , the problem is i dnt know how to get a random data on a cell, i need the syntax on the form_load event, ive attached the form im workin with, ive googled for soo many hours but cant find … | |
Hi I have used three combo box in VB 6 form one for selecting date one for month and one for year. If the selection is say 12/07/2007 then I need it to be converted as 12/07/2007 under one field i.e date field of access database. So how can I … | |
i have a code of a projectile but... can these code be shorten or not??? i need new version of this and some times if i played this one some error was done hope you could help me to fing the error Option Explicit Dim Angle, Theta, y, x, t, … | |
how to declare dynamic 2 dimensional array in vb with one of the bounds variable .. [code] dim x(1 to i,1 to 4) as variant 'i is a variable [/code] | |
hi all, i have problem creating queries in access.this is because i do not know how to call the value from a variable in vb into the query in access. let say in vb i've created : [code] Public booking_date As Date Public fac_type As Integer . . . . … | |
hi plz help for encode File winRar (*.rar) to oder software sample encode *.rar to *.mdb or *.avi | |
i want to pass 3 parameters to my data report in VB 6. [code] Private Sub DataReport_Initialize() DataEnvironment1.Command1 (Form1.txtregno.Text,form1.cstd.Text,form1.cinstlno.text) End Sub [/code] i am getting compile error. expected '=' plz help.. | |
I created one Function in VC++(which is COM EXE) which i want to call from my VB code. I am passing Arguements as Variants from VB. In VC++ i filled SafeArray in those Argument.But after returning its showing Empty.. Here is my VB Code Private Sub Form_Load() Dim obj As … | |
I have several drop lists on my form, with either numbers or names on them. I want to change it so each item on the drop list has a certain "value" to it. For example, if a was "1" on my first drop list and hello was "23", wen I … | |
Hi, Can anyone help me with this..!!! I found an error stating that "Unrecognized database format" How can I solved this..I am currently using VB to link my MS access 2000 database using DATA object, Please help me..Thanks.. | |
have a nice day everyone. please help me....how to make data report. now i already make data environment.. but i'm stuck in data report. how to import from access to data report?...please... | |
I want to begin to create dll in visual basic 6.0. Can anybody give brief idea or examples. | |
Greetings! I have database file with dateformat on a field. I want to view the data on files according to its date range using vb6. Like for example i want to view a file for starting date = 23/10/2007 upto 23/11/2007. Range of date is one month from starting date … | |
i have written my homework problem but get 7 errors in it. the errors seem to be comming from this line as well as others like it. any help would be greatly appreciated. this is my first year doing this and is somewhat confusing. I need these lines to be … | |
I'm in the end of my final year project which is the time of developing. I'm confuse to use which program language to do my project as all current programing language i have a very basic of it only. current basic knowledge i have in are java, programing c and … | |
hello every1, really i need help on how i can make a login form that works and is connected to my database using ADO my frmlogin is composed of 2 textbox (txtuser,txtpass) and 2 command buttons (cmdlogin,cmdcancel) and my database name is (MAINDB2) inside MAINDB2 is (tblReg) fields inside tblReg … | |
I'm a new user to Visual Studio .Net, writing most of my projects in C++. I have this problem with the OO paradigm when I tried to apply it to my projects. Variables for classes which I described in eg. dXmanager.h fails to appear in my dXmanager.cpp; when I try … | |
again im in need of help =( how can i show a random cell in a field on a textbox?? suppose my database(access2003, and using ADO) is -->MAINDB-->tblQuiz-->the field inside is "Question" and my form have 3 textbox.. when i run it, how can it display a random data from … | |
[COLOR="Red"]Hey Frens, I Have to disable date time permission from VB but I'm not getting how to do this can we fix this problem ? [/COLOR] | |
I have built an arcade cabinet from which I will play Mame, Daphne (Dragon's Lair) and pc games (like Warcraft, Quake, RTCW, etc). I bought a joystick control (Xgaming Tankstick) which does [U]not[/U] have an Escape button. I'm using VB6 to build the GUI that will drive the whole thing, … | |
Hi all, I have a console application, and I want to run it though a GUI. Its a simple GUI. Say there is a button called "Run", when I click the button need to execute the application do the task. Can you guys guide me to do it. I'm really … | |
hello every1, really i need help on how i can make a login form that works and is connected to my database using ADO my frmlogin is composed of 2 textbox (txtuser,txtpass) and 2 command buttons (cmdlogin,cmdcancel) and my database name is (MAINDB2) inside MAINDB2 is (tblReg) fields inside tblReg … | |
Hi, Does anyone know how I can get the file name for the linked tables? I have linked the tables and renamed them. I am able to get the renamed name shown on table tab, but not the actual FILE NAME that i originaly linked the table. I am using … | |
Hi, how do I use the EOF function with an Excel spreadsheet? I'm thinking that the EOF needs a file number. But in my code below, I don't have a file number. What do I need to do? Any links, code, info available? Thanks.[code]Dim app As excel.Application Dim book As … | |
Actually my requirement is some thing like this... I'm writing a parser which has standard xml format which will be written in a file like this "<TESTDATA><FACTORY NAME=""SAKTHI"" TESTER=""" & Getcontent(97, ":", 1) & """ /></TESTDATA>" and this parser has to watch a folder constantly and then once file is … | |
Hello! I have problem here... I want to separate 12-07-1007 into 3 parts, which are day(12), month(7), and year(1007). I have made a function to do this separation and it works well. But i wonder if there is exist a [B]function in VB [/B] to do the separation? Thank U... … | |
Dear all I am writing an App in VB6 and I want to trap the Mouse Wheel scroll. I have search on the web and found how to hook the windows messages. I set the hook on Form.Activate and then Unhook it in Form.deactivate. This all seems to work OK … | |
Hey does anyone know a way to make a program run at a certain time? no... i dont wantto use task scheduler basically a person sets a time in my program and it runs a method at said time. Ideas? Thanks m | |
I've a 'Birthday' form wherein when i click on Search command button, an input box is displayed. In this input box, i type in a month and when i click on OK i want details of all those students whose birthday falls in that month.i'm using ADO Data Connection. | |
I am trying to connect to database using app.config instead of putting the connection settings in each form. Below are the coding that i used. It works in Microsoft Visual Studio 2003. However, it doesn't works in Microsoft Visual Studio 2005. It states that the System.Configuration is obsolete. Does anyone … | |
hye..i'm really new to visual basic.i just know a simple coding. i have a project in my university. it is about vehicular communication system. can anyone help me to build auto send program?is it possible??:?: it should be something like this. pc A can sent msg to pc B at … | |
i need help how can i create a dockable form in mdiform ? | |
i need a vb code to pop-up the save dialog box in some time i inicialy put in another simple dialog box in a start of all the programs i work and i will will put this program | |
Hi everyone! It is possible in visual basic 6 to save and open picture file on a database like nortwind sample database program in Microsft Access. Anybody have idea to save and open picture file on a database using visual basic 6. thank you in advance | |
Hi, all here is my question:- My application uses vb6 as front-end,ms sql server7.0 as back-end. i connect my apps with the rdbms using an odbc dsn connection. now i've created some reports for my apps using crystal report 8.5. the print is going well. now i want to export … | |
Let, i have a msà ccess db with 3 tables having 'cost' field in all of them . Now in my report i want to 1) Show the sum of costs of indivisual table under the heading of each table (let $3000 for every table) & 2) show the sum of … | |
Sorry for the nooby question, but could you help me find some list (extensive preferably) of commands for visual basic? I am very new at this, but i would like to make some macros'es that would take over some extensive formulas that i usually just enter in excell. :) I … | |
Sir, I have prepared programme using VB6 and Access2003. The programme is working very fine so far as adding,deleting,modifying the record through VB is concerned. I have installed Crystal Report 8.5 and have prepared a report and save as (bill.rpt) but I dont know how to connect the report with … | |
hello. how to do if when we double click at list view, then the information from list view will be appear at label. many times i tried but always debug (run time error '_2147217904(80040e10) 'no value given for one or more required parameter) . Private Sub ListView1_DblClick() checkConnection strSql = … | |
hi to everyone, Im creating an application which it can show all records of the two tables in single form. its like costumerTable and OrderList. how can i show a record of specific costumer from costumertable together with his product order details from OrderList table. Supposed I have costumerNo field … | |
Hello there, guys! I'll get right to it. I am coding in VB, using Visual Studio 2005, and I need to retrieve the data from a MS Access database. The thing is, I need to use a SQL statement to do so, right? Therefore, I need to know the number … | |
Hi, A year ago I graduated with a bachelor's in Applied Math, and since I chose the Physics concentration, I only took one course in programming (C++). Since I graduated, I've worked as both a high school math teacher and an actuarial student. I hated both; so much for the … | |
hi, Every one, i am creating a from .in this i have calender control and label buttons avilable. i click calender day . i want to display the date at label.. give me a suggestion. | |
Guys please help me. I'll try to create a program which computes average for the entry of students grade through NOTEPAD..The file "Scores.txt" is in my desktop. If ill try to run my program this error appears: ""run time error 53" file not found". What should I do. Where will … | |
Hello everyone. I suppose I should start off with an introduction. I'm new to the whole C++ environment. I've done some scripting in perl, but just started with C++. I've picked up a few books and looked around on the web now for about 5 months. Finally came across this … | |
Hi! Would you anybody please do check my code given below and say why I am getting Debug Assertion Failed. I have used visual studio 6. But I think I have problems in my code. Please I do need urgent solution. Please help me. [code] #include <iostream.h> int INITIAL = … | |
Hi guys, can you please help me. Is it possible to get data from NOTEPAD,Store each data into a new table of MS-Access, Thanks..God bless | |
Can anyone help me in creating a VB code to send data to the serial port using VB6. Have to send three hexa bit streams each with a 1ms delay. Thanks | |
Let,in my msaccess db there is 3 tables. Now in my report i have to show 1) The datas of each table wth a heading of table name, sum of each table data( let $3000 summing all datas on that table ) under the heading, and 2) Sum of all … | |
[code] [COLOR=#000000]] Dim GETWORD[/COLOR] [COLOR=#000000] Dim GETLINE[/COLOR] [COLOR=#000000] Dim ARRAYNUMBER As Integer[/COLOR] [COLOR=#000000] Dim itmx As ListItem[/COLOR] [COLOR=#000000] [/COLOR] [COLOR=#000000] [/COLOR] [COLOR=#000000] nFileNum = FreeFile[/COLOR] [COLOR=#000000] Open "C:\Documents and Settings\Reece\My Documents\I.T\Visual Basic\Reece\client.db" For Input As nFileNum[/COLOR] [COLOR=#000000] If Input(LOF(nFileNum), nFileNum) > "0" Then[/COLOR] [COLOR=#000000] GETLINE = Input(LOF(nFileNum), nFileNum)[/COLOR] [COLOR=#000000] GETLINE … |
The End.