199,114 Archived Topics
Remove Filter ![]() | |
I'm trying to see how to load jQuery at run time. I can't understand why the following code doesn't work (probably me making a silly error) <!DOCTYPE HTML> <html lang="en"> <head> <meta charset="utf-8"> <script> var script = document.createElement('script'); script.src = 'https://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js'; document.getElementsByTagName('head')[0].appendChild(script); </script> </head> <body> <a href="#" id="main">click me</a> <script> … | |
Hello, Is there's a way to install a new version of the webbrowser control in the visual studio 2008 to be used instead of the old one ? Thanks for helping :) | |
Hi, I have following code. Dim myData1 As MySqlDataReader Dim sqlquary1 = "INSERT INTO table1 (text1) Values (Value1); INSERT INTO table2 (text2) Values (Value2); INSERT INTO table3 (text3) Values (Value3)" Dim command1 As New MySqlCommand command1.Connection = mySqlConnection command1.CommandText = sqlquary1 myData1 = command1.ExecuteReader mySqlConnection.Close() I need to send few … | |
Al slam A'lykom .. its kinda freaky to me .. cuz its my first year in c++ ( in fact its few months not even a year ) and i have a project , and its to create an ATM program that asks the user if he is new or … | |
strsql = "Update tbl_server(temp_no, tem_department, tem_position, tem_sname, tem_fname, tem_mname, tem_add, tem_telno, tem_bday, tem_b_place, tem_age, tem_cs, tem_fa_name, tem_ma_name, tem_spouse, tem_chil, tem_ptbc, tem_padd, tem_ptelno, tem_sss, tem_tin, tem_pag_ibig, tem_phil, tem_focc, tem_mocc, tem_sp_occ, tem_expected, tem_elem, tem_sec, tem_voc, tem_course, tem_post, tem_d_elem, tem_d_sec, tem_d_voc, tem_d_post, tem_coll, tem_d_coll) VALUES ('" & TextBox32.Text & "','" & ComboBox8.Text & … | |
void Project1(){ unsigned short int x; bool flag = false; cout << "Enter an interger, I will reversed i.e. 301 --> 103" << endl; cin >> x; if ((x > 0) && (x <= 65535) ){ flag == true; cout << reverse_num(x); cout << endl; } else { cout << … | |
i have a view named vw_admissionform with columns familycode,Regno,studentname,class for admission form . now if i want to print a student admission form by enetring registration no "regno" in txt1.text then his siblings should also be mentioned on the admission form as requirment by client. for this am using familycode … | |
am not good enough with curl functions but I understand some :P I have this webservice http://www.psnapi.com.ar/ps3/api/psn.asmx?op=getGames that required to enter a variable "**sPSNID**" to get list of games the XML output will be like this: <ArrayOfGame> <Game> <Id>NPWR00132_00</Id> <IdGameEurope/> <Title>GTA IV</Title> <Image>http://trophy01.np.community.playstation.net/trophy/np/NPWR00132_00_FB41DD6DD0A782A55D7A8497108B84EB19EDA56C/EF4A80E7CECAFBA06A2F60DA0CC3CAC53B77C9D0.PNG</Image> <Progress>3</Progress> <TrophiesCount> <Earned>3</Earned> <Total>3</Total> <Platinum>0</Platinum> <Gold>0</Gold> <Silver>0</Silver> … | |
Has anyone ever used PLPLOT. I'm trying to compile one of the examples (which build successfully during the plplot build process) but I want to build the example individually. It's proving very challenging. A million linker errors and no clue on their website as to what is going wrong. I've … | |
How can i run the exe file on the web page using php? please help me out i tried exec('filename.exe'); but it could not execute | |
Im currently working as a programmer in a company, creating a Logging system. The problem is when im running my system, even if I delete all the codes. When i start debugging my system. The debugger does not follow my codes. Please help me. | |
have 2 lists one for JuniorStudents and one for SeniorStudents. In the JuniorStudents I have a method for promoting a juniorstudent to a seniorStudent. I am first deleting the juniorstudent and then putting it into the seniorstudent list. However when I try to view the student when calling the method … | |
well,i am a new programmer in vb6 so i dont know much about vb6.So i have 3 questions. 1) Finding sum of all the numbers from 1 to 100 by loop method. 2) Finding factorial of a number. 3) organizing table of any word. eg. 9*1=9 9*2=18 and so on … | |
In java what is the best way to create a truely random number sequence? One that is 100% never to be repeated again Thank you | |
in this part of the code which i'm using to search if an account number given by the user is in the vector. what is the cause of the problem ? thanks in advance. if (ae.getSource() == b7) { boolean found = false; for (int i = 0; i < … | |
I'm creating a website and I want to have a popup menu with additional links come up when a text image is moused over. I'm alright with HTML, but I know that this can't be done in HTML and I assume it's Javascript that I would need to use. Can … | |
Hi everyone, I really hope someone here can help me. I've been searching the net for the last few years trying to find a way to get this working without any luck. I'm a complete novice to PHP-I just started in fact and I run a large stories Archive on … ![]() | |
Does anybody have any experience with changing an INT column to BIGINT so it will handle larger integer numbers? I have read a lot from searching the subject, but still a little leary of changing it on a live database. Would be nice if someone here has done it without … | |
Hi help me to create program for my midterm exam!! System multiplication table Using C++ | |
I have created an online gift certificate order from. I have an html to allow user to create order, and two php pages to: 1. display order back to browser window,and 2. send email with order info to restaurant owner and myself and redirect to thanks.htm page. I cannot get … ![]() | |
I got bored and started some scripting the other day in PHP, this is just a sample that i wrote, just uncomment the part of script that you would like to see. IE remove the /* and */ around a certain area. i know its not great, but some beginners … ![]() | |
can any one tell me log out or sinout code in c# using windows from application | |
Looking for php coders.I am looking for php coders for a online game i am curretly making with a friend.Once the game is up and running we will be having a store where players can upgrade their accounts with points which they will be able to buy with paypal or … ![]() | |
I'm trying to outFile to houseData.txt. I did that fine but now all the data is all on the same line 10 times. What did do wrong in my code? House Price Number ------ ----- 329155000235000 459160000235000 505185000235000 500215000235000 345210000235000 456305000235000 344405000235000 501355000235000 401190000235000 300170000235000 I need it to look … | |
How can i copy a directory path in a string? For example, the Location of the file is "C:\Folder1\Folder2\mydatabase.mdb". i have an existing code, Dim dbpath as String Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim OpenFileDialog As New OpenFileDialog OpenFileDialog.InitialDirectory = My.Computer.FileSystem.SpecialDirectories.MyDocuments OpenFileDialog.Filter = … | |
Ok, right now i have an array that the user enters into a form and when they submit it, it is loaded into a PHP script that i have set into an iFrame so that you can modify the mysql database in real time (sorta) but heres my problem. i … ![]() | |
Can any of the gurus out there please help? I am having a search problem with PHP and MySQL. I wish to search the MySql database from 2 criteria. Using 2 dropdown boxes. I wish to search from 1 dropdown box called searchtype and another called searchterm. The problem is … ![]() | |
Im trying to search a database and show the results. If a person types in a last name and first name it will search the database and return a result. Heres the cod ei am working with. but im running into errors. Any help would be great thanks. <html> <head> … ![]() | |
I need some help with an event list module for PHPNuke 7.x. This is how we need it to work. It is going to be used on a Car Show site. The User will enter the Submit area and enter the following information that we need to store in a … ![]() | |
Hello! I'm creating a simple markup type thing with a XML reader to edit the properties of this window and at some point add components to it. I had it working, but had a few issues since it wasn't originally a WinForms project, didn't have looping working right, so I … | |
I have a VB.net Windows form that contains a checklistbox. I need to check or uncheck each item based on boolean values I have stored in an xml file. I also need to update that xml file when each item's checkbox is changed. My VB is competent, but nowhere near … | |
I found this script to convert my phpbb threads and so forth to htm as an archiver. I can see the forums , then you click and can see the topics, then you click and it becomes a blank page where the posts are suppose to be. Any guesses? location … ![]() | |
Hi all, Some time ago I saw a good code, I can not remember where or whether it was for a system or a separate... That code is probably made for online shopping... That's all I know but after a while I found it integrated in one website or they … ![]() | |
Hello. I am writing a program that computes net pay by the user entering in hours and payrate. There can only be one decimal, two numbers after the decimal, and no letters. When payrate is entered wrong, it displays the correct error message. For hours, it doesn't even though it … | |
Hey there everybody!:) I need some help to make a piece of code i made work. It current gets the login process right, however it doesnt save the cookies right:( (AC-Web.org is running vBulletin 4.2) <?php $sites = array( array( "url_login" => "http://www.ac-web.org/forums/login.php?do=login", "url_front" => "http://www.ac-web.org/forums/", "user_field" => "vb_login_username", "pass_field" … ![]() | |
I just saw a tutorial on a PHP site, and saw the super global $_SERVER['SERVER_SELF'] getting sanitized with htmlspecialchars. Us there any use for this? If you submit a post that has form action="$_SERVER['SERVER_SELF']" what difference does it make what the url is set when submitting a form, because the … ![]() | |
I'm using [ScrollTo](https://github.com/balupton/jquery-scrollto). It is not scrolling to div having margin, **margin-left: -1160px;** or **margin-top: -600px;** I have following div <div id="home" class="content"> <h1>I'ts home</h1> </div> <div id="about" class="content" style="margin-left:-1160px;"> <h1>I'ts about</h1> </div> <div id="contact" class="content" style="margin-left:600px;"> <h1>I'ts Contact</h1> </div> <div id="services" class="content" style="margin-top:-600px;"> <h1>I'ts Contact</h1> </div> I want to … ![]() | |
Hello, As per wikipedia, a complete binary search tree is defined as: A complete binary tree is a binary tree in which every level, except possibly the last, is completely filled, and all nodes are as far left as possible Can someone give me an application of complete binary trees … | |
Hi geeks!! im working on a project (in visual studio 2008) where i need to create a reminder which will prompt every month for showing the actual state of fees a number of customers have left to pay. the project uses access as database and will have a fixed amount … | |
Good afternoon. What I'm trying to do is to get the username from the beginning of a field of data example 'username Membership Fee' or 'Username29473 Membership Fee' What I need to do is just get the 'username' or the 'Username29473' extracted as a value in a variable of it's … ![]() | |
Hello everyone. Im making a application in which i need to make a matrix of 8x8x8 buttons. Each layer contains 8x8 buttons (so 8 layers in total). Each button can be clicked and when clicked it change the color to red, the second click changes the color of the button … | |
Hello friends. I am currently involved in a project where we want to export data from mysql to xls, for this we have written a program that is in *jar format. What we want to do is execute this file through php after which we will send it to the … | |
hi guys, i am about a graduate of database management in SQL, but then i wish to study software developemt in C++, can anyone help me locate a good school around the world? | |
I have Table1 with a VARCHAR(MAX) column which contains values like 4, 1.4, 0.3, 4.25 and I'm trying to take these decimal values and populate them into another table (Table2) with a DECIMAL (18, 2) column with the following Scalar-Valued Function: Convert to Number. (The reason why the column in … | |
| |
I'm trying to read numbers from a data file into array but when I compile and run nothing shows up. what did I do wrong. I have to do all the reading from the function readData and I need to get rid of the header line but I just put … | |
cout << "Enter Student ID (999 to end): "; cin >> searchId; inFile.open(file + ".txt"); inFile.ignore(80, '\n'); while (searchId != 999) { for (int i = 0; i <= count; i++) { inFile >> ID >> lastName >> firstName >> q1 >> q2 >> q3 >> q4 >> final; if … | |
Hello, I have a little problem with a timer that I have set up. I use Thread.Sleep(). What I am trying to do, is to let a code run exactly when a new minute occurs on the millisecond (0 millisecond). I have tried to set it up below and test … | |
I am trying to create a multiplication table that is left aligned with a line under the header and a line next to the first column on the left. What I have here gives me what I want but without the lines. Can anyone help? 1. #include <iostream> 2..#include <iomanip> … | |
Hi I have code as follows which works nicely but it loads a bit slow. I would like to have a progress bar while the file loads my code is as follows With OpenFileDialog1 .Filter = "Text files (*.txt)|*.txt|" & "All files|*.*" .FileName = "" If .ShowDialog() = DialogResult.OK Then … |
The End.