199,114 Archived Topics
Remove Filter ![]() | |
Last summer I took a job working on a small company's website. At first I just added some pages they wanted, but by the end of the summer, I rebuilt it from the ground up. The original version looked like something from the nineties, complete with scrolling text and a … | |
please can any1 tell me what is the problem with this delete code?? [CODE]<?php $con = mysql_connect("localhost","username","pswd"); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("dbname", $con); $val=$_GET['teachers']; mysql_query("DELETE FROM teacher WHERE title='$val'"); mysql_close($con); ?>[/CODE] | |
Hi guys... guess i won't be posting after this for a long time.... could you all please help me out with syntax highlighting in c++ once again. I have made a full featured text editor(please check the snippet C.L.O.S.E) but could you please suggest about syntax highlighting or atleast indentation.. … | |
Hi folks: Once again, working w/Python in Maya, a 3D animation app. I'm using a potentially time-consuming procedure to generate a list of commands, and I want to store the list in the Maya file. The best solution I can think of is to convert the list to a string, … | |
Hi all, I have used some forum browsing and the WxDemo to create my desired GUI and struggling to find some good reference material to add functionality to my design. This GUI will ideally pull / send information to other programs (in python and/or c) in the future but for … | |
I would like to do 2 things (or one of the two) first, I have in form1 a textbox1 and i would like to bring the info of it to a textbox (or label) in form2 second, If it's possible i would like to set a picture from form1 to … | |
Hi, I was working on Josephus problem, where I have to make a circular linked list and having errors in it. Will really appreciate if anyone can help me. The following method is in Node Class: void link(int num_people, Node* temp) { int n = num_people; [B]head->next = new Node;[/B] … | |
Hi there! I´m with some difficult to do this query. I have this: [CODE]SELECT IDReport AS [ID Report], IDHardware AS [ID Hardware], DataHoraReport AS [Último Report], Versao AS Versão, DataInstalacao AS Instalação, DataUltimaActualizacao AS [Última Actualização] FROM Report[/CODE] in which result this: [URL="http://img189.imageshack.us/img189/6872/26352213.png"]http://img189.imageshack.us/img189/6872/26352213.png[/URL] How can i query those results to … | |
Hi, I want to read ctrl-c ctrl-z values from serial port. is there any ways to read? Regards Yuvaraj | |
Hi guys, I am struggling with a problem with MFC.. i think its a small one.. but from my point of view since its bugging me for 2-3 days its starting to get big. So.. the problem is.. I have in MFC 2 dialog boxes. Each dialog box has one … | |
Hi all. I am new to asp and would like your help on a problem I am having. I have a gridview and a button. The onclickevent of the button must place a certain value from the gridview into an int variable. The value I am trying to get from … | |
whenever i run this code: [code=c] void _freecommands(void) { command_t *com; for(com = cmd.commands; com->name; com = com->next) free (com); } [/code] i get one, even though i've malloc'd them previously and the conditional statement checks if they're not valid i don't understand why, can someone help me? | |
Hi! I dont have enough knowledge about making report there in vb.net. Let me explain what I want to do. I have a combo box there in my form. When user will run this form combo box will get ID number from database. When user will select ID number from … | |
I'm reading in a text file that contains a little custom script. However, one line of that script gets ignored and I can't figure out why. Script: [CODE]# Test Case #1 - Simple Movement RESET FORWARD 2 PAUSE 1 REVERSE 2 PAUSE 2 TURNRIGHT 2 PAUSE 1 TURNLEFT 2 PAUSE … | |
I study manual "Think Python: How to Think Like a Computer Scientist by Allen B. Downey, Version 1.1.22, chapter 13, 13.6 Dictionary subtraction. There is an exercise 6. I did it by not using set types. The result will be the same? Pls can you show me how to use … | |
Hello everyone, I am writing a program in Visual C++, using VS 2008. This is what I want: I press a button, which begins an infinite loop, that does something (approximately) once per second until the user tells it to stop. The problem I am having is finding a way … | |
hi every one i'm pretty new to programing so i want ur help. i want to create a program that counts the number of the downloaded bytes form all ur activity over the internet. that is when ever the internet connection is established the program starts to count the bytes … | |
Hi everyone i have maked pop upp audio player play.php and the i want to my url adress to appear like this [CODE]http://www.mydomain.com/play.php?id=1[/CODE] now it appears this [CODE]http://www.mydomain.com/music.mp3[/CODE] and here the pop upp player Ex. play.php [CODE]<?php $mURL=$_REQUEST['id']; ?> <object id="p67" height=64 width=360 border="0" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" type="application/x-oleobject" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/"> <param name="URL" value="http://www.mydomain.com/<?php … ![]() | |
Hi I'm coding in c# and I'm usiing the IIR function of Microsoft.VisualBasic. I need values for 6 years that's 72months [code] if (i <= 72) { values[i] += C158_Calc; } B162_Calc = Financial.IRR(ref values, 0.1) * 12; row9["Month1"] = String.Format("{0:#,###,###,###.##}", B162_Calc); [/code] this gives me this error: Arguments are … | |
Hi, i am new to java, and i stuck in between with a folder locking problem. i want to create a private folder without encrypting the data, i have two options 1) Either Lock that folder so none of the user (even admin) can't access that private data. 2)Completely hide … | |
Hi everyone. I am a beginner at C++ and am having some problems with the language. I would appreciate any advice that could be given on this issue. I cannot figure out how to modify variables! Take this for example. Say you have four variables, 1A, 1B, 1C, and 1D. … | |
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/a1420653/public_html/processform.php on line 46 Here is the code: <!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=utf-8" /> <title>Untitled Document</title> </head> <body> <?php // include MySQL-processing classes require_once 'mysql.php'; try{ // connect to … | |
hey all, I currently have this insert statement: [CODE]OleDbConnection oledbConnectionGate = new OleDbConnection(OLEDB_CONNECTION_STRING); string TRANSACTION_INFO_INSERT_STATEMENT = "INSERT INTO Transaction" + "([TransactionID], [TransactionAuditor_ID], [TransactionAuditor_Name], [TotalSales], [TransactionDate])" + "VALUES (?,?,?,?,?)"; OleDbCommand commandLine = new OleDbCommand(TRANSACTION_INFO_INSERT_STATEMENT, oledbConnectionGate); commandLine.Parameters.Add("TransactionID", OleDbType.BigInt, 64).Value = currentTransaction.TransactionID; commandLine.Parameters.Add("TransactionAuditor_ID", OleDbType.BigInt, 64).Value = currentTransaction.TransactionAuditorID; commandLine.Parameters.Add("TransactionAuditor_Name", OleDbType.VarWChar, 255).Value = currentTransaction.TransactionAuditorName; commandLine.Parameters.Add("TotalSales", … | |
Hi this Raghu.I have to Save the State of Windows Form in Some File Format Such as .cfg by Button Click Event and Also when It was needed,it has to retrieve from the saved format and display the Saved Contents in C#. | |
Hi all. This has been bugging me for hours. I do a simple text book passing of a filehandle to a function and get a bundle of errors. my func : int appendVVmatrix(VVdouble &mat,ofstream& outF){ if (outF.is_open()){ for (int i=0; i<mat[0].size();i++) { for (int j=0; j<mat[0].size();j++) { char num[40]; sprintf(num,"%f",mat[i][j]); … | |
Hi, Ive been trying to calculate standard deviation from the data in my datagridview.I have manage to work out how to get to the last value but would like to display in a chart so i need to have some kind of running total like you have in Excel. For … | |
Hello guys, i am making a simple test using select() for a future program i must do. What i'm trying to do is very simple, i have a client, and a server. The client listens to both stdin and sockfd using select. The objective is as follows: If i write … | |
Hi, I am really new at ASP.NET, and I am wondering if there is a good way to extract XML attributes from ASP.NET. The example I am reading is here: [url]http://www.w3schools.com/aspnet/aspnet_datalist.asp[/url] Suppose I fix the XML snippet to: [CODE] <catalog> <cd> <title>Eros</title> <artist country="EU">Eros Ramazzotti</artist> <company>BMG</company> <price>9.90</price> <year>1997</year> </cd> </catalog> … | |
i've been been trying to decipher what is wrong with this code for some time, help would be apreciated. It is an application in visual studio 2008 with c#, when a user puts in a number, the application checks the number to make sure it is a number, then if … | |
Hi Every Body! Please any body tell me, is java is so powerful to do system programming wih it like C language and Assmbly. | |
Hi, I have the code here as in the following: [CODE] <%@ Import Namespace="System.Data" %> <%@ Page Language="C#" Debug="true" %> <script runat="server"> sub Page_Load if Not Page.IsPostBack then dim mycdcatalog=New DataSet mycdcatalog.ReadXml(MapPath("alice_music_list.xml")) cdcatalog.DataSource= mycdcatalog cdcatalog.DataBind() end if end sub </script> <html> <body> <form runat="server"> <asp:Repeater id="cdcatalog" runat="server"> <HeaderTemplate> <table style=";font-family:Arial;width:56%;margin:1em … | |
Dear Members, I am developing a desktop application on “Attendance and Payroll Management System”. To develop this I am using [B]C# and MS SQL Server 2005[/B]. I would like to build this based on [B]Unicode characters so that all the data from user interface can be stored in the database … | |
I need to host a [B][COLOR="Red"]temporary [/COLOR][/B]website at my home PC for a small project that will include Asp.Net i am running Windows 7 at home, can any one help me out there ? is it even possible ? | |
Hi Buddies, Can anybody give me the sample to do sql connection through windows authentication through asp.net? I was tried lot of ways. but it throughs empty value for the username and access denied. Please help me to solve this issue. | |
Hy, I have 4 combo-boxes and each one has a RefreshableValueHolder. If I change the value in one of them, I would like to automatically change contents of the others. I know I have to use the refresh() method of this class, but I cannot figure it out how. for … | |
dear all, Im new in C++ programming. Recently, im doing a login page using Microsoft Visual C++ 2010 Express and Microsoft Access as database. Im trying to connect ODBC to my system but there was a lot of error occur. Can somebody explain me what my problems... [B] This is … | |
Hi all , How can I get the number of MissedCalls and Unread SMS'. EX :Reminder: You have received 6 MissedCalls and 2 Unread SMS'. And ofcourse I'm not talking about all calls that I didn't answer and loged in log. How can I get the numbers and time for … | |
I am trying to populate a dropdown list using <select><option> and on the selected option pass the values to another page. I have been trying a lot of things over the las two days and I have finally decided to go to the community for assistance. The data is displayed … | |
when i run this code, f is being set to null and i have no idea why.. i know for a fact that cmd.argv(1) at that point is "vars.rc" because i debugged it with breakpoints. [code=c] FILE *f; if(cmd.argc() != 2) { con.printf("writevars: <filename>\n"); return; } f = fopen(cmd.argv(1), "w"); … | |
Hello again, I will go straight to the point. I have two files one that is called student.dat and the other is called grades.dat . Student.dat has the following items in it : 20092112 Anthony Haykal 20084564 John Doe 20075640 James Bond 20045678 Cynthia Smith 20092134 Jennifer Hajj grades.dat has … | |
Hi all , I got some questions about wrapping my applicatio so it can work when I hand it out to the user : First : How can I have an icon that appears in "Installed" folder and in the top of my application window instead of Python Icon ?? … | |
Hi everybody, is there a simple way to print a floating point number in its internal representation (i.e. binary or hex) in C(C++)? Yet another question -- is there a linux utility to do the opposite thing with a binary file (i.e. choose a range of bits and convert it … | |
Hi Everyone, I am a beginner with java, please pardon my stupidity The program below is not working and I have this error. Please let me know what I am doing wrong. public class test { public static void main(String[] args) throws Exception { String Month = "May"; if ( … | |
Hi everybody, New adventure question: if you know how macros act in C, is there such a behavior in C? Basically the most important feature I'm looking for is similar to this: [CODE] #define MY_C_MACRO(x) {if (x>0) x++; else return} [/CODE] Such a macro would cause the function where it … | |
Here is my code : #include <iostream.h> int main (int argc, char * argv[]) { struct { short Signture; long FileSize; short Reserved1; short Reserved2; long ImgDataStartOff; long InfoHeaderSize; long Width; long Height; short Planes; short NumbOfPix; long Compression; long SizeOfImgData; long HRes; long VRes; long NumOfCol; long NumOfImpCol; } … | |
im having a bit of trouble reserving space and with labels a.asm:6: error: parser: instruction expected edit should mention im using intel syntax [CODE] section .data msg db "test",0x10 section .bss mtstr resb 1000 string resb 1000 public _print mov eax,4 mov ebx,1 mov string,mtstr mov ecx,string mov edx,1000 section … | |
Hey Everyone ,, I Am Stuck With My work ,, Pls Help Me Out The Problem IS that i Copy codes from dynamic drives .com and paste them on my webs.com page , But the problem is that ,,only One Code Works At A time !!??? Why The Hell Is … | |
G'day, I've got a small problem. As all who post here usually do. I've got my table [CODE]CREATE TABLE IF NOT EXISTS `attractions` ( `attID` int(11) NOT NULL AUTO_INCREMENT, `attName` varchar(255) NOT NULL, `adultPrice` double NOT NULL, `childPrice` double NOT NULL, `referenceID` int(11) NOT NULL, PRIMARY KEY (`attID`), UNIQUE KEY … | |
hey guys my while loop is not working correctly..doesnt matter which character i enter it will still run the loop..and what it should do is test to see if character entered is 'y'(well thats what i want it to do ) thanks!! [CODE]#! /usr/bin/perl $exp = "y"; while ($exp =="y") … | |
I want to get started with Android App Development. However, there are a few questions I have first: [LIST] [*]What is the primary programming language for development? [*]Where can I get the SDK? [*]Do I need an Android-Equipped Phone to test my Apps? [*]Where can I find their App Market … |
The End.