132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Alex Edwards

Is it possible to send something like, a Frame or Applet to a target computer? If not, how would I set it up so that two users from two different computers could interact with the same JFrame or JApplet? Edit: No I'm not asking for code, just general advice*

Software Development java
Member Avatar for Alex Edwards
0
144
Member Avatar for guy40az

I am using Visual C++ version 6. I need to know how to add a .lib file to a project. I want to add it as a static lib file.

Software Development c++
Member Avatar for guy40az
0
132
Member Avatar for gangsta gama

Hello I am new at c++ and I was wondering, how would I write variables to a file so I can open them later on. I was wondering this because I was going to make a text based game to start out with, in c++. Also I was wondering how …

Software Development c++
Member Avatar for gangsta gama
0
176
Member Avatar for R.V.

I found: IDLE 1.2.2 >>> x = 157.73 >>> r = x * 100. >>> int(r) 15772 Can I convert more precise?

Software Development python
Member Avatar for R.V.
0
155
Member Avatar for nidhsek

my xml is somehting like this: [code=html] <loc id="123"> <value>data1</value> </loc> <loc id="223"> <value>data2</value> </loc> <loc id="323"> <value>data3</value> </loc> <loc id="423"> <value>data4</value> </loc> [/code] how do I read all the ids? this code give me only the first id (123). when it loops to next, throws exception. [code=c#] XmlNodeList xmlnode …

Software Development xml
Member Avatar for nidhsek
0
68
Member Avatar for Nemoticchigga

In vs2005 there is a winsock component, how do you receive data using the component? I found a ->SendData(blah), but cant find a receive. Does anyone know how to receive with this component? Thanks.

Software Development c++
0
55
Member Avatar for Q8iEnG

Hi my friends, how do you do? I hope everything is alright.. :) Please may I have a few mins. from your time? It'll be much more appreciated :) I have this question (Write a member function to check whether two singly linked lists have the same contents.) anyone can …

Software Development c++
Member Avatar for Q8iEnG
0
158
Member Avatar for njitram

Hello i just started up today with C#, Im femilair with PHP so i can do some things i have google etc. But now im stuck.. with this: [CODE]using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using MySql.Data.MySqlClient; namespace WindowsApplication2 { public partial class …

Software Development windows-server
Member Avatar for njitram
0
161
Member Avatar for kavithabhaskar

when i check one or 2 or 3 or all 4 chechboxes..i want a corresponding SQL query to get executed. Please help me rectify my code.. thanks kavitha. Dim con As OleDbConnection = New OleDbConnection("provider=microsoft.jet.oledb.4.0;data source=C:\Documents and Settings\bashkark\Desktop\Copy of USERS.mdb") Dim cmd1 As New OleDbCommand con.Open() If (CheckBox1.Checked = True) …

Software Development dataset open-source vb.net
Member Avatar for rohitbce
0
144
Member Avatar for nidhsek

my string looks like this, <place id="opt1"><data>data 1-data2 ! data3</data></place> I'd like to remove space, -, ! from only data element (data 1-data2 ! data3) using regex. Rest of stuff should be as it is (<place id="opt1"><data></data></place>). Any idea?

Software Development regex
Member Avatar for weigp
0
62
Member Avatar for camproject

I have two dialogs as I told before.there is a combo box in the first dialog.i have a text box in the second dialog.when i click a button, i get the second dialog in which the text box is present.i get the data in the text box in the combo …

Software Development c++ ios
Member Avatar for mitrmkar
0
122
Member Avatar for arLe20

i need help..... i need to write a SHORT java program that takes two arrays a and b of length n storing int values, and returns the dot product of a and b.

Software Development java
Member Avatar for javaAddict
0
128
Member Avatar for SonxQ7

Hi friends, trying to pass an ifstream to a function expecting an ostream...Should this be a problem? [code] ifstream fleetin; fleetin.open (filename); read(fleetin); //Error.... : cannot convert parameter 1 from 'std::ifstream' to 'std::ostream &' [/code] My parameter is declared as ostream&, or maybe i should just remove the '&', but …

Software Development c++
Member Avatar for Ancient Dragon
0
83
Member Avatar for FlaminPhoenix

Hi, Im making a mod for a game in vc#.net 2003. The game is warcraft 3. I want to create an external software to process commonly used "hotkeys" used within the game. there are various charecters within the game, and I need to map their hotkeys onto easily accessible keys …

Software Development
Member Avatar for camilojvarona
0
143
Member Avatar for javagreenhorn

Hello, I have done the code for the final part of the Java Inventory Program in my class. This is the requirements for the final code. • Modify the Inventory Program to include an Add button, a Delete button, and a Modify button on the GUI. These buttons should allow …

Software Development gui java java-swing storage user-interface
Member Avatar for javaAddict
0
193
Member Avatar for bhoot_jb

well..my problem is i cant find crystal report in my vb6. And yes..i have also checked the so famous path : common\tools\vb.. but the thing is i had to stop right after accessing tools folder..couldnt find vb itself. is there any solution to my problem? :(

Software Development visual-basic
Member Avatar for debasisdas
0
114
Member Avatar for chanthung

I am at the ending part of coding for a Library software but I am unable to move forward as I can’t figure out the way to change the color for DBGrid row. I am using MsAccess as the database. I want the color of a particular grid row to …

Software Development visual-basic
Member Avatar for chanthung
0
313
Member Avatar for it2051229

Hello. I'm kinda new to assembly and i've been using the general purpose registers as my variables although it's not enough cause the're only like 4 of them.. I need you to teach me how to declare a simple variable and how to access and use them. A simple example …

Software Development assembly
Member Avatar for it2051229
0
140
Member Avatar for TheBeast32

Hi, I have bought [U]Programming Windows Fifth Edition[/U] by Charles Petzold. I was wondering if there are any differences between the Win32 API talked about in this book and the one that applies to Vista or anything newer than Windows 2000. Also, my book didn't come with the CD (I …

Software Development api c++ windows-api windows-vista
Member Avatar for TheBeast32
0
87
Member Avatar for TheBeast32

Hi, I have been making a macro building program. I am trying to handle mouse events right now. I have made a program that hooks the mouse, then puts information into a text file which is then read by another program. The recorder writes the delay in milliseconds, so the …

Software Development c++
Member Avatar for TheBeast32
0
344
Member Avatar for zahra1364

Hi : I need some information about installshield java edition. please help me if you can.It is so important for me. thanks.

Software Development java
Member Avatar for sayedjustetc
0
104
Member Avatar for justinclev

im sorry to bother you but i wanted to know BUT I AM USEING DEV C++ I WANT TO SEE HOW TO ADD A BACKGROUND TO A PROGRAM IS THERE ANY WAY YOU COULD HELP ME THANK YOU

Software Development c++
Member Avatar for CoolGamer48
0
146
Member Avatar for Shadoninja

Could someone write an example program that opens up firefox? I would really like to see the syntax to do that. Thanks

Software Development c++
Member Avatar for mengqing
0
116
Member Avatar for MikeyFTW

Sorry im kinda new at this but anyways... Ok heres the deal i need to make this program that will allow users to practice their addition and subtraction for whole numbers between 1 and 100, 1 and 200 and 1 and 500 (the levels of difficulty). The user will be …

Software Development gui mathematics python
Member Avatar for MikeyFTW
0
193
Member Avatar for shankhs

I am trying to implement edit string algorithm given in: [url]http://en.wikipedia.org/wiki/Levenshtein_distance[/url] in C and I am repeatedly getting "segmentation Fault" I dont understand why......:( Here is my code [code] #include<stdio.h> #include<string.h> int minimum(int a,int b,int c) { int min; if(a<b) { if(a<c) min=a; else min=c; } else { if(c<b) min=c; …

Software Development algorithm c
Member Avatar for ssharish2005
0
127
Member Avatar for Alex Edwards

Forgive me for my lack of Java-lingo. In fact I'd like to find a book someday that will teach me all of the definitions of words that are mentioned for Java classes and objects, as well as processes, etc. If the title isn't at all clear, what I mean is …

Software Development java java-netbeans
Member Avatar for sciwizeh
0
92
Member Avatar for Code Shark

Hello, I read in a thread that you could use [CODE=C++]system("start http://www.daniweb.com/");[/CODE] to get the page [URL="http://www.daniweb.com"]Daniweb[/URL] but I am wanting to write a program that the user can enter a website that he wishes to go to then the program takes the user there. I got this so far …

Software Development c++
Member Avatar for Ancient Dragon
0
188
Member Avatar for Alex Edwards

I'd like an opinion, although it will probably be biased since I'm asking the members of the C++ forum and not the members of Java. I'd also like to apologize in advance if this topic has been done before, but I don't like bumping old topics from years ago. I …

Software Development api c++ java
Member Avatar for sciwizeh
0
294
Member Avatar for anuizath2007

does anyone know what the error is?????.......... [code=cpp] #include<iostream.h> #include<conio.h> #include<math.h> void main() { void mtable(int ,int); int num,n,prod; cout<<"\n\n\tEnter the no"; cin>>num; mtable(num,n) ; cout<<"\n\n\tEnter the limit"; cin>>n; cout<<"\n After one call "; mtable(5,10); mtable(7,10); getch(); } void mtable(int num,int n) int prod=1; for(int i=0;i<=n;i++) { prod=num*i; cout<<"\n"<<num<<" * …

Software Development c++
Member Avatar for anuizath2007
0
97
Member Avatar for viber101

Im new to java and i want to know how to capture java compiler syntax error messages. . .please help me.

Software Development java
Member Avatar for sciwizeh
0
172
Member Avatar for Waseemn

Hello All, OK I have a nagging question that I need to put to rest right away, or else I am going to go amok. In Visual Basic you can declare an array without knowing its size, and then redim the array again once the array size is known. Now …

Software Development java visual-basic
Member Avatar for Alex Edwards
0
152
Member Avatar for n.aggel

hi, i have the following structure in the "simple application": application_folder | |--makefile | +-headers | | | +----func.h | | +src | | | +------ func.c | +------ main.c | | and here are the contents of the files: *func.h [code=c] float hey(float a, float b); [/code] *func.c [code=c] …

Software Development c++ data-structure
Member Avatar for n.aggel
0
165
Member Avatar for zwench

I am having a problem getting the sales part of this to display a $ sign and 2 decimal places. Where would I have to insert the command to have that display as $45000.00? One other question is there a way to get this to display the result all on …

Software Development java
Member Avatar for sayedjustetc
0
301
Member Avatar for Niner710

Hi, I was wondering if anyone knew of a good 5 day C++ class in the bay area or southern california. My company is looking to send a few of us to a week long training. The only one that I found was Hands on Training. Anyone know if this …

Software Development c++
Member Avatar for Salem
0
356
Member Avatar for nschessnerd

So i have this app that i wrote to get the permissions on a directory and it works fine for small directories. however when i use it on a huge server it freezes when it compiles the file. i know the program is running but windows gets pissy because it …

Software Development visual-basic windows-server
Member Avatar for nschessnerd
0
89
Member Avatar for mikesharp

Sorry if this is an obvious one, I have searched but cant finds any answers :) Im trying to create the simplest little exe file that when clicked on runs a htm page in the same directory... so im using... [CODE] int main(int argc, char *argv[]) { system("start iexplore.exe %0\..\the_index.htm"); …

Software Development c++
Member Avatar for mikesharp
0
395
Member Avatar for jack1234

Consider the following two cases: CCandyBox obj; str will be pointing to "Candy" May I know "Candy" is on heap or stack? If it is on heap, is the delete[] str; //delete the Candy to avoid memory leak line below necessary? [code]CCandyBox(char* str = "Candy") // Constructor { if (str …

Software Development c++
Member Avatar for ArkM
0
197
Member Avatar for anuizath2007

:?: can anyone tell me where the error is? [code=cpp] #include<iostream.h> #include<conio.h> void main() { clrscr(); void zero_small(int &,int &); int a,b; cout<<"\n\n\n\tEnter the first no "; cin>>a; cout<< "\n\n\n\tEnter the second no "; cin>>b; zero_small(a,b); cout<<"\n\n\n\tValue of the first no is "<<a; cout<<"\n\n\n\tValue of the second no is "<<b; …

Software Development c++
Member Avatar for anuizath2007
0
89
Member Avatar for anuizath2007

This is a program i made..but i wanted it to arrnge the total in decreasing order showin the highest scorer 1st....what more should i do 4 that in this program....??? [code=cplusplus] #include<iostream.h> #include<conio.h> void main() { int n; const int limit=50; int rollno[limit]; int maths[limit],english[limit],science[limit],social[limit],hindi[limit]; int Total[limit]; char Grade[limit]; int …

Software Development c++
Member Avatar for anuizath2007
0
113
Member Avatar for myle

I have just begun to learn python, so my question is probably silly. Just for practice I want to write a function which calculates the first n primes. prime computes some prime numbers and keeps them in a list. Then tries another number and if it's not even divisible by …

Software Development python
Member Avatar for myle
0
141
Member Avatar for Bill Purkins

This is not a problem but a question. I am new to VB and am curious as to the "Gestalt" (temper of the times) on this in terms of general practice. I come from an AS/400 (green screen) and also Clarion for Windows background. Generally, when I offer the user …

Software Development listview vb.net
0
66
Member Avatar for oali

Hi i have a teensy problem that i need help with, as i mentioned earlier in some previous thread (can't remember when!) i'm creatin an applet based tutorial. It's nearly finshed thank god except for the last applet i seem to be getting an error that i can't fix. heres …

Software Development java java-swing
Member Avatar for oali
0
108
Member Avatar for Bill Purkins

VB2008.I have a form which has a textbox and a button on it. the button shows another form, which has a listbox bound to a datasource on it. When the user selects a list item, i have code that sets the value of the textbox on form 1 to the …

Software Development vb.net
Member Avatar for Bill Purkins
0
95
Member Avatar for Crushyerbones

I am doing some self-made exercises lately to practice my C skills. One of them is something like this: Given a file with something like: "Peter Wilson the swordsman". I want to store "Peter Wilson" in the char array "name" and "swordsman" in char array "title". So far I've tried …

Software Development c
Member Avatar for Crushyerbones
0
98
Member Avatar for rahye

hi there, can someone help me how to write a recursive function that takes the number to the power. Thus, if the number is 2 and the power is 4, the function will return 16. I'm looking forward for anyone to help me with this my problem. I try to …

Software Development c++
Member Avatar for iamthwee
0
289
Member Avatar for InvincibleSoft

Hello, Everyone, I was quite a bit exhausted trying to write c# code, to extract .pst, .msg, .eml and .dbx. I got quite a success, but I am unable to get a bit on extraction of .ost and .mbx files. It would be nice if anyone can show a c# …

Software Development
Member Avatar for InvincibleSoft
0
33
Member Avatar for TheWhite

Is there a way to make a frame totally wipe all traces of itself (make it return null) by pressing the X on the window? setDefaultCloseOperation(DISPOSE_ON_CLOSE); doesn't actually make the frame return null, rather, it saves its state and cleans it out of memory... A call to show or pack …

Software Development java
Member Avatar for Ezzaral
0
623
Member Avatar for dev.cplusplus

Hi to all, I need your help/advice. I'll explain my problem: I have to write an aspx page, where the user can upload an entire directory/folder to my server. I did some research and seem that there is no build it component to upload an entire directory/folder, there is the …

Software Development c++ web-server
Member Avatar for Ancient Dragon
0
182
Member Avatar for ochien

Hi Guys, i need help...can any body know what component name for using table like this... thanks for help.

Software Development visual-basic
Member Avatar for ochien
0
121
Member Avatar for Alex Edwards

I am wondering how one would append additional memory to the end of a pointer that already has memory allocated? For example, if I do something like this... [code=c++] int *intPtr = new int[5]; // pointer can be assigned 5 values of type int // Now I want to add …

Software Development c++
Member Avatar for Narue
0
141

The End.