132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Clawsy

Hello, In my application I transfer a lot of images from server to client. The problem is the size of the image, so I tried to encode it using [URL="http://objectplanet.com/pngencoder/"]this encoder[/URL] - objectplanet png encoder. The problem is nothing seems to happen, image size is the same. [CODE] //img is …

Software Development client-server image java
Member Avatar for Clawsy
0
227
Member Avatar for snehapatil

Hello to all, I am creating one java applet in which i have to use many JButtons. So i used an array of J Button. Now my program is able to create buttons but it is not able to use ActionListener or ActionCommand.... I am sending a part of code …

Software Development java
Member Avatar for musthafa.aj
0
177
Member Avatar for s8498

Hey everyone, I'm new to posting in these forums so sorry if I didn't post my code correctly? I think i did it...hopefully. Anyways, I've been working on this all day but I can't figure it out. (i think i will be having problems with the rest of my assignments …

Software Development c++ display file-stream file-system ios
Member Avatar for UberJoker
0
2K
Member Avatar for nedsnurb

hi, the following program has got to take a user inputted string and allows the user to see the postion of each character in the array i.e. T H I S I S A T E S T 0 1 2 3 4 5 6 7 8 9 10 11 …

Software Development c++
Member Avatar for UberJoker
0
109
Member Avatar for Shaikh Mohsin

Hello Friends, I want to writ a program which scan network for Operating system at boot time.plz if any known how to start writing that program in c.reference plz Thank u all

Software Development c operating-system
Member Avatar for Seten
0
171
Member Avatar for TheStig01

Hi all, Last night i started coding a database with java. The way i was going to do it was through netbeans with a database connection to an sql database. Then i went to school and told my teacher how i was going to do it and he told me …

Software Development gui java java-netbeans
Member Avatar for TheStig01
0
952
Member Avatar for izzy234

Hi, I'm having some difficultly figuring out how to put a value to my combobox items. For example I have 3 states listed in the combobox. [code=java]String[] stateStrings = {"Michigan", "Wisconsin", "Illinois"}; JComboBox jComboBox = new JComboBox (stateStrings); jComboBox.setSelectedIndex(2); jPanel3.add(jComboBox);[/code] I need to put different yearly interest rates or APR …

Software Development java
Member Avatar for javaAddict
0
139
Member Avatar for helpwithjava88

hi. I need java for an online game, runescape. I go to the java site and get to the downloads page, but as soon as I click the yellow download button and decide wherer to save the file and click ok, I get a message saying my connection, compuserve, has …

Software Development java
Member Avatar for javaAddict
0
214
Member Avatar for EngneerNitemare

Hey all, I am having a little bit of trouble wrapping this segment up. I need a for loop that will wrap a 3 digit number (i.e. 320) vertically so that it displays like below. 3 2 0 instead of... 320 Here is the code I have already: [CODE]#include<iostream> #include<fstream> …

Software Development c++
Member Avatar for EngneerNitemare
0
2K
Member Avatar for NicAx64

hi all, I get a compile time error when I tried to assign A* to A[]. I get the error in DEV C++ , mingw ,error "incompatible type assignment" should I have to use dirty pointers for this ? [code=cplusplus] #include <iostream> class A { public: int a ; int …

Software Development c++
Member Avatar for NicAx64
0
151
Member Avatar for ItecKid

Hello, I am trying to send e-mail using Perl and Net::SMTP::SSL. However, I receive errors when running this script (example from documentation): [code=perl] #!/usr/bin/perl -w use Net::SMTP::SSL; sub send_mail { my $to = $_[0]; my $subject = $_[1]; my $body = $_[2]; my $from = 'me@gmail.com'; my $password = 'MySuperSecretPassword'; …

Software Development perl
Member Avatar for simfex
0
667
Member Avatar for ThomsonGB

In the following example I am trying to open a file that I have named in the command line for Read. Does anyone have any suggestions? ========================================== [code] #include "stdafx.h" #include <fstream> #include <iostream> using namespace System; using namespace System::IO; using namespace System::Text; using namespace std; #define RSIZE 1 // …

Software Development c++
Member Avatar for ThomsonGB
0
139
Member Avatar for gurutheja

hi i am Raghavendra. I dont know anything abt how to connect to oracle (sql) from VB 6 . could u plz let me know d steps n d code for executing the queries. its very urgent plz let me know

Software Development oracle sql visual-basic
Member Avatar for azizulkhn
0
391
Member Avatar for daeuse

So I'm working on my final project, and I decided to create a BMI calculator. As part of the requirements, I need to call a function into play. Below is what I have so far, but I am getting errors. I don't expect the solution, but could someone assist me …

Software Development c c# c++
Member Avatar for daeuse
0
171
Member Avatar for JuvenileMango

What is the difference between [CODE]file = open("name.txt")[/CODE] and [CODE]file = open("name.txt", 'r')[/CODE]? I can still use the methods: read(n), readline(n), and readlines(n) without adding the "r" in the open method.

Software Development python
Member Avatar for JuvenileMango
0
97
Member Avatar for bumassjp

Well basically I keep a null value returned code and I have the same issue in all 6 of my functions. Here is the error code - `Warning BC42105: Function 'GetTimesheet' doesn't return a value on all code paths`. A null reference exception could occur at run time when the …

Software Development vb.net
Member Avatar for bumassjp
0
1K
Member Avatar for donaldw

I've pretty much got it down how to determine operating system version, service pack level, 95/NT based, etc. for Windows XP and earlier versions by using GetVersionEx(...) and that's pretty handy for getting system information that software users probably don't know and don't know how to figure out (sadly). A …

Software Development c++ operating-system windows-vista
Member Avatar for donaldw
0
117
Member Avatar for Egypt Pharaoh

how can I print a report of the page if it has a many text boxes that I want to print it in one decoment

Software Development
Member Avatar for Medalgod
0
120
Member Avatar for kimjan

hellow people i am a beginner i really need help. i am a college student one of my project was all about compiler.i made a c++ tutorial but the problem i have no idea on how to put a compiler on it. do you have any idea on how to …

Software Development c++
Member Avatar for Ancient Dragon
0
80
Member Avatar for prokek

Hi, I'm trying to write a console program that will sort and find the median of numbers that are given in a text file. The text file can have ints or doubles. The problem I'm having is outputting the median and the insertionSort functions. I think that they are failing …

Software Development c++
Member Avatar for prokek
0
103
Member Avatar for darkunknown

How do i put a function inside another function? Im getting confused with the function definition. Plz help??

Software Development c++
Member Avatar for Ancient Dragon
0
103
Member Avatar for nertos

Hi, I have code: [CODE] public func(z) { int a = z; pnlGraphics.Paint += new PaintEventHandler(panel1_Paint); } private void panel1_Paint(object sender, PaintEventArgs e) { } [/CODE] how can I send val a to panel1_Paint?

Software Development
Member Avatar for DdoubleD
0
463
Member Avatar for ThomsonGB

If I Open a file using something like: FileStream^ fs = File::OpenRead( path ); How can I determine the size of the file so that I can read all of the data bytes in the file? What sort of Read would you use to read one byte at a time. …

Software Development c++ file-stream file-system
Member Avatar for ThomsonGB
0
228
Member Avatar for CodyOebel

Ok so heres what I am trying to do to help you understand my question. I am making my WINAPI load hidden so it's not in the taskbar and is only running as a process using ShowWindow(hwnd, SW_HIDE) on case WM_CREATE: Now what I am trying to do is make …

Software Development api c++ windows-api
Member Avatar for CodyOebel
0
186
Member Avatar for theABCasian

hello all im having as the title would suggest a runtime crash in my program cant quite figure out why hits some ware around enter tenant name. line 53 [CODE]void ComplexInterface::editUnit(){ bool test = false; do { int unitToEdit; cout << "choose a Unit to edit " << endl; for …

Software Development c++
0
66
Member Avatar for ax8l

Hello everybody, I want to overload a function based on an array dimension or pointers. Ex: [CODE] int calc(int a[]); int calc(int a[][]); [/CODE] or [CODE] int calc(int *a); int calc(int **a); [/CODE] *a should be &a but i dont know how to face a reference of a reference so …

Software Development c
Member Avatar for ax8l
0
102
Member Avatar for Lida_pink

How can I stop shape after 5 seconds of moving? I know how to move it and how to stop it but don't know how to make it stop IN 5 SECONDS. This is the rest of the code that I have done but the 5 seconds part is still …

Software Development visual-basic
Member Avatar for jlego
0
79
Member Avatar for Iam3R

[CODE] [Davis@localhost UNS]$ gcc U_bc.c [Davis@localhost UNS]$ ./a.out a=d i=100 f=0.000000 sizeof(u)=4 [Davis@localhost UNS]$ cat U_bc.c int main() { union test { char ch; float f; int i; }; //union test u={'a',21,34.65}; gives a warning excess elements union test u={100.23}; printf("a=%c i=%d f=%f\n",u.ch,u.i,u.f); printf("sizeof(u)=%d\n",sizeof(u)); return 0; } [/CODE] in the …

Software Development c
Member Avatar for Dave Sinkula
0
97
Member Avatar for lkegley

Hi All, Thank you for reading this and helping me! I am finishing off my program with a method that can compute Average Scores from a list of data. It's giving me an error that says "invalid use of member (did you forget the â&â ?)". Below is the code …

Software Development c++
Member Avatar for Lerner
0
103
Member Avatar for lalsumit

Hi all, I am new to perl I want to compare two files File 1 is having protein names like Biotin-[acetyl-CoA-carboxylase] ligase Acetyl-/propionyl-coenzyme A carboxylase alpha chain Acetyl-CoA carboxylase, carboxyl transferase, beta subunit biotin carboxylase-like protein CYCLOPROPANE-FATTY-ACYL-PHOSPHOLIPID SYNTHASE 1 CYCLOPROPANE-FATTY-ACYL-PHOSPHOLIPID SYNTHASE 2 mycolic acid synthase long-chain-fatty-acid-CoA ligase 3-oxoacyl-[acyl-carrier-protein] synthase I …

Software Development perl
Member Avatar for d5e5
0
360
Member Avatar for konczuras

Hello, I'm trying to deploy an application. On my development machine, I have Office 2007, and using it to automate excel from c#. On the target machine, there's Office 2003, and I getting an error message when trying to installm that I should isntall Microsoft.Vbe.Interop version 12.0.0.0. I removed all …

Software Development microsoft microsoft-office
Member Avatar for DdoubleD
0
265
Member Avatar for Egypt Pharaoh

how can I get a picture of the panel that in my application and save it

Software Development
Member Avatar for sknake
0
152
Member Avatar for Romil797

Hi I have tried so much and I am wondering how I can put a background image in an email using gmail.

Software Development c c# c++ email
Member Avatar for sknake
0
383
Member Avatar for darkunknown

im trying to generate a random number using #include <cstdlib> and then srand(time(0)); but it keeps telln me i need a constructor, destructor or type before the (. what do i do??

Software Development c++
Member Avatar for darkunknown
0
153
Member Avatar for kungfudoug

Hello all I have just started to learn programming, and I am having a little trouble getting around array and vectors; I need to create a structure to store a certain amount of data based on the user's input. I was told by my teacher that I have to declare …

Software Development c++ data-structure
Member Avatar for Bench
0
115
Member Avatar for computerages

Hello, I am writing a program in C++ to open a web page in a browser using command line. Suppose, I enter open [url]www.google.com[/url] It should open Google's home page in a browser. I want to make this program multithreaded so a user can open as many web pages as …

Software Development c++ web-browser
Member Avatar for computerages
0
197
Member Avatar for dani2010

What is a seed in c++? "Call a function to populate the array to perform the following: Ask the user for a [I]seed[/I]"

Software Development c++
Member Avatar for gusano79
0
83
Member Avatar for Kurosaki

Hi. I am kinda new to java and I really need help on this program that I have been assigned. Here is the assignment: [B] Assignment:[/B] Write a KochCurve program that uses DrawingTool and provides a drawKochCurve method for drawing Koch curves. Each drawKochCurve method can take the number of …

Software Development java
Member Avatar for gods_angel
0
262
Member Avatar for bijayswain

Can anyone tell what is wrong in the below program.I want to ping an ip address which is entered by the user. [CODE]#include <iostream> using namespace std; int main() { char ip1[30]; cout<<"Enter the Ip Address"; cin>>ip1; system("ping ip1"); return 0; }[/CODE]

Software Development c++
Member Avatar for Bench
0
100
Member Avatar for tqmd1

These codes work fine to display data from listview to textbox. TextBox1.Text = ListView1.Items.Item(ListView1.FocusedItem.Index).SubItems(0).Text Is there any alternative codes for this purpose?

Software Development listview vb.net
Member Avatar for me655321
0
135
Member Avatar for JuvenileMango

Hi, I'm completely new to Java, and I'm already lost with the installation. :p I'm on the custom install page and I see Source Code: Source code for classes that comprise the public API of Java. Public JRE: The standalone JRE. Any application can use this JRE. It registers Java …

Software Development api java
Member Avatar for JuvenileMango
0
66
Member Avatar for redroze

hello folks, I have an array of integers and I need to search if there's a combination of 2 numbers that resault a defined sum. No loops or static variable are allowed. Any suggestions? cheers, Elad.

Software Development c
Member Avatar for uskok
0
153
Member Avatar for kemiko

The following is output from an unknown command off an old school DEC Ultrix machine. Does Linux have a similar command/tool? Thanks, Kent 1 pend_nonpayment: int(), <pend_nonpayment.c 79> 2 usr_pwd: <> 3 display_error: <> 4 clears: <> 5 paint: <> 6 current_date: <> 7 get_process_date: <> 8 strcpy: <> 9 …

Software Development c
Member Avatar for gerard4143
0
251
Member Avatar for RexxX

I've never written byte variables on my unix shell before, so I don't know if it works or not. I'd been using unsigned ints to get hex numbers as input but I was having trouble with what my input actually was. My friend told me to use byte variables instead …

Software Development c unix
Member Avatar for Narue
0
139
Member Avatar for leegeorg07

Hi again, I am trying a competition entry (its old, purely to test myself) and I have come against a problem, this is the description for the competition: In a word game each letter has a score based on its position in the alphabet, A scoring 1 through to Z …

Software Development python
Member Avatar for leegeorg07
0
195
Member Avatar for lotrsimp12345

basically i have 4 files 2 contain the following data . Trying to find out data which is common and not common in both files and write it out to files common and not common. It almost works except for it doesn't compare the last item in the list before …

Software Development c++
Member Avatar for TheArchitect
0
497
Member Avatar for Japus

Hello I'm trying to copy a variable from a vector into an array (with a few steps in between) As you can see from the code, I take a random piece of equipment from the vector of equipments and insert it into the inventory (which is an array). The line …

Software Development c++
Member Avatar for thelamb
0
2K
Member Avatar for Skeen

Okay, I'm making a game, and I need to use random inside a class, however I can't figure out how to seed the randomness into the class, so atm I'm getting the same random each time. I've tried stuff like srand(time) in main, however, that doesn't apply to the class, …

Software Development c++
Member Avatar for Skeen
0
112
Member Avatar for vegaseat

The module tkSnack from our friends at KTH in Stockholm, Sweden allows you to play a variety of sound files using the Tkinter GUI. Supported sound files are WAV, MP3, AU, SND and AIFF formats.

Software Development gui python tkinter
Member Avatar for yvos91
0
1K
Member Avatar for kele1

I have to write a program that converts Fahrenheit from 0 to 212 to floating-point Celsius with 3 digit of precision. The output should be printed in two right-justified columns of 10 characters each and the Celsius should be preceded by sign for both positive and negative values. please help …

Software Development c++
Member Avatar for kele1
0
310

The End.