199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for davy_yg

Hello, Rather then retyping the question, perhaps I can just place the link: http://ellislab.com/forums/viewthread/238828/ I already posted the question in CI forum, yet still does not find the answer yet. Perhaps if anyone can help me solve this problem would be great.

Member Avatar for davy_yg
0
321
Member Avatar for catastrophe2

hello we have to make a program that grades multiple choice exams from input files by the user and outputs the id of each student followed by their appropriate score. here are the input files: > exam file abcdefabcdefabcdefab 1234567 abcdefabcdefabcdefab 9876543 abddefbbbdefcbcdefac 5554446 abcdefabcdefabcdef 4445556 abcdefabcdefabcdefabcd where the first …

Member Avatar for catastrophe2
0
226
Member Avatar for amrita111

I am calling an mvc controller method vaia ajax call..When i put debugger on then that controller method is called sucessfully otherwise my ajax call is failing. What to do?

Member Avatar for LastMitch
0
99
Member Avatar for kerek2

Hi All's, really need your's help regarding this issues. I have one Access Database where the Table = ST , Column =DATE(Datetime),CLICK(Integer). I want to get the total value form CLICK column by Month.I'm already tried with this but cannot : Dim cmd As OleDbCommand = New OleDbCommand("SELECT * FROM …

Member Avatar for kerek2
0
560
Member Avatar for LucyLogic

Hey guys, I need assistance with my program need to write a program that writes a series of random numbers to a file. Each random number should be in the range of 1 through 100. The application should let the user specify how many random numbers the file will hold. …

Member Avatar for LucyLogic
0
10K
Member Avatar for Remy the cook

I am trying to extract blogs related to economy using the RSS feeds in python. I have no idea how to get a specific number of blogs and how to get those blogs in a particular domain (like economy). My project requires analysing these blogs using NLP techniques, but I'm …

Member Avatar for Remy the cook
0
2K
Member Avatar for Jamblaster

I have been reading about exec() and passthru() and system() and different ways to use these, but so far not one of them is working. The Closest I have gotten is to get a request from CMD printed up on the page and so I researched how to pass a …

Member Avatar for Jamblaster
0
7K
Member Avatar for Dane2259

I'm just trying to echo a string to the browswer with the following code: <!DOCTYPE html> <html> <body> <h1>Hello World!</h1> <?php echo "My first PHP script!"; ?> </body> </html> but it doesn't show up in the browswer. The "Hello world!" header shows up but not the php statement. I know …

Member Avatar for broj1
0
334
Member Avatar for Nebil

i have a rich text box that displays items.These items have column names.The column names are loaded when the form loads.They hold values as rows.These rows are appended at a click of a button (when add button is clicked). At the bottom,let me say i have another field(total amount) in …

Member Avatar for tinstaafl
0
251
Member Avatar for cambalinho

i'm building a class with std::function for recive several parameters or none: class event2 { public: typedef std::function<void(...)> OnSomethingHandler; void operator() (...) { eventwithoutarg (...); } event & operator = (OnSomethingHandler Handler(...)) { eventwithoutarg(...) = Handler(...); return *this; } private: OnSomethingHandler eventwithoutarg(...); }; what i'm doing wrong with '...'?

Member Avatar for Ancient Dragon
0
7K
Member Avatar for brandon66

Hey guys i have a table made and when a value changes i want to update the table to the new value so other can see it on their screen. example ( if i update the status dropdown too unavailable i want other users to see that change) Anyone have …

Member Avatar for brandon66
0
209
Member Avatar for kelley82879
Member Avatar for roshan_iiita

I am trying to run a shell script at a fixed time with the help of "at" command. But it doesn't seem to work. For example, I created a shell script named as "task" having content: vlc and schedule it to run at 21:52 with the command: $at -f task …

Member Avatar for alex.sergeev.311
0
698
Member Avatar for ricardo.driju

Hi everyone, please help me, i don't know how to insert a datepicker in VB4. I am trying to find something in the web, but there is no documentation about it. I will apreciate a lot the help. Thanks in advanced.

Member Avatar for mridul.ahuja
0
73
Member Avatar for alina.nazchowdhury

i have three buttons and i want to disable a button until the first is pressed. Can anyone give me a clue, i guess is with if statements, but i don't know to do it.

Member Avatar for mridul.ahuja
0
166
Member Avatar for Manuz

[CODE] SELECT count(*) FROM information_schema.`COLUMNS` C WHERE table_name = 'your_table_name' AND TABLE_SCHEMA = "your_db_name" [/CODE] TABLE_SCHEMA is required only if table name exists in more than one db

Member Avatar for Terry_2
0
300
Member Avatar for rony001

I have the following sql query in vb.net and ms access , how do I create a table from the query result ? `SELECT 'Table1' AS [Table], SUM(a) - SUM(b) AS Result FROM table1 union all union all SELECT 'Table2' AS [Table], SUM(a) - SUM(b) AS Result FROM table2 I …

Member Avatar for diafol
0
193
Member Avatar for Con7e

Hello to all! I've made this script the other day, and I need some input from you telling me how could I improve the code / style. There aren't problems with the code (it does the job) but I want it more organized and "simple" so that in 1 week …

Member Avatar for Con7e
0
275
Member Avatar for joshl_1995

Hello Community, I was wondering if there is a possibility to pass a dictionary to another program? What I want to do is send some information from one program to another, I want to use an array but I can't set keys and that is what I really need and …

Member Avatar for joshl_1995
0
217
Member Avatar for Satya Prakash_1

I am writing a GUI flow using wxPython which has 4 pages (or more). They way I have approached is creating 4 (or more) classes with each class defining its own static (background) and dynamic images / content. In my application I would then programmatically create instances class required and …

0
244
Member Avatar for cambalinho

see these sample: template <typename a> class test { test(a argument) { cout << argument; } }; //declare it: int main() { test<string> a("hello"); } how can i do it: test a("hello");

Member Avatar for cambalinho
0
389
Member Avatar for joshl_1995

Hello Community, I was wondering if it is possible to use an ID ($_GET) after a file in the address bar so it would look like this http://example.com/file.php/ID_HERE Instead of http://example.com/file.php?id=ID_HERE I know there is a way of doing something like that but I'm only getting it to work on …

Member Avatar for joshl_1995
0
480
Member Avatar for Andyjava

I have been busy with school and all that and currently working on an android multimedia app i'd like to use. i created a list and was able to filter the files on the sdcard (both .mp3s and .mp4s) but i have a problem. i want the app to launch …

0
120
Member Avatar for pythonnewbie16

Hey fellow programmers.Im a new python programmer.Only been learning for about 2 weeks.Below is a code I wrote this weekend.It is a simple text adventure.tell me what you think of it.Feel free to copy and paste it into python and run it yourselves.I'm open to suggestions. #Text adventure v 2.0 …

Member Avatar for snippsat
0
397
Member Avatar for branding4you

I have more than 40 or so fields on a php page, the fields dont conatain lots of data but they are allot for users to complete. Is there a way (I did this in VB.Net) to save once the user has edited a field or in VB case "Leave" …

Member Avatar for branding4you
0
267
Member Avatar for PulsarScript

Hi to all, i need to implement ofstream outfile code. Here is my code.How can i implement the ofstream outfile to ,so that the contents of the collection are re-written to the file before the application terminates. #include "stdafx.h" using namespace std; int _tmain(int argc, _TCHAR* argv[]) { int list[12]; …

Member Avatar for mridul.ahuja
0
128
Member Avatar for Владимир_1

Hello! I hve a question, how I can display last 3 years? i.e I would like to display them in the second format - 2013, 2012, 2011, All(...) P.S in All I want to display all other years... Here is code how I get year list now(it displays all years): …

Member Avatar for diafol
0
156
Member Avatar for jalpesh_007

Hello, I am working on a project in php.Now i want to send a mail to any e-mail id. How can i send it? Is there any mail API for PHP there or not? because right now i am running project on localhost(for testing).After completion of it i will upload …

Member Avatar for Jamblaster
0
325
Member Avatar for smitty68503

I am currently working on a project that has a textbox I need to do a validation on. I want to actually do two validations: 1) Make sure it is an integer and 2) Make sure it is divisible by 10. I have done a lot of searching and have …

Member Avatar for raidenx44
0
365
Member Avatar for Boudreauxcs

Please help me. How start PHP. I have complete some HTML language and CSS.

Member Avatar for veedeoo
0
415
Member Avatar for davidjennings

Hi all I am trying to call a simple function and I keep getting an error "Parse error: syntax error, unexpected ';', expecting '{' in C:\wamp\www\david\remoteaccess\index.php on line 15" This relates to the call and I don't understand why it does not work. I am using WAMP if that makes …

Member Avatar for davidjennings
0
773
Member Avatar for tqmd1

Dear I have following codes <?php // Connection variables $host="localhost"; $username="root"; $password=""; $db_name="asia"; // Connect to database $con=mysqli_connect("$host", "$username", "$password"); // Connect result if(!$con){ die('Error Connecting to Database: ' . mysqli_error()); //die '<script type="text/javascript">alert("Error Connecting to Database"). mysqli_error($con);</script>'; } else { echo '<script type="text/javascript">alert("Connected"). mysqli_error($con);</script>'; } // Database Selection $sel …

Member Avatar for veedeoo
0
154
Member Avatar for WildBamaBoy

I'm trying to send data back and forth between two computers using a Socket (TCP). The data is in the form of serialized Packet objects. At an early point in the application, it must send 25 or so Packets of the same type to the other side. See Case 1 …

Member Avatar for Ketsuekiame
0
543
Member Avatar for arifkutty

<?php //connecting to the database and running query $dbc=mysqli_connect('localhost','root','','sam_telephone'); $get_list_sql="SELECT id, CONCAT_WS(',', l_name, f_name) AS display_name FROM master_name;"; $get_list_res= mysqli_query($dbc, $get_list_sql); ?> <!--Building of drop down menu start from here--> <form action="post.php" method="post"> <select name="sel_id"> <option value="">--Select One--</option> <!--Starting while loop for fetching the array--> <?php while($x=mysqli_fetch_array($get_list_res,MYSQLI_BOTH)){ ?> <option value="<?php …

Member Avatar for diafol
0
294
Member Avatar for peter.son.10297

Hai everyone. I am new to this forum. Can anyone tell me the scope of jobs in java for the nest 10 years.

Member Avatar for JamesCherrill
0
170
Member Avatar for strRusty_gal

Hi eVeryone, Please help me on below code. I don't know what's the erorr mean. Error Message *test.c: In function ‘main’: test.c:12:2: warning: passing argument 2 of ‘tokenise’ from incompatible pointer type [enabled by default] test.c:5:6: note: expected ‘char **’ but argument is of type ‘char * (*)[100]’ test.c: In …

Member Avatar for strRusty_gal
0
297
Member Avatar for Dili1234
Member Avatar for Dili1234
0
159
Member Avatar for sanjit.dasgupta2

I am using Turbo C++ 3.0. Things to be noted : 1.) I am very new to C++ 2.) I can only use the above said compiler. 3.) List, vector, functions, classes, file-handling, structures, templates and objects cannot be used in the program as per my assignment. Here's my Code: …

Member Avatar for sanjit.dasgupta2
0
1K
Member Avatar for Massive++
Member Avatar for rubberman
0
175
Member Avatar for tqmd1

Dear Sir, HTML file has following codes <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Connection Checking</title> </head> <body> <center> <h1>Connection Checker</h1> <fieldset style=width:300px;background-color:#E0FFFF> <legend sytle=font-size:12;>Click Connect</legend> <form name="form1" action="connect.php" method="post"> <table> <tr><td></td><td align="center"><input type="submit" name="button1" value="Connect"> </td></tr> </table> </form> </fieldset> </center> …

Member Avatar for Bachu
0
162
Member Avatar for davy_yg

Hello, I am trying make this contact form works. I wonder why <carticle2> & <carticle3> does not works. Right after I insert the php code: <?php require_once('recaptchalib.php'); .... ?> I wonder why? And how to make the code belows works? Please help. contactus.php <html> <head> <link href= "css/contact.css" rel="stylesheet" type="text/css" …

Member Avatar for davy_yg
0
409
Member Avatar for nyuszi

hi i get an error while i trying to do a plumber game here is the javascript code: error message: Uncaught TypeError: Cannot call method 'getAttribute' of undefined (line 34) the problem: function check () { kepek = document.getElementsByTagName("img"); cellak = document.getElementsByTagName("td"); db = 0; for (i=1; i<cellak.length; i++) { …

Member Avatar for ryantroop
0
1K
Member Avatar for azwitsal

c++ program codes that computes for density, wherein mass and volume are asked from the user?

Member Avatar for kal_crazy
0
87
Member Avatar for furlanut

When the page opens all 12 popupDiv (large) images are centered in a stack. Why ? Having closed them all, the page then behaves the way I want i.e. onclick the popupDiv appears and one can go to the next or preceding large image. Can someone explain what is making …

Member Avatar for LastMitch
0
128
Member Avatar for karen.frias0316

Hi! I have a Facebook app which uses PHP and JS SDK. JS for the like button and PHP for passing infromation. It's not displying well in different browsers. Say in safari it's displaying but not in Chrome and Firefox. I have cleared my cache and cookies but still getting …

Member Avatar for LastMitch
0
218
Member Avatar for Mafiamanandre

Hi all. I'm designing a Visual Basic 2010 forms app. I would like to create a login for this app so that unauthorized users cant use the app. Only people with a username and password can use it. I would like this login to act as a demo too. Explanation …

Member Avatar for joshl_1995
0
180
Member Avatar for cmsc

Hi! I was able to connect to another server using ftp_connect and was able to login too. But I tried to list the files in the directory but it is not working. No errors are appearing too. Any thoughts? Thanks! Here's my code: // set up basic connection $conn_id = …

Member Avatar for joshl_1995
0
701
Member Avatar for iTechnnn

Let's say that i have an array of objects. So, I need to delete the count objects starting at the given index. Make sure to compress myObjects and update currentObject. You must also verify that the given index exists in myObjects and that there are count entries starting from there. …

Member Avatar for iTechnnn
0
273
Member Avatar for stevewilliams02

I have already made a post on how to open a JPG file but I now plan to use GIF image files. Can someone show me a sample code example on how to open GIF image files whenever you click buttons on TKinter GUI in Python? Thanks.

Member Avatar for stevewilliams02
0
1K
Member Avatar for Xakzi

Hello! I got a neaty tricky situation here.. I have a picturebox1 and listbox1 and a few items in listbox1. I got images in resources.resx (bmp) and want to load different images depending on what index is selected.. I wanted for it to be something like this.. Bitmap bmp = …

Member Avatar for Xakzi
0
2K

The End.