Speed of sound  

Hi, i was wondering if someone could help me. I have been working on this project for about 3 hours. This is my first semester in programming and i think i;m falling behind. My project says: Do not accept distances less than 0. Always check for... Continue Reading
Views : 2846
Monday 24th of December 2012

Hiding console windows  

Hi folksIm trying to learn vb by coding an app that launches some server components for mangos but Im really struggling to workout how to hide the console windows that are launched. Can anybody point me in the right direction pls. Here's the... Continue Reading
Views : 293
Monday 24th of December 2012

Linear Interpolation and arrays/functions  

I need serious homework help...Here is the exact homework assignment I have been's due in twelve hours (time stamp 01:35 AM, OCT 31st) Due by 12:15AM EST OCT 31st.Homework #6 ESC151 Fall 2007 Due Wednesday ... Continue Reading
Views : 266
Monday 24th of December 2012

Connect vb 6 to Sqlserver database, and load textfiles  

Compliments of the day, pls I'm a newbie, I'm trying to connect to an Sqlserver database and load textfiles into the database and when its finished loading, it'll say "Loaded Successfully"pls assist me: cos i've tried it Continue Reading
Views : 318
Monday 24th of December 2012

preventing certain characters from bein entered into TB  

I need to limit input into a textbox to numbers "1-9", "." and "-"I know have used the [isnumeric] code, but I don't think that works here.I thought about using a compound If/Then statement....but I need to exclude everything but... Continue Reading
Views : 321
Monday 24th of December 2012

Visual Basic 6 Calculator  

Option ExplicitDim intCount As IntegerDim sngOne As SingleDim sngTwo As SinglePrivate Sub cmd0_Click()txtAnswer.Text = txtAnswer.Text & "0"End SubPrivate Sub cmd1_Click()txtAnswer.Text = txtAnswer.Text & "1"End SubPrivate... Continue Reading
Views : 265
Monday 24th of December 2012

combining use of radio button with list box  

The requirement is, there are 6 radio buttons and a listbox. when i click on the radio buttons, some set of values gets populated into the listbox from the database, but when i click on 1 of the radio button among the six, the second item from the... Continue Reading
Views : 264
Monday 24th of December 2012

Making Shadow of the Controls  

i am using vb6 i want to ask a question is it possible in vb6 thatwe can make coloured shadow of the control (liketext box, combobox etc)i had use a picture to make shadow by bringingpictures back of the control and resiging it a lit bitbigger than the... Continue Reading
Views : 333
Monday 24th of December 2012


Hello to all. I'm a beginner in VB.NET and hope to get some great help from all of those who are old hands at this.Ed Continue Reading
Views : 274
Monday 24th of December 2012

[VB CCE] Displaying Using Tab  

'@ This post has been edited by snoopeh: 23 November 2007 - 09:12 AM Continue Reading
Views : 335
Monday 24th of December 2012

ADO Find code problem  

Can someone show me the codes in finding records in databases? I am new to VB6 and can't understand the format. plz help me........ Continue Reading
Views : 297
Monday 24th of December 2012

Trouble adding data from structure array to combobox on form  

I have a program that reads data from 2 sequential data files. One file is called Employee and the other is Payroll. The form contains a open files button that allows the user to open both files. Once chosen the program reads the files and puts the... Continue Reading
Views : 295
Monday 24th of December 2012

Connect to Access in VB  

hello guys,I would like to ask if you know how i can connect my database in access with visual basic. My database include last_name,first_name and age and i want to connect them with the text boxes to visual basic so i can save them to... Continue Reading
Views : 296
Monday 24th of December 2012

Shell Command  

I need a code which will open a file (or list) using another. ie.. shell ("c:\textfile.txt using c:\notepad.exe")I cant believe the junk I get stuck on sometimes! Continue Reading
Views : 252
Monday 24th of December 2012


can anybody help me about my probs...this is it i use a 2 textboxes and 1 commandbutton. if i input a string or integer in the textbox1 i want to display the result in the textbox2 using commandbutton... Continue Reading
Views : 378
Monday 24th of December 2012

Outlook Express  

Added "Microsoft MAPI Control 6.0" in Component of this projectAdded "Microsoft Outlook 11.0 Object Library", "Microsoft Scripting Runtime" & "Microsoft CDO 1.21 Runtime Library" in Reference of this Project.Below is the process for reading messages from INBOX on Command... Continue Reading
Views : 316
Monday 24th of December 2012

write to a txt file from a list box  

how do i write to a txt file from a list box heres my attempt (sad)Open... Continue Reading
Views : 270
Monday 24th of December 2012

client server schedule updater  

'server.exe'Private Sub ExitUpdate_Click()If wsock.State sckConnected Then Exit Subwsock.SendData Form2.ShowEnd SubPrivate Sub Form_Load()Combo1.AddItem "Acacia"Combo1.AddItem "Alhambra"Combo1.AddItem... Continue Reading
Views : 323
Monday 24th of December 2012

exception Handeling  

The problem I am haveing is that will accept alpha charicters on user input which creates an exceptionerror and crashes the program and I have no Idea how to fix this. my code for my change follows.Any Assistance would be appreciater. Continue Reading
Views : 251
Monday 24th of December 2012

ListBox items question  

Public Class Form1 Private strMovie(9) As String Private intMatinee(9) As Integer Private intEvening(9) As Integer Private intCounter As Integer = 0 Private Sub btnAddMovie_Click(ByVal sender As System.Object, ByVal e As... Continue Reading
Views : 308
Monday 24th of December 2012

Where is my wrong in this code  

Hi,I'm trying to write my first code in VBNet, But I got the bluw line under the word " answer" in the last line. Here is the code:[color=#3333FF]Public Class [/color]... Continue Reading
Views : 302
Monday 24th of December 2012

Questions about vb6 compatibility  

im thinking about buying a new computer, but im not sure which os to thinking about buying a linux os since i hear windows vista has so many problems, & finding windows xp os is getting harder to find. but im a beginner vb programmer &... Continue Reading
Views : 319
Monday 24th of December 2012

USB class for Visual  

Can any one help me with USB interface. I am looking for a class that would be a starting point for use with communications with RS232 serial adaptors and Dallas One-Wire USB adapters like the DS9490. I do not understand the coding process and could... Continue Reading
Views : 312
Monday 24th of December 2012

someone clear my doubt  

in a project there r different forms....if we want to end the execution of a form a start execution of another fom what do we do?form.hide only hides the form and shows another but does not end the execution of the form. Continue Reading
Views : 364
Monday 24th of December 2012

droping external image on picturebox  

Hi friends, I'm doing a catalogue sort of program.For that I need to drag an external image (.jpeg ,.bmp etc ) and put it on a picturebox. I tried using Oledragdrop ,But not getting the answer.Help Plz Continue Reading
Views : 271
Monday 24th of December 2012

DataRegport in vb6  

I am using DataReport in vb6.0 and i made connection using DataEnvironment add added one Command(for sql query).. but when my DataReport shows(DataReport.Show) it gives error "Invalid DataSource"I have checked connection n other things but still i m getting this error...plz... Continue Reading
Views : 250
Monday 24th of December 2012

Still trolling for Desktop Search enthusiasts  

Spectate Swamp Desktop Search is NOW Open Source.This simple 10,000 line Visual Basic 5 program doesit all. With lots of room for improvement. Any takers?The first code snippets got me in trouble, for poor coding... Continue Reading
Views : 236
Monday 24th of December 2012

Not Responding Error  

I'm creating a clock for circuit training that will countdown from 30 to 0 then an interval countdown from 15 to 0.I'll then repeat the process and finally a 3rd 30 sec countdown.The next part will countdown from 60 secs to 0 and then an... Continue Reading
Views : 231
Monday 24th of December 2012

Opening a Shell to a set .windowstate  

Is there any way to control the window.state of a program that I am opening with the Shell function? For Example:sAppName = "TestProg"sAppPath = "C:\Document and Settings\TestProg.exe"If... Continue Reading
Views : 1102
Monday 24th of December 2012

How to transparent a RichTextbox  

Hello anybody knows how to transparent a Richtexbox??? Continue Reading
Views : 291
Monday 24th of December 2012