10,987 Topics

Member Avatar for
Member Avatar for lbgladson

I have the following classes for a bank account. I am hoping someone can point me to where the problems in my code are. When I run the program my output is: account1 Inheritance_Part1.SavingsAccount Interest rate: 0.00% Interest earned: $25.00 Balance: $25.00 account2 Inheritance_Part1.CheckingAccount Transaction fee: $1.00 Balance: $80.00 Attempting …

0
68
Member Avatar for Rizvi404

one from a datetime picker n the other is a text field.. Am using this query.. dim arrtime as datetime arrtime = (Ccur(txttime.value)+( Ccur(txtdot.text)).. It shows type mismatch error...

Member Avatar for WaltP
0
119
Member Avatar for SI THU

Anybody help me please, how can i run bat file code in vb6. can i run it. thanks,for read

Member Avatar for kain_mcbride
0
144
Member Avatar for alencar.expro

(This code returns ERROR_INVALID_PARAMETER) Option Explicit Private Type DISPLAY_DEVICE cb As Long DeviceName As String * 32 DeviceString As String * 128 StateFlags As Long DeviceID As String * 128 DeviceKey As String * 128 End Type Private Type POINTL x As Long y As Long End Type Private Enum …

0
306
Member Avatar for Gh0stRa1n

Hey, I'm new here and I need some help. I'm trying to make a program to send a command through a textbox when a button is clicked, THEN grab the output and put it into another texbox. If you could help i would be great full. This is what I …

Member Avatar for GeekByChoiCe
0
106
Member Avatar for adriedotnet

Hi i'm a VB beginner. I'm creating a Restaurant Ordering System using VB8. I'm using a check box, buttons, and a text box. This system work when the customers check the desired menu. The first button is "Calculate" button, which is used to calculate all the check menu and displayed …

0
53
Member Avatar for Human2.0

Greeting fellow Humans, I'm trying to "[I]comb merge[/I]" (if any thing as such) bunch of Excel files. There are 2 type of Excel workbook: A & B Both has a column called : [I]Location ID[/I] [U]These are the step I think the prog should do [/U]: Promp user to select …

Member Avatar for Human2.0
0
602
Member Avatar for Amiet Mhaske

Hi, guys. I am working on vb project, which will save client database. I've done the coding of ADD, NEW, SAVE, EDIT button. Now, I am stuck at DELETE button. When I delete any particular client then I want my client_id (it's a column in my access database) should get …

Member Avatar for Amiet Mhaske
0
113
Member Avatar for kanyonb38
Member Avatar for kanyonb38
0
83
Member Avatar for vspadmanabhan

Hi, I have to create an executable to put in windows task bar to read foxpro dbf file and update mysql table in the web server by checking new records in the dbf file comparing the unique key in both table whenever the internet connection is available in the desktop …

Member Avatar for diafol
0
321
Member Avatar for pkmleo

I am unable to run batch file that is located in mapped network drive using System.Diagnostics.Process in VB.Net. I get: [CODE]'<batchfilename>.bat' is not recognized as an internal or external command, operable program or batch file. Press any key to continue... [/CODE] I get the same error when navigate to the …

0
106
Member Avatar for gurushankar

Hi Guys, I have written a macro, when i try to save it is asking me to save it in different format (my excel file is in xlsx format). Is there any way i can save my excel file in xls or xlsx along with macro.. in xlsm format macro …

Member Avatar for BitBlt
0
49
Member Avatar for pingpongplaya

I'm creating an Excel spreadsheet from within Microsoft Access. This is declared at the top: [CODE] Public OpenExcel As Object Public OpenSheet As Object [/CODE] This is in my sub-routine: [CODE] Set OpenExcel = CreateObject("Excel.Application") OpenExcel.Visible = False With OpenExcel .Application.DisplayAlerts = False .Workbooks.Add .ActiveWindow.DisplayGridlines = False .ActiveWorkbook.SaveAs FileName:="" & …

Member Avatar for pingpongplaya
0
924
Member Avatar for twistercool

What is a good code for adding data in adodb, wherein if a particular data is already present , for example in a text-box,it would give a warning like dulpicate data

Member Avatar for twistercool
0
108
Member Avatar for mrar85

i have a formview which show the data from a database.. in another page, i have a datalist that also display data from the database.. in the datalist, i have a hyperlink that when click will navigate to the page that have the formview which display data that suppose to …

Member Avatar for mrar85
0
135
Member Avatar for compulove

Hello! I need code that will allow the user to do the following: 1. Select a browse button and choose the folder they want to save a file once the exe file at the end of the program runs 2. Display the folder location the user selected in the textbox …

Member Avatar for thines01
0
204
Member Avatar for gravitywell

Hey, I dont know much about macros or about scripting, but I've got a project to do for work and I looked up some codes and spliced them togeather to fit my specific purpose. I'm pulling pictures out of folders and sticking them in an excel file. You'll understand what …

Member Avatar for AndreRet
0
118
Member Avatar for stanleyekpunobi

hi am a newbie in programming please can someone help me with how i can search a datagridview with datetimepicker using the .value property.tanks.am using access 2007 as databse

0
40
Member Avatar for abathurst

Hello, I am having trouble inserting data from a XML file into a table in a SQL data base. The worst thing is it isn't coming up with an error but nothing is being inserted into the database Here is the condensed version of the XML code I am using …

Member Avatar for abathurst
0
2K
Member Avatar for MoDy kareem

Hello. Am creating a new program, it is like a webbrowser. But I need to make my own downloader from the webbrowser(I need my downloader start instead of internet explorer downloader, Internet download manager etc.) Sorry for my bad English :S

0
74
Member Avatar for Rizvi404

Am using date time picker control in vb 6 to show time but when i try to store that in a access database it stores the default can somebody help me make it modify to store only time...

Member Avatar for hkdani
0
137
Member Avatar for Rizvi404

With rstp If NewRecord = True Then .AddNew !slno_ID = txtslno.Text !DepartureDate = txtdate.Value !Departuretime = txttime.Text !PlaceofVisit = cmbpov.Text !ApproximateDistance = txtdistance.Text !NoofDaysofStay = Txtstay.Text !BusinessExpected = txtbusiness.Text !Remarks = txtremarks.Text .Update .Requery End With arrtime = (CCur(txttime.Text) + CCur(txtdot.Text)) fm = (CCur(txtdistance.Text) * CCur(txtmr.Text)) arrtime1 = arrtime + …

Member Avatar for debasisdas
0
122
Member Avatar for skatamatic

My boss asked me to write a PID class to control a motor today. No big deal, except that the deadline is tommorow evening. My calculus is rusty, and my vb6 is probably worse (which is the language I am to use). Anyone have a good understanding of a PID …

Member Avatar for skatamatic
0
2K
Member Avatar for Minami

I was given a task of creating a lucky draw program. 1.Total numbers of accounts are 00001 to 99999. 2.But only 131 accounts will be chosen. 3.3 sections - 1 account for 1 car, 20 accounts for 20 iPhone, 10 accounts for 10 Samsung 4.Galaxy & 100 accounts for $100 …

Member Avatar for WaltP
0
215
Member Avatar for morph214
Member Avatar for Sameyison

Hello Folks, I am trying to create a Crystal report using data from two Access 2007 tables but it only displays the data from the first table only. when I do same with Access 2003, I am successful but it does not work in access 2007. Please help me to …

Member Avatar for BitBlt
0
113
Member Avatar for SeniorAlexandro

Alright, I have a Textbox which I want to display some text, but when the user clicks on it, it should clear so he can write what he wants.

Member Avatar for SeniorAlexandro
0
986
Member Avatar for violette

I have five sheets named 'Yearly,Q1,Q2,Q3,Q4'. currently my code only update one worksheet at one time into the mySql database. i want it to get all worksheets to be done at one go. i've tried to implement 'For loop' but it just run on the active worksheet only. is there …

Member Avatar for violette
0
356
Member Avatar for uhgarrett24

How do I take the information I type in a text box and then store it into an array. For example I have array(6). I have text box lastName. I type the name 'Smith' into lastName and when I click buttonSubmit, that text box information is stored in array(0) and …

Member Avatar for BitBlt
0
162
Member Avatar for thetechlady21

I can not seem to delete a record from the text file taken from a datagrid. Please see below. I know I need to bind the data and at the same time I need to delete the file in the current directory. I have tried a few methods but can …

Member Avatar for BitBlt
0
251

The End.