10,992 Topics
![]() | |
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 … | |
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 … | |
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 … | |
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. | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
learn about the code of light emitting diode 8-bit in visual basic[CODE][/CODE] | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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! | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
[B]How to make Blowfish Crypto in vb 6[/B] | |
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 … | |
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 … | |
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. | |
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. :'( | |
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. … | |
[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 … | |
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 … | |
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 | |
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. … | |
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 … | |
![]() | 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" … ![]() |
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 … | |
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 … | |
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] … | |
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 … | |
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 … | |
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..... | |
How to create a data report,were did i click and what kind of components?[B][COLOR="Red"][/COLOR][/B] | |
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. | |
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 … | |
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 | |
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 … | |
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 … |
The End.