199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for walid86

hi, i have a panel with controls and richtextbox's within it. When the user clicks the save button, i take panel1 and DrawToBitmap, then add the image to a pdf created using abcPDF7. My problem is that i have recently change textbox's with richTextBox's to enable the user more functionality, …

Member Avatar for walid86
0
363
Member Avatar for MegaMan15

Hello all. So I am trying to write a program that will read in a text file, then it will scan the file for prompts, such as %[color], %[noise], etc. Then from what prompts are within that file, the program will ask the user what word they would like to …

Member Avatar for Gribouillis
0
116
Member Avatar for jdm

I'm working on a program that will find the prime factors to an unsigned integer that is entered by the user. I just have to make sure the program can handle a number up to 1000. I'm writing assembly in x86. I have already got a prompt for the user …

Member Avatar for jdm
0
4K
Member Avatar for Syrne

Hey guys. I am getting a fair amount of errors when trying to create this menu. I am not sure whether or not I am going about it correctly. Without further adieu: [CODE]package assignment.pkg2; import java.util.Scanner; public class Assignment2 { public static final int MAX_NUM = 10; public static void …

Member Avatar for Taywin
0
153
Member Avatar for lbgladson

I have an assignment to reverse the sequence of coins in a purse. I cannot use any methods from the Collections or Arrays Class. I have the following code but have no idea what to do from here to get the purse contents to reverse. [code] import java.util.ArrayList; public class …

Member Avatar for Taywin
0
172
Member Avatar for lbgladson

I have an assignment to create a class Purse and print the coins in the purse, reverse the sequence of the coins, transfer the contents of one purse to another, and compare to see if two purses have the same contents. I have the following code but the transfer is …

Member Avatar for Taywin
0
253
Member Avatar for Wilha

My goal is to output monthly cost insrance for entered employee id, but my program keeps giving me a error idk why [CODE]import sys #empfile=raw_input("Enter Emp.file Name:") #emp=sys.argv[1] #print emp #usage : run it as follows from command line. #python db.py employee.txt InsurancePlans.txt InsurancePolicies.txt def dict2(lines): dict={} for l in …

0
86
Member Avatar for shawntheking

So I have to create a guessing game to be played between 2-5 players. That part wasn't very difficult. I am however having LOTS of trouble with the try...catch statement. I have to have to make the program have a try catch so it doesn't throw an error if the …

Member Avatar for Taywin
0
1K
Member Avatar for -==Zero==-

Hello There Iam Sorry My problem Will take Time To Explain So Iam Sorry For That first thing that's my code in the index file [CODE]<?php $result = mysql_query("SELECT * FROM games"); while($row = mysql_fetch_array($result)) { echo "Game Name : <a href='GameDetails.php?id=$row[id]'>$row[name]</a><br/>"; echo "Genre : $row[genre]<br/>"; } ?>[/CODE] [COLOR="Red"]In The …

Member Avatar for -==Zero==-
0
198
Member Avatar for MandrewP

I'm trying to do disk reads and writes when programming in C++ in the win32 console mode. I can create the file on disk using CreateFile(), but I can't figure out how to read or write to that file. I used the ReadFile() and WriteFile() functions but I just get …

Member Avatar for MandrewP
0
382
Member Avatar for TheFearful

Hey, guys. I'm new to this forum and this is my first post ever on this site. I am currently a freshman in Penn State University and I am having trouble with my C++ class. I have a group project but have no idea where to start with this program …

Member Avatar for TheFearful
0
463
Member Avatar for Whilliam

Hello guys.. I have this website called jupiter.php. It's code ignitered. I want to put it in my friend's website called [url]www.planet.com[/url]. My website should be accessed like this: [url]www.planet.com/jupiter[/url]. Problem is, I don't know how to. Should I ask what programming language or web server my friend is using? …

Member Avatar for Whilliam
0
172
Member Avatar for asif49

For the website I'm working on, I've included a "search the site" section. Once the user searches a keyword or a phrase, the php processes all the content in the mysql database and prints out the title, content and a link to the page with the article containing that specific …

Member Avatar for asif49
0
115
Member Avatar for minimi

Here is the instruction to the assignment: [url]http://dl.dropbox.com/u/43732846/Instruction.txt[/url] I think I got up to the part to initialize array and set length to 0 but I'm not sure how to do a for loop to print. I tried like strlen(month), printf(month[i]), etc, but none of them seems to work. And …

Member Avatar for hkdani
0
135
Member Avatar for Archenemie

I would like to use a non-final variable in an On-click listener and converting the variable to final is not an option because the variable is an ArrayList<String> which i will be altering and editing throughout the coarse of the program. This is an overview of the code I have …

Member Avatar for Archenemie
0
1K
Member Avatar for wissam.ashkar

Hello, I am updating a DataGridView using [CODE](dAdapter).Update(dTable);[/CODE] How to check if update is done successfully in order to display a message box.

Member Avatar for wissam.ashkar
0
80
Member Avatar for mehargags

Hi all, I'm having trouble getting POST value from dynamically generated txtinput[] and MultiSelect since they form an array. I read so many articles but I get confuse.. a short form of my code is given below.. Pls help me with best way how I can get array values in …

Member Avatar for diafol
0
363
Member Avatar for -==Zero==-

Hello I Need To Know how to Retrieve Random Data From A Table In Database i have a table called actiongames i need a code to retrieve random data from this table

Member Avatar for -==Zero==-
0
120
Member Avatar for Iphicles

Hi, is there anyone out there who has any little knowledge of how to got about getting ur program to read a .bmp file? Pls teach me or show me an example just about how to get ur program to read .bmp files Cheers Ming

Member Avatar for hellihdhs
0
220
Member Avatar for vlowe

Hi all, i understand that php header needs calling before any output. i made a mistake and used it after an include which did output some html which gave the error. but when testing on localhost with exact same code the header location redirect worked fine with no error? any …

Member Avatar for diafol
0
142
Member Avatar for r_james14

Hi There, Proberly a really simple request but im desperate for help none the same lol, I need to write some code that, takes filenames from a folder, and displays them in an order in a list. (Im using Visual Studio btw) lol. The file names are in the format …

Member Avatar for gusano79
0
94
Member Avatar for dfn77

NOTE: If this is too long, scroll to the last paragraph where hopefully I've summarized my problem. I have a simple problem. I have two tables, one is for the "header" and one is for the "details" of the header. I need a view to return all details and the …

Member Avatar for adam_k
0
200
Member Avatar for Zvjezdan23

This is code for the slope intercept formula y = mx + b I am supposed to find the slope (y2 - y1) / (x2 - x1) and have the user input the b for the y = mx + b in my program. Once the user does that I …

Member Avatar for Zvjezdan23
0
2K
Member Avatar for extemer

hello friends may peace on you ! I have a little problem in my code.i want display the fetch value from db in a textfield after pressing load button.i am using ajax post method for it but cant figure it out what the problem.please help me ! Thanks, [B]Index.php[/B] [CODE] …

Member Avatar for ddymacek
0
213
Member Avatar for Joe_hoskins

Hello, I am new to web development and PHP/JS. I am currently using JWPlayer to show video on our church website using an xml playlist and all is working fine but it is rather cumbersome to upload new videos/Mp3 files. Each time we want to add a new video or …

Member Avatar for Joe_hoskins
0
2K
Member Avatar for ticktoc09

Another noob question here.. Im a frshman programming student and I don't have the best instructor. I've just finish doing a simple inventory system Vb6 + MS Access database. My question is how can I save the database path? because whenever I change computer from Home to School I need …

Member Avatar for hkdani
0
162
Member Avatar for giora88

Hello. Is there a way to move to the mouse cursor on the screen using C or C++? I am using windows vista and Microsoft visual studio 2008. I am pretty new to C so I don't know much. I have read previous threads which said that you need to …

Member Avatar for Narue
0
270
Member Avatar for mitchiexlolz

hello guys! we have a big problem in our database. When we input values, and retrieve them in forms, we can see them. but when we look directly into our database, we can't see it. What is the possible problem? here is our codes to add values. [CODE] Private Sub …

Member Avatar for Mariandi
0
191
Member Avatar for ToweyLeake

When I run my program it prints out the number for the forty eighth sequence as being -132375223 when it should read 4807526976. What am I doing wrong? -Towey [code] # include <iostream> using namespace std; int main () { int x1=0; int x2=1; int fib; for (int i = …

Member Avatar for ToweyLeake
0
115
Member Avatar for sasho648

I'm writing a Level Editor but my program is shows the X,Y,Z positions like DWORD(unsigned long). I want to show them like a float but I can't find a formula or function for that. If you know something please reply!

Member Avatar for sasho648
0
347
Member Avatar for jen140

Hello. I've been doing a small application that will go (using only unsigned integer values) from 0 to 4026531840 and print them out. My code is next: [CODE]#include <stdio.h> #include <inttypes.h> int main(void){ uint64_t cnt; for(cnt=0;cnt<=4026531840;cnt++){ printf("%d\n",cnt); } } [/CODE] The only problem that i have is the last numbers …

Member Avatar for jen140
0
187
Member Avatar for phfilly

Hi All! I got a problem with one of my files where I can't upload a file to my database. I want to save the path in the db but it gives me an error and says the "Filename cannot be empty". In my .html [CODE] Upload a profile picture(50px …

Member Avatar for diafol
0
194
Member Avatar for I<LateNupurGuha

[INDENT]:icon_lol:Suppose there is a (method) [U]call stack[/U]; An [B]exception[/B] has occured in a deep level but not handled there yet; So the corresponding [I]finally block[/I] at that level is executed first and then [B]it[/B] is thrown to be propagated up through the [U]call stack[/U] and at each step if [B]it[/B] …

Member Avatar for I<LateNupurGuha
0
118
Member Avatar for gahhon

[CODE] public class Planet { private String planetName; private int travelDay; public Planet(){ planetName = "Earth"; travelDay = 365; } public Planet(String planetName, int travelDay){ this.planetName = planetName; this.travelDay = travelDay; } public void setPlanetName(String planetName){ this.planetName = planetName; } public String getPlanetName(){ return planetName; } public void setTravelDay(int travelDay){ …

Member Avatar for gahhon
0
130
Member Avatar for CalebS

I've looked into all the other threads and I am still lost. [CODE]#include<iostream> #include<cmath> using namespace std; //Prototype's ////////////////////////////// double functiony(double); double area(int, double, double); // Main ////////////////////////////// int main (void) { //Solving for y=x^3 using k as y and d as x double k; double d=0; k = functiony(d); …

Member Avatar for mike_2000_17
0
167
Member Avatar for stereomatching

[code] void test(std:shared_ptr<some_type> A) {.....} [/code] would make a copy of a shared_ptr what if we pass a shared_ptr into a function like [code] void test(std:shared_ptr<some_type> const &A) {.....} [/code] Is this safe? Thanks a lot

Member Avatar for stereomatching
0
190
Member Avatar for Squit

hello i have a problem with the % sign in to the url links for example my url is [code]http://www.site.com/1411/The-trafic-is-increased-to-20%-this-year[/code] that % is used like a variable in browsers and is not clickable in IE 8 or it gives errors in others browsers! removing % is not an option because …

Member Avatar for Squit
0
1K
Member Avatar for phfilly

Ola! I'm still kind of new with the whole assembly language and just need some help with this program i'm writing. What I want it to do is to ask a question -like for a number and then store that inserted number in a variable. And then test whether its …

Member Avatar for AceStryker
0
1K
Member Avatar for aru211285

Hi all, I queried results form MySQL database using php and stored the results in a text file. Now i want to store the text file contents in a single string variable. I would be thankful if anyone could help me with this. Thanking you. Have a nice day. cheers, …

Member Avatar for ddymacek
0
91
Member Avatar for fredfletcher

[I][B]Hello,[/B][/I] I would have contacted the website's owner, but there's no email on the site. I'm looking for someone's help on this. By looking at the code below, the link(s) open in a new window, and wanted to know if there's something that can either be added, modified or deleted …

Member Avatar for ddymacek
0
235
Member Avatar for Zssffssz

When on the digital mars website he advertzed that their compiler could use all 80bits of a 32bit machine. What the heck does this mean?

Member Avatar for Narue
0
63
Member Avatar for speak1

So I need to do this following program and I'm totally confused at the moment. Can someone please help me? Your help will be greatly appreciated. Objective: 1. Write a program that incorporates function modules 2. Use appropriate function declarations 3. Use function headers and write function procedure 4. Use …

Member Avatar for Zssffssz
0
465
Member Avatar for jayjay85

i need to use crossfade function to to this. i need some help please, i am new at this. any help would be great. i have done a program than makes a double image but this need to happen slowly.

Member Avatar for marksman123
0
611
Member Avatar for linhj

Hi All, I am tring to using the below function to read in a .txt file, which consist of a 10x10 matrix number. I just cannot find out where goes wrong, it appears such a funny number -858993460... [CODE]void readinput(int in[][MAXCOLS]) { int row ,col,ip; //Declare row,col, ip as int …

Member Avatar for linhj
0
3K
Member Avatar for Efficience

I have written a code for checking vfork in unix. But I am getting the ambiguous behavious. When I am using exit(0) in child process , output is fine i.e; output :- Before fork I am a child My name is parent child PID=> 23133 kValue => 2 ] But …

Member Avatar for Efficience
0
296
Member Avatar for kokila1234
Member Avatar for gomedigap

Hi all. I've been trying to get this code to post to a https url for some time without any remedy. I'll give you all a basic rundown, I have a site that we're trying to generate leads off of, and we have a 3rd party crm system that we …

Member Avatar for gomedigap
0
6K
Member Avatar for namratag

What is the difference between Release and Debug modes in Visual Studio while building a project?

Member Avatar for Ancient Dragon
0
208
Member Avatar for Zssffssz

Ok simple question. Google didn't bring up much and I need this. This is the question: How do I interact with non-text files in a simple console app?

Member Avatar for vijayan121
0
175
Member Avatar for nikita.

I want to write a shell script to automate the ftp session, in that it should take the inputs like the server ip , username , password from a different file who path i'll pass. and also the validations that if the server path exits or not.

Member Avatar for nikita.
0
207

The End.