10,992 Topics

Member Avatar for
Member Avatar for mgorecki

Hello, I'm experimenting with creating a web page using VB 6.0 DHTML and have run into problem. I have a page started with text and now I want to add some buttons or elements. The book I've been using says I can just double-click on the element, or pick the …

Member Avatar for mgorecki
0
94
Member Avatar for davydick

I have a form that contains a Form_Keydown subroutine and a textbox. I am using a bluetooth numeric pad for input, so there is no mouse involved. The first keypress should display the contents of a corresponding array contents (e.g. pressing 4 should display the array's fourth element). The textbox …

Member Avatar for AndreRet
0
2K
Member Avatar for abelingaw

I'm having this problem regarding my Backup code. I get an error saying "Permission Denied". Here's my code: [CODE] Public Sub DBBackup() Dim fsys As New FileSystemObject Dim myfile As File Dim isTrue As String Dim isFalse As String Set myfile = fsys.GetFile(App.Path & "\Database.mdb") 'Create Backup folder if not …

Member Avatar for AndreRet
0
273
Member Avatar for Naveed_786

Hi all, 1. I want to know how to add a data grid in vb 6 form? 2. And how to fetch all records in data grid please help Thanks in advance for help.

Member Avatar for AndreRet
0
147
Member Avatar for cavern

hello ive problem which is every time i click search(by name) n then the next thing i click save, (after save and update my data), the button previous,next,first,last doenst work, the save button function also doesnt work. but when i click search(the name), n then the next i click the …

Member Avatar for AndreRet
0
174
Member Avatar for borntovb

Hi guys, I have been stuck on a simple code for hours can anyone help? The question is: "Suppose an array of 16 names is in ascending order. Write a procedure to search for a name input by the user. If the first letter of the name is found in …

Member Avatar for AndreRet
0
158
Member Avatar for lnimer

hi, any body can help me i need a source code for a simulation of elevator in vb or any single-queue, multi-queue simulation

Member Avatar for AndreRet
0
268
Member Avatar for tgifgemini

Hi everyone, I have a weired situation right here. My module was working perfectly all along. This morning I tried to run and got a run-time error: 1004 Application-defined or Object-defined error on this line of code. [code] With xlWksht.Range(Cells(ii + 1, 1), Cells(ii + 1, 5)) [/code] Below is …

Member Avatar for AndreRet
0
323
Member Avatar for pbunkers

I’m trying to automatically save an excel file to pdf file using visual basic. So, I will manually open the excel, upon opening the excel file, it will run code to calculate a daily totalizer (this I have functioning) as soon as this code finishes, I want the excel file …

Member Avatar for AndreRet
0
366
Member Avatar for dreamer_lek91

Hi, I have this set of coding when i use it when i am in ms access 97 but not ms access 2007. this is a set of coding for login form of ms access. Whenever i log in with the correct userid and password, it always promt me "wrong …

Member Avatar for AndreRet
0
212
Member Avatar for guia08

learn about the code of light emitting diode 8-bit in visual basic[CODE][/CODE]

Member Avatar for AndreRet
0
54
Member Avatar for divakar.it

Hello, I am getting a below error while accessing excel second time [I]run time error 1004 method sheets of object_global failed in vb6[/I] When i run the code at first time to open a excel and take a copy of the sheet, it works fine however when i run the …

Member Avatar for AndreRet
0
631
Member Avatar for fereak

Hey, I'm a student, doing VB at college. I've been trying to make a program to compute Pi, and am making good progress, I think I know what to do. However, part of the algorithm requires me to cube a number. The way I'm doing it is having stored the …

Member Avatar for fereak
0
181
Member Avatar for Chaos3737

Please help! I'm trying to install Visual Basic Express edition 2010 on my windows Vista computer. The .net framework 4.0 is installed (or so the control panel says), but the visual basic installation fails every time it gets to "Microsoft Visual Basic 2010 Express," which is the first item to …

Member Avatar for gracelyn
0
165
Member Avatar for neosonic

Hi All, I have a sub and trap the error with: ------------------------------------------ private sub mySub(mydoc as string) On error goto goto handlemyerror kill app.path & "\" & mydoc handlemyerror: msgbox "I cannot kill it" end sub ------------------------------------------ mydoc is word document with 2-3 pages length. It works fine to avoid …

Member Avatar for AndreRet
0
125
Member Avatar for VBNew

Hi, I have 2 text box, Text1 is to display the week no and Text2 is to display start date of the week. Do anyone know what function I should use in VB6? Thanks, Annie

Member Avatar for AndreRet
0
303
Member Avatar for m3rp

Hi, I've been asked to create a character/text recognition system for my project. As i am quite a noob in this i hope u guys can help me out. does anyone have source code for this system? thankx in advance!

Member Avatar for AndreRet
0
157
Member Avatar for abelingaw

OK, i have this Backup module for my system's database. Now i would like to have a module of restoring and deleting backups of it. Here's some info: The backup files created are stored in a Folder named "Backup" My database has 2 Columns having OLE type objects, Pictures and …

Member Avatar for AndreRet
0
111
Member Avatar for navaidstech

Hello all... I'm trying to populate a Flexgrid using an SQL query that involves values external to the database being queried. The database contains latitudes and longitudes of points of interest on Earth. Ie. Point A, -43.5644,-79.5432 Point B, -89.5433, 76.3343 Point C, 54.6433 , 65.4432 What I want to …

Member Avatar for AndreRet
0
156
Member Avatar for serolfaceh

Im trying to do employee database using vb6.0, problem is that, is it possible that after clicking a command button this will call a PDF file... the Scenario is this: [command button] """""""""""""""""""""" "VIEW JOB DESCRIPTION" """""""""""""""""""""" [after pressing this will call/fetch the specific job description of the employee and …

Member Avatar for AndreRet
0
1K
Member Avatar for Foogles

Hello all, I've been a part of this community for a while now but after making the mistake of permanently losing access to my email, I've had to change my username :P Anyways, I'm looking to throw my hat back into the programming ring. I have the basic knowledge of …

Member Avatar for AndreRet
0
137
Member Avatar for DCYPHER

Hi, My code is pretty much complete. I just need help in 2 things 1) When the program runs the 0 appears, which is fine, but when I type/write a number the Zero would continue next to the number i type/write 2) When i make an operation, such as add/divide/multiplication …

Member Avatar for kvprajapati
0
193
Member Avatar for jeffcogswell

Last week, Microsoft released a set of tools for developing software for the new Windows Phone 7 using Visual Basic. In order to use the tools, you have to have Visual Studio 2010 Professional or better (right now the Express versions don't work, although I've heard that will change). But …

Member Avatar for jeffcogswell
1
338
Member Avatar for problematic:)

hi! i'm using a ms access 2003 and vb6. I have a textbox and a datagrid controlled by an adodc. can anyone tell me how can i display the data that I need in the datagrid. example: i entered a lastname "cruz". I want the datagrid to display customers that …

Member Avatar for AndreRet
0
1K
Member Avatar for divakar.it

Hi, I want to trigger a mail from VB6 code. Here the only specific requirement is, When the user click the button, it will do something and send the result in a mail using common id. Eg: There is common mail id called [email]RMG@xyz.com[/email] (Resource management Group) which will be …

Member Avatar for AndreRet
0
176
Member Avatar for VBNew

Hi, I have a weely report which contain of 2 text box. EmpNo.txt and Position.txt. I need to get the data from my access database when the form is loaded. Before go to the weekly report form the system will check the loginID and password. The empno and position data …

Member Avatar for AndreRet
0
98
Member Avatar for Slashbash
Member Avatar for prad23

hie ! i am using vb 6 front end nd oracle 9i bk end ... Prob: can we on execute two diff commands (the data environment one's) on the same data report ,instead of using 2 data reports for the 2 diff commands ????(please help wit this) and one more …

Member Avatar for AndreRet
0
122
Member Avatar for bgalani

PLEASE ANSWER THIS SOON IT'S URGENT Hi, I need to read the data directly from excel, strore the data to perform some validations on this datato insert them into a temp table and finally insert them into main table. The following are the validations to be performed while reading an …

Member Avatar for AndreRet
0
167
Member Avatar for sayyad786i

hi, I want to create a pdf from excel sheet using visual basic 6.0. Can you people help me describing or sending me a ready codes regarding the same. Thanks with regards, Sayyad H.A. India.

Member Avatar for pbunkers
0
4K
Member Avatar for johnkeartson

How do I install visual Studio 6 in Windows 7 Visual Basic Not completed the installation at the access to the installation of Microsoft Vrtual Machine ( VM ) What is the way ? What i do ? Because, I need to use the Visual Basic Now. :'(

Member Avatar for addym55
-6
2K
Member Avatar for CallumP93

Hi All, I am currently making a server monitoring application that pings the server to check its uplink, so far it creates all the picture boxes and labels for each server, and then pings the server, although I have a picture that I want to change dependant on the result. …

Member Avatar for CallumP93
0
229
Member Avatar for a1a4a

[B]Hello all it's my first question[/B] [B]I am new to database with visual basic .... I am working on a application form that allow users to register log in and get a profile page .. the problem is i need a code of leting me printing data from the databse …

Member Avatar for AndreRet
0
131
Member Avatar for dreamer_lek91

there are quite i few data that are required to update in one time... And the default setting for a list box is that u need to update once at a time? Can any1 plz teach me how to select 2 or more item in the list box and update …

Member Avatar for AndreRet
0
148
Member Avatar for lttleastig

Hello I want to open a program and press the START button in that program and it has to run on a server so have to use remote desktop any ideas on how i could approach this? Thanks, Phi7iP

Member Avatar for AndreRet
0
134
Member Avatar for neosonic

Hey all, I have a picture box, and I want to detect whether the ctrl key is being pressed. Since I want to simulate... ctrl and left click for multiple selections. what I have done: 1. set beingpressed as boolean 2. in keyDown event, I set beingpressed to true 3. …

Member Avatar for AndreRet
0
742
Member Avatar for abelingaw

Ok i have this form used for registering user for my program (User and Admin type) When i run it, i get an error that says "Invalid Property Value" This is my code for my GetUsers function called on my Form_Load event [CODE] Public Sub GetUsers() ' On Error GoTo …

Member Avatar for AndreRet
0
145
Member Avatar for b1izzard

Hi all, I want to compile the cobol program with a click of a button in toolbar provided if its compiler location and command to compile is specified. e.g [CODE] c:\cob>cobol hello.cob 'command line equivalent [/CODE] VB equivalent: [CODE] Dim command As String command = "cd " & app_path 'app_path="c:\cob" …

Member Avatar for b1izzard
0
183
Member Avatar for divakar.it

Hi, Me again. Now the requirement is slightly changed now. Requiremetn: When I enter a employee id in a text box and click "Show calender", the code will run a query to fetch Allocation date and release date of the employee for a project and the dates between Allocation date …

Member Avatar for AndreRet
0
435
Member Avatar for AMetnik

Hey, im trying to get some information out of my database, which i have tableadapter and dataset. Both created with the VS2010. I have made 4 queries in the tableadapter taking different parameters, to make a WHERE clause in the sql sentence. But it simply doesnt work and i dont …

Member Avatar for AMetnik
0
111
Member Avatar for anbusatish82

Hi ALL, Am using the below vbs script to get the full path or absolute path, from the current directory path. The current directory path is "D:\JAMER\TestCases\Hammy\TC2_Enabled_both" The below script is used to get the full path of the current working directory to the file ScriptingFilePath.txt for later references, [code] …

Member Avatar for AndreRet
0
199
Member Avatar for dreamer_lek91

Hi I have this form which works well when it is in list box. but when I change the list box to combo box, the form does not works and I will be stuck at "record does not exist" even though i choose the record from the combo box. this …

Member Avatar for AndreRet
0
713
Member Avatar for divakar.it

Hi, I have a requirement that when a user click on a record in the datagrid (the record holds Emp_id and his/her project allocation date and release date), then the dates from allocation date to release date in monthview should display bold. I have written the code but i dont …

Member Avatar for AndreRet
0
483
Member Avatar for Raja Paul

Hi, I have a question regarding VB and VC++ connectivity. Can a program, written in C++/VC++, take input from a module written in VB? Someone please help me.....

Member Avatar for AndreRet
0
47
Member Avatar for junjun61991

How to create a data report,were did i click and what kind of components?[B][COLOR="Red"][/COLOR][/B]

Member Avatar for AndreRet
0
83
Member Avatar for BasicGamer

I was wondering, how exactly would I go about doing that. I want assign the arrow keys to command buttons. For Example: Command1 would be the UP arrow key, command2 would be the LEFT arrow key, command3 would be the RIGHT arrow key, command4 would be the DOWN arrow key.

Member Avatar for AndreRet
0
870
Member Avatar for SoulReaper1680

Hey, whenever I compile the code below the program compiles and runs but after a while I get the following error: System.IndexOutOfRangeException was unhandled Index was outside the bounds of the array. Also, when compiling I get the following: A first chance exception of type 'System.IndexOutOfRangeException' occurred in array_mult.exe The …

Member Avatar for AndreRet
0
167
Member Avatar for divakar.it

Hi Andreret, As per the dicussion today on my previous thread, i am creating a new thread for the function to convert the numbers on the grid to a date. I am waiting for your code. Kindly share once you done tomorrow or the day next

Member Avatar for AndreRet
0
130
Member Avatar for Sodabread

I'm working on an application that has a slew of database connections throughout. The application is being developed on a system which is 100% disconnected from the server on which it will run. Every time I open a form object or attempt to compile, I have to wait n seconds …

Member Avatar for AndreRet
0
132
Member Avatar for cavern

hello everyone, i need a tips about "search coding" im using adodc connection: [CODE] Adodc1.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "\sistempengurusanrumahsewa.mdb;Persist Security Info=False" Adodc1.RecordSource = "Select * from Owner" Set DataGrid1.DataSource = Adodc1 [/CODE] im trying to make "search" button to search a Name in my datagrid1. can anyone …

Member Avatar for AndreRet
0
102

The End.