132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Acidburn

Can anyone point me in some kind of direction other then google for looking at developing for mobile applications? I'm trying at the very bottom since ive got a firm know how of C++ and Java. Thanks

Software Development google java
Member Avatar for Deepak_gidwani
0
139
Member Avatar for scoobie

Hi, i was wondering if you could help me. i am having a problem with a listener in SWT. i have a program where the user enters some text in a textfield and then clicks on a browse button where they select the directory they want the program to search …

Software Development java
Member Avatar for Phaelax
0
133
Member Avatar for im4tion

Hi. I was wondering if anyone knows how to split a string. I did find a code on it; but it's based on a pattern. Can anyone help me to split a string into letters.. e.g. "Like" --> "L", "i", "k", "e"

Software Development java
Member Avatar for Phaelax
0
123
Member Avatar for rangaSL

hi all,:sad: hope there are a lot of [B] JAVA DEVELOPERS [/B] who can help me on this. We have to develop a checkers game.Should develop in both .Net n JAVA. Two players sitting in two machines with two platforms. One has to play in Java platform n other has …

Software Development image java
Member Avatar for Phaelax
0
262
Member Avatar for shabina

hi, am facing problems with taking contents/added items of a listbox in one form(Add) and displaying it in a similar listbox in another form(Modify) which has an adodc for navigating thru records. now i know textbox works fine but listbox is giving a hiccup...any ideas? :!:

Software Development visual-basic
Member Avatar for shabina
0
94
Member Avatar for daniwebaccount

Is there any way to like 'dim obj as _______' and then control real objects with it? Like... obj = text1 obj.text = "blah" ..and it work?

Software Development visual-basic
Member Avatar for daniwebaccount
0
112
Member Avatar for chris99

Need help. How do I fix this code? [CODE]max_points = [25,25,50,25,100] assignments = ["hw ch 1","hw ch 2","quiz ","hw ch 3","test"] students = {"#Max":max_points} def print_menu(): print "1. Add student" print "2. Remove student" print "3. Print grades" print "4. Record grade" print "5. Save Students" print "6. Load Students" …

Software Development python
Member Avatar for Ene Uran
0
96
Member Avatar for stan yost

I've created 2 tables in Access and have created a form for each table in VB5. Each autonumber field is the primary key of it's table. When the first form comes up the autonumber field has a value but when I go to the second form the field is left …

Software Development visual-basic
Member Avatar for Comatose
0
114
Member Avatar for jrcagle

A friend of mine just introduced me to the Eclipse IDE, which may or may not end up replacing IDLE for me. Anyway, one of the features of Eclipse is error warnings as the code is *displayed*, rather than waiting for errors to pop up at runtime. This code got …

Software Development ide python
Member Avatar for Ene Uran
0
116
Member Avatar for bh_hensem

Hi, Actually my program will be read some input, as example :- 123 456 789 123 567 456 Then, I want to copy all the data into array and filter out any duplicate or same record..Finally the program will be print the result without duplicate records ? Could somebody guide …

Software Development c
Member Avatar for Salem
0
102
Member Avatar for rootadmen

Im trying to cast a char to a string, but if i just define equality, the complier says incompatible types. I looked in my textbook but it only shows how to cast ints and doubles.:sad: I have to write a class that takes a char and a String. It then …

Software Development java
Member Avatar for jwenting
0
102
Member Avatar for mikefromchitown

Hi, I'm hoping that someone can help me out. The Range statement below has an issue with the right hand side of the equal sign. If I leave out the "& i", the information in the first text box is copied into all of the cells. However, I want to …

Software Development visual-basic
Member Avatar for Comatose
0
210
Member Avatar for Blujacker

I have a problem: How to insert raise in Text()? for example i have file: [code] #my_program.py a=ddd [/code] and other file: [code] #my_file.py: from Tkinter import* root=Tk() text=Text() text.pack() execfile('my_program.py') #text.insert(END,raise) mainloop() [/code] In file my_program is Error. How to insert raise of this error in Text? thanks

Software Development python tkinter
Member Avatar for Ene Uran
0
138
Member Avatar for ATS

I am in java programing this year in college. First couple of chapters have went fine. They have us learning by using "notepad" and the command prompt. I had just completed my latest assignment and went to compile it and it told me "class or interface expected". I figured I …

Software Development java
Member Avatar for indianscorpion2
0
99
Member Avatar for stan yost

I've got a bunch of fields displayed in a form and I can change them on the screen and the changes are saved in the database. How can I make them so they cannot be changed?

Software Development visual-basic
Member Avatar for Comatose
0
105
Member Avatar for analeah

Hi, I just installed the latest version of Visual C++ from Microsoft on a windows XP system. I have used this program before, but this time, on my new install, when I try to compile, I'm getting an error, "c:\documents and settings\user\desktop\r\listdbl.cpp(1) : fatal error C1083: Cannot open include file: …

Software Development c++ file-system open-source
Member Avatar for Salem
0
325
Member Avatar for achi143

can someone suggest me a good topic for major project. good if it is in .NET plzzzzzzzz

Software Development vb.net
Member Avatar for lemm
0
78
Member Avatar for ryy705

Hi, I don't know if this is possible. I have a data structure that is displayed in various tabbed panels in various forms(JList/JCheckList etc.). Some of these panels are able to manipulate the data structure. Is there a way to attach some sort of ActionListener to data structure so whatever …

Software Development data-structure gui java
Member Avatar for MattEvans
0
109
Member Avatar for sandbox

THis i sprobably a fairly simple question to answer, but i dont know much about writing in javascript. IM trying to design a webpage in which the h1 tag will dynamicly size so that it spans across the width of the page. I know this can't be done without javascript …

Software Development java javascript
Member Avatar for MattEvans
0
174
Member Avatar for q8z

//this is my thread: public class threadMoveRight implements Runnable{ Storeroom sto = new Storeroom(); String url; Image image1; boolean flag; public threadMoveRight(String purl,Image pImage) { this.url = purl; this.image1 = pImage; } public void run() { searchData(); flag = true; } } //and after the user press on right he …

Software Development java
Member Avatar for MattEvans
0
424
Member Avatar for Stewie

As far as I know when a check box is check the value should be 1 and when it is not checked it should be 0 correct? In my case if I don't check the box its null and if I do its -1 Here is my code [code]Private Sub …

Software Development visual-basic
Member Avatar for Comatose
0
233
Member Avatar for saishn

Again, I don't know what I've done wrong. [code] #include <iostream> using std::cout; using std::endl; #include <cstring> using std::strcpy; using std::strcat; #include <cstdio> using std::sprintf; void destroyMultiCharArray(char * * anArray, int size) { for (int i = 0; i < size; i++) { delete [] anArray[ i ]; } delete …

Software Development c
Member Avatar for saishn
0
305
Member Avatar for microbiologist

Hi im new to all this but need help. i have a program that runs in the terminal of redhat 9 "./signalp -t gram+ etc" and this produces an output file called output.txt i need a script that will run the command line automatically after the last one finishes and …

Software Development redhat shell-scripting
Member Avatar for jim mcnamara
0
322
Member Avatar for ike185

HI Java people, Its great to finally find a forum where i can increase my experience of programming in Java and hopefully other programming languages. Am a student and playing with programs makes my day. Fustration is also a brother i know. I currently have an assignment which am working …

Software Development java
Member Avatar for ike185
0
158
Member Avatar for SHWOO

I am getting this error in the second constructor for Class MailCarrier. mailcarrier.cpp(11) : error C2512: 'Employee' : no appropriate default constructor available I'm trying to incorporate composition and inheritance into my program. :idea:Any help would be appreciated:idea: [code] //MailCarrier.h #ifndef MAILCARRIER_H #define MAILCARRIER_H #include "Employee.h" #include <iostream> using std::cout; …

Software Development c++
Member Avatar for GloriousEremite
0
849
Member Avatar for V1RuZ

Hi I’m getting compile errors in the following code: [code] void Driver::read_data() { ifstream infile("data", ios::in); string name, surname; while (infile >> surname) { infile >> name; Person temp(infile); temp.read_surname(infile); temp.read_name(infile); temp.read_phone(infile); temp.read_age(infile); temp.read_weight(infile); 87 person_map[surname][name] = temp; } } [/code] The errors tell me that 87 driver.cpp instantiated from …

Software Development c++ ios
Member Avatar for WolfPack
0
376
Member Avatar for V1RuZ

Hi everyone. I’m having some problems:mad: debugging the following code: [code] typedef map<string, map<string, Person> > pclass; pclass::const_iterator i; map<string, Person>::const_iterator iter; pclass person_map; void Driver::add_record() { string surname, name, phone, age, weight; int new_age; double new_weight; cout << "Enter name: "; cin >> name; cout << "\nEnter surname: "; …

Software Development c++
Member Avatar for V1RuZ
0
2K
Member Avatar for Tiregal06

I have inherited an Access 2000 database that has a text box where you click on a file path that is already entered there and it is suppose to bring up a Word or Adobe file. Sometimes the file will open and other times Adobe will open and the document …

Software Development adobe flash microsoft visual-basic
Member Avatar for Comatose
0
166
Member Avatar for saishn

[code] #include <iostream> using std::cout; using std::endl; #include <cstring> using std::strcpy; using std::strcat; #include <cstdio> using std::sprintf; int main() { char * lb = "(?:[a-z90](?:-?[a-z90]+)+)"; int lbLen = strlen(lb); char * sbFrmat = "(?:%s(?:\\.%s){0,4})"; int sbFrmatLen = strlen(sbFrmat); int sbLen = (lbLen * 2) + sbFrmatLen; char sb[sbLen+1]; sprintf(sb, sbFrmat, …

Software Development c++
Member Avatar for Ancient Dragon
0
242
Member Avatar for uu666

hello there! lately i started learning assembly from a book that first gets you through many things about processors, memory, logical&physical addresses and many others... now, what i dont understand is: any element from a segment is available through an logical address that has two elements: a selector and an …

Software Development assembly
Member Avatar for Ryu
0
168
Member Avatar for V1RuZ

Hi, I was wondering if anyone could help me. I'm constantly getting the following compiler message: 138 driver.cpp 'class pclass' has no member named 'surname' 138 driver.cpp 'class pclass' has no member named 'name' on the following lines: [code] 138 for (i = person[surname][name].begin(), i != person[surname][name].end(), ++i) { 139 …

Software Development c++
Member Avatar for V1RuZ
0
729
Member Avatar for StatiX

In my program I want to add records to the database and then reference them by a unique identifier such as a user id. Even if the user name is the same as another, The would be different IDs so I could pull data on the correct one. So my …

Software Development visual-basic
Member Avatar for StatiX
0
338
Member Avatar for SHWOO

I am writing a program to calculate my paycheck. I am including in this program two functions to calculate sickleave and vacation leave. I have a hireDate data member in the format of mm/dd/yyyy, how would I figure out length of employment to calculate aquired vacation and sick leave? I …

Software Development c++
Member Avatar for WolfPack
0
155
Member Avatar for daniwebaccount

I recently started a game for me and my friend to play while he's away at college. I just tested the connection with him, and the test failed. I'm able to connect to 127.0.0.1, and my own ip with ease, but when I try connecting to my friends, it just …

Software Development visual-basic
Member Avatar for daniwebaccount
0
417
Member Avatar for the.future.zone

Hello, I seem to be having some C language probs. I just need insight on how I can write this program: a program that reads input , and can replace a char with another one(e.g if I type k, it should replace it with a) using getchar and switch.. case …

Software Development c
Member Avatar for Lerner
0
166
Member Avatar for shabina

any1 have any guidance with coding email attachments, like that in the email textbox, like underlined filenames so that when its clicked, it opens that file...using vb6.

Software Development email visual-basic
Member Avatar for shabina
0
150
Member Avatar for VinC

I'm trying to use scansets to filter out out some textfiles. #include <stdio.h> int main( void) { int i; char str[ 80], str2[ 80]; scanf("%d %[abcdefg] %s", &i, str, str2); printf("%d %s %s", i, str, str2); getchar(); return 0; } When I input "123abcdtye" I expect the output to be …

Software Development c
Member Avatar for Bench
0
426
Member Avatar for Allisone

Hi, I was asked to go over this block of code and explain what it does. Let me know if this is correct, thank you! [COLOR=DarkGreen]It selects a random EXE file and checks if the first line has the 1234567 signature. If it does it goes to the Subroutine I-executable …

Software Development c
Member Avatar for ~s.o.s~
0
162
Member Avatar for kimw

i am trying to use a boost library [CODE]#include "boost/date_time/gregorian/gregorian.hpp"[/CODE] and my source file is in the same folder as boost. however, during compilation i get errors that directories that gregorian.hpp links to (boost/date_time/compiler_config.hpp) could not be found. i've checked that all the files that gregorian.hpp links to are in …

Software Development c
Member Avatar for Salem
0
230
Member Avatar for ravi_forum

SIr, I wanted to know the C Statement for adding two numbers without using + sign.. Anyone can help me to solve this..... ThanQ

Software Development c c# c++
Member Avatar for Salem
0
190
Member Avatar for brianotieno

[code]# include <iostream> # include <stdio.h> # include <conio.h> # include <dos.h> # include <string.h> # include <math.h> # define TRUE 1 # define FALSE 0 //if you can change to a class it can be better and faster struct member { int mid; char mainname_1[20],madd[30]; struct Read_Struct { int …

Software Development c++
Member Avatar for Dave Sinkula
0
335
Member Avatar for brianotieno

[B][I][COLOR=Blue]if you run this code in c++ you get the following error at the underlined part is where the problem is : error C2143: syntax error : missing ';' before 'constant' : fatal error C1004: unexpected end of file found Error executing cl.exe.[/COLOR][/I][/B] [CODE] # include <iostream> # include <stdio.h> …

Software Development c++
Member Avatar for Dave Sinkula
0
235
Member Avatar for StatiX

I have a text box that will be populated by data, sometimes to long for the form and I wanted to add a vertical scroll bar to it, but I'm not sure how to link them together. I can place it on the form but it doesn't work the textbox. …

Software Development visual-basic
Member Avatar for Comatose
0
131
Member Avatar for gothicpurple

Hi guys I am new to C++ and need urgent help with this part of my code for a uni coursework I have to submit by Thursday [code]//ClientData.h #ifndef CLIENTDATA_H #define CLIENTDATA_H #include <string> using std::string; class ClientData { public: // default ClientData constructor inline ClientData( int = 0, string …

Software Development c++ ios
Member Avatar for Dave Sinkula
0
321
Member Avatar for jacove

C++ Code: [code] /* readmail.c */ #include <stdio.h> #include <stdlib.h> #include <windows.h> #include <windowsx.h> #include <mapi.h> #include <string.h> int readmail(); long err; LHANDLE lhSession; lpMapiMessage FAR *lppMessage; lpMapiMessage lpMessage; char szSeedMessageID[512]; char szMessageID[512]; char szTmp[4096]; char szTmp2[50]; LPSTR lpszSeedMessageID=&szSeedMessageID[0]; LPSTR lpszMessageID=&szMessageID[0]; int main() { readmail(); return(0); } int readmail() { …

Software Development c++
Member Avatar for ishwar
0
251
Member Avatar for lover99509

I am facing a problem with my project. I want to Update my database through DataGrid Object which is a tabular one right !. But, I want to control the number of empty rows that are available. But it has only one empty row that means i can enter only …

Software Development visual-basic
Member Avatar for lover99509
0
125
Member Avatar for grunge man

Ok im learning how to do exponents in c++ and I get most of this, but I dont get what double means. I do however know what float is. in the deffenition of double from my compiler help it says "double - a double-precision floating point value." but i dont …

Software Development c++ first-post
Member Avatar for dwks
0
255
Member Avatar for mymirror

example , I put in the number [B]1.52[/B] then, in the dump, it looks like [B]31 2E 35 32[/B] (the ascii equivalent of '1','.''5',and '2') but I want it to be [B]3F C2 8F 5C [/B] so that I can start my calculator Thanks!

Software Development assembly
Member Avatar for mymirror
0
100
Member Avatar for indianscorpion2

with respect to network programming in java can anyone tell me what exactly a cookie is? please be elaborate. thank you very much

Software Development java
Member Avatar for indianscorpion2
0
341
Member Avatar for Stivi

Hi, [U]Here's what I've got:[/U] Visual Studio 2005 C# Application with form and a label on it (This is a simplified project ;) ) [U]Here's what I'd like to do:[/U] I want to change text on the label from the method I'll create. Looks simple... If I'll create a button …

Software Development visual-studio
Member Avatar for Stivi
0
107

The End.