199,114 Archived Topics
Remove Filter ![]() | |
I have written some sql codes in a file named sql.sql and I want to install my database using this file. How can I do it? Please help me out.... here is the sql code from the file sql.sql [CODE] CREATE DATABASE IF NOT EXISTS wm; USE wm; CREATE TABLE … | |
Okay, so here's the deal: I suck with forms and generating dynamic links. Here's the code that I'm working on [CODE=html]<div class="Normal_P"> <span class="Normal_C"> <form action="<?php getLink("http://www.atouchofmoore.net/certificate_stage3.php" array( <?php[/CODE] [CODE=php]if(mysql_num_rows($r) > 0) { while($d = mysql_fetch_array($r)) { $options .= "\n\t<option value=\"{$d[2]}\">{$d[1]}: {$d[2]}</option>"; } } for($x=0;$x<$cert_num;$x++) { $cert = ($x+1); $get_data['cert"$x"'] = … | |
Hi Just a general question about PySide (menubar) and UI programming. I was thinking to add menubar to my program that has a "Setting" option which let people to change the setting of the program :-). Now the question is, what is a right/correct way of saving those settings? Should … | |
![]() | I had a problem with some program I wrote that edit specific values within a specific file. When I saved the values, using fstream's write() function, everything between these values became null. I've looked again in the I/O tutorial - [URL="http://www.cplusplus.com/doc/tutorial/files/"]http://www.cplusplus.com/doc/tutorial/files/[/URL] and saw that they use memory block at the … ![]() |
hi, i came up with an idea of doing a music recognition for my theses but i do not know where to start from. basically this app will be that one plays a song from his PC (for now) and the program will recognize the song and finds the name, … | |
I have 5 radio buttons [CODE]<input type="radio" name="Options" value="button1" style="position:absolute;left:16px;top:1227px;font-family:Arial;font-size:13px;z-index:44"> <input type="radio" name="Options" value="button2" style="position:absolute;left:16px;top:1277px;font-family:Arial;font-size:13px;z-index:45"> <input type="radio" name="Options" value="button3" style="position:absolute;left:17px;top:1319px;font-family:Arial;font-size:13px;z-index:46"> <input type="radio" name="Options" value="button4" style="position:absolute;left:17px;top:1364px;font-family:Arial;font-size:13px;z-index:47"> <input type="radio" name="Options" value="button5" style="position:absolute;left:18px;top:1412px;font-family:Arial;font-size:13px;z-index:48"> [/CODE] [url]http://www.javascript-coder.com/html...age-5#comments[/url] in the link above it states that to make one selection of the radio button compulsory you should … | |
Hi I'm working on a function which involves multiplying by 0.5 and I've got a bit of a problem with it. I think I'll be able to solve it in overall, however, I just wonder if multiplying by 0.5 in javascript could be causing a trouble. Sorry I tried searching … | |
Hi everyone. So one of the last things of my shopping cart is to fix the currency. The problem is that it is on the left side like this $10, and I want it to be on the right like this 10$. Here is the file: [code] <?php header ('Content-type: … | |
The attached program has a small bug when you right click on an item. The first time you right click any item it'll throw the context menu (it's the same menu under File) all the way up to the top left of the screen, but the second time you right … | |
[CODE] . . . . namespace AMChat { public class Global : System.Web.HttpApplication { private System.ComponentModel.IContainer components = null; public static AMChat.[B][U]ChatEngine[/U][/B].IChatEngine Engine = new AMChat.[B][U]ChatEngine[/U][/B].ChatEngine(); . . . . [/CODE] I have a folder 'AMChat' in which there is another folder 'ChatEngine' which includes two .cs files - ChatEngine.cs … | |
I have a masterpage that is completely built by doing a response.write. All of the HTML comes from the database. The HTML has content sections that look like the following [CODE] <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server"> </asp:ContentPlaceHolder> [/CODE] The problem is, is that if I put that code with the asp:ContentPlaceHolder in … | |
I am trying to pass two variable using javascript but i dont really know the syntax [CODE] if(entity==3){ var month = document.getElementById('mymonth').value; var program = document.getElementById('mylist').value: location.href = "view_results.php?month="+month; [/CODE] i only how to pass month but i cant figure out how to pass both month and program thanks in … | |
Are there designer + IDE that's kind of like the Visual Studio suite for PyGTK or PyQT? [B]Again, don't clutter up the sticky with questions. Ask question in the regular forum.[/B] | |
How to i implement loops to print the initialised word as foloows: Thanx in advance. p pr pro prog progr progra program programm programmi programmin programming programmin programmi programm program progra progr prog pro pr p | |
I don't know know how to get ASP.Net and Web Authentication components for IIS 7.0. I could install IIS 6.0 Metabase and Configuration compatibility. I am using VS 2008 and Windows Vista Ultimate ! Please Help ! Thnx | |
x.find() does not return the proper values for x.find('J'), x.find('K'), and x.find('.'). Do you know what could be the issue? It could possibly be x.substr() which is causing the issue. I want the variable q to be "q_J30_K5.txt". [CODE] #include <iostream> using namespace std; short ato( string number ){ return … | |
Hi, Can anyone pls suggest me how to configure autoreconnect option in oracle 11g as in mysql. Thanks, | |
Im stuck with this color changing aspect of my website, can you please help. I have a dropdown with 4 options. I want a specific element that corresponds to the dropdown box to change color according to the option selected. here is some code [CODE] <tr> <td>Application Architecture</td> <td><select name="cate1" … | |
What is the best book to learn java programming? I want a beginners book in java programming, I know very little as I did a short course in school. I know visual basic programming and a few other programming languages already, and now want to learn java programming. If you … | |
Ive bin looking for some code to export the contents of a DataGridView to CSV so I can view it in Excel. I found this but ive got errors; [CODE]Dim sr As StreamWriter = File.CreateText(strExportFileName) Dim strDelimiter As String = strDelimiterType Dim intColumnCount As Integer = DataGridView.Columns.Count - 1 Dim … | |
I am writing a simple shell script to automate a simple backup of a website and it's database. This is the working code: [CODE]#!/bin/bash # creates a backup of the mysql & webdata for a specific website. TODAY=`date +%A` # these variables cannot contain any spaces and must be modified … | |
I am using a dropdown box with 6 options. On change I want ajax to return part of an HTML/PHP page that corresponds to one of the 6 questions. I was trying to put and if statement on the return page to determine the part that I wanted but I … | |
Hi in my project page I gave managed to make a gridview editable but when I changed the cell values and press save button, at server side code I am getting all the cell values empty? Why? How to access it? [CODE] <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False" BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" … | |
Hi, Although I'm not really a novice when talking about web development, I'm not really used to writing MySQL queries that are a bit more advanced than the absolute basic SELECT/INSERT/UPDATE/DELETE queries. Anyway, currently I started working on a project that shows relevant items to the user: A 'you might … | |
i'm currently still trying to understand the internals of the following code being executed in c++ [code] int main() { std::cout << "Just now entering inside of main" << std::endl << std::endl; return 0; }[/code] Here is the assembly code i obtained from an assembly line debugger [code] 012E1207 |. … | |
I'm trying to figure out how to update the <to>,<from>,<heading>,and <body> through textboxes. Any ideas? [CODE] <?xml version="1.0" ?> - <note> <to>Tove</to> <from>Jani</from> <heading>Reminder</heading> <body>Don't forget me this weekend!</body> </note>[/CODE] | |
I am trying to figure out how to make that write out the keys i am typing. How can I accomplish this?[code]#include <windows.h> #include <stdio.h> main() { while(1){ for(short character=8;character<=222;character++) if(GetAsyncKeyState(character)==-32767) printf("%d : %c\n",character,character); };[/code] | |
Hi all, I have found a code that work perfectly in all browser except IE..Due to my limited knowledge on ajax i couldn't solve the problem.. Hope u guys can help me out =) [CODE]<script language="javascript"> function createRequestObject() { var req; if(window.XMLHttpRequest){ // Firefox, Safari, Opera... req = new XMLHttpRequest(); … ![]() | |
Hi how to render a div next to href link, we are using JQuery. Below is code attached where when clicked the div gets rendered just below the tab of browsers, I want to render next to that of href link as there will be lot of href links in … ![]() | |
I have done my homework but couldn't find any good solution so I am here asking for help. I want to make pages like the structure below. www .yoursite . com/Content.aspx?Privacy www .yoursite . com/Content.aspx?About_us www .yoursite . com/Content.aspx?Security I hope you get the problem. Any help would be greatly … ![]() | |
I am learning about networking in C# and to do so i am making a simple instant message server/client app. everything is going fine. i am currently testing it by inputting my own ip address as the target to send/receive on same machine. but, i can only send one message … | |
At present, my source code project is in disk E, this is its path : [COLOR="Red"]E:\WindowsApplication1[/COLOR] In this folder has a folder Files, with path : [COLOR="Red"]E:\WindowsApplication1\WindowsApplication1\bin\Debug\Files[/COLOR] I have a form with a browse button to choose file, after choose file, it will save into folder Files automatically. My chosen … | |
string valeur = ligne.Split(ChrW(59))(0); what is the equivalent of that in C# please??? | |
Hi, I need to make a browser in C# (I can use webbrowser I guess), and I need to create 2 buttons, one is on and one is off. If user selects on browser will load all the pictures in the page, if user selects off browser will load only … | |
Hi All, I'm trying to compile an xsd schema using xjc compiler following the command java -jar jaxb-xjc.jar <schema file>.I've set the classpath of these following jar files jaxb-api.jar jaxb-impl.jar jaxb1-impl.jar jaxb-xjc.jar sjsxp.jar jsr173_api.jar activation.jar resolver.jar. It is showing IllegalArgumentException | |
hi u can limit textbox max length to 4, then use keypress event to validate entry: [code] private void [textbox]_keypress(object sender,keypressventArgs e) { if((!Char.IsControl(e.char))&&(!Char.Isdigit(e.char))) e.handled = true; } [/code] then use keyup event to catch enter pressed to add controls [code] private void [textbox]_keyup(object snder, keyeventargs e) { if (e.KeyCode … | |
[B]Question:[/B] Write a program to read in a sentence. Output the sentence and then sort all letters in descending order. Allow users to enter a letter and output the letter with the number of occurrences of that letter, or else indicate that the letter is not found. [B][COLOR="Red"]Use: "I compute … | |
I have been assigned a project to develop a software on autocad and MS access for the boiler maintenance dept. of my company which is a thermal power plant. A failure in the boiler is to be reported along with the 3-D image of the point of failure and the … | |
hallo there, i ve coded a script that the user can write a test. there is a form that he completes the answears and a button that posts those answears to another file which connects to a database checks if he is right and then shows the results. Now i … | |
Hi, I've created a MS Access (2007) database storing details of a charities clients. Is there a validation rule/piece of code for the following: FIELDS: Date, Time, Duration, Room CODE FOR: Not being able to select a room if it is on the same date and time/duration? I'd really appreciate … | |
I'm pretty sure its a false positive. My program does create and delete files when using it. Is there a way to stop showing as a false postive? | |
Another issue with sha1. I am creating users via a registration form, that when submitted, has made the password a sha1. [B]Registration script:[/B] [CODE] if($_POST['pass1']==$_POST['pass2']){ $password = sha1(mysqli_real_escape_string($connection, $_POST['pass1'])); } [/CODE] When the user log in, I have this script using sha1. [B]Login script:[/B] [CODE] $password = sha1(mysqli_real_escape_string($connection, $_POST['password'])); $sql=("SELECT … | |
Hello! So here's what i did i fetch data from my database in a table each row has a checkbox on in. Now what i already did is when i press submit the data that will be shown in the next form is the row that has check on the … | |
I need a simple solution I have invoice that i want to always diplay 10 rows, but if there is data in mysql it must first put those rows with data in on the invoice then subtract the number of rows and the difference will be the blank rows it … | |
[B]Hi... I have a table named empl with following fields(eid,ename,esal) I had inserted the following records to empl table 1 Govind Raj 20000 2 GovindRaj 600000 3 Govindraj 10000 4 govindraj 50000 5 Govind.Raj 50000 6 Govind-Raj 20000 7 Govind_raj 2000 8 Govind.raj.3000 9 govind,raj. 4000 10 Govind'raj 6000 11 … | |
I have reinstalled my compiler successfully (finally) and got right back to work. I have created a glModel class as follows: [CODE]class glModel { private: int numv; int numn; unsigned int model; unsigned int textu; unsigned int norma; float *vars; float *norm; public: glModel():numv(0),numn(0){vex=new float[1];tex=new float[1];nex=new float[1];} glModel& Vertex(float tx, … | |
how to connect mysql databse into html and must display the rows and columns of the database to html template | |
hi!!! my group is doing a thesis work... and the name of our thesis is Faculty Attendance Monitoring System Using TouchScreen Biometric System... Can You give me some code in making that system... please!!!! tnx.. from:Hotaru | |
I was creating a bluetooth program to access files of another mobile device. I have used 0x1106 UUID for searching services. But i am getting null pointer exception. As well please let me know about how to set HeaderSet to get folder detials from root. Thanks |
The End.