199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for avinashmalla

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 …

Member Avatar for sanchin
0
840
Member Avatar for Suetan

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]}:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{$d[2]}</option>"; } } for($x=0;$x<$cert_num;$x++) { $cert = ($x+1); $get_data['cert"$x"'] = …

Member Avatar for Suetan
0
208
Member Avatar for markfw

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 …

Member Avatar for Gribouillis
0
124
Member Avatar for yoni0505

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 …

Member Avatar for yoni0505
0
363
Member Avatar for domingo

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, …

Member Avatar for Momerath
0
106
Member Avatar for newbi11

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 …

Member Avatar for migcosta
0
184
Member Avatar for katties

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 …

Member Avatar for katties
0
119
Member Avatar for didi00

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: …

Member Avatar for didi00
0
230
Member Avatar for WildBamaBoy

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 …

Member Avatar for WildBamaBoy
0
115
Member Avatar for apanimesh061

[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 …

Member Avatar for apanimesh061
0
251
Member Avatar for cr40

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 …

Member Avatar for Ahmad239
0
470
Member Avatar for jaycastr

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 …

Member Avatar for Airshow
0
113
Member Avatar for ultimatebuster

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]

Member Avatar for vegaseat
0
138
Member Avatar for cretaros

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

Member Avatar for nmaillet
0
389
Member Avatar for apanimesh061

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

Member Avatar for pinkygirl
0
154
Member Avatar for MareoRaft

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 …

Member Avatar for MareoRaft
0
537
Member Avatar for divyakprabh

Hi, Can anyone pls suggest me how to configure autoreconnect option in oracle 11g as in mysql. Thanks,

Member Avatar for peter_budo
0
140
Member Avatar for jaycastr

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" …

Member Avatar for jaycastr
0
2K
Member Avatar for jason830

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 …

Member Avatar for bhartman21
0
228
Member Avatar for BleepyE

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 …

Member Avatar for kvprajapati
0
3K
Member Avatar for airbourne

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 …

Member Avatar for L7Sqr
0
722
Member Avatar for jaycastr

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 …

Member Avatar for jaycastr
0
149
Member Avatar for Nitin Daphale

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" …

Member Avatar for Nitin Daphale
0
141
Member Avatar for Lapixx

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 …

Member Avatar for smantscheff
0
194
Member Avatar for lochnessmonster

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 |. …

Member Avatar for Schol-R-LEA
0
752
Member Avatar for moone009

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]

Member Avatar for moone009
0
47
Member Avatar for spitfire5295

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]

Member Avatar for Arbus
0
135
Member Avatar for qinglong

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(); …

Member Avatar for stbuchok
0
143
Member Avatar for hsmukunda

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 …

Member Avatar for stbuchok
0
145
Member Avatar for NETProgrammer

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 …

Member Avatar for stbuchok
0
262
Member Avatar for rootchord

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 …

Member Avatar for samueal
0
1K
Member Avatar for khocmedemmua

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 …

Member Avatar for crishlay
0
364
Member Avatar for rminator

string valeur = ligne.Split(ChrW(59))(0); what is the equivalent of that in C# please???

Member Avatar for samueal
0
276
Member Avatar for user20000

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 …

Member Avatar for crishlay
0
941
Member Avatar for arka.sharma

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

Member Avatar for stultuske
0
199
Member Avatar for Lovelake

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 …

Member Avatar for crishlay
0
154
Member Avatar for JavaBean
Member Avatar for StormHawk

[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 …

Member Avatar for JamesCherrill
0
192
Member Avatar for Shikha_ Singh

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 …

Member Avatar for Shikha_ Singh
0
99
Member Avatar for dourvas

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 …

Member Avatar for dourvas
0
180
Member Avatar for SharedKnowledge

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 …

Member Avatar for SharedKnowledge
0
244
Member Avatar for ninjatalon

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?

Member Avatar for makman99
0
106
Member Avatar for klemme

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 …

Member Avatar for klemme
0
841
Member Avatar for dudzkie

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 …

Member Avatar for vibhaJ
0
359
Member Avatar for branding4you

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 …

Member Avatar for branding4you
0
177
Member Avatar for divyakrishnan

[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 …

Member Avatar for divyakrishnan
0
152
Member Avatar for Labdabeta

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, …

Member Avatar for Labdabeta
0
156
Member Avatar for uselessninja

how to connect mysql databse into html and must display the rows and columns of the database to html template

Member Avatar for Nick Evan
0
162
Member Avatar for Hotaru26

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

Member Avatar for debasisdas
0
102
Member Avatar for hardik.rajani

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

Member Avatar for dopoka
0
134

The End.