10,992 Topics

Member Avatar for
Member Avatar for RORY24

I am in the pocess of converting an old VBA program into VB6 to try and sort out some of the problems it is having. I am finding that the syntax is a little different. I also found that they used text boxes to display the data. the vba program(when …

0
51
Member Avatar for sofiagrave

Hej I am new here and also new programming in VB, I am making a form in VB and I want that some data that I have in a xml file to be loaded into that form. my XML file looks like this: <Ship> <Identification> <OrderNo>2</OrderNo> <Yard>T</Yard> <HullNo>NB</HullNo> </Identification> <CargoTypes> …

0
59
Member Avatar for Jawker

Hello Everybody, I just started learning programming about 2 months ago. I'm trying to do a Tic-Tac-Toe game using labels but I have a little difficulty. How do I get the computer to check if 3 labels are of the same value. I've tried this: [code] If lblLeft.Text And lblCenter.Text …

Member Avatar for Bob Jacobs
0
91
Member Avatar for jonrmoore

I don't know if this is the right section for this. Over the weekend I decided to try to install the service pack for vista. It did not install (big surprise) and now whenever I try to go into vb6, I get a permissions error on every project! I tried …

Member Avatar for VIeditorlover
0
95
Member Avatar for jbett
Member Avatar for cometburn
0
74
Member Avatar for diyanajaafar

hello, Im doing a system to calculate student attendance to class. Now i'm having problems to grab a data from Access, use it as a value in VB calculation. Then, how to send the answer of the calculation to another [FieldName] as an updated data in Access. the formula of …

Member Avatar for cometburn
0
106
Member Avatar for davidebrownzvi

How do I unlock the forms (for editing) in a vb6 project? One form (the main one) is open, but the rest are locked and read only. Thanks for help.

Member Avatar for debasisdas
0
83
Member Avatar for zipperhead

Hello. The affair is straightforward but I don't imagine how to do the following. Let's say I press x button. The dialog appears asking if I want to save changes. I press "Yes". New window appears asking to enter the name of document to be saved. How do I make …

Member Avatar for zipperhead
0
91
Member Avatar for rainelyn

i would like ask you how i can generate a multilple choice questions chosen randomly from a list of questions with anwers using functions in visual basic 6.0?

Member Avatar for hawisme000
0
79
Member Avatar for Mikecc2691

Hi. I am new to DaniWeb so I hope I am doing this right. I am an amateur VB programmer. I wrote a VB6 program that featured a fruit machine with changing letters in the windows. To add sound I used the code line (e.g.) MediaPlayer5.Play. My recollection is that …

Member Avatar for Jx_Man
0
108
Member Avatar for DGULLIVER

Hi, As the subject states I'm experiencing some strange problem with source safe (6d) integrated with VB6SP6. I have projects 1 and 2, I open Project 1 and from the file menu I choose Tools > Sourcesafe > Check-Out a form appears in which I can choose multiple items to …

0
68
Member Avatar for Bob Jacobs

I am moving gif images(that have transparencies set) around the screen, which move over similar images. autoredraw is set to true, however the transparent part of the background images takes on parts of the image passing over it.

0
76
Member Avatar for shahriar2403

I need to get a total of a specific column of a table of access db in a text box in my visual basic application. What should be the code? I am using adodc to connect with the database. Help urgent please..........

Member Avatar for choudhuryshouvi
0
1K
Member Avatar for crazymanzach

Hey guys, I'm to to the whole VB thing...actually new to software coding in general. I'm trying to build a media center app. I have a form with a FileListBox that will list the movies files located in a specified folder. I'm trying to figure out how to have an …

Member Avatar for choudhuryshouvi
0
235
Member Avatar for mahibha
Member Avatar for danny00

All, I have a giant notepad filewith lots of data. I need to chop it up into appropriate records. They data always starts with 123XYZ e.g. the following would be the contents of this notepad file: 123XWZ data1 data1 data1 data1 0000XYZ 123XWZ data1 data1 data1 data1 0000ABC 123XWZ data1 …

Member Avatar for cometburn
0
103
Member Avatar for Run.[it]

When Im browsing with either internet explorer or firefox and I recieve an error I get a window popping up asking If I want to debug in visual basic. Im guessing there is a setting in visual studio to turn this off? debugging? Could someone advise, thanks kindly.

Member Avatar for Run.[it]
0
131
Member Avatar for Asad__

hi, am brand new to VB. i have the same problem. i want to open a folder, say; C:\apache on clicking a command button on VB GUI. i have something like this: Private Sub Command1_Click() ShellExecute hWnd, "open", "C:\apache", _ vbNullString, vbNullString, SW_SHOWNORMAL End Sub but it gives compilation error. …

Member Avatar for Jx_Man
0
172
Member Avatar for VIeditorlover

I have an vb6 app. Help works well under any version of 32b version THE SYSTEM(tm) except VISTA(R) 64b. I simply press F1 as usually and nothing happen. Run it as an admin, click tons of confirmation dialogs, press F1 and nothing happen again. Setup add always hh.exe into app's …

0
62
Member Avatar for SPereira

Hi There, I need some help in VB 6. I have a textbox wherein I need to validate the data entered after the TAB key is pressed. Using KeyDown, KeyUp and KeyPress does not get me the KeyAscii of the Tab Key. It works fine with the Enter Key but …

Member Avatar for choudhuryshouvi
0
552
Member Avatar for shinoske
Member Avatar for prachi malpure

hello, v are the students of engineering and developing a project on speech recognition system. our system is just opening the applications.can anyone just help us so that v can create a agent that will train the system with different voices.if anyone can give us the code it will be …

Member Avatar for Jx_Man
0
228
Member Avatar for evios

i'd created a game, now thinking of adding background music to it, however i'd tried the codes below..n unsuccessful, anione know what is the mistakes? Thanks a million. [code]Public Declare Function sndPlaySound Lib "winmm.dll" Alias "sndPlaySoundA" (ByVal lpszSoundName As String, ByVal uFlags As Long) As Long ' ' sndPlaySound constants …

Member Avatar for Jx_Man
0
109
Member Avatar for Agita

Hello, I know basically nothing about programming but none the less I have chose to play with VB2008 just the same. I read learn Visual basic in 24 hours, didn't do me any good..(other than learning random info) All I want to do is make a application that links to …

Member Avatar for Agita
0
137
Member Avatar for t_yalthis

hi everybody, I need arrays which has boolean type of data in them.. is it possible to do it in vb6? I searched the web but couldn't find any related information.. thanx..

Member Avatar for Mbt925
0
122
Member Avatar for dinilkarun

I am new to VB.Is there anything similar to checkedstbox(VB.net) in VB 6.0?. If not, can i make one using listbox,checkboxes and scroll bars?

Member Avatar for Mbt925
0
77
Member Avatar for SubProf

Hello, I have a combobox on my form that I need to be populated with data from a table in MS Access. I am new to coding in Visual c# and would appreciate any help I can get with this. Thanks in advance, SubProf

Member Avatar for SubProf
0
88
Member Avatar for hawada99

Good Morning to all of you. I just joined today. I am a freasher in programming, live in India. I made a project and want to create a setup of project. Can anyone tell me the solution. Thanks in advance. Raj

Member Avatar for Jx_Man
0
80
Member Avatar for sk8ndestroy14

Okay, so here's the challenge. I want a continously running program that will automatically close all running programs, log off the user account and shut down the computer when the batterly life of my laptop reaches a certain amount. First of all, can that be done with visual basic and …

Member Avatar for Jx_Man
0
168
Member Avatar for Hellfireballz

Ok I have a project I am working on and I need some help getting started .... I want to display info from an excel sheet I have ... Example: A1 = Movie Title B1 = Movie Genre ok in label1 I want the movie title and in label2 I …

0
60
Member Avatar for bashir matovu

invalid sql statement,expected "delete","insert","procedure","select" or "update" it a run time error which i recieve when an saving a record to the database. and this is the code. [B]rsord.Open "order", cnnord, adOpenKeyset, adLockPessimistic[/B] cnnord.Execute "INSERT INTO order(OrderId,DateOrdered,CustomerId,QuatityOrdered,ProductTitle,PurchasedUnitPrice);" _ & "VALUES('" & txtoid.Text & "','" & txtod.Text & "','" & txtcid.Text & …

Member Avatar for cometburn
0
89
Member Avatar for hawisme000

im making an installation form in VB -i already made the installer/setup for my project using another installer maker im having a prob on the syntax, i just googled this and try it but have a error Dim TaskID As Long TaskID = Shell(App.Path \ CAIsetup.exe, vbNormalFocus) my only guess …

Member Avatar for cometburn
0
148
Member Avatar for hawisme000

hi every1, another prob cnt solve even after googling how can i load a notepad file or txt file on VB, what i mean is loading the notepad.exe with the file inside example i click the cmdLoad then it will open the file (on notepad) the file i want to …

Member Avatar for hawisme000
0
244
Member Avatar for crazymanzach

Hi, Can someone please help me? I have a filelistbox that can view and execute files in a specified folder. Is there a way to get a filelistbox to view folders and subfolders in a tree and then execute the files within? thanks

Member Avatar for choudhuryshouvi
0
72
Member Avatar for regalla

i have two forms and on each form one text box having access database behind and is connected to forms by using data bound controls. My problm is that what ever value i enter form1.text1 , it should come in form2.text1. iam using code like this in form1 lost focus …

Member Avatar for choudhuryshouvi
0
93
Member Avatar for bashir matovu

hi brother i have a code which saves arecord but it gives an error syntax in insert in to statement. this is ma code. arequest for a collection or an alternative code. Private Sub cmdsave_Click() Dim findpas As String Dim cnnadd As ADODB.Connection Dim rsadd As ADODB.Recordset Set cnnadd = …

Member Avatar for choudhuryshouvi
0
78
Member Avatar for rajeshkhanna_in

HI all, I have been using a software written in vb6.0 for 2 years. Now all of a sudden the software gives me this error "PCGW32.dll file is missing!". I don't know how to handle it. Even the person from whom I bought the software is nowhere to be found. …

0
78
Member Avatar for Sawamura

i want to search data from access database and display it in datagrid. please help me.. thanks in advanced....:)

Member Avatar for Jx_Man
2
153
Member Avatar for Estella

I want to change font of all controls in a form. how i can do this?? i can change font but just for each control not all control in a same time... please help :)

Member Avatar for Jx_Man
1
173
Member Avatar for nirvana999

how can i Enable the F2 or f3 in my keyboard when i press the F1 in my keyboard?? btw this is my code i want to enable the F2 when i press F1......I've got an error when i press the F2 first before the F1....sorry for my stupidity it …

Member Avatar for debasisdas
0
73
Member Avatar for kshrini

Hi All, I'm using MSFlexgrid in my program. I'm using Click event of it. But when I click on blank area after last row it still fires click event and focuses on a column. Is it possible to block the Click event when I click in blank space or block …

Member Avatar for SPereira
0
218
Member Avatar for shahriar2403

I am really having a tough time to update my report contents. Please help me with a project attaching with your solution. please help me quick......

Member Avatar for cometburn
0
480
Member Avatar for kartik07

Hi,I am new to VB6 and I have displayed records in a DBGrid from access using Data ctrl. I have displayed name and mailid in the grid Now,wen I click on any one record,the particular record shoul get selected and corresponding mailid and name should be displayed in another form. …

Member Avatar for rucci
0
133
Member Avatar for jm50328

Hi, I am looking for a way to word wrap TreeView text, if this is even possible.

Member Avatar for jm50328
0
72
Member Avatar for sofian786

heres what i wnated too do Write a program to calculate the average monthly sales figure for a single salesperson in one calendar year. the user will be asked to enter 12 sales figures (pounds & pence), one for each month of the year, and then the average monthly figure …

Member Avatar for choudhuryshouvi
0
120
Member Avatar for kinyuadave

I have this project that am workng on that requres the user to write a name in a textbox and images are displayed on the picture box. So the question is how do i do this?

Member Avatar for Jx_Man
0
110
Member Avatar for eparse

Any codes for mouse manipulation? I'd created a game using form, works fine. Now i am trying to control the game using only keyboard instead of mouse. I'd try class module for it and the result is unsatisfactory. The application is easy, just use up, down, left and right key …

Member Avatar for debasisdas
0
50
Member Avatar for jsetter

Hi guys, I have a problem with the conversion of an excel spreadsheet to html. I have converted the file to html using a microsoft internet wizard and the spreadsheet comes up yet the cells that need user input - you can't enter values. I am a newbie and have …

0
43
Member Avatar for Neji

there are anyone know how to get all user in computer?? please help me.. i dont have idea for this.. best regards.. any help will be appreciated..

Member Avatar for Jx_Man
0
185
Member Avatar for masakii

hi im a student doing a project related to video streaming application and i have no idea on how to start. im trying to do the coding using visual basic, anyone have any working examples that i might refer to?

Member Avatar for tcom4
0
71

The End.