199,124 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Niki_Fears

A new game development company, [URL="http://www.direwolfdigital.com/"]Dire Wolf Digital,[/URL] has officially announced itself to the world today and could be prepared to make a big splash in the gaming world come 2011. [ATTACH=right]15818[/ATTACH]The company shows some strong potential given their current make-up of seasoned veterans in the gaming and business world …

0
695
Member Avatar for TrustyTony

Here is my try of changing integers to English written numbers. Here corrected version 3 check: [CODE]from __future__ import print_function import random,sys if sys.version_info[0]==3: raw_input=input to_19 = ["zero", "one","two","three","four","five", "six", "seven", "eight", "nine", "ten", "eleven", "twelve", "thirteen", "fourteen", "fifteen", "sixteen", "seventeen", "eighteen", "nineteen" ] tens = ["","","twenty", "thirty", "forty", "fifty", …

Member Avatar for TrustyTony
0
1K
Member Avatar for angel_banned

Dear Friends, How can we control just for that programme only.. *************************************************** * FOREXAMPLE * *************************************************** * I tried and successfully done with auto clicker * * using Dev C++ on CCleaner. But the question here* * The mouse will keep clicker while Im minimize * * the CCleaner. The …

Member Avatar for iamthwee
0
134
Member Avatar for nahidhawk

Hi guyz....i am new here.... really appreciate if u can help me... i am also a newbie in coding..... i am trying to create a interface to average down variable amount of input and show them on screen as they type.... this is what i came up with..... and the …

Member Avatar for Taywin
0
1K
Member Avatar for idane

I have a site that im trying to put together and need some help with a checkbox. I have a form where the user enters data and when the user is finished they click on the submit btn witch populates the database. I want to enter a check box into …

Member Avatar for idane
0
105
Member Avatar for leeba

I am trying an exercise in a book and can't find my problem. I want an invoice class with a seperate implementation file and a file to use it. Below are the three files. [code] // invoice class //Invoice.h #include <string> using namespace std; class Invoice { public: Invoice(string,string, int, …

Member Avatar for leeba
0
97
Member Avatar for MichaelWClark

I have a bit of a unique situation. I am loading a DropDownList (asp.net) from a SQL DB. Let me explain my scenario. [Products] [DB2.dbo.Orders] -Product_ID -Order_ID -Product_Name -Order_Product_Name -Product_Price -Order_Product_Price -Order_QTY [DROP DOWN] [PRICE_LABEL]* [OrderQTY] +ADD ProdName1 ProdName2 ProdName3 [PRICE_LABEL]: *(gets pulled by Select Product_Price where Product_Name=DropDown.Selected) After I …

Member Avatar for 1stDAN
0
168
Member Avatar for Cort3z

Hi. I am working on a multi threaded program (game renderer). What I want to do is to loop through my threads and get a boolean value that tells me if the thread is done rendering or not. If all the threads is done, I want the code to go …

Member Avatar for Cort3z
0
68
Member Avatar for Jennifer84

Hi, I have a form that has Width & Height (1000,1000). Now if the users screen has for example this sizes (800,800). Then I want to adjust the Forms Width & Height to 800,800 so it fits the screen. So my question should be if it is possible to detect …

Member Avatar for ShadowScripter
0
263
Member Avatar for broli100

Hi, I want to put GLSL shader in my game to get realistic shadows and lighting. But when I use polygons GL_POLYGON ,they are totally black. Only thing that works OK with shader is glutSolid bullshit like glutSolidTeapot and glutSolidCube and so on. So I wanted to know the source …

Member Avatar for broli100
0
256
Member Avatar for stevedsmith

Hi, I am new to mobile software development. What is the best hardware and software configuration to use? My current desktop machine (Windows XP) doesn't have enough RAM to download the JAVA ME SDK (has 504 Mb needs at least 1 Gb). So either I have to upgrade my current …

Member Avatar for peter_budo
0
152
Member Avatar for sde_sal

Hi All, I had a issue with converting an inline js function to external file , I know it is pretty dumb question, But would really appreciate if you guys can help me in solving it. Steps - I cut the script function from a file and pasted in a …

Member Avatar for scrappedcola
0
59
Member Avatar for anuj_sharma

Hey guys, Please tell me how to load data from an excel file to a mysql database using jsp.

Member Avatar for kumar pushkar
0
113
Member Avatar for Jennifer84

Hi, I have 2 questions about the scrollbars on the Form. 1. Is it possible to change the Width of the scrollbar control itself? (Ex: for the vertical scrollbar in this browser window is about 1 cm.) 2. Is it possible to change the Color of the scrollbar in any …

Member Avatar for ShadowScripter
0
516
Member Avatar for Pytho

Hi again This time I have one kind of bigger problem. I have to bind single click and double click with Tkinter. So, I tried this: [code=python] root.bind("<Button-1>", single_click) root.bind("<Double-Button-1>", double_click)[/code] That doesn't work. What I can try next? How to execute function X on double click and function Y …

Member Avatar for Pytho
0
108
Member Avatar for mandar2886

I want to do a project in J2ME for 100 marks. Can anybody suggest me some interesting topics in J2ME.

Member Avatar for Stefano Mtangoo
0
64
Member Avatar for SHENGTON

Hello, good evening. :) I got some problems with the "Bubble Sort" and "Selection Sort". My "Insertion Sort" is already ok. I just can't figure it out with this problem. Hope you can help me with this and explain it to me my mistakes. Here's the whole code: [CODE=C]#include<stdio.h> #include<conio.h> …

Member Avatar for Adak
0
133
Member Avatar for Jennifer84

Hi, It is possible to drag a Forms width. What I want is to prevent a user to drag the Forms width more than the value 405. I have tried out with the code below but nothing happens when I drag the width of the form. Thanks! [CODE] private: System::Void …

Member Avatar for Jennifer84
0
97
Member Avatar for litlemaster

hello, I am a student and I am trying to build an application to send SMS. For that I have to modify this source code at code project article [URL="http://www.codeproject.com/KB/cs/SMS.aspx?msg=3533311#xx3533311xx"]http://www.codeproject.com/KB/cs/SMS.aspx?msg=3533311#xx3533311xx[/URL] SmsSubmitPdu pdu; pdu = new SmsSubmitPdu(richTextBox1.Text, textBox1.Text, ""); GsmCommMain comm = new GsmCommMain(); CommSetting.comm.SendMessage(pdu); I have used this code to …

Member Avatar for Lusiphur
0
111
Member Avatar for Missnat71

Hello, I have an assignment due tomorrow and getting help by bugging you guys is my last resort... I have tried everything else. I'm extremely new at programming and taking my first course in Pascal Delphi. I'm using Delphi 6 and my assignment consists of using data within a .txt …

Member Avatar for TrustyTony
0
154
Member Avatar for Duki

How can I specify which sheet I want to write to by name? For example, I want to specify that the sheet I should be modifying should be labeled "212". Also, perhaps a more challenging question. How can I ensure that the sheets I create are always in alphabetical order? …

Member Avatar for Duki
0
170
Member Avatar for aragmus

i would to backup textfiles from 24 hours ago using c#...what is the best method? thanks

Member Avatar for Lusiphur
0
60
Member Avatar for kibr987

Hi, I am trying to figure out graphics in C# and I wanted to start by drawing a line on the form. I was following msdn example. The problem is - where shall I put those code! I have tried this, but it didn't work. Can any one suggest any …

Member Avatar for Lusiphur
0
117
Member Avatar for freiheit

Hello , Im struggling lately to insert a variable to a database table. The total columns of the table are 52 :confused: Here is the insert into database script : [CODE]<?php require_once('../Connections/my_connection.php'); ?> <?php if (!function_exists("GetSQLValueString")) { function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") { if (PHP_VERSION < …

Member Avatar for freiheit
0
102
Member Avatar for divya bangroo

how can we run any project which is already made by some other person and we have all the files of that.if it is in java or vb.net project and we have the folder that contain all the files of the project

Member Avatar for steph47
0
111
Member Avatar for JOUATT

Just a quick question. I want to post what is in the database but if the field is empty then i want it to say "No Date" else post the date in the table. At the moment my code only shows the "No Date" even when I know there is …

Member Avatar for EvolutionFallen
0
99
Member Avatar for fourty

[How do i find the serials to the trial versions from within the download packages] [Thanks]

Member Avatar for fourty
0
65
Member Avatar for SnakeJam

I have been trying to make a drop-down console for my game. I have gotten the console to "drop-down" and all that, but when it comes to input, I have issues (things crash when the user types stuff). In the this particular source file, I have the main function which …

Member Avatar for SnakeJam
0
141
Member Avatar for aldrin12

my prof give us assignment but she doesn't explain what to do im just asking what will be the code to this problem: write a program that will find the area of square.. (look for the relevant formula) ty for the one who will help ty very much

Member Avatar for Stefano Mtangoo
0
201
Member Avatar for Awah Mohamed

guys can i call this a database and how to use it this is the file mysql.php [CODE]<?php if(!defined("SQL_LAYER")) { define("SQL_LAYER","mysql"); class sql_db { var $db_connect_id; var $query_result; var $row = array(); var $rowset = array(); var $num_queries = 0; // // Constructor // function sql_db($sqlserver, $sqluser, $sqlpassword, $database, $persistency …

Member Avatar for drjohn
0
160
Member Avatar for acrocephalus

Hello! I am trying to write a piece of code to open a file using a 'while' loop. It should ask for the file name and, if it does not exist, ask for it again. This is the code: [CODE]while True: try: fhand = open(markFile) except: print 'File', markFile, 'cannot …

Member Avatar for acrocephalus
0
146
Member Avatar for ilyas_varol

Hi everyone can anybody give me detail information about mission of $_post and $_get and differences between these functions? Also can you give me information about forms and user inputs in php code? Thank you

Member Avatar for test2009test
0
157
Member Avatar for technopup

Hello, I wonder can someone help me. [onkeyup] I am trying to transfer user input fields from a form so that the user can preview what they have entered in a div on the same page (i.e. prior to submiting). e.g. 1st Line - Name: This is my Name 2nd …

Member Avatar for technopup
0
441
Member Avatar for Jesi523

I have a gridview control where the last control is a hyperlink that allows someone to select that link and sign up for a class: [CODE]<asp:GridView ID="GridView1" runat="server" DataSourceID="SqlDataSource1" AutoGenerateColumns="False" OnSelectedIndexChanged="GridView1_SelectedIndexChanged" CellPadding="4" ForeColor="#333333" GridLines="None"> <RowStyle BackColor="#EFF3FB" /> <Columns> <asp:BoundField DataField="eventAuid" HeaderText="eventAuid" ReadOnly="True" SortExpression="eventAuid" InsertVisible="False" Visible="False" /> <asp:BoundField DataField="eventOccurrencesAuid" HeaderText="eventOccurrencesAuid" SortExpression="eventOccurrencesAuid" …

Member Avatar for Jesi523
0
110
Member Avatar for garea

I have a problem with recursive imports in C++. I have this 2 classes: [CODE] //File A.h #include "B.h" class A{ public: A(){}; void doA(B b){ b.doB(); } } [/CODE] [CODE] //File B.h #include "A.h" class B{ public: B(){}; void doB(A a){ a.doA(); } } [/CODE] I tried to use …

Member Avatar for rodc
0
815
Member Avatar for Kanoisa

Hiya, Im trying make a simple cards game and i was wondering how in c++ can i use the characters ♠ ♣ ♥ ♦ , i think it would be betetr than me printing out the words each time, Are these in some extended character set anywhere? i tried googling …

Member Avatar for Kanoisa
0
1K
Member Avatar for Jackie91

[CODE] #include <cstdlib> #include <conio.h> #include <fstream> #include <sys\stat.h> #include <string> #include <iostream> #include <iomanip> using namespace std; struct Student_Record { string name; int id; string ic; string parentName; string address; int telNum, parentTelNum; bool deleted; }; Student_Record Student; #define STUDENT_NAME "Student.txt" Student_Record Employee; char choice; fstream *fs = NULL, …

Member Avatar for ShadowScripter
0
94
Member Avatar for vino4all

I want to get the selected text from the i-frame, where the source is from another domain. [code] <html> <head> <script> function getselText() { var iframe = document.getElementById("my"); var txt = getIframeSelectionText(iframe); document.aform.selectedtext.value = txt; } function getIframeSelectionText(iframe) { var win= iframe.contentWindow || iframe.contentDocument.defaultView; var doc= iframe.contentDocument || win.document || …

Member Avatar for fxm
0
1K
Member Avatar for Freefrags

Im trying to create a boost thread which executes the following static function. [code=c] Updater::UpdateTrack(const std::string& sFolder) { //Do something } [/code] I cant seem to figure out how to pass the argument to the function i tried the following: [code=c] m_UpdateThread = boost::thread(&Updater::UpdateTrack,"test"); [/code] [code=c] m_UpdateThread = boost::thread(boost::bind(&Updater::UpdateTrack,"test")); [/code] …

Member Avatar for Freefrags
0
169
Member Avatar for P00dle

I'm making some sort of mistake in the following code: [CODE]use xPress_CR select * from (SELECT * FROM dbo.T_JOBS WHERE ENDDATEANDTIME = null UNION SELECT * FROM dbo.T_JOBS WHERE STATUS = 'Failed')[/CODE] Any idea what I'm doing wrong?

Member Avatar for P00dle
0
107
Member Avatar for LRNPHP

Hi Everyone. I have MySQL db with images in(MEDIUMBLOB); I would to display the images in a gallery fashion with a MySQL select command. Any help would be appreciated. Regards

Member Avatar for vibhaJ
0
105
Member Avatar for Pleasant Day

I have a web page of a javascript game I downloaded from the net, on the web site it works correctly. But if I save the web page to my hard disk and play the game the game graphics do not show, I would like to know why not. Here …

Member Avatar for Pleasant Day
0
137
Member Avatar for mgd00tz

import java.io.EOFException; import java.io.FileInputStream; import java.io.IOException; import java.io.ObjectInputStream; public class ReadSequentialFile { private ObjectInputStream input; public void openFile() { try { input = new ObjectInputStream( new FileInputStream("clients.ser")); } catch (IOException ioException) { System.err.println("Error opening File"); } } public void readRecords() { AccountRecordSerializable record; System.out.printf("%-10s%-12s%-12s%10s%\n","Account", "FirstName", "LastName", "Balance"); try { while …

Member Avatar for NormR1
0
1K
Member Avatar for PoisonedHeart

Hi guys, just wondering, would someone give me some advise of what what kind of software should I develop...maybe just a simple software...or a small software...whatever you call that...a software that would not take a lot of time in the development process...maybe...more or less than 3 weeks...what do you think?.. …

Member Avatar for vb5prgrmr
0
467
Member Avatar for karkar_87

I need some help regarding Paging on a Gridview. I have a few dropdownlists and textbox and a gridview. At first load, the gridview will be populated with data from the sql server. And, I did a search and it works for the first page. When I press the second …

Member Avatar for bfbfb
0
138
Member Avatar for Frederick2

[CODE=C++] #include <stdio.h> int main() { int iBAF=10; int iPlots=14; double dblFactor; dblFactor=iBAF/iPlots; //to get a floating point you need a cast! printf("dblFactor = %10.6f\n",dblFactor); return 0; } /* dblFactor = 0.000000 */ [/CODE] I thought C/C++ would offer a few benifits beyond pure assembler. Apparently I was wrong.

Member Avatar for Fbody
0
357
Member Avatar for srikanth2321

Hi, I think this a basic question but I'm not sure how to do it. I have a textbox1 which contains data in the following format : [code] Mass Fraction Intensity 79.05423 0.9366496 100.00 80.05423 0.0616264 6.58 81.05423 0.0016983 0.18 82.05423 0.0000252 0.00 [/code] Now I want the "Mass" column …

Member Avatar for finito
0
110
Member Avatar for goboxe

Hi, I am looking at functions that convert standard date to Julian data and vice versa. I tried to search the forum, but found nothing. Thanks, G

Member Avatar for tratak
0
124
Member Avatar for Awah Mohamed

hi guys . i need your help to start vb so please tell me how to start learning vb and where can i get free resorces and support

Member Avatar for Nikon70
0
112
Member Avatar for cristi08

It sais Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given on line74 and I tried a lot of things. here is code [$query="SELECT * FROM specificati,ofertant,suprafete,preturi,manopera WHERE ofertant.id_ofertant=preturi.id_ofertant AND preturi.id_manopera='Montaj parchet' AND preturi.id_manopera=manopera.id_manopera AND specificati.id_camera=suprafete.id_camera "; if (isset($query) && !empty($query)) { echo"<!--" . $query . "-->"; $result=mysql_query($query) or …

Member Avatar for rajarajan2017
0
532

The End.