64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for scru

I couldn't help but notice that everytime I create a window or control with Win32, the text on the window looks jagged, as though it isn't being 'clear-typed' or something. Does anybody know how I can get the text to appear normal?

Member Avatar for WolfPack
0
127
Member Avatar for thegreatkk

hi, i maintain the information in two data tables. i like to do intersect (ie common between two tables) between two tables. [B]any direct method is present.[/B] currently i planned to travel two the table and find the common thing (ie combination AB,AC,BC like wise so its create more complex). …

Member Avatar for sknake
0
825
Member Avatar for palavi

i ve 1 table named 'A',it contains many attributes in 1 attribute the values are stored like this [COLOR="Red"]"Q108:5380;Q208:5380"[/COLOR] this data present in table 'A' should be entered in table named 'B' in two fields named B1,B2 as B1 B2 Q108 5380 Q208 5380 like this in two columns this …

Member Avatar for palavi
0
135
Member Avatar for Ramy Mahrous

I want to speed ChechBoxList's getting the selected items, the normal approach is [code=c#] foreach (ListItem li in checkListBox.Items) { if (li.Selected) { } } [/code] but if I've 6000 items in the CheckListBox, that's mean I should go through the 6000 items to know which is selected. Performance POOOOOOR!!! …

Member Avatar for Ramy Mahrous
0
132
Member Avatar for tones1986

Hi all. I am finishing up a project previously posted. I am to create a student 'database' that consist of one student and X number of classes the student has taken. My problem now is that i cannot run a test on the linked list correctly. I am to check …

Member Avatar for DemonGal711
0
714
Member Avatar for newbie_here

Hi all i am new to Access Some info about my project.. I am designing a system for my company.. my compnay has many contractors. so i have a field in my database called contractors. In a point i need to retrieve how many different kinds of contractors are there …

Member Avatar for newbie_here
0
77
Member Avatar for thebigo

Hello I have a VB.NET application that needs to backup a database then restore to a new database in the same Server as I am upgrading an application and I want to retain the existing database. I create a blank database using the following: [code]cmdSA.CommandText = "CREATE DATABASE [newDatabase]" cmdSA.ExecuteNonQuery()[/code] …

Member Avatar for thebigo
0
305
Member Avatar for sarifah
Member Avatar for bebe11bebe

I have two other classes but they are very small, and this is where the error lies. This is my code: [CODE]import java.util.Scanner; public class Player { private boolean isHuman; private int score=0; private Scanner input; public Player(int human) { System.out.println("If you would like to play, press 1. Otherwise, press …

Member Avatar for r.stiltskin
0
124
Member Avatar for Stefano Mtangoo

I have been learning PHP for sometimes and it is interesting. Can anyone point me to good PHP/MySQL tutorials for newbie :) So far I have been playing with simple PHP scripts like Forms etc. Thanks all

Member Avatar for Stefano Mtangoo
0
101
Member Avatar for karthik.c
Member Avatar for scru
0
20K
Member Avatar for oldSoftDev

I am trying to read some numerical values from a file and getting this error: Input Error: Error in input: Floating point number not found.; Expecting Real number in the range -1.7976931348623157E308 to 1.7976931348623157E308 [code][code=java] import java.io.*; public class TriangleMain { /** * @param args the command line arguments */ …

Member Avatar for Ezzaral
0
98
Member Avatar for Xessa

Hi. I tried dragged and dropped an SqlDataSource and then click "Configure Data Source". From there i start a new connection and select my server. Under "Select and enter a database name" listbox i can not see anything. So i try to attach a database file "NORTHWND.MDF". When i try …

Member Avatar for Xessa
0
191
Member Avatar for maydhyam

Hello, Quick question...For the email code in the PHP script to work, do I have to make any server settings? or make any accomodation for the type of server it is being run on? If so, then please guide me... The application is located on a Linux server.

Member Avatar for jprahst32
0
156
Member Avatar for masterOFwww

Hello. I'm trying to select users from database that were last active today or yesterday...but there is a problem... When a user logs in, it stores both date and the exact time. So when i want to select user from db that logged in today or yesterday i must use …

Member Avatar for almostbob
0
141
Member Avatar for EJD

The following code is producing this problem (typed with exact characters printed in command prompt, aside from quotations): "Please input D for a daytime movie or E for an evening movie: This is not a valid choice." The program will not allow me to input anything following the prompt for …

Member Avatar for EJD
0
111
Member Avatar for olgratefuldead

I'm having some trouble with my code. I want to calculate the final balances of some movie tickets based on their day or night showing (and depending on if they are children or adults). So at the end of the code, I've been trying to get the solution to a …

Member Avatar for olgratefuldead
0
242
Member Avatar for olgratefuldead

I need to figure out how to set my overall ticket limit (aticket + cticket) to 100 and if a customer goes over the limit, then they are told that they have ordered too many tickets and that they need to try again and then it loops back through until …

Member Avatar for olgratefuldead
0
93
Member Avatar for BrianK123

What I am trying to do is read from a file to an ArrayList and then display it using a JOptionPane. The only problem is the code i am having trouble with is in an ActionListener and I believe somehow I have created an infinite while loop because when I …

Member Avatar for verruckt24
0
172
Member Avatar for beanryu

I start learning about python, so i read the tutorial: they show this: >>> x = int(raw_input("Please enter an integer: ")) Please enter an integer: 42 >>> if x < 0: ... x = 0 ... print 'Negative changed to zero' ... elif x == 0: ... print 'Zero' ... …

Member Avatar for breatheasier
0
2K
Member Avatar for l00pylou

Hi folks I have set up an form that when submitted sends an email, however I want to suppress the information in the email if it is left blank in the form. an example of the existing PHP code I have is [code]?php $to_email_address = "someone@someone.com"; $from_email_address = "$email"; $replay_email_address …

Member Avatar for l00pylou
0
109
Member Avatar for Datanizze

I have a strange problem, when I try to join two strings, one declared as a string() [code=vb]dim string1 as string()[/code] the string contains some data in both str(0) and str(1) but when I try to add that with a regular string: "some text" like this: [code=vb] dim string1 as …

Member Avatar for rapture
0
136
Member Avatar for FerrousRex

I'm relatively new to ASP .NET and I was wondering if anybody knows about any good reference books? Thanks in advance for your help.

Member Avatar for FerrousRex
0
106
Member Avatar for karthik.c

hi guys wat if List is equivalent 2 Arrays in c or do we have Arrays seperately defined in python??

Member Avatar for karthik.c
0
185
Member Avatar for winrawr

So, I'm dynamically allocating a char array in a function, then returning that array to an un-allocated char array in main(). Code: [code=cpp] #include<iostream> using namespace std; char* cc(char*,char*); int main(){ char* strMain; char* str1="Well, hello there, "; char* str2="How are you?"; strMain=cc(str1,str2); cout<< strMain; } char* cc(char* str1,char*str2){ char* …

Member Avatar for winrawr
0
124
Member Avatar for abcdou20

hi guys i need your help! i have two date picker and a vsflexgrid in my form then i select datepicker1 month of january datepicker2 month of february i want to display all the records in both month ... example: january 9 records febraury 10 records my sample code: [code] …

Member Avatar for abcdou20
0
90
Member Avatar for chriscross86

hi, to all... im coming up with mysql codes...i have to come up with a command where reports which r produced is to be printed according to business needs, for example, clients, managers and clerk..im trying to use the 'select' to code this command,but it doesnt work. so, i tried …

Member Avatar for stephen84s
0
102
Member Avatar for deepika_m

I have a login page for which users and their passwords hav been updated in database. If a user continuously enters invalid password 3 times then im displaying an error message and blocking the user. when i enter another user name the error message continues to be displayed. btw, im …

Member Avatar for Comatose
0
100
Member Avatar for PolarClaw

Our instructor told us to make a scientific calculator using visual basic... though he didn't yet discuss on how... what i made was just a simple calculator that can perform the four basic functions... here is my codes... [code]Dim val1 As Double Dim a As Double, s As Double, m …

Member Avatar for jenmedina
0
143
Member Avatar for rapture

I have the following code which outputs incorrectly. [code] public static void extend(ArrayList priceList, ArrayList quantityList, ArrayList amountList){ for(int i = 0; i < priceList.size(); i++){ amountList.add((Double)priceList.get(i) * (Double)quantityList.get(i)); System.out.println(priceList.get(i) + " * " + quantityList.get(i) + " = " + amountList.get(i) ); } [/code] The output for some of …

Member Avatar for sillyboy
0
112
Member Avatar for mhangman

hi, im new at c#. after using python i need c# for some windows app. my problem is: i have an axshockwaveflashobject in my prog. but its size stable. i want to change it with general desing. if user grow up the window it should change with it. how can …

Member Avatar for mhangman
0
82
Member Avatar for juzzy

is it possible, well yes of course its possible, but does anyone know the best way to alter the colour of a word within a sentence in a wxpython window. I know how to change the colour of the entire text but not a specific word. So for instance if …

Member Avatar for juzzy
0
1K
Member Avatar for VBNick

Im having a very strange problem that I can't explain =/ this is what the compiler is saying: 1>------ Build started: Project: 3d, Configuration: Debug Win32 ------ 1>Compiling... 1>RENDER.CPP 1>Generating Code... 1>Compiling... 1>GEOM.CPP 1>MAIN.CPP 1>MOVEMENT.CPP 1>Generating Code... 1>Linking... 1>MAIN.obj : error LNK2005: "struct OBJECT * obj" (?obj@@3PAUOBJECT@@A) already defined in …

Member Avatar for VBNick
0
298
Member Avatar for StandardsDT

I'm having some trouble with my while loop in my code. If I enter in 20 and then enter in 14 for the coupons I want to redeem, it goes into a constant loop and doesn't stop. However I did stop it from doing this by putting in a [icode]break;[/icode]. …

Member Avatar for StandardsDT
0
143
Member Avatar for GadiK

Hi Guys, I'm trying to write a program (MFC) that while working displays a log to the user. For this log I thought I'd use an Edit Box because I can set it to be "multiline". What I had in mind is to display each new log entry in a …

Member Avatar for GadiK
0
1K
Member Avatar for jobi116

Hi.. I had a problem using a Control [ListView] out side its Class[main form class].. So i made that control [ListView] Static ..Now I can Add and Remove Items from The ListView with ease.. Now the problem is that i cannot use the Event's of this ListView. I need Your …

Member Avatar for JerryShaw
0
209
Member Avatar for sid78669

Hey! What i am looking for is help on how to work with databases in c#. I have basic knowledge of C# and a pretty good working knowledge of SQL. But I have never learned how to use them together. Can someone point me to a tutorial or something similar …

Member Avatar for JerryShaw
0
197
Member Avatar for rasingh24

Hi, I have to create a project in C# in which i have to create a XML Tree View, select a xml file from hard drive(System) it is displayed as Tree View on winform. When a [B]user selects a particular node/element in the tree view,its attributes and values have to …

Member Avatar for rasingh24
0
905
Member Avatar for localp

i want to play an audio file in java without opening a player ... like an alarm ... does any1 knows how to do this.. and r there any sample codes available online ... (please provide relevant links only)

Member Avatar for localp
0
181
Member Avatar for r.stiltskin

I have two problems with the focus on buttons in this project. I've pared the code down to barebones to show the problems; there are only 2 simple classes remaining & still the problems persist. It compiles, runs (java ColorView), and all that's required to see the problems is simply …

Member Avatar for r.stiltskin
0
88
Member Avatar for devilz

I’m very very new in VB6.0 in my project I need a function where I want to pass month name as variable value which will be selected from a combo box by user and the function will generate the full date from starting to end along with the weekday name. …

Member Avatar for devilz
0
549
Member Avatar for mumuXdoll

im making a game, called memory game. i don't know the exact codes to make a picturebox move when clicked. i saw a game file that becomes a gif image when clicked, then it randomizes the last image every start of the game. i wanted to make something like that, …

Member Avatar for mumuXdoll
0
317
Member Avatar for dmanw100

Hello, I am working on a project that requires a set of points to be sorted by their angles in relation to the x-axis. The angles, which are in radians, store their angle as a double value. My insertion sort algorithm is failing to properly sort the points based on …

Member Avatar for dmanw100
0
103
Member Avatar for rudasi

Hi, I have been trying to figure this out and I know it must be something simple but I cant get it. Why does the following code give an answer of 1. double a=8; cout<<pow(a,1/3); I would think it should be 2. Thanks

Member Avatar for rudasi
0
158
Member Avatar for Variance

Is it possible to take a label and add the caption to a database? If I try to link the label to the DataField when I run the program it obviously shows no label, and I'm unable to input the data that I need to. I know I could just …

Member Avatar for Variance
0
97
Member Avatar for Innercoder76

Hey everyone, I need help with my program it is an ipod simulator that goes like this: [CODE]/* FUNCTION - void initaPod Initialize all the slots to blank and 0 size memory*/ void initaPod (); /* FUNCTION - int addSong attempts to add a new song to the aPod returns …

Member Avatar for ArkM
0
100
Member Avatar for PinoyDev

Good day. I was able to take a nightmare of my code regarding to disable a button. This code derive from a member post in this site. it will retun errror.! [code=php] <?php if($totalbill==0) { $disabled="disabled=true"; } else { $disabled="disabled=false"; } echo "<input name="enrlclick" type="submit" class="style18" id="enrlclick" value="Enroll Now" ".$disabled">"; …

0
67
Member Avatar for PinoyDev

Good day.! Thank you for all your support to all my thread. By the way Ive got some error regarding of mysql query. I want to load all data from the table depending on the table name on the variable.!I dont know whats wrong with my query below.! [code=php] $coursesubject=$row_reclog['tablename']; …

Member Avatar for PinoyDev
0
185
Member Avatar for viber101

why my executable jar file created in Netbeans cant write/output a .txt file. . .my program must create a text file and write with it, how can it doesn't work when i convert it to .jar but if i run it in netbeans it work fine?..

Member Avatar for viber101
0
4K
Member Avatar for Stefano Mtangoo

Please anyone help me on classes. I have written this class example and keep getting error on that the function is private. I though variables in functions are private but mmh, I think I'm wrong. Can anyone clarify how to rectify this? Also, could you explain to this New Bee …

Member Avatar for Stefano Mtangoo
0
86

The End.