12,155 Topics
Private Sub Average_Click() Dim Test1 As Integer Dim Test2 As Integer Dim Test3 As Integer Dim Test4 As Integer Dim Test5 As Integer Dim Test6 As Integer Dim Average As String Test1 = txtTest1.Text Test2 = txtTest2.Text Test3 = txtTest3.Text Test4 = txtTest4.Text Test5 = txtTest5.Text Test6 = txtTest6.Text Average …
Ok, so here it is: I want a video to play when the form is loaded. Once it is done playing, i want to hide the form, and open another form. I am using Microsoft Visual Basic 2008 Express Edition my code is: [CODE]Public Class frmSplashVideo Private Sub frmSplashVideo_Load(ByVal sender …
Hey guys i have this program and i want you to tell me what is wrong cuz i can't figure it out !! This is what i have to do: (the code follows) When the form is loaded, read the records in P3S3 Data File For Import.txt to a listbox …
hello can you help me please.. i have this trapping that will trap the characters..but my problem my code is too long..are there other ways to shorten my code..please help me ...hoping for your positive responds... [CODE]Public Function mchnotrap(KeyAscii As Integer) If KeyAscii >= 33 And KeyAscii <= 44 Or …
helo i have assignment on vb6 can anyone help me how to make a codes of search button, random and sequential tnx...
I am using MS Access 2003 to connect with VB. I have added all the referencess. Still there is an error in the line [code]If conn = "" Then conn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "\Automobiles.mdb;" conn.Open [/code] Will you please help me to solve this problem?
i have to write a program for a palindrome on vb that uses a loop and a decision and i don't think i need any arrays or any other real big complications. this particular program when i tried it cause i cant actually use this one due to plagiarism didn't …
Hi guys, i really need help in VB 6, the problem is that i have an old project that i make as a setup file, and now i need to re construct my project from that setup file, so i can make some modification because unfortunately i don't have the …
hi to everyone :) [CODE] If c >= 17 Then PictureBox17.Location = PictureBox16.Location End If If c >= 16 Then PictureBox16.Location = PictureBox15.Location End If If c >= 15 Then PictureBox15.Location = PictureBox14.Location End If If c >= 14 Then PictureBox14.Location = PictureBox13.Location End If If c >= 13 Then …
All I want to know is that how is that L1.exe protected with that coding? What is that technology called? What is the software used for making this? How is the code generated? Note that MID & Site code will wary from system to system. This file cannot be run …
I have a brand new computer which was freshly loaded with Visual Basic 6.0. I have copied all the code from the previous computer to this new one. But loading a project produced the following error. Class MSGrid.Grid of control grdS101 was not a loaded control class. So I did …
Hi Hi have the code below. When I run the javascript that I have comment it works, but when I try to run the vbscript, nothing happens. I just wounder what I have done wrong [CODE] <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" …
I have to develop a code with visual basic to open a file then read each line of the text file one string at a time then output these strings to individual cells in excel. Can anyone help?
Hi, i want to know how to select and print from my data report an especific record. i want to select it usin the id number
Hello everyone! I am wondering how I would transfer items from one listbox to another. Both these listboxes are multicolumn and I need to transfer information from both those columns to the other two columns. Here is my code so far: [code] Private Sub cmdAdd_Click() '****************************************************** Dim intPosition% Dim strTransfer$, …
I am facing the same problem as described bye CandyV. I would like to know if it is solved?
So I have a database (for tracking customer applications through to approval etc.) in MS Access form & and all (but access just isnt the best way to do this for many reasons I wont get into). I have looked at lots of programming language and decide that VB was …
hi, i am trying to design chip 8 emulator on visual basic, i have found source code of it but the problem is i am not getting the idea how the code works, i understand some part of it.. please help me.. here is the full source code.. [CODE]Dim ram(8192) …
Hi All, I have been doing a little VBA in excel and I am tring to work out how to add 2 hour {or any amount of time} to the current time. Google has failed me in finding the answer, most of the things i have found is formulas but …
Hi there everyone, I have this program due for 10h00 tomorrow and iv been sitting here for 2 hours, stuck because I cant get past that error when I type in the information for the last loop, if anyone could point me in the right Direction I will be greatly …
Hi all, I am using visual studio 2005 to edit a form.cs where i am in a situation where the text entered in a particular text box must be trimmed. for eg : if the text entered in the text box in SMS_dr_6500 , i want to trim the text …
good day to all.. i am new in making macro in excel and i want to make a macro that will copy a certain range to my active sheet and print it... I have a multiple file so i already made a form for the program that will ask the …
I am having a problem with my code. below i have outlined the home work requirement. please take a look at the second part(this is the code that i have written) I keep getting an error when i try to run the code. The error states:The program '[3716] Lab02 Case01.exe: …
My turn to ask a question.... Does anyone know how to open a report (.rpt) in Crystal Reports 2008 using vb6? I have just spend a lot of money purchasing this and now it seems that it is not compatible with vb6 at all. It was working fine in earlier …
Can someone explain to me how to write the VBA Code that will close another Access Application/Database? I have two Access Programs running. The first Access Program, called Main Program. It is the primary program which contains numerous tables, records, et cetera. I have created a second database, called Employees …
Hi I have a database with many staff members and each staff member has many Customers assigned to them. I want to export customer details to a separate excel file for each staff member. I don't want to have to do this manually as its going to take up time. …
Hi My name is Karla, I'm seeking help for my friend who is a programmer. He created a Mp3 player, but he can't get it to browse files and directories in the same browsing window. He has created a Buttom for browse which loads a new window where we can …
Im just learning and have made some userforms with text box's and comand butttons and i am trying to make them create a new excel workbook and save it. I have try'd all sorts of different code that i have found on the net but carn't get any to work.
pls help me Write a VB program to capture and view the following student’s records: Matno, StudentName, Dept, Program &Level. Use MS Access or any other database. Note: Divide yourselves into groups
Hi Everybody, I'm was given a project that manages sales activity within a company.I'm free to choose any language i would like. It is not a very complicated application. What are the advantges of programming the app in C# .NET vs.VB6 ? What would you choose? Thanks Dan
hi all,in one of my interview the question paper was like this. we need a banking system application which is having account types like saving account,current account and these account type having deposit,withdraw which are different for the account type,but the view account balance is same for the account type.you …
hi...i worked on few projects on visual basic 5.0 on school which has windows xp......then i created exe file for it and tried to run it on my computer which has windows vista....but i am getting error message which says MSVBVM50.dll was not found...can somebody help me plz...
hello need help for this how can i trap if my mch_rs!qtyh is zero example H1010 the quantity on hand is 10 then if i input quantity 10 then click the add button so now my H1010 is zero.then if i input again the H1010 it should prompt that the …
Hi, I would like to know how to free a memory after I am using a imagelist or picturebox/ image file. I have a program who loads picturebox into a imagelist, only 2 pictures at the time. My problem is, after running my program several times (by using "start" command …
Hey all, I have a problem with this particular piece of coding I have for my payroll system in Visual Basic 6. I am basically trying to calculate the wages of employee's by entering in the number of hours they have worked. The criteria of how much pay they receive …
Hi, I need to insert 5 web pages [5 lessons] into a single slide. Using VBA, i have inserted 5 "command buttons", each Command Button should be linked to a userform, so the userform will have a webbrowser on it. I seem to be having a problem with code. Really …
I have a problem I am hoping someone might be able to help me with or point me in the right direction. I have been developing a program that simulates an irrigation pivot panel for my job and I am running into a problem when I close the compiled program. …
hellow i am a new user here so plse can u give me some information about vb project.
hello, can you help me how can i put icon in my message box is it possible to put icon on message box.?...hoping for your positive responds...
I have created a vb6 program that has 6 forms. I put the button files for all of the BMPs in a (1) Folder named ALL BMPs Form1 loads all the Forms after the the Splash screen exits. when running the vbp file every thing runs OK and the buttons …
Ok i have now made a database and A Login in vb6 but how do i connect it to my database online ?
here's the basic setup: [CODE] #ifndef _GLOBALS #define _GLOBALS #include <list> #include <vector> #include "unit.h" extern std::vector <unit> reserved_units; extern std::list <unit*> active; extern std::vector <unit> generics; #endif [/CODE] [CODE] //globals.cpp #include "globals.h" #include "unit.h" #include <vector> #include <list> vector <unit> generics(15); vector <unit> reserved_units(200); list <unit*> active(0); [/CODE] unit.h …
I have created a table named "MapDetail" : the FIELDS identify the formname, the name of the textbox , and data to be transferred to that textbox. My form contains a map of city lots. Each of these lots contain a Textbox. My objective is to load each Textbox with …
Hi All, I have a small company which is studying the posibilty to create a freeware opensource Visual Basic IDE, built in QT/C++ for running under linux and generating object code and assembler code in a easy way. So to start, I was wondering if anyone have a Visual Basic …
Is there a way to put a computer to sleep somehow other than clicking start, then sleep? I am using a shortcut to this right now: C:\Windows\System32\rundll32.exe powrprof.dll,SetSuspendState 0,1,0 but it doesnt do the same thing as clicking "Sleep" in the start menu. I need a piece of C++ code, …
hello, can you explain me on this the concept or how this will behave because i am confuse on this .. [CODE]Data Source=C:\myFolder\myAccess2007file.accdb;Persist Security Info=False;[/CODE] and by the way is this syntax persist security aplicable to Microsoft.Jet.OLEDB.4.0;?..please help me on this..hoping for your positive responds...
Hi all, What i could really use help on is the Revellos project. For anyone who might possibly have the "Microsoft Visual Basic 2008 Reloaded" book this is on page 579. This is what the page says: "Revellos has store located in several states. The sales manager has asked you …
Hi, I have to develop an application on MSexcel, where I on click of a button, the application should run a particular query in MSaccess 2007 and save the query results in .csv format. I am not sure if that's even possible but yeah I guess this the place to …
Hi, I have a little problem with a macro I'm working at. I need to pull data from a database and then show it in an excel sheet. Everything work fine till the moment when I want to close the recordset . Then my application freezes and I have to …
hello can you help me, i make exe file on my project but the problem is that when i separate the exe file in my folder where my project is stored. it will not run..but i want only my exe file and put it to my flashdrive without the folder …
The End.