64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for hawisme000

umm is there any1 who know how to connect microsoft office words to VB.6?? then after i wanna save the text ive type on the Words(which is connected to VB, and is running inside my form) to a database? is this possible?? if it is , pls help me how …

Member Avatar for hawisme000
0
191
Member Avatar for oneday123

hi every one i was wondering if some one knows if there is a softwear out there that can track a softwears patterns example if comperter (1) was out puting random numbers on a screen ( sudo random ) take computer screen (1s) info then input it in to computer …

0
53
Member Avatar for PL.P27

Hi everybody, I'm new to GUI and was wondering if someone could help me with my fraction calculator if they input text in the fields or if they leave something blank. I'm not quite sure how to do that. Here's my code, and if someone could guide me to how …

Member Avatar for nschessnerd
0
118
Member Avatar for ecntrader

Greatly appreciate if any one can help me with this small programming challenge for a newbie. Write a program segment with a do-while loop that asks the user to enter a number. The loop should keep a running total of the numbers entered and stop when total is greater than …

Member Avatar for ecntrader
0
6K
Member Avatar for dblbac

I have the following program, but what do i need to change in order to get it to output to a file? any help would be greatly appreciated. thanks [code=cplusplus] #include <iostream> #include <iomanip> #include <string> #include <fstream> using namespace std; string employeeFirst, employeeLast; double gross; double federal, state, ss, …

Member Avatar for dblbac
0
116
Member Avatar for pacman326@gmail

Hi guys. I have been working on this program for HOURS, remind me to never try to code something like this in a straight amount of time ever again. Anyways, the program is the same game basically, except it not only shifts numbers down, but left too. [code=cplusplus] #include <iostream> …

Member Avatar for pacman326@gmail
0
149
Member Avatar for n.aggel

hi, i am having a project where i must implement a method that takes measurements(random numbers) on specific time intervals.This means that i should read (for example) a number every 5minites...I ve been told for a sleep function but i can't find any info about it....Any thoughts on how i …

Member Avatar for HLA91
0
320
Member Avatar for ubercat

Hi all. I'm a new user here. Some of you may have noticed a thread I started in C++ a few weeks ago. I'm actually taking C++ and java classes simultaneously. It might not have been a good idea, but I had no real choice. It's good immersion in programming! …

Member Avatar for ubercat
0
160
Member Avatar for jliu66

Hi, Could u please help me to sort this 3 dimension data in python? How can sort this 5 by 3 array with 1st column or last column? Thanks a lot. marek brutalski 20 zenia markownikowa 10 teresa parufkowa 90 bogumila pierdawa 40 genowefa tempawa 50 John

Member Avatar for Lardmeister
0
169
Member Avatar for Chaster

Hi guys, sorry in advance for the following question: So, I've downloaded the adequate SQL Server 2000 driver, from the Microsoft's website. I've installed it to C:\JDBC\. I've set the classpath variable using the command promt by typing: set CLASSPATH=.;c:\jdbc\lib\msbase.jar;c:\jdbc\lib\msutil.jar;c:\jdb c\lib\mssqlserver.jar; The problem is that the following error message appears, …

Member Avatar for Ezzaral
0
187
Member Avatar for bobei89

Please help~ i stuck in this question so long time... This assignment is need to hand up due tomorrow >.<''' . Once again i confuse about array. Please correct me and show me some tips ya. Any of ur attention will be 'God Bless You'. Here is my coding>>> [code=c] …

Member Avatar for bobei89
0
217
Member Avatar for jliu66

Hi, I am newie to python. How I combine 2 multi-dimension array into one by column? here is an exmaple: a = 1 2 3 2 3 4 3 4 5 b = 4 5 6 6 7 8 8 9 1 the combined array should be c = 1 …

Member Avatar for jliu66
0
743
Member Avatar for tanha

Hi. I want to create a program for LIBRARY, I faced to problem on depositing book section (Giving book to someone), in this section there is a combo which should contian the books name, maybe we have from one book two, three (Quantity), if one of them given to some …

Member Avatar for tanha
0
208
Member Avatar for Agentbob

I'm trying to convert decimal to binary and I'm having a lot of trouble (new to python). I was wondering why that won't work. Thanks. EDIT: Argh, I'm so sorry but I got it fixed. It turns out that the assigned variables are on the wrong side.

Member Avatar for vegaseat
0
173
Member Avatar for cwarn23

I have found a program and tried using 'DEV C++' but it only reported an error report. I later then discovered that is was because 'DEV C++' used C++ when the code was designed for just plane C. I have searched the web and this forum but only found two …

Member Avatar for Kocmotex
0
514
Member Avatar for twooften

I do not want to misguide anyone responding, I am a newbie to the C++ arena. I am just doing little starter programs to figure things out, but for the life of me I don't get the whole hInstance thing. The objective I have is to learn C++, write a …

Member Avatar for twooften
0
1K
Member Avatar for jobs

I am looking at this recipe: [url]http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/440509[/url] When I tried to do it, doesn't work. why? [CODE]>>> from sets import Set >>> new_list = [2,34,5,5,6,6,7,2] >>> print new_list [2, 34, 5, 5, 6, 6, 7, 2] >>> new_list = Set(new_list).elems Traceback (most recent call last): File "<interactive input>", line 1, …

Member Avatar for vegaseat
0
616
Member Avatar for theteamdrunk

I need help with this problem. I have written the code. The function main() stores the message in an array. What I need to figure out is how to have the function restaurant accept the message as an argument(which is named menu) and display the message using pointer notation *(menu+i) …

Member Avatar for Aia
0
103
Member Avatar for winky

I am currently studying the impact of microarchitectural techniques. I have been looking at code and how to stall it correctly, as well as how to make it more efficient. I have been doing this through several different methods and then measuring the cycles per iteration. I was wondering if …

0
79
Member Avatar for unikiller

I've been working on this class for about 2-3 weeks and I got everything done except the reducing part. I can't figure it out , I know you have to use the GCD algorithm , but I cannot figure out how to use it :o , Can someone please tell …

Member Avatar for siddhant3s
-1
111
Member Avatar for prushik

Ok, I'm trying to write a little game in c++ using very simple graphics. not opengl or anything like that. Everything compiles fine (There are some warnings, i know how to fix them im just lazy, ill do it later) all of my code worked perfectly until i added the …

Member Avatar for iamthwee
0
101
Member Avatar for hemgoyal_1990

Hi All, I am New in MySQL. I Want to Create a Database in MySQL. I am Using MySQL5.0 & Write This Sentex for Creating Database :- CREATE DATABASE db_name; But When I Use This Sentex Create Database With Single db.opt File. & I run this Database on Server Message …

Member Avatar for trudge
0
307
Member Avatar for ploppy

hi. i wonder if someone could check this script for me and tell why it isn't producing any results. here is the code: [code=php] <?php function ShowMyFiles() { // vars global configuration global $dbConn, $theme_path; // vars messages global $msg; // vars template global $error_msg, $status, $files, $owner, $test, $paginated; …

Member Avatar for ploppy
0
162
Member Avatar for lucamarcus

Am a new c++ programmer. I refer to the code " Bouncing Ball" which is a GUI, now there is a rectangle created, i managed to change the color the rectangle in the main window and what my may problem is how to make the rectangle fixed and not only …

0
98
Member Avatar for redaqen

Hey, again... I've got another assignment coming up and I'm having issues... again. Basically, my major stumbling block is figuring out how to set the int number = returned value of enterNewNumber. Also, is there any simple way I can store the digits of an integer as seperate numbers in …

Member Avatar for redaqen
0
137
Member Avatar for basti

Hi guys, I'm very new to MySQL -- so, your help is very much appreciated. I have a table that has 50 fields. 2 of the fields are primary (named: item_number and catalog_year). There are about 1200 different unique items on this table. Now, what I basically need to update …

Member Avatar for Shaffer
0
2K
Member Avatar for koketa

Hello eveyone, I am kindda new to daniweb. I was hoping that someone would give me some hints on where to put the running total and how to quit once the user types 0 for hours parked(my teacher asked for this feature) I would enormously appreciate the help! A parking …

Member Avatar for koketa
0
161
Member Avatar for jliu66

Hi, My friends, I am new to python. I try to figure out how python knows the end of loop or the end of a block of codes in while... else code Here is the example: while E: Bt else: Bf here if Bf have 20 lines of code. How …

Member Avatar for Lardmeister
0
119
Member Avatar for atrix415

I am trying to print this to a dialog box. The code prints to console and prints, 1,2,3,4....12 to the dialog box. Can someone give me some advice on printing to a dialog box the verses to the dialog? [INLINECODE] import javax.swing.*; // program uses class JOptionPane public class TwelveDays …

Member Avatar for masijade
0
441
Member Avatar for jobs

what is %r mean? [code=python] "%r tag requires exactly two arguments" % token.contents.split()[0] [/code]

Member Avatar for vegaseat
0
90
Member Avatar for bumsfeld

Is there a way to limit size of a list in Python, so it does not use all memory?

Member Avatar for vegaseat
0
13K
Member Avatar for Koldsoul

I am having issues getting this function to work. This is a currency conversion program that gives the user choices of input of three other currencies other than USD and converts it. It is supposed to be a value returning function, not a void function. The program compiles, runs fine, …

Member Avatar for Koldsoul
0
214
Member Avatar for zandiago

This is what I've got so far: [CODE] #include <iomanip> #include <cmath> #include <fstream> #include<string> #include<iostream> using namespace std; int main() { double numA=0; double numB=0; double productB; double accumulator = 0; cout<<"Your two numbers to multiply are?"<<endl; cin>>numA>>numB; double productA = (numA * numB); if (numA>numB||numA%2==1)//check if larger and …

Member Avatar for zandiago
0
259
Member Avatar for pyramid

Hello - I am working on one of my labs, but I am having difficulty with the results being inconsistent. The passing by reference is working. I tested random data and I don't understand why some works and others produces incorrect results. Data tested: 5, 9, 7 = perimeter of …

Member Avatar for pyramid
0
86
Member Avatar for Kusno

Dear all .Netters, How do I show icon printer in ReportViewer ASP.Net form for my Reporting Services Reports or how to print it to papers ? Regards, Kusno

0
67
Member Avatar for dreammaker
Member Avatar for dreammaker
0
105
Member Avatar for Amurka

My assignment is: "Write a program that accepts the letter grades for a student, calculates the student's gpa, and prints it out, along with one of the following five messages: Eligible Ineligible, taking less than 4 classes Ineligible, gpa below 2.0 Ineligible, gpa above 2.0 but has F grade (note: …

Member Avatar for Amurka
0
1K
Member Avatar for PL.P27

Hi Everybody, I was wondering if someone could help me figure out what is wrong with this part of my program. My program is a fraction calculator, and I'm wondering if the code I have is ok and if it will display correctly. Thanks much!! Also should I add a …

Member Avatar for PL.P27
0
178
Member Avatar for blacklocist

Hi all, I have been trying to drop a stored proc for sometime using SMO. I can create with ease but can't seem to drop. Any ideas? I thought it might be permission but for testing used SA account. No luck... [CODE] private void btnCreate_Click_1(object sender, EventArgs e) { SqlConnection …

Member Avatar for blacklocist
0
339
Member Avatar for rcostheta

Hello, I am trying to pull the relationships from an Access database. I would like to know which fields have what type of relation with other tables in the database. Does anyone know how to do this? Thanks, Ben

Member Avatar for rcostheta
0
119
Member Avatar for skalra63

ive posted this messge in 3 other forums, i hope i get a better response here. the following code has a button that removes the selected row from the grid. reset index, is what i am going to use so that the first column is always secquential, so all rows …

Member Avatar for troy183
0
131
Member Avatar for rrocket

I am trying to get a value from a stored procedure: [code=SQL]SET @RowCount = @@RowCount IF @RowCount = 1 BEGIN SET @Ret = 1 PRINT 'Insert a success' END IF isnull(@RowCount,0) = 0 BEGIN SET @Ret = 2 PRINT 'Insert a failure.. Terminating Proc...' RETURN END[/code] I should be getting …

Member Avatar for rrocket
0
240
Member Avatar for toolmanx

I didn't want to fill up a thread with a bunch of code, but I couldn't find a way to attach a file to an e-mail using this site's "send a message" system. I would have inserted the .CPP file. This is a basic windows program to run tests on …

Member Avatar for toolmanx
0
133
Member Avatar for jackskell26

Hello Everybody. I am trying to write a program that asks the user to enter the amount of dice they want to use, and how many rolls they would like to make. Eventually I will need to store the output in strings, so I can print out how many times …

Member Avatar for jackskell26
0
156
Member Avatar for tracethepath

the last record is getting displayed twice.i hv rechecked everything and cudnt find the error. here is the add n display function. [code=c++] void add() { example abc; int n; ofstream file1("EXAMPLE.dat", ios::binary|ios::app); cout<<"Enter Number Of Records To Add "; cin>>n; cout<<endl; for ( int i = 0; i < …

Member Avatar for Narue
0
2K
Member Avatar for Fredszky

Hello Im new to C programming, im trying to learn how to create a textfile with whatever name the user of the program wants. something like this, please ignore that this code wont work, its just so you might understand how i am thinking: [code] FILE *file; printf("name of the …

Member Avatar for Fredszky
0
103
Member Avatar for Kusno

Dear all .Netters, I get problem with these controls, DropDownList, CheckBoxList, RadioButtonList. Sometimes, i add item into those controls manually. Example : DropDownList1.Items.Add ("JAKARTA") DropDownList1.Items.Add ("LONDON") DropDownList1.Items.Add ("BOMBAY") DropDownList1.Items.Add ("BEIJING") If i use this property, DropDownList1.SelectedValue, it returns "JAKARTA", If we bind it using DataReader, we find these properties DataTextField …

Member Avatar for Kusno
0
172
Member Avatar for Venom Rush

Hi there I"m building a page that displays events for example: Event heading 05 June 2007 Event Description Another Event 19 June 2008 Event Description What I'd like to know is how do I sort the events by date in the format shown above. At the moment I have a …

Member Avatar for Venom Rush
0
213
Member Avatar for Venom Rush

Hi there I started a thread about this in the MySQL forum about this ([url]http://www.daniweb.com/forums/thread93312.html)[/url]. Basically I don't know what my db table design should be like in order for me to sort the dates from most current to latest date. The format is as follows: DD Month YYYY eg(05 …

Member Avatar for Venom Rush
0
79
Member Avatar for toncoolx

Hello there, I need to write a function that insert new data into a text file, and I manage to do that, but only for the first row.... When I close my program, and reopen it to key in a 2nd input, it will simplely overwrite my 1st input. how …

Member Avatar for toncoolx
0
222

The End.