10,992 Topics

Member Avatar for
Member Avatar for alalic

I need to find the 2 highest numbers on an array of numbers. I can't use the sorting fiture. Any help will be appreciated, Thanks Carmen

Member Avatar for hopalongcassidy
1
80
Member Avatar for aynn

hello. my problem is, after login username and password in one form, then a new form will be appear. how to create coding to insert username in a label at new form after login. i have tried this coding but still not appear. please help me. thanks..... Public Sub loadInfo() …

Member Avatar for jbennet
0
133
Member Avatar for RJ83

I've recently wrote some code to update an inventory table within a database. The program works great; the problem is that many machines access this database at any given time, and I'm concerned that at one point my program will not be able to update the table because of too …

Member Avatar for Lavendor
0
85
Member Avatar for mohanavv

Hi! pls very Urgent I have a network of about 55 computers (netware & NT) all running Win98, XP and W2000 workstations. We have about 5 network printers and copiers to which a computer can print. What I'd like to do is build, if possible, a simple VB program to …

Member Avatar for tzatziki
0
90
Member Avatar for cguan_77

Hey guys, How to disable the windows key using VB6? Any input is highly appreciated Thanks in advance.

Member Avatar for debasisdas
0
70
Member Avatar for dilip_singh3

I am using an Access Database through Visual Basic 6. Is there any other way to access the database excluding the following code. Set CNN = New ADODB.Connection str = "\\SYS8\DATAX\EMP.MDB" CNN.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + str + ";Persist Security Info=False" CNN.CursorLocation = adUseClient

Member Avatar for plusplus
0
1K
Member Avatar for bluanwht

Here is the code I have. I am trying to collect five scores and then print each score followed by the average score. Seems like it would be simple but I am having problems. Any suggestions? [CODE]Option Strict On Public Class frmScore Private Sub frmScore_Load(ByVal sender As Object, ByVal e …

0
69
Member Avatar for sajjaaaa

hey i wonna know how to make a program to input a text and save it in *.txt as a notepad file.

Member Avatar for A_member
0
70
Member Avatar for dilip_singh3

I am using MS Access database by a vb6 program for multiuser environment. In the program I have written code for autogenerating employee_id which is primary key in the table. When entering records simultaneously from two or more workstation, It gives a problem Run time error The changes you requested …

Member Avatar for dilip_singh3
0
143
Member Avatar for Prozeen

Hi all, I would like to save my project's code in a text file when the project runs (so that I can keep track of any changes) I know how to open/print/write/close a text file, but how would I capture the code that is running? Any ideas/links/thoughts? Thanks.

Member Avatar for Prozeen
0
114
Member Avatar for Prozeen

Hi, I am displaying a dialogbox to the user. If the user clicks the "Cancel" button I want to show a message box, then I want to continue displaying the dialogbox. The best I can come up with is...[code]Do comdia.Filter = "*.doc" comdia.InitDir = "C:\" comdia.filename = "file01" comdia.ShowSave On …

Member Avatar for Prozeen
0
237
Member Avatar for hawisme000

ive made a multiple choice quiz that gets a random question and a random choice the problem is i cant get the correct syntax that will determine if the answer i chose is correct my form is composed of 2label(1 for the question and 1 for the score when i …

Member Avatar for hawisme000
0
114
Member Avatar for roycollingwood

I dont know if this is the correct place to ask this question, I know nothing about visual basic! I have win2003 server, (new from dell, pre-installed) I am trying to install 'sage manufacturing' it worked ok on 200 server, xp & vista. when I run the program it gives …

0
61
Member Avatar for jake22007

Hi, I would like to use my dragon dictate to control windows by firing off macros that are voice activated, however I can only afford the version that does not do macros (over 500 pounds!). So as an alternative is there a way in VB5/6 that I can run VB …

0
64
Member Avatar for kehar

Hi I have placed two datepicker and one text box in the form one as [B]dt1[/B] and another as [B]dt2[/B] if I select say [U]12/12/2007 [/U]in dt1 and [U]28/12/2007 [/U]in dt2 then in [B]text1.text [/B]the number of days elapsed between the two days should be appeared. So will any one …

Member Avatar for debasisdas
0
102
Member Avatar for plusplus

I've been using MSHflexgrid for my last project. Now that I'm starting a new project, I was wondering what the differences are between Data Grid MsFlexgrid MshFlexgrid what are the advantages and disadvantages?

Member Avatar for kb.net
0
104
Member Avatar for six888

im new in macro programming and vb im doing a project office automation how do i open (without showing) existing excel? so i can manipulate the data most of the snipet i see in the net is like this Set oExcel = CreateObject("Excel.Application") Set ExcelDoc = oExcel.Workbooks.Open(m_strPath & "project.xls") i …

Member Avatar for kb.net
0
255
Member Avatar for newb_smarthome

Hai, I'm read temperature data using MSComm.. The temperature was successfully display on vb6..but how can I update/automatically refresh the temperature on web according to current temperature? could you kindly please help me over here? thks! Below is my coding: [code] Private Sub Form_Load() MSComm1.PortOpen = True MSComm1.Output = "temp" …

Member Avatar for binoj_daniel
0
151
Member Avatar for plusplus

I have a frame, inside it a few labels and text boxes. At some point while the program is running I want to move that frame to a different position. Is it possible to move it with all the lables and textboxes without moving each label and textbox?

Member Avatar for plusplus
0
121
Member Avatar for plusplus

The way I understand it, is that rowdata and coldata can be used to keep some data for some specific row or column. What if I want each cell to have some data go with it, how can I do this? I need this to identify what each cell contains.

Member Avatar for QVeen72
0
693
Member Avatar for regina_s
Member Avatar for plusplus

what's wrong with this statement? adobau.RecordSource = "SELECT * FROM tblbau WHERE year(Bau_datum) => " & Jahr_beg & "AND year(Bau_datum)<= " & (Jahr_beg + intyears)

Member Avatar for plusplus
0
113
Member Avatar for newto_vb

hi, Is it posible to print each row data from the [B]flex grid [/B] to data report. for example If 10 rows are there i want to print 10 data reports. please provide example for this. regards ummer

0
88
Member Avatar for Deidre

Hi all Newbie to visual basic. I need to create an application to read and write in information into database. It is a prototype that y i choose to use Access as my database. I am having problems connecting database to VB. I choose Microsoft Access as data source. It …

Member Avatar for debasisdas
0
94
Member Avatar for savi_karthika

hai, me again, i would like to create a data report by adding the report labels and textboxes at runtime. Is there any ways to add the controls to a report dynamically

Member Avatar for linodnunes
0
141
Member Avatar for micheal jordan

Hi Every one every body uses internet donwload manager knows it So there is a feature in it, it's that you can donwload multi files using [B]Download All Links with IDM [/B]that methodfrom registry is like that "C:\Program Files\Internet Download Manager\IEGetAll.htm" so i went to the file and i found …

0
66
Member Avatar for Prozeen

Hi, this is a mathematical question, but I'm doing it in VB so I thought I'd post it here... A person is shown a total of 10 numbers. When a number appears on the screen they have to type that number into a text box and if they get it …

Member Avatar for zmariow
0
2K
Member Avatar for Qpido

I'm currently making a program that gives the person who uses it information about the costs for a shipment. The transport company changes it numbers quite often, so in Excel the numbers are easier to change. I want to have, let's say, C3 be displayed every time in VB in …

Member Avatar for Qpido
0
168
Member Avatar for kehar

Hi I am using VB6 and Crystal Report 8.5 and Access for programming. When VB form prompts me to enter the month for which report is required and if I enter say [B]January[/B] then the text should appear in the heading of the Report after my text [B]" Expenditure for …

Member Avatar for kehar
0
92
Member Avatar for hawisme000

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 …

Member Avatar for yello
0
127
Member Avatar for kehar

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 …

Member Avatar for hopalongcassidy
0
114
Member Avatar for WhitePunk

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, …

0
89
Member Avatar for stargazr

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]

Member Avatar for shasur
0
396
Member Avatar for nuBudDy

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 . . . . …

Member Avatar for kehar
0
164
Member Avatar for lcssat

hi plz help for encode File winRar (*.rar) to oder software sample encode *.rar to *.mdb or *.avi

0
71
Member Avatar for stargazr

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..

Member Avatar for stargazr
0
122
Member Avatar for zanaja

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 …

0
57
Member Avatar for louislam123

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 …

Member Avatar for choudhuryshouvi
0
115
Member Avatar for leovicAustria

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..

Member Avatar for choudhuryshouvi
0
121
Member Avatar for aynn

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...

0
61
Member Avatar for yogesh_vaidya12

I want to begin to create dll in visual basic 6.0. Can anybody give brief idea or examples.

0
68
Member Avatar for locsin

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 …

Member Avatar for kehar
0
125
Member Avatar for hawisme000

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 …

Member Avatar for hawisme000
0
227
Member Avatar for hawisme000

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 …

Member Avatar for hawisme000
0
77
Member Avatar for npstyler

[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]

0
84
Member Avatar for lz300

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, …

0
72
Member Avatar for hawisme000

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 …

Member Avatar for hawisme000
0
112
Member Avatar for AUALZ

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 …

0
63
Member Avatar for Prozeen

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 …

Member Avatar for Prozeen
0
725
Member Avatar for powersakthi

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 …

Member Avatar for powersakthi
-1
171

The End.