199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for aiurovet

I am trying to mimic the behavior of Language Indicator pop-up menus (which pop-up when you do left or right mouse click on the Language Indicator), so the foreground window and focus do not change, and it is still possible to use keyboard to select or cancel menu (arrow keys …

Member Avatar for aiurovet
0
143
Member Avatar for bemo55

Hello! I was having trouble with this program i keep getting undeclared identifier errors for my seat array and my seatnumber variable. I was also wondering if i was going about writing this program the right way. Arrays are kinda new to me. This is the problem (Airline Reservatins System) …

Member Avatar for zalezog
0
133
Member Avatar for archangelzero6

Hello I am trying to get comboboxes to rely on one another and cannot get this to work. I am trying to get combobox1 to submit its value to combobox2, then the selection in combobox3, then give a total value of the 3 comboboxes. it is for selecting a car …

Member Avatar for archangelzero6
0
55
Member Avatar for infernojmd

ok so my compiler is doing something weird, for this like of code it is thinking the \d is a command like \n but that is a cstring, and it uses each char to decode a message to Attack at dawn!, but comes out missing the c, any hits or …

Member Avatar for stephen84s
0
116
Member Avatar for danielle23

I have been working on this assignment for a while. I have read a couple other threads in this site regarding similar solutions but I feel mine might be a little more unique. This tic-tac-toe board is user entered, simply setup as 9 characters in 3x3 format. Input should look …

Member Avatar for VernonDozier
0
1K
Member Avatar for pri_skit

1.I'm trying to write an MFC program in EVC++ 4.0 on window CE 5.0 that lists the disk drives on the system (C:, D:, and so on). I also need to know if the drive is a hard disk or a USB. Is there a class to get this information? …

Member Avatar for pri_skit
0
73
Member Avatar for staplesauce

The RemoveMin class should remove the first occurrence of the smallest element from the input list. Despite what the inputs are I keep getting the same NullReference error from having 'rem = null'. I don't know if I'm using recursion right or not. I have a feeling the starting reference …

Member Avatar for danielernesto
0
147
Member Avatar for tobycatlin

Hello everybody, I am after a little help using python to read in data from a binary file. This is what i got so far: [CODE] import struct infile = "friday.bin" FH = open(infile, 'rb') line = FH.read(32) data= struct.unpack("<H", line[0:2]) print data [/CODE] Which produces an output: 38288 I …

Member Avatar for NarendraRoy
0
4K
Member Avatar for jaasaria

hi guyzz... i have more than 1000 datas in my tables i loaded it in the listview using function.. but i have problem in loading it.. it consume almost 9 second to load all in the listview... i think it is in my coding.. i would like to minimize it. …

Member Avatar for samir_ibrahim
0
171
Member Avatar for Aamit

i have three buttons 1.orkut 2.facebook 3.myspace Suppose when i click on orkut button, it ask for username and password 1>how to check this username and password is correct or not?? 2>If Username and Password is correct... I want to show photos from orkut How to do this??

Member Avatar for Aamit
0
105
Member Avatar for curtissumpter

Hi People, I am trying to run this file but I am having trouble getting the program to incorporate the gif file that I need. Here's the program. // Demonstrating JDesktopPane import javax.swing.*; import java.awt.event.*; import java.awt.*; public class DesktopTest extends JFrame { public DesktopTest() { super("Using a JDesktopPane"); JMenuBar …

Member Avatar for danielernesto
0
885
Member Avatar for dev_kc

I am developin a project in VB6,i need to save the data inputs in form to the Access Database,using the save button......... Plz help me Thnks in advance:)

Member Avatar for debasisdas
0
72
Member Avatar for orangie

I would really appreciate a help to this problem: Let's say x = Class() x.name = 'the_name' x.value = 10 if you were only give the 'the_name' how do you get the instance ref, x to get x.value

Member Avatar for paddy3118
0
119
Member Avatar for creativehacker

I want to write an sql statement in c# where I want to pass a "true" or "false" value basing on some condition... can we pass true to sql statements Ex: [CODE]select * from emp where (empid=1234 and true); select * from emp where (empid=1234 and false); [/CODE] This true …

Member Avatar for debasisdas
0
76
Member Avatar for chevyww1936

I am new to Oracle and SQL. I need to write a select statement for a student extract at a college. For ex: select ss_id from id_table This will return all id's from this table and they are a length of 9 digits, i need to return just the last …

Member Avatar for debasisdas
0
184
Member Avatar for rajasekhar1242

hi, i am trying to develop a database application. i am using python as front end and mysql as back end. But now i am getting some problem as "INTERNAL SERVER ERROR" while i am running my application on MAC OS x. #!/usr/bin/python import os import cgi from cgi import …

Member Avatar for rajasekhar1242
0
153
Member Avatar for designingamy

Hello all! I was having a hard time trying to get my pagination to work. Now the following code throws up this error: Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource Any idea what could be the problem? Any help is much appreciated! [code] <?php include ("databaseinfo.php"); …

Member Avatar for death_oclock
0
92
Member Avatar for jeffreyjs

HI, I am currently creating a personal website which i uses Dreamweaver build in rollover image for buttons, and at the same time i am using Shadowbox for the gallery, but i realise that the auto generated code for the rollover is interfering the Shadowbox from working properly, is there …

Member Avatar for jeffreyjs
0
112
Member Avatar for Potato.Head

Hi to all, I have the follwoing challenge: I need to set floating elements in a document and its position should be relative to another element in the document. I'll explain, lets says I have the below document, an html page with an image, I need to set the position …

Member Avatar for mschroeder
0
114
Member Avatar for mruane

Can you tell me where this unassigned global is...I looked everywhere but cannot find it. [code=python] global gold gold = 0 global a_gold_a a_gold_a = 15 global a_gold_b a_gold_b = 15 global a_gold_c a_gold_c = 20 global room1_done room1_done = 0 def prompt_main(): global a_gold_a, a_gold_b, a_gold_c, room1_done x = …

Member Avatar for vegaseat
0
93
Member Avatar for the b

Hi, I would have replied in the last thread instead of creating a new one again but I have a dial up connection and dad doesn't like me tying up the phone lines at this time in the year. In the last thread I asked how to find the cubed …

Member Avatar for DEMWilson
0
183
Member Avatar for ryan858

I'm sorry if this is the wrong place to ask, but I figure since it's a [I]C++[/I] IDE it's probably qualified... How do I compile my program without all the extra debugging stuff in Dev-C++? I looked through it but I can't find any way to do this... I know …

Member Avatar for nucleon
0
105
Member Avatar for fran121

hello ive already written the scoreboard and tictactoe now i need write the GameUI.java this involves using collections framework, however in which I'm struggling in. If anyone could start me off, help me out, what so ever would be very appreciative. Fran

Member Avatar for BestJewSinceJC
0
81
Member Avatar for asif786

i want to users to be able to vote for their favourite soft drink. They will input the names of the soft drinks through the use of an inputbox, the names input are stored in an array. what i would like to do is count the votes given to each …

Member Avatar for toko
0
263
Member Avatar for jedi_ralf

Hello, I have not had a huge amount of experience with regular expressions. Any help you can give is greatly appreciated. I have an input file like this: [CODE]Name: Bob, Age: 20, Details: Likes chocolate Hates lettuce, Location: London Name: James, Age: 42, Details: Sometimes goes swimming, Location: New York …

Member Avatar for jedi_ralf
0
179
Member Avatar for PinoyDev

Good dat to everyone.! Ive just so tired just to finished my thesis. Ive got problem in php summing up while looping and filtering. here is my code: [code=php] mysql_select_db($database_enamysqldb, $enamysqldb); $query_recpayment = "SELECT amountpaid, username, SUM(amountpaid) FROM paymentsummary WHERE username = %s and foryear = %s and forlevel =%s", …

Member Avatar for PinoyDev
0
94
Member Avatar for dollmar

hello my problem is simple but i cant solve it. i have textbox in form1 and i want the value in the textbox equeal to the value in label in form2..how can i do it.. my code sample is: form1.Text1.Text=form2.Label1.Caption its not working... anyone can help?

Member Avatar for dollmar
0
159
Member Avatar for ganbree

I'm trying to read a Unicode file using std::wifstream. On wintel. [code=c++] #include <iostream> #include <fstream> #include <string> using namespace std; int main() { wifstream File("input.txt"); wstring Line; while(!File.eof() ) { getline(File, Line); wcout << Line << endl; } system("pause"); return 0; } [/code] And this is my output [code] …

Member Avatar for seanhunt
0
585
Member Avatar for ahmedo047

how can I apply to all txt files in the folder. (save to a different folder the same name all the txt files). this code is only working for a txt file but I want to apply all txt files in a folder its. I have following code: [CODE]using System; …

Member Avatar for ahmedo047
0
331
Member Avatar for progurammaar

[url]http://www.levelopacity.com/[/url] go to this site and chk out the footer.... its always there...i mean kinda sticky or fixed....how to do this.....

Member Avatar for progurammaar
0
94
Member Avatar for viki0077

Let Wallet be a class that represents the amount of coins and bills in a purse. The class has got a data element amount of type long. The binary operator += shall be overloaded as an inline method. Identify the error in the following definition. Wallet& operator+=(Wallet& w) { // …

Member Avatar for ArkM
0
86
Member Avatar for wnmichaud

Help Me, Please..VERY URGENT I have this cenario: I have a form(NewcomplaintForm.vb that will collect informations for ComplaintTable(complaintid, ComplaintType, date, desc, status, recommendation, etc..); ComplainantTable(complainantid, last, first, etc..); OffenderTable(offenderid, last, first, etc..) DutyofficerTable(dutyofficerid, last, first, etc..) and insert data into these tables respectively. when NewComplaint, check for complainant last and …

Member Avatar for jbennet
0
137
Member Avatar for trevorp

Hello all. I need some help on some code... function definition double Magnitude () const; function implementation double Vector::Magnitude () const {return sqrt(X*X + Y*Y + Z*Z);} Test cout<<"test 4 \n"; cout<<"VectorA ^ VectorB = " (VectorA^VectorB)<<" = "<<(VectorA^VectorB).Magnitude()<<endl; I get c2064 on the portion of code highlighted in red. …

Member Avatar for nucleon
0
193
Member Avatar for C#Novice

I have an application where i need to show 2 frames. the top frame shows 2 windows media players, one that shows the video of a lecture and the other shows the video of images for the same lecture. In the lower frame i want to show all the imagesassociated …

0
107
Member Avatar for shindu

Hi, im working on a small console app that among other things calculates the mean value of all rows and columns of a matrix. I want to incorporate the mean symbol (x with an over score) into the out put but the symbol isn't included in the ASCII chart, any …

Member Avatar for shindu
0
107
Member Avatar for BrianK123

This is probably just a stupid mistake but I can't figure it out. I have this code: [CODE]TextField passGet=new TextField(10); passGet.setEchoChar('*');[/CODE] and when I try to compile, I get and <identifier> expected error. Anyone know why?

Member Avatar for BrianK123
0
1K
Member Avatar for moiseszaragoza

ok i have a page that calls 2 diferents controls. Control 1 is ctHead and Control 1 is ctBody. ho do i make ctHead call a function in ctBody. how i call the function in body from the page is [code] ctBody.Speech = "Hello!"; [/code]

Member Avatar for moiseszaragoza
0
56
Member Avatar for Chaster

Yellow, From my application - for some reason - I am able to send messages up to only 64k. I've been wondering if it is possible to split an InputStream into partitions of 64k, and then, on client side to join them again. Is this possible? Have you ever done …

Member Avatar for BestJewSinceJC
0
84
Member Avatar for Johannady2

number = 10; sum = 0; for (var i=1; i<= number; i++) { sum = sum + number; } document.write("sum = " + sum); number = 10; for (var i=number; i > 0; i--) { if ( i%2 == 1) document.write(i); } product = 1; number = 5; for (var …

Member Avatar for verruckt24
0
118
Member Avatar for ritesh_r10

I have two tables, say t1 and t2. t1{ txn_id varchar status varchar } t2{ txn_id varchar date Date } I want to built an update query which will update t1.status='X' with join condition t1.txn_id = t2.txn_id and t2.date < sysdate. Please let me to build an update query.

Member Avatar for ccerdeira
0
108
Member Avatar for koliva

Hello everyone, I have a ray-tracing code and I can successfully generate images taken from different view points. My generated image has 802x802 resolution. I am applying the same procedures for every different point of view. However, my generated .bmp files always have different file size. I wonder why? They …

Member Avatar for Salem
0
94
Member Avatar for BrianK123

I was writing an applet before and was displaying information in a JOptionPane. Useing \n, I was able to make the information display multilined like this: [CODE]Name1 Grade1 Name2 Grade2 etc.[/CODE] I unfortunately had to change my code from an applet to a JFrame and subsiquently my Labels to JLabels. …

Member Avatar for BrianK123
0
193
Member Avatar for mona515

I've been tryin to figure out how to pick numbers from the 'choices array' and put then into the results array. Can any body help me. I was thinking of adding a for loop but not sure. The code i got so far is below. import java.util.Random; import java.util.ArrayList; public …

Member Avatar for notuserfriendly
0
84
Member Avatar for matt443

the assignment is to create a class library for manipulating ConsLists. I haven't found a lot of resources on ConsLists, and I hadn't studied them or recursion before we were assigned this project. That said, this is a (non-functional) method that is supposed to store a ConsList of values less …

Member Avatar for nadeemIqbalBajw
0
110
Member Avatar for Digvijaysinh

Hii everybody, i am developing window application in c# and .net and i want to know that how to write a join query for update of local database by the content of remote server database!. Scenario :- Suppose there is one database say softbuyweb at local machine and other database …

Member Avatar for sknake
0
766
Member Avatar for chriswininger

I have an application which embeds an instance of word 2007 inside of it. Everything works fine except until I open a fresh instance of word 2007 from the start menu. Instead of opening a new instance of word it finds my instance and loads a blank document inside of …

Member Avatar for chriswininger
0
130
Member Avatar for frostiecuk

Hi All I'm new here and have searched high and low for an answer to my problem, and have so far had no joy. I am trying to create a if/else statement depending on the outcome of a SQL command that should be extremely simple and basic, but for some …

Member Avatar for frostiecuk
0
105
Member Avatar for adamsn

Hi all I need help. I have written 3 different exe files. What I would like to know is how do I link them to run from one package . Thank you very much. Nicky

Member Avatar for adamsn
0
301
Member Avatar for rickarro

I'm having trouble figuring out how to display data from another indexed table. What I have is one table (assets) with a majority of my data in it. I use a simple select statement to display the data. Within that data is a field of "typeid" which is an indexed …

Member Avatar for rickarro
0
160
Member Avatar for TheOneElectroni

Hello everybody, I’m experimenting with PyQt, trying to learn it, and I’m a bit stuck with Signals and Slots. I don’t usually like just to repeat the examples you find in tutorials and guides because I think it’s more useful for learning to experiment concepts by yourself. Tutorials usually teach …

Member Avatar for TheOneElectroni
0
326

The End.