199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for katties

Hi I have this question about a loop that would create many numeric-value drop downs on a page. So far I have managed to populate with javascript only one per page. I am trying to make a loop that would take various id-s of the 'select' tags in html, and …

Member Avatar for katties
0
232
Member Avatar for mania_comp

This application is currently offline. To enable the application, remove the app_offline.htm file from the application root directory. By removing that file, it works but why does itgets created automatically?

Member Avatar for anandd
0
2K
Member Avatar for rotten69

Hi everyone, I'm learning C# at the moment and really enjoying it. I'm wondering though how I can develop my own algorithms. do I need to read on data structures and algorithms? Is there a book for all programming languages so you can apply the knowledge to basically any programming …

Member Avatar for ddanbe
0
222
Member Avatar for a_lan

I have got very weird problem with a int variable. There is a code: #include <EEPROM.h> #define dht_dpin 14 byte bGlobalErr; byte dht_dat[4]; int a; void setup(){ pinMode(13, OUTPUT); a = 0; InitDHT(); Serial.begin(9600); delay(300); Serial.println("Humidity and temperature\n\n"); delay(700); } //end "setup()" void loop() { digitalWrite(13, HIGH); delay(300); digitalWrite(13, LOW); …

Member Avatar for a_lan
0
164
Member Avatar for Sadhikary
Member Avatar for kingsonprisonic

Hi all, **First of all please read the full article and then try to suggest me...** I want to make a java project on streaming video encryption. Where i will use two PCs 1 act like a media server and other act like a client. So a video file (example.avi) …

Member Avatar for kingsonprisonic
0
380
Member Avatar for daniel36

I am having the form <html> <head> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> <script src="form.js"></script> </head> <? mysql_connect('localhost','root',''); mysql_select_db('test'); $query="SELECT * FROM user"; $result=mysql_query($query); ?> <div id="contact_form"> <form name="contact" action=""> <fieldset> <label for="txn_unit" id="txn_unit">Txn Unit</label> <SELECT name="name" id="name"> <OPTION value="">SELECT</OPTION> <? while($row=mysql_fetch_assoc($result)) { ?> <OPTION value="<? echo $row['id']; ?>"><? echo $row['first_name']; ?></OPTION> <? } …

Member Avatar for daniel36
0
135
Member Avatar for klint.austero

What and how does shared namespace in C++ works? Are most of the variables, types, and procedures can be used in shared name space?

Member Avatar for Ancient Dragon
0
127
Member Avatar for nullifyQQ

User is supposed to type an input, and if it's not an integer, the user needs to type another. This repeats 3 times for 3 inputs which go inside an array. The integer checking works, but the problem is that when i display the 3 integers, they are all the …

Member Avatar for deceptikon
0
306
Member Avatar for michaelzip

Hello I had a problem uploading or adding a file on the database and shows the error stated on the title. The column holding the binary data was set to varbinary(MAX). I couldn't find what was my error because I was able to upload a 900kb MS Word Document but …

Member Avatar for michaelzip
0
586
Member Avatar for mattboy64

There is a small problem i have there is a small error that i didnt use to have with the boorland compiler I'm using xcode these days and in my switch case im trying to execute a function (as you can see, the "main" function) however it says that it …

Member Avatar for deceptikon
0
257
Member Avatar for erezz

Hi, I have a log file contain 28 lines, 1-I need to grep the line with the size next to that i need to grep the name from the line Example: Size element 1. 906K ykms2 2. 1.2M ykps1 2-if one or more of the lines are missing I need …

Member Avatar for erezz
0
211
Member Avatar for Divinedar

I am trying to reference a cell with a date from one worksheet to the other. I am using ='Statistics MVP'!A16 but it doesn't give me the date format it just gives me the number 41125 or any other number. When I format as a date form I get 1/0/1900 …

Member Avatar for Divinedar
0
109
Member Avatar for shiny27

Hi, here's a description of the problem I'm trying to solve: write words_to_int.php, which computes and outputs the integer that corresponds to the words that the user has entered. For example, if the user enters "two four one", your program computes the integer 241 and outputs it; if the user …

Member Avatar for pritaeas
0
158
Member Avatar for priebd1

Hello, I have a CSV file that has a dynamic number of columns and rows. I would like for each value in a row to be in an array and then that row to be in an array therefore creating a multidimensional array. I need this done in ASP. I …

Member Avatar for JorgeM
0
999
Member Avatar for anandschiru

I have two buttons Max and Min, if i click any one of the buttons it should show three more radio buttons called Age,Name,School, how to implement this help me out.

Member Avatar for Bachu
0
160
Member Avatar for PaliGap

I have a project where my code will have to coexist with code in web pages designed elsewhere. My code will use jQuery, and so there may be an issue if the parent page already runs jQuery (and maybe jQuery plugins). I would have thought the correct thing to do …

Member Avatar for riahc3
0
198
Member Avatar for daniel36

Displaying date 1970-01-01 instead of desired date. my code is date('Y-m-d',$rtTransaction->getAddedOn()); the date returned by the function is in format '1353658977',Please help me. Thank you.

Member Avatar for daniel36
0
367
Member Avatar for anandschiru

how to implement, onclick on radio button datepicker has to appear otherwise it should be hidden.

Member Avatar for anandschiru
0
178
Member Avatar for nasim64
Member Avatar for vasim jada
0
64
Member Avatar for icohibari

I have a radio box that has a php variable name in its radio name. How can I pass its value to another PHP file and it will become like this, for example: <input type='radio' name='choice_a' value='$answer'> It will become a $_POST['choice_a'] after I pass it in another page. But …

Member Avatar for Bachu
0
149
Member Avatar for hwoarang69

i am new to ajax and not sure why this isnt working. when user click on link in index.php than ajax should run. in ajax it will open a cart_del_item.php file where the main code will run. this way the page wont reload every time user hit the link in …

Member Avatar for pritaeas
0
250
Member Avatar for GlenRogers

I'm not sure where to ask this, if this is the wrong place let me know. I have password protect a dir on my website(the admin dir) but when I put the user and password in it takes me into that dir. Is there anyway i can make it open …

Member Avatar for GlenRogers
0
96
Member Avatar for rajsharma_85

Hi, How can I set the the cursor initially in the text box whenever my application executes? Please help. Thanks

Member Avatar for Rahul47
0
5K
Member Avatar for techyworld

Hello, I have an html5 form, I want to validate it and when clicking on submit, it calls the function register. The way i done it below is not working. Can you please help me? I think i should do it with javascript but i dont know exactly. <!DOCTYPE html> …

Member Avatar for imran18
0
252
Member Avatar for krystosan

from PySide import QtCore,QtGui import sys class ToolBarUI(QtGui.QMainWindow): def __init__(self,*args,**kwargs): super(ToolBarUI,self).__init__(*args,**kwargs) self.floatingToolBar() pass def buttons(self): self.btnVLay=QtGui.QVBoxLayout() self.incSavbtn=QtGui.QPushButton("Save") self.emailbtn=QtGui.QPushButton("Email") self.upldbtn=QtGui.QPushButton("Upload") self.setPrjbtn=QtGui.QPushButton("Set Project") self.setThumb=QtGui.QPushButton("Set thumb") self.shwMatbtn=QtGui.QPushButton("Show Material") self.fixtexbtn=QtGui.QPushButton("Fix Texture Paths") btns = [self.incSavbtn,self.emailbtn,self.upldbtn,self.setPrjbtn,self.setPrjbtn,self.setThumb,self.shwMatbtn,self.fixtexbtn] [self.btnVLay.addWidget(each) for each in btns] def floatingToolBar(self): self.buttons() self.setLayout(self.btnVLay) self.show() pass if __name__ =='__main__': app = QtGui.QApplication(sys.argv) app.setStyle("cleanlooks") win …

Member Avatar for krystosan
0
1K
Member Avatar for Vasthor

not working: // range for for (int (*row)[4] : ia) { for (int col : *row) cout << col << " "; cout << endl; } // error: cannot convert 'int*' to 'int (*)[4]' in initialization. working: // range for for (int (&row)[4] : ia) { for (int col : …

Member Avatar for Tumlee
0
941
Member Avatar for WDrago

All, How do I get the `readSensor()` method to run in threads? Thread location1Thread; Thread location2Thread; Logger location1 = new Logger("187.20.150.20", 2000); Logger location2 = new Logger("187.20.150.21", 2000); // The next 2 lines lines result in the following error message: // "An object reference is required for the non-static field, …

Member Avatar for darkagn
0
214
Member Avatar for fawza

hi i want sql query to insert encrypted passwrd ?? foreample if user password : 123456 what is the sql query to insert it incrypted

Member Avatar for Rahul47
0
260
Member Avatar for neoanomally

Hi all. I have a process that checks the last time a file was updated. If the data is over 3 minutes a separate perl script is started. The problem is that second script takes 5-10 seconds to run. Is there a way to start the second script, but continue …

Member Avatar for Taywin
0
130
Member Avatar for ThatBitchYeah

i don't have a clue what is wrong here.... the program is supposed to add, subtract, multiply and divide two real numbers. #include<stdio.h> float add(float x, float y); float subtract(float x, float y); float multiply(float x, float y); float divide(float x, float y); int main (void) { int choice; float …

Member Avatar for CGSMCMLXXV
0
159
Member Avatar for Dewey1040

So I'm using the >> operator to read objects from a file one by one. I am simultaneously counting the objects and need to read them again one by one to print from a certain point. inFile.clear(); inFile.seekg( 0, ios::beg); Doesn't seem to work for me, and I assume it …

Member Avatar for CGSMCMLXXV
0
155
Member Avatar for GraficRegret

I am trying to adjust my upload code to handle multiple uploads at the same time, I have searched and found all kinds of code that says to wrap my current upload scrypt inside of it and just change my file system to an array but every time I do …

Member Avatar for GraficRegret
0
156
Member Avatar for filxy

hey guys can someone help me with this i am stuck here where do i define a loop to add more nodes in the linked list or any other way to define nodes itslef in the code class Program { static void Main(string[] args) { List obj = new List(); …

Member Avatar for tinstaafl
0
228
Member Avatar for GlenRogers

Hi, I have this login form <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Admin login</title> <link href="../css/submit.css" rel="stylesheet" type="text/css" /> <link href="../css/template.css" rel="stylesheet" type="text/css" /> <body> <img alt="full screen background image" src="../images/background.jpg" id="full-screen-background-image" /> <a href='../php/index.php'><span class="adminlinks">Home</span></a> <form class="form" action="login.php" method="post" enctype="multipart/form-data" name="login_form" id="login_form" style="margin-bottom:0px;"> <h1 style="margin-bottom: 0px">Admin Login</h1> …

Member Avatar for GlenRogers
0
788
Member Avatar for mumaga

I have a new game item in the menu bar, was wondering if anyone got suggestions on how to accomplish that! Thanks :)

Member Avatar for tux4life
0
178
Member Avatar for waddaharafeh

# **I Need a Code For This Question Please** # Suppose you have a text file containing the name of salesperson followed by 3 numbers representing his sales during a certain period: Ali 30 40 60 Khaled 44 99 88 Suad 88 90 60 ..... .... You are requested to …

Member Avatar for peter_budo
0
227
Member Avatar for KickingHorse

<!-- See http:kinghorsemedia.ca/bna/ Click on Trailer Configurator, pick a model and click on Accessories This is html that is loaded when tab_3 is clicked --> <div id="tab_3"> <h3><?php htmlout($model_name); ?> – Accessories</h3> <h4>Select Optional Accessories by clicking the boxes. </h4> <p>Click on underlined text to view image.</p> <form enctype="multipart/form-data" id="acc_form" …

Member Avatar for KickingHorse
0
330
Member Avatar for aisehpe

Private Sub txtDesc_TextChanged(sender As System.Object, e As System.EventArgs) Handles txtDesc.TextChanged Select Case Asc(e.KeyChar) Case 8, 32, 65 To 90, 97 To 122 e.Handled = False Case Else e.Handled = True End Select End Sub **I am encountering these errors: 'Handled' is not a member of 'System.EventArgs' 'KeyChar' is not a …

Member Avatar for tinstaafl
0
2K
Member Avatar for ThatBitchYeah

I have no idea hw to approach this... i need to end my program, shown below by the user pressing the letter Q on the keyboard. Help? #include <stdio.h> #include <stdlib.h> float subtract(float x, float y); int main (void) { float x, y; printf("Please enter a real number:\n"); scanf("%f", &x); …

Member Avatar for ThatBitchYeah
0
337
Member Avatar for manujkathuria

Hi, I would like to write a script to scp files from 1 server to other but the problem is if scp fails maybe because of server crash or somthing like that, i would like to start scp from the last file. i dont want to copy all the files …

Member Avatar for L7Sqr
0
115
Member Avatar for ajay.motah

Hi, im am having a smal issue whereby i am using a highchart api based on jquery to display stats. but the stats are stored statically in a table in html and throught which the graph are shown. Nnow i implemented php/mysql to get the data directly from db. So …

Member Avatar for EvolutionFallen
0
201
Member Avatar for Proglearner

I need a code snippet that causes the browser to zoom in on webpage content when a link within the webpage is clicked. Is there even a single, standard way to do this with all browsers? I've tried looking around for the code but haven't been able to find it. …

Member Avatar for Proglearner
0
236
Member Avatar for trinibaby

Hi, I'm having some trouble with my code that convert binary to decimal using recursion. this is my code #include <cstdlib> #include <iostream> using namespace std; void binaryToDecimal( int binaryNumber, int decimal, int weight ); int main(int argc, char *argv[]) { // binary to decimal int decimalNum; int bitWeight; int …

Member Avatar for great_learner
0
3K
Member Avatar for Woobag

Assuming that PHP_EOL directive and the new line "\n" do the same thing, neither are working. I've recently updated to PHP5 after a long hiatus from PHP altogether. I have tried putting the newline character in single and double quotes, but to no avail... Anyone have any suggestions? Thanks in …

Member Avatar for EvolutionFallen
0
2K
Member Avatar for danimischiu

Hello everyone:).I am curently developing a C# application and I need to make it check for updates. I've never done something like this before in C#.My application output type is windows application.So in need for some help please:D..

Member Avatar for tinstaafl
0
95
Member Avatar for nullifyQQ

I have this weird problem. If my constructor is [header] class Book { private: vector<string>Entry; public: Book(); [cpp] Book::Book(){ Entry.push_back("0"); Entry.push_back("1"); Entry.push_back("2"); The weird thing is that it does not update when I do more .push_back. I use: void Book::addItem(vector<string>newItem) { for(int f=0; f<Entry.size(); f++) { Entry.push_back(newItem[f]); cout<<Entry[f]; } } …

Member Avatar for L7Sqr
0
295
Member Avatar for daniel36

I am fetching data from mysql database and using it.but one column 'added_on's value is not fetching other row values of corresponding to 'added_on' value is previewing correctly.i am using it simply echo $vrow['added_on']; .

Member Avatar for AARTI SHRIVAS
0
172
Member Avatar for lukecalland

I need to program a way of storing and deleting multiple objects so that they stay around even after the program has been closed and that when you re-start the program you can search for an object? I'am using python 3.0 not 2.7. i.e. I create A class with different …

Member Avatar for vegaseat
0
167
Member Avatar for SyncMaster170

Heres my statement: SELECT A.AccountID, A.LastName, (SELECT SUM(InvCurrency) FROM B WHERE B.BillingPeriodStart Between '2012-01-01 00:00:00.000' AND '2012-12-31 23:59:59.000' AND A.AccountID = B.AccountID AND StatusID = 1 AND (ServiceCode=13 OR ServiceCode=14) AND (ServiceCode=15 OR ServiceCode=16) AND (ServiceCode=17 OR ServiceCode=18) AND (ServiceCode=19 OR ServiceCode=20) AND (ServiceCode=21 OR ServiceCode=26) ) AS 'Paid' FROM …

Member Avatar for BitBlt
0
215

The End.