vba x 200

12,155 Topics

Member Avatar for
Member Avatar for stuhawk

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 …

Member Avatar for vb5prgrmr
0
92
Member Avatar for pv1328

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 …

0
38
Member Avatar for jokers6

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 …

0
71
Member Avatar for jemz

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 …

Member Avatar for jemz
0
92
Member Avatar for romaguera

helo i have assignment on vb6 can anyone help me how to make a codes of search button, random and sequential tnx...

Member Avatar for AndreRet
0
55
Member Avatar for Pradnya.117

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?

Member Avatar for AndreRet
0
90
Member Avatar for kanayda

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 …

Member Avatar for vb5prgrmr
0
124
Member Avatar for Alazzawi

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 …

Member Avatar for asaukani
0
124
Member Avatar for mentos08

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 …

Member Avatar for mrnutty
0
124
Member Avatar for Vaibhav Kumar

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 …

Member Avatar for kvprajapati
0
350
Member Avatar for complete

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 …

Member Avatar for kvprajapati
0
1K
Member Avatar for fiaolle

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" …

Member Avatar for kvprajapati
0
241
Member Avatar for rejina

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?

Member Avatar for vb5prgrmr
0
541
Member Avatar for romeroe

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

Member Avatar for Steve Lalanne
0
62
Member Avatar for bryansworld

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$, …

Member Avatar for AndreRet
0
151
Member Avatar for Bob_Magalhaes
Member Avatar for AndreRet
0
68
Member Avatar for kayjenx

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 …

Member Avatar for kvprajapati
0
212
Member Avatar for Agent-of-Chaos

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) …

Member Avatar for Agent-of-Chaos
0
373
Member Avatar for leviathan185

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 …

Member Avatar for vb5prgrmr
0
339
Member Avatar for Curt1337

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 …

Member Avatar for asaukani
0
92
Member Avatar for sidhu51

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 …

Member Avatar for sidhu51
0
113
Member Avatar for marc0627

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 …

Member Avatar for marc0627
0
125
Member Avatar for CarleneGriffith

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: …

Member Avatar for WaltP
0
122
Member Avatar for AndreRet

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 …

Member Avatar for AndreRet
0
1K
Member Avatar for SMIFMD

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 …

0
105
Member Avatar for Member #315542

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. …

Member Avatar for Member #315542
0
138
Member Avatar for flowerfriend

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 …

Member Avatar for AndreRet
0
1K
Member Avatar for learner11

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.

Member Avatar for kvprajapati
0
60
Member Avatar for ogundile

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

Member Avatar for abu taher
0
149
Member Avatar for prosmart1

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

Member Avatar for QuickView
0
98
Member Avatar for ibrahim2010

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 …

Member Avatar for AndreRet
0
135
Member Avatar for top123

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...

Member Avatar for kinwang2009
0
126
Member Avatar for jemz

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 …

Member Avatar for jemz
0
373
Member Avatar for neosonic

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 …

Member Avatar for neosonic
0
397
Member Avatar for T.Dott

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 …

Member Avatar for T.Dott
0
524
Member Avatar for Maglin

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 …

Member Avatar for AndreRet
0
58
Member Avatar for anchorjoe

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. …

Member Avatar for AndreRet
0
131
Member Avatar for priyadarshani s

hellow i am a new user here so plse can u give me some information about vb project.

Member Avatar for AndreRet
0
96
Member Avatar for jemz

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...

Member Avatar for jemz
0
238
Member Avatar for leo1937ca

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 …

Member Avatar for vb5prgrmr
0
1K
Member Avatar for frozie

Ok i have now made a database and A Login in vb6 but how do i connect it to my database online ?

Member Avatar for vb5prgrmr
0
175
Member Avatar for sblass92

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 …

Member Avatar for sblass92
0
209
Member Avatar for markcaldwell

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 …

Member Avatar for markcaldwell
0
218
Member Avatar for RicardoE

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 …

0
95
Member Avatar for VBNick

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, …

Member Avatar for VBNick
0
1K
Member Avatar for jemz

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...

0
30
Member Avatar for samuel17

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 …

Member Avatar for samuel17
0
267
Member Avatar for keeda

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 …

0
51
Member Avatar for Ionelul

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 …

Member Avatar for vb5prgrmr
0
339
Member Avatar for jemz

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 …

Member Avatar for jemz
0
249

The End.