43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for bklynman01

I have a training program that is used by MANY different people. I have encountered many formatting issues already (like not allowing initials) but now I have a new one that I'm not sure about. When the code tests the name in the TextBox.Leave function, I can find if there …

Software Development vb.net
Member Avatar for bklynman01
0
160
Member Avatar for bobytch

Hello everyone ok straight to the point i have to do this a text or a word that is blinking and have color and while it is blinking it is automatically changing its color i know how to do a text with color and blinking but i don't know how …

Software Development c++
Member Avatar for Ancient Dragon
-4
3K
Member Avatar for jeanyl

Thus someone know how to solve my problem? I am going to make a program which is set_difference without using predefined functions???

Software Development c++
Member Avatar for Narue
0
115
Member Avatar for bibiki

Hey there, I might not be able to accurately describe my problems, but I'll do my best. I am taking these tutorials on adobe website that walks me through building a flex web application. In order to take the tutorials, I needed to previously deploy a war file that sets …

Software Development actionscript flash java
0
243
Member Avatar for moni94

Hi. Let's say I have the following method: [CODE] void createNewObject() { MyClass myObject = new MyClass(); } [/CODE] If I call this method 1000 times, how many instances of MyClass will be left in my program's memory by the time all calls have been made? 1000, 1, or 0? …

Software Development java
Member Avatar for JamesCherrill
0
201
Member Avatar for b1izzard

Hi all, I need a little bit help in creating a small thesaurus like application in java. The application consists of some 50-100 categories and each category have some 2-10words of similar meaning. e.g Close-{shutdown,fold,end,come together} The words are hard-coded but I don't know which data structure suits the best. …

Software Development data-structure java
Member Avatar for JamesCherrill
0
200
Member Avatar for mogaka

Hi brothers,i am creating an application that i want to load a pre-designed crystal report from database records and print it in pdf format and send it as e-mail attachment. I know how to send it as an attachment but i don't know how to print it in pdf automatically …

Software Development email pdf vb.net
Member Avatar for mogaka
0
129
Member Avatar for divakar.it

Hi, My requirement is to delete a selected row in the datagrid from SQL server. If no row is selected then nothing should happen. Below is my code [CODE] Private Sub BT_Remove_Click() On Error GoTo ErDsc: Dim MyConn As ADODB.Connection Dim MyRecSet1 As New ADODB.Recordset Set MyConn = New ADODB.Connection …

Software Development open-source visual-basic
Member Avatar for divakar.it
0
1K
Member Avatar for Thropian

I was thinking of doing some simple animations in python,Tkinter and my biggest problem was getting things to move together. so I was wondering if there was a way to make say an arc and rectangle into one object to rotate and such. thanks in advance

Software Development python tkinter
Member Avatar for Thropian
0
184
Member Avatar for scrivomcdivo

Hey folks. I'm tying to carry out a simply task of writing a variable double value to a label on my form. The label is called 'lblTotalSeats'. Here's my code below: [CODE]using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace ABCDEFG { …

Software Development c# gui
Member Avatar for scrivomcdivo
0
350
Member Avatar for MagnetoM

I created a new item > local database. I'd like to access the data from the database but I can't open a connection. I have, [CODE]SqlConnection con = new SqlConnection("DataSource=|DataDirectory|\\testDB.sdf");[/CODE] debugging will always halt at [CODE]con.Open();[/CODE]

Software Development
Member Avatar for MagnetoM
0
201
Member Avatar for baby_c

hello friends..got a problem again.. I'm developing a software for one of our assignments.I have coded that program using Netbeans but we have to upload the assignment as one java file.So I created one java file and again checked in netbeans as a single file.It works perfectly.And then I tried …

Software Development java java-netbeans
Member Avatar for baby_c
0
216
Member Avatar for intes77

Hello im currently having problems with the storing of String to an array im currently using a GUI output so it reads inputs from the textfield here's my code: [CODE]import java.util.*; import javax.swing.*; public class Contents { int listLength; String []word; String []meaning; String []sentence; String []classification; public Contents(int l) …

Software Development gui java java-swing
Member Avatar for intes77
0
806
Member Avatar for MagnetoM

I'd like my form to remain in the same place the entire time until closed or not opened. How do I make this happen?

Software Development
Member Avatar for MagnetoM
0
91
Member Avatar for Voldemort2

I have the input string "textfile\foldername\text.txt" Now i need to convert given string to: textfile/foldername/text.txt I went through string.replace(oldchar, newchar) methods, but i actually couldnt remove the " and \ characters from the string. Need help

Software Development java
Member Avatar for stultuske
0
135
Member Avatar for johang_80

Hi Everyone I need some help. I would like to remove characters from a string that are contained in brackets. For example string (Hello)World, I want to remove the (Hello) part. Is there a way. I can't solve it with the replace or remove methods. I am new to C# …

Software Development
Member Avatar for johang_80
0
411
Member Avatar for PHIPH

Hello, which book can u recommend me as Java Beginner?

Software Development java
Member Avatar for peter_budo
0
189
Member Avatar for thecoolman5

hi, i have this code [CODE]#include <fstream.h> #include<iostream> using namespace std; int main (char argc) { for(;;) { fstream file; file.open("file.txt"); cout << "Enter new high score." << endl; double n2; cin >> n2; double n1; file >> n1; if(n1 > n2) { cout << "You didn't beat the high …

Software Development c++ file-system
Member Avatar for thecoolman5
0
1K
Member Avatar for shurshot

Hi all, I'm new to this forum and I am also new to Python and coding in general. While I've gotten through basic tutorials on most general topics of Python such as series, dictionary, parameters, loops, and so forth I am still very much a newbie (as you will see …

Software Development mathematics python
Member Avatar for TrustyTony
0
353
Member Avatar for clickspiker23

i got c++ off amazon, no solutions are provided for the end of chapter exercises my problem is with getting larger numbers to be only two decimal places. i know about setprecision and how it works for the smaller numbers but when i enter a large number for days worked …

Software Development c++
Member Avatar for clickspiker23
0
147
Member Avatar for tomtetlaw

I have a pure virtual base class called IVSystemDLL. I also have a class called CVSystemDLL which inherits from IVSystemDLL. When I create a [icode]new[/icode] CVSystemDLL and convert it to a IVSystemDLL *, and try to use one of it's functions, I get an access violation. It's not something inside …

Software Development c++
Member Avatar for tomtetlaw
0
2K
Member Avatar for gujinni

anybody know how to remove the repeated characters/// The output is like this.. string:aaaaanffddddgjkh result:afdgkh

Software Development c++
Member Avatar for gujinni
0
190
Member Avatar for Geowil

Hey everyone, I need some major help. I was going to get some development time in on one of my projects when I found that my installation of VS2008 Pro no longer wanted to compile any projects. I have tried making empty problems with just the int main(), nothing else …

Software Development c++ visual-studio
Member Avatar for Geowil
0
527
Member Avatar for baby_c

Dear friends, I'm developing a software for one of our assignments. But the problem is I's still learning these things.But since I have bunch of Java expert friends I have no fear to face it ;) .So friends this is the code. [CODE]package census; import java.io.*; public class Main { …

Software Development java
Member Avatar for baby_c
0
163
Member Avatar for gauravk_bhanot

[CODE]#include<iostream> #include<conio.h> using namespace std; class base{ public: base() { cout<<"base constructor"<<endl; getch(); } virtual void out() { cout<<"I AM BASE"<<endl; getch(); } }; class derived : public base { public: derived(){ cout<<"derived constructor"<<endl; getch(); } void out(){ cout<<"I am derived"<<endl; getch(); } }; int main(){ base b,*bp; derived d; …

Software Development c++
Member Avatar for gauravk_bhanot
0
207
Member Avatar for teo236

I want to redraw a JPanel while my program is running. Here's a fragment of my code: [CODE]public class Graph extends JPanel{ public void redrawSomething() { getGraphics().drawRect(15, 5, 20, 5); repaint(); }[/CODE] I tried to call "redrawSomething" but nothing happend. How do I fix it? Is something wrong?

Software Development image java
Member Avatar for teo236
0
246
Member Avatar for vijaybrar

Hi I have hard time connecting the if else statement because my teacher is telling us to use this kind of if else if (statement) if (statement) if (statement) condition else condition("error") end if else condition end if else condition end if this is a simple betting game can you …

Software Development gaming programming-construct vb.net
Member Avatar for codeorder
-1
893
Member Avatar for symeramon

As written in the title, I need your precious helps... urgently... :(

Software Development vb.net
Member Avatar for symeramon
-1
357
Member Avatar for baby_c
0
90
Member Avatar for zack_falcon

Hi, guys. I'm making a game for a capstone project. It's a board game, that requires two human players to play over LAN. Since I am the only person on this project, I decided not to include singleplayer vs. AI (I might not finish it in time). So, I researched …

Software Development client-server dns windows-vista
Member Avatar for zack_falcon
0
217
Member Avatar for clickspiker23

Im trying to complete exercises out of a c++ book that does not provide solutions. The first part was to just ask for internet package choice and output the cost of it as well as any additional fees. The part im having trouble with is: "Modify the program to show …

Software Development c++
Member Avatar for Saith
0
183
Member Avatar for rmsagar

Hi, if (!input.equals("Apple")|| (!input.equals("Orange")) { System.exit(1); } The above has no compliation error. But it is not working as expected. Please advise how it needs to be written. -Thanks

Software Development apple java
Member Avatar for geniarrol03
0
152
Member Avatar for yousafc#

I have a database in which customerid CustomerName 1 ------------- Yousaf 2 ------------- Aslam 3 -------------Manga 4 ------------- ABC ================================================= Now I want Count customerid Row. How can i do it In SQL SERVER I write the query [CODE]Select Count(Customerid) from studentinfo [/CODE]And I get Total Customer. [B][COLOR="Red"]I want display …

Software Development
Member Avatar for yousafc#
0
269
Member Avatar for WolfShield

Hello guys, I am very interested in the Common Lisp programming language, but I need to know if it can be used as a general programming language. As in, if I wanted to create an IDE for three separate languages, then make an image editing programs after that, then make …

Software Development gui ide
Member Avatar for WolfShield
0
576
Member Avatar for Xcelled194

Hi guys, I'm writing a program that needs to log on to a remote computer to preform a task. I have the user name and account, but I need a way to logon as that user on the remote machine. Edit: All I need to do is copy a file …

Software Development vb.net
Member Avatar for Xcelled194
0
147
Member Avatar for thecoolman5

hi, how would you get a certain part of code to run while the program is waiting for the input? [CODE]string in; int n1 = 0; n1++ // get this part of code to loop while the program is waiting for the input cin >> in[/CODE] thanks.

Software Development c++
Member Avatar for thecoolman5
0
891
Member Avatar for zachattack05

You guys are always so helpful, this is like my "go-to" forum for bizarre questions :P Not sure if this should be enforced by the SQL server or the Application itself. If we have a table with 2 columns of type int, ColumnA and ColumnB, is there a way to …

Software Development
Member Avatar for zachattack05
0
97
Member Avatar for bluehangook629

Hey guys, I am having trouble with keypress event for a button that I have. This button is programmed to run a function to add data to the database when the button is pressed. [CODE] Private Sub btnAdd_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnAdd.Click funcAdd() End Sub …

Software Development vb.net
Member Avatar for bluehangook629
0
1K
Member Avatar for zachattack05

If my application was designed to generate a "schedule" or list of dates, and I wanted to store those dates in a SQL server as an array, what SQL data type would I pick? [COLOR="Red"]ntext [/COLOR]seems excessive, and I don't think [COLOR="red"]date [/COLOR]would work...any suggestions?

Software Development sql
Member Avatar for zachattack05
0
2K
Member Avatar for pseudorandom21

Not sure where to post this, hopefully here. Basically if I make an application that does some stuff in the background, how does an antivirus know it isn't a trojan horse or something? Will my application be flagged as a virus, or is it generally safe to assume it won't …

Software Development
Member Avatar for skatamatic
0
363
Member Avatar for gbatemper

My text game is a survival text game where you try to survive, and you can do a certain number of actions per day, and you can attack other tribes, etc. I wanted to include a weather system, where the Weather I want to implement Drought - Decreases Water Supply …

Software Development apache java
Member Avatar for JamesCherrill
0
175
Member Avatar for pseudorandom21

Anyone know of a generic guide for using third party C++ libraries, specifically with Visual Studio 2010? I'm thinking "winging it" isn't cutting it, I want a resource to learn more about how these things are usually prepared, and used. I swear I saw a mention of a library system …

Software Development c++ visual-studio
Member Avatar for Ancient Dragon
0
3K
Member Avatar for AhmedGhazey

Hello I'm writing java code read arabic character but it don't show the text correctly it show squares Any one Can help me any help will be appreciated Thanks Yours Ahmed Ghazey

Software Development java
Member Avatar for ahmaadaadel
0
4K
Member Avatar for neosonic

I have this little problem (at least I hope it is little). My vb6 program behaves differently when I execute it with the execute button in vb6 and when I execute it by using the compiled .exe file. I have a huge 2 picture boxes which loads 2 x 5 …

Software Development visual-basic
Member Avatar for neosonic
0
367
Member Avatar for baby_c

Hey friends.Need a help from you again. I'm trying to study about streams and I wrote small code for get input from command line and print it in the screen,but It prints weird characters like Japanese :O . Can anyone explain what I did wrong... [CODE] import java.io.*; public class …

Software Development java
Member Avatar for baby_c
0
216
Member Avatar for ToniSoft

hi everybody, i need help with windows form, i am working in one win application, so what i need, ex. i have form which is name MainForm, and i have another form which is for user login named Loginform, what i need is when i execute a project i need …

Software Development
Member Avatar for ToniSoft
0
116
Member Avatar for mattyg1192003

Hey Guys, I am a new student to Java and I am working on an assignment for school. I am not looking for anyone to do my work for me, just some guidance on what I can do to fix the problem. I have done research on this issue on …

Software Development daniweb-bug java
Member Avatar for AhmedGhazey
0
3K
Member Avatar for alex1050

[CODE]int main() { // stating my primivative data types and variables float num1,result; char symbol, choice; printf("Calculator Is ON\n"); do{ result=0.0; //assign 0.0 to result printf("Result=%.1f\n", result); scanf(" %c",&symbol); while((symbol!='r') && (symbol!='R')) { scanf(" %f",&num1); switch(symbol) { case'+': result=result+num1; printf("Result = %.1f\n",result); break; case'-': result=result-num1; printf("Result = %.1f\n",result); break; case'*': …

Software Development c
Member Avatar for alex1050
0
107
Member Avatar for Thigina

Hi, while im doing my project, i have problem to save edited data from jtable into database..i have attach the sample interface and here is the code...please help me...tq [CODE] ResultSet rs=st.executeQuery("select * from 3BITC"); while(rs.next()){ jTable1.getValueAt(row, col); row++; col++; } rs.close(); try{ Statement st1=con.createStatement(); ResultSet rs1=st1.executeQuery("UPDATE 3BITC SET Status …

Software Development java
Member Avatar for Thigina
0
2K
Member Avatar for manish250

I have a silly question for you guys.i am running a java program [CODE]public class manish { public static void main(String s[]) { Date d=new Date(); System.out.println("Date is"+d.toString()); } } [/CODE] while i running this on RHEL 5.2 i am getting this output Date isFri Jul 08 10:55:30 IST 2011 …

Software Development java
Member Avatar for Majestics
0
225

The End.