199,111 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for joeltonnberg

Hey! I'm using an ajax script to load external html pages into a div tag. The script works just fine, however I would like to use it in a jump menu. [CODE]<select name="Jumpmenu" > <option value="1" onclick="ajaxpage('page1.php', 'DivId');" >Option 1</option> <option value="2" onclick="ajaxpage('page2.php', 'DivId');" >Option 2</option> </select>[/CODE] The script works …

Member Avatar for essential
0
121
Member Avatar for Isy

Hi everyone, I need your help on deciding what type of mobile game should I create for my project, I will also need help on how to create a mobile game from scratch if anyone has good source such as website or books please let me know I will really …

Member Avatar for Isy
0
94
Member Avatar for binamy1

I have been programming a compressor based on lz for my school project.When i used fixed block sizes there were no problems but now when i started using variable block sizes it crashes.The compression takes place without much problem but decompression crashes and debuggers does not report any error. Uncompression …

Member Avatar for binamy1
0
140
Member Avatar for TheBeast32

Hi, how would I get the temperature and percentage of load for my CPU, GPU, and other things like the hard drive? I'm on Windows XP. Is there something in the Win32 API or what?

Member Avatar for jephthah
0
3K
Member Avatar for joeltonnberg

Hey, I have the following query which I would like to insert into another table which I guess would demand some kind of loop or such. The query: [CODE]$colname_GetName = "-1"; if (isset($_SESSION['MM_Username'])) { $colname_Name = $_SESSION['MM_Username']; } mysql_select_db("db_name"); $query_Recordset = sprintf("SELECT * FROM Table WHERE UserName = %s", GetSQLValueString($colname_GetName, …

Member Avatar for Designer_101
0
89
Member Avatar for stoefln

anyone has an idea where i can setup the language (the dateformat) for my ms sql database?? Allways thought i can configure the DB user so that the DB accepts german datetime values- any ideas??

Member Avatar for akronymn
0
214
Member Avatar for ithelp

which can pick up executable if it is available in PATH like [code] int execv(const char *path, char *const argv[]); [/code] I do not want to specify full path , I want it to search in my PATH and execute .

Member Avatar for jephthah
0
88
Member Avatar for lancevo3

Hey, I'm working my first program that includes structures. For some reason though I have having errors with my getline. [code=cplusplus] inFile.getline( studentar, 20 ); [/code] My getline is being used in a function, so I don't know if that effects anything. The studentar array is declared as type student …

Member Avatar for lancevo3
0
108
Member Avatar for babno

I need to add elements in the middle of a user created array. The closest I found was splice, but from what I read it can only replace. example of what I want to do it take list monkey marble oreo sandle monkey marble smile phone oreo sandle

Member Avatar for babno
0
2K
Member Avatar for snigdhashree

I am a 3rd year student.this is my minor project.i have to make a project using vb as front end & oracle as back end.In this i have to design a form in vb which contains company information.The companies which are coming in campus for selecting students have some criteria.these …

Member Avatar for Stylish
0
97
Member Avatar for snoopy198520

Do i still need to append? and do i get the string break. i try cannot only the first line break. how are you? I am fine. What about you? I fine too! the txt file is : How are you? I am fine. What about you? I fine too! …

Member Avatar for snoopy198520
0
129
Member Avatar for fiddler80

I have over 50 sites on a host that provides Cpanel for each site. Through the Cpanel, I can do manual backups of the public_html directory, was well as the MySQL databases for each site, and have had those backups mailed to me quite successfully, but to do each site …

Member Avatar for bbeauford
0
254
Member Avatar for deedub

I need to write the while loop to terminate with a '|' character program does not terminate correctly when using two cin numbers in the same line or even on separate lines (i.e. cin>>num1>>num2;) when the program does terminate with ^Z it just scrolls a long list of the last …

Member Avatar for tux4life
0
2K
Member Avatar for ahoest

Hey, Does anyone know how I can draw lines between the textfields? If I ask for x and y then this is relative to the component itself.. Also now I have made a separate class but this means that when I draw the lines the textfields disappear they cannot exist …

Member Avatar for peter_budo
0
880
Member Avatar for nonang

New python autodidact: please help with sorting the list "weather" in python using bubble sort, insertion sort, merge sort, quick sort, and selection sort.

Member Avatar for jlm699
0
117
Member Avatar for BlackStar

I'm having a problem with cin.get(). I'm prohibiting the user, that he can only enter 5 keys. and each key does something, like a MENU. Press 1, if you want this, etc. [ICODE]char choice[5]; cout<<"ENTER YOUR CHOICE"<<endl; cin.get( choice, 5); switch (choice)[/ICODE] Okay, when I run this, the compiler gives …

Member Avatar for Narue
0
117
Member Avatar for RahulV

Hi, Consider there are 3 tables as following: Table1 ============================================================================================= | SerialNum | Date | B | C | D | Table2Number | Table2_Amount | Table3Number | Table3_Amount| ============================================================================================= | | | | | | | | | | | | | | | | | | | | | …

Member Avatar for aktharshaik
0
110
Member Avatar for pradeepfusion

Hi, Everybody! I have one problem, I want to use same sql query in MySql and SqlServer. In case of Sql Server generally you have to write query in this way- select * from databasename.dbo.tablename but in case of MySql you have to write query in this way- select * …

Member Avatar for achristov
0
109
Member Avatar for SheSliq

i am trying to validate a form so that all required fields are filled before submission. If they are not filled then an error message should appear.. But I keep getting this error: "Parse error: parse error, unexpected '{' in C:\Program Files\wamp\www\template1\updateReceipt.php on line 31 " Here is the code …

Member Avatar for nav33n
0
139
Member Avatar for Clockowl

Hey guys, With this defintion: sss.hpp [code=cpp] #include <fstream> #include <string> #include <map> namespace sss { using namespace std; class node { public: multimap<string, string> values; multimap<string, node> children; string &value(const string name, int index = 0); node &child(const string name, int index = 0); //... }; typedef pair<string, string> …

Member Avatar for ArkM
0
92
Member Avatar for tarview

I'm working on updating a website using as much AJAX as possible to give it a very streamlined feel. I've been able to do it for the most part, but have hit a snag. Let me first explain what I have working. I have tabbed navigation at the top of …

Member Avatar for tarview
0
125
Member Avatar for DREAMER546

Hi please can anyone run this code for me in Linux .. i want to know what's the output [CODE=c++] #include <stdio.h> #include <unistd.h> #include <sys/types.h> int main(){ for (i = 0; i < 3; i++) { if (fork() != 0) { printf("ONE"); if (fork() == 0) { printf("TWO"); } …

Member Avatar for Nick Evan
0
149
Member Avatar for veledrom

I return result like this. [code] $xmlDoc=simplexml_load_file("myXML.xml"); $search = $xmlDoc->xpath("/customer[@id='$ID']"); foreach ($search as $key => $customer) { echo $id = $customer["id"]; } [/code] Is there any chance to DELETE or UPDATE above particular record without creating whole XML file again like we do in database? Thanks

Member Avatar for fpmurphy
0
64
Member Avatar for hacker9801

I was thinking about making an avatar system (like Gaia Online; I've tried befor but it's hard). Can anybody help me with one? I'm gonna make an open source site like Gaia... I can't do it by myself, though.

Member Avatar for jmvazq
0
611
Member Avatar for akshit

Hi. I am working on a php-mysql project. My table contains a field called "ID", which i have declared as teh PRIMARY key. but what i want is, that when the user tries ot insert record B into the table, an **ERROR message** should be displayed, showing that a record …

Member Avatar for akshit
0
132
Member Avatar for chris5126

Hi, I wish to add the following to my web.config file: [code] <appSettings> <add key="networkDrive" value="C:\test"/> </appSettings> [/code] But everytime I add it i get the following error: [code] Sections must only appear once per config file [/code] I looked in the file to see if it appeared more than …

Member Avatar for achristov
0
298
Member Avatar for mashimaro

Hey, i'm writing a client-server, so far i've got this: my structure [CODE]typedef struct mesg{ long type; pid_t pid; char data[64]; } MSG;[/CODE] the client [CODE]int main(int argc, char *argv[]){ int MSGid, msglen, mpid; MSG m; MSGid = msgget(KEY, 0600); while(1){ memset(&m, 0, MSGLEN + sizeof(long)); m.type = 1; mpid …

Member Avatar for mashimaro
0
183
Member Avatar for raghu6152

Hi Friends, I just want to output the xml using php and mysql. Like If i have data in jan month and feb. I wanted to display that in xml sheet. How to go about this please help me. Regards Raghu

Member Avatar for raghu6152
0
88
Member Avatar for sreya.n

hi all, i have a problem with the array search in php.I have an array like ("apple","orange","mango") and i have a variable as $var="apple 1". Now i want to search this $var is exist in the above array and if so want to retreive that element from the array? that …

Member Avatar for nav33n
0
86
Member Avatar for elbashamoe

hey everyone need some help with a little homework assignment i need to make a program where a user is trying to book a seat on an airline in either first class or coach and if the seat that the passenger has choose is taken it either gives him another …

Member Avatar for tux4life
0
105
Member Avatar for Merlin33069

I included a file in one of my sites via an iframe (simplest solution and by FAR not permanent), just to get a feel for the way it might look on the site However, after adding the iframe to the site, i have no other data, the page is saved …

Member Avatar for sassenach
0
143
Member Avatar for Esben

Hello, I have several Objects in switch I need to set the text that should be in a string, ill show an example of how i have done it. It´s all made in a JPanel using NetBeans. private void comboBoxMajorChoosingActionPerformed(java.awt.event.ActionEvent evt) { comboBoxMinorChoosing1.addItem("English"); comboBoxMinorChoosing1String = comboBoxMinorChoosing1.getSelectedItem().toString(); } private void comboBoxMinorChoosing1ActionPerformed(java.awt.event.ActionEvent …

Member Avatar for peter_budo
0
91
Member Avatar for Psykocyber

Hi I'm having a problem with this piece of inheritance code. When compiling it displays this error " 'getAverage' : is not a member of 'Person' " but shouldn't the casting overcome that problem? Do i really need to have a virtual function in "Person" for this to work? Thanks …

Member Avatar for Psykocyber
0
129
Member Avatar for chris5126

Hi, Im creating a website that will be used to monitor servers, the user can add and remove servers and the servers list will be constantly chaning. I need to create a generic page to display the monitoring results that will adapt depending on which server the user selects. The …

Member Avatar for mail2saion
0
190
Member Avatar for abhi_elementx

In this code : [CODE] #include <iostream> using namespace std; class Singleton{ private: Singleton(){} public: static Singleton* getInstance(); void myFunction(){ cout<<"\nmyFunction() called.."; } }; Singleton* Singleton :: getInstance(){ static Singleton* obj = NULL; if(obj == NULL){ cout<<"\nCreating new instance..."; obj = new Singleton(); cout<<"\nReturning instance..."; } else{ cout<<"\nan old instance …

Member Avatar for MrSpigot
0
103
Member Avatar for bhanu1225

Hello all. For getting the values from text field, we use [COLOR="Red"]".get"[/COLOR] function. I would like to get all the contents from the [COLOR="Red"]text area[/COLOR]. What is the function to use.

Member Avatar for Mearah
0
95
Member Avatar for Nawsheen

I have been surfing the net for hours but couldn't find anything as to whether it is possible to make a groupbox readonly. So if you can make it read-only how do you go about?Is there any code?Thanks

Member Avatar for omotoyosi
0
505
Member Avatar for sunshyne23
Member Avatar for ithelp
0
84
Member Avatar for Ortal

So Ive been working really hard to get a working ASP captcha to incorporate into my form (note, classic ASP not .net). I FINALLY got it working in a test area, the form looks like this: [CODE] <form action="<%=Request.ServerVariables("SCRIPT_NAME")%>" method="post"> <table border="0" width="570" align="center" cellpadding="1" cellspacing="0"> <tr> <td align="right" valign="center"><%=font4%><font …

Member Avatar for navertech
0
156
Member Avatar for Nawsheen

I have done half of my project on microsoft visual studio express edition 2008. However as the express edition does not support reporting i will have to use the professional edition. My question is will my project open in the professional edition.

Member Avatar for ithelp
0
97
Member Avatar for harrykokil

hi everyone.. i have a face recognition project to do in any language.. i have no clues on how to begin this.. can anyone plz send me an algorithm on face recognition using neural networks?? thanks

Member Avatar for ithelp
0
111
Member Avatar for smita123

Hi all, Could you please sugest me some code for building the GUI to browse a file and to upload using Swing. Thanks,

Member Avatar for smita123
0
147
Member Avatar for Joe Hart

Hi, This is my first post to this forum. I am just a beginner so I am not really sure what everything in my code does. Below is my python code. I would like to change the code to ask the user where the files are located and automatically update …

Member Avatar for Mearah
0
181
Member Avatar for vict0rjr

I'm creating a new class called album which is supposed to make an album and show pictures with caption. so.. Ok my problem is the methods section... i need help to set the array in the picture album and set the captions too can any one please help me out …

Member Avatar for peter_budo
0
100
Member Avatar for burger87

-------------------------------------------------------------------------------- Hey all. I'm a newbie at C++ and hope that you guys can guide me along. I recently got assigned a project and is needed to code it in C++, which I have almost zero experience with, so bear with me. =) I need to delete 3 log files …

Member Avatar for burger87
0
139
Member Avatar for ajithraj

[B]is there any way to disallow more than one login [/B] I mean , in IE we can log in a yahoo Mail with a number of mail id at the same time...But this is not allowed in Mozilla..... I want to implement this(like that in Mozilla) restriction in our …

Member Avatar for ajithraj
0
95
Member Avatar for JimD C++ Newb

Good afternoon, all! I'm in the process of writing a chat program. The server is completed, and if I simply telnet into the server with 2 different windows, 2 people can chat in fluid fashion. However, when I connect 2 clients, the chat appears in lock-step fashion. (ie. Client 1 …

Member Avatar for JimD C++ Newb
0
433
Member Avatar for sammo5889

Hi, just doing a uni assignment and have completed a majority of it, just asking if someone could please proofread and help me out with the last line as i can't get it to compile. heres my instructions: All objects that float through space are instances of the SpaceObject class …

Member Avatar for zyaday
0
116
Member Avatar for astroboy_x4

hello guys, just want to ask if you have a module for adding/deleting of registry key easily, I have tried reading some articles and they have given some of their examples.. but its not working... i'm working now on adding this registry key HKEY_CLASSES_ROOT Folder\shell\Use Zip Help\command ValueName = (Default) …

Member Avatar for ROYALPINTO
0
326
Member Avatar for julseypart

Hi, i have been trying to use the javascript confirmation box to delete files from a Gridview, however when ever i click "cancel" on the box it still deletes the file! i really need some help, heres the code i have: [code=c#] <asp:TemplateField HeaderText="Delete File"> <ItemTemplate> <asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="false" …

Member Avatar for mail2saion
0
153

The End.