199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Fuse

Hi there. I'm new to Python. I started learning it 3 days ago. I've figured out everything by myself so far, but this is stumping me: Whenever I load a file such as a html document or a text file, it loads fine. But when I load this gif or …

Member Avatar for woooee
0
408
Member Avatar for asxetopoulos

Hi there, I recently bought a subscription to a "turnkey php scripts" built2go.com in order to make a car market project... With great disappointment, i discover lately than I CANNOT REMOVE THE ANNOYING COPYRIGHT TAG at the end of each page. I search everywhere: The files, the host, even the …

Member Avatar for webdev64
0
179
Member Avatar for Timotei

Is there a way to overlay graphics in Python? I'm looking for functionality similar to X-fire. That is, I want to be able to press a set of keys in a game and a GUI screen with some options (possibly a shell script) that doesn't cover up the game should …

Member Avatar for Timotei
0
2K
Member Avatar for iansane

Hi, I have a readFile() function that reads a csv file into a vector. The first two lines of the csv are collum headings. After reading and displaying the file on screen, replacing ","'s with spaces, it asks if the user wants to append new entries. If yes, it calls …

Member Avatar for Duoas
0
142
Member Avatar for OnIIcE

i want to be able to create dynamic buttons. so ive used the code : [CODE]TButton* Btn = new TButton(this);[/CODE] my first question is: how do i assign a function to the dynamic button?! my second question is how can i put the code into a loop as to be …

Member Avatar for tabassam
0
92
Member Avatar for gang66

I have heard about the: char myline[100]; cin.getline(myline,100); but when my coding is long it doesnt work i gues as long as i would like it to? here is my code for example: [code] #include <iostream> using namespace std; int main() { int length; int width; cout << "Enter the …

Member Avatar for John A
0
112
Member Avatar for CS Lover

Well, The main problem for any popular [ wide ] Images Hosting website .. is the bandwith ! and this problem can be solved with Multi-Server programming .. with PHP I have some ideas in my brain .. it's like : - administrator provides me with 2 - 3 servers …

Member Avatar for CS Lover
0
128
Member Avatar for carobee

hi all i am using VC++ editor. Can anyone tell me how to insert sleep in my program? i have tried sleep(). but it is giving an warning 'sleep' undefined; assuming extern returning int. Thanks in advance

Member Avatar for Colin Mac
0
144
Member Avatar for ashu_2961989

This is a contact form php script which i got from some site. But when i uploaded to site, it shows " parse syntax error" . Its somewhere between line 30 to 35. Please review it and find ou the error. <?php $EmailFrom = "contact@test.com"; $EmailTo = "root@localhost"; $Subject = …

Member Avatar for ashu_2961989
0
85
Member Avatar for apuamy

i am working on an application where some test results are received from a serial port and getting stored line by line in a text box.now i have to compare each line with an existing data base( that is with a field of each record )and display interpretation of each …

Member Avatar for apuamy
0
2K
Member Avatar for mariaczi_pl

Hi !!! I have so strange problem... i dont know what i have to do.. Quote from[B] form1.h :[/B] [code] #pragma once #include "Center.h" #include <time.h> #include <windows.h> namespace RCK { using namespace System; using namespace System::ComponentModel; using namespace System::Collections; using namespace System::Windows::Forms; using namespace System::Data; using namespace System::Drawing; /// …

Member Avatar for mariaczi_pl
0
175
Member Avatar for Tkd Kid 007

Hi, I wonder if anyone could help me, I am just starting out in the world of VB.net and I have a couple of tasks that I am having a bit of trouble with. This will probably be very simple to all of you experienced users: see below: 1. Using …

Member Avatar for Tkd Kid 007
0
120
Member Avatar for QuantNeeds

Help - the static_cast< double > is not calculating the value of term and I cannot see what is wrong. [code] void eConstant::compute() { cout << "Enter the desired level of accuracy to calculate the mathematical constant e, \nmeaning the number of terms in the summation: "; cin >> accuracy; …

Member Avatar for QuantNeeds
0
616
Member Avatar for playah

Hi, i am trying to come up with a schema for a databaes. It's been a while since I have done normalization on a schema, so I could use some help. Situation: There are boats. A boat is build in a shipyard. A shipyard has an owner. A boat is …

Member Avatar for tesuji
0
172
Member Avatar for scsibiya

Hi! all Please help me. I have an ASP website, and I want to incoporate a search facility on it but I dont know how. can you please give me a starting point your help will be apprecieted Thanks SC Sibiya <EMAIL snipped>

Member Avatar for anto_nee
0
104
Member Avatar for inkcoder

Hello Everyone, I just joined here hoping to increase my knowledge at python. I have been beginning to learn this language as of yesterday. I have decided that if I really want to increase my knowledge I should start on a project. Well here is my first project, a simple …

Member Avatar for sneekula
0
178
Member Avatar for chopram

Hi Guys, I am quite experienced in programming with Java. I have though come accross a small problem, I don't know how to implement the MVC pattern. I understand the concepts of the MVC pattern and I was hoping that someone on this forum could help. I have a model …

Member Avatar for jwenting
0
321
Member Avatar for tclhacked

what it is, i have saved data on a previous form into the database as words, but then i convert the words into its own unique ID. thus i want to load the data in another form, but i want to load the name of the item, not the ID. …

Member Avatar for anto_nee
0
117
Member Avatar for Aamit

Hi... I want to create windows service for my abc.exe through programaticaly in c or c++ how to do this???

Member Avatar for mitrmkar
0
494
Member Avatar for mewhocorrupts

Hello, I've written a short app that (in theory) connects to a remote box on port 23, and simply reads what is returned. The ultimate goal is to log on to the box automatically in order to automate some of my less interesting tasks. I get the socket set up, …

Member Avatar for mewhocorrupts
0
401
Member Avatar for rrocket

I have a bunch of params: InputParam1, InputParam2, InputParam3, etc... I would like to loop through them instead of writing out code for each one, but am having some issues getting it to work correctly. Here is what I have so far: [code=vb] Dim iCount As Integer Dim objTemp As …

Member Avatar for QVeen72
0
136
Member Avatar for isomillennium

echo removes white spaces from the text and stored text shows up w/o line breaks .. How can i correct this ? When i view my db tables and contents in it using phpmyadmin, the text stored in them look normal .. the way i typed it .. but when …

Member Avatar for isomillennium
0
96
Member Avatar for zoner7

I'm trying to skip part of my loops by using continue; however, I am unsure where how much code each continue statement skips. My suspicion is that, in the below code, the continue statements effectively do nothing and put my code right before the return false statements. I have marked …

Member Avatar for bugmenot
0
1K
Member Avatar for henpecked1

3.6 * vector_a; why can I not implement this binary operator as a member operator of a class Vector? [code] class cycle { cycle(); ~cycle; pedal(); }; class bicycle { bicycle(); ~cycle; pedal(); }; bicycle *bikeptr = new bicycle; cycle cycleptr=dynamic_cast <cycle>bikeptr; cycleptr->pedal(); [/code] Okay, here are the questions I …

Member Avatar for bugmenot
0
143
Member Avatar for zoner7

I've got a pretty simple question. I'm trying to ask the player for to choose a difficulty. I want the case to be to not affect his choice, so I am using the toupper() function. Unfortunately, when I try to return the value of the difficulty, no matter what difficulty …

Member Avatar for Cybulski
0
328
Member Avatar for aquarian

hi to all, i m doing my thesis in database. its related to data mining. i have to implement it. but i dnt knw how to start it. can anyone plz help me. i hav written the algo psedocode.

Member Avatar for sarehu
0
69
Member Avatar for wzb

Hi, I am a bit confused and wish to share this with you for help. We are designing a billing application to bill telephone calls. It currently handles a single rate plan. So what it does is that it looks up the RATES table and matches the called number area …

Member Avatar for wzb
0
106
Member Avatar for kartik14

Hi, I want to use a function from a different file in the main method of another file. Both the files are in the same visual studio project. I used the extern "C" keyword in the foreward declaration of this external function in the file containing the main method but …

Member Avatar for vijayan121
0
147
Member Avatar for J-son

[CODE=C] /** calculate the value of 'a' raised to 'b'.**/ #include <stdio.h> int main (){ int a,b,calc,calculation; printf("Enter value of a and b\n"); scanf("%d %d",&a,&b); calculation=1; for(calc=1;calc<=b;calc++) { calculation=calculation*a; } printf("%d raised to %d is %d",a,b,calculation); return 0; } [/CODE] My problem is I don't understand how this part " …

Member Avatar for J-son
0
104
Member Avatar for crash override

I'm creating a program that connects to an IP address on a specific port, then uses the recv() function to return the data from the address. I don't know how to go about creating the buffer the data will save to. At first I was just going to create a …

Member Avatar for crash override
0
206
Member Avatar for Maffyx

I have two questsions. The first being is it possible in VB to have a user input information during the file setup and have that information be used in the source code, then compiled, and then used after the setup is complete? Say I want to have the user input …

Member Avatar for dexblack
0
151
Member Avatar for beelzibub

... what i am trying to do use thr GridChessBoard clas to paint/drae an empty board then return to the program which adds the men/pieces to the board. ... i can get the empty board but it doesn't add the meb/pieces. i don't know why. i suppose i bit off …

Member Avatar for beelzibub
0
144
Member Avatar for K?!

Hello everyone As you can see, this is my first post. We're trying to write a cards game and it uses 12 cards. Someone taught me to put the buttons in an array, which i think is a really good idea. I'm encountering one problem, how do i create an …

Member Avatar for sciwizeh
0
2K
Member Avatar for WesFox13

Hey all, I need a bit of help starting on a homework assignment. I'm not asking for you to do it for me, I just need a little help getting started on it. Here is the site with information about the assignment: [URL="http://scidiv.bcc.ctc.edu/fl/cs210/Program4-S08.html"]http://scidiv.bcc.ctc.edu/fl/cs210/Program4-S08.html[/URL] I really need just a little bit …

Member Avatar for Alex Edwards
0
102
Member Avatar for warrior16

I'm trying to make a Connect 4 game and I'm getting it to work, but I think I'm doing it in a very long and hard way. I think that array were created to simplify code like this, but I'm not sure how to use an array for this occasion. …

Member Avatar for Alex Edwards
0
130
Member Avatar for Futbol10

<HTML> <BODY> <APPLET CODE= MyHangman.class WIDTH=1000 HEIGHT=1000> </APPLET> </HTML> I need to know what to do next below is my java file and I am confused with how to check the words i have in the array and the letters guessed in the word....anything would be useful thanks......and do you …

Member Avatar for Alex Edwards
0
100
Member Avatar for DAKORACING

Hi i am new. i hope someone could please help me. i was having trouble with my java so i removed it from my computer and went to the net to try and reinstall it. no luck. all i get is (nsis error) file corrupt, 1335 error, internal error. i …

Member Avatar for jwenting
0
88
Member Avatar for CK01

Hi, was wondering if anyone could help me. I'm creating my own little simple tree structure, consisting of several JTextFields. Each TextField is added to a JPanel, which is finally added to a JScrollPane, which is then added to a JFrame. Everything is fine, apart from the position of the …

Member Avatar for CK01
0
102
Member Avatar for Jboy05

How do I reverse the numbers in my program to produce the orginal numbers and the numbers in reverse? int magic_box (int N) { int digit1, digit2, digit3; digit1 = N / 100; digit2 = N % 100 /10; digit3 = N % 10; return digit1 + digit2 * 10 …

Member Avatar for tesuji
0
270
Member Avatar for bookworm619

What am I suppose to add here to buffer the weird sequence of numbers and letters? [code] /*------------------------------------------------------------------ * Assignment 4: Breaking the Code. Nested loops, command-line arguments.. *Worth: 50 points. 60 points if you write a "general purpose" program which can process ANY of the "document??.cry" files from the …

Member Avatar for Radical Edward
0
144
Member Avatar for Alex Edwards

Ever since I have heard that you can generate classes during runtime (from say, a URL I suppose) and can use java.lang.Reflect to fire methods based on String input, I was wondering how the process is done?

Member Avatar for Ezzaral
0
105
Member Avatar for Jennifer84

In a dataGridView1, you can Edit for example 5 Columns but before the First Column there is one column that has a star(*) in fron of the first row. What I wonder here is if it is possible to take this column away. It is possible to 'drag' the column …

Member Avatar for Jennifer84
0
107
Member Avatar for Jennifer84

I wonder if it is possible to change the color on the headers on a dataGridView1. I have searched in the members and properties but are not sure if I can find anything. By default it seems that the headercolor is "Control". Ex: is it possible to change the color …

Member Avatar for Jennifer84
0
121
Member Avatar for wellibedamned

i'm having problems reading with scanf... i'm trying to input some coordinates enclosed in brackets but it kinda skips the input that way... is it forbidden to say scanf( "(%d,%d) (%d,%d) (%d,%d) (%d,%d)", x1, yo, x2, y2, x3, y3, x4, y4 );? i'm using yo instead of y1 cause cmath …

Member Avatar for wellibedamned
0
114
Member Avatar for zoner7

I currently have a program that writes Sudoku boards to files; however, I would like the program to be able to read the board already in the file, copy it and then add another board to the file. It follows, then, that if there were two boards in the file, …

Member Avatar for zoner7
0
102
Member Avatar for suneel kar

dear all and my frnds, i wanna read data from a notepad and view after readin in output should be like in attached .prn.Plz revert as soona s possible. with regards suneel

Member Avatar for suneel kar
0
78
Member Avatar for PL.P27

Hi everyone. Hope everybody is having a fantastic day. I have a simple question and need your advice to guide me towards a solution. My question is, rather, I need help with. I'm doing the game hangman and I currently have a string that contains the secret word that is …

Member Avatar for Futbol10
0
131
Member Avatar for forwardlookguy

I've hit a new road block on my VIN decoder page. I want to echo something only if two variables are true. Here's what I want to do: if (($Series == "D") && ($ModelYear == "2")){ echo "Skylark"; } else { echo "This is not a valid Series"; } When …

Member Avatar for Ole Raptor
0
176
Member Avatar for gil857

I am trying to use ajax to display an rss feed. It works fine in IE, but does not work in firefox. Researching, I have heard that firefox has an error that occurs on an asynchronous ajax call. Does anyone know a work around for firefox. Any help much appreciated. …

Member Avatar for gil857
0
109
Member Avatar for eibwen

OK guys, I've hit a wall & can't find any info on what I'm wanting to do. Maybe someone can help me out here or point me in the right direction please? I have a shelve object- book. If I do book.keys(), naturally I get a list of the keys- …

Member Avatar for eibwen
0
140

The End.