199,114 Archived Topics
Remove Filter ![]() | |
I'm currently linking two different tables in two different databases. One contains all the info from a product, while the othe contains information about the installation of the product. The SQL I use only returns those products that HAVE an entry in my install table, but many don't ie they … | |
I am usng VS 2010 and I have a Website I am building using C#. My goal is when a user selects a value from the dropdownlist it is recorded in the database. I have been able to bind the DDL to a table called "TableA" to list the values … | |
So close (I think)! I've been working on this for some time now (on and off, coming back to it) and now I'm stuck. Hopefully there's not to much wrong with the coding of it, the compiler throws up lines 50 & 63 with errors? Not to sure if I've … | |
Hi, I have a different question today: how do I call the python interpreter AND tell it to open a python program from inside another program UNDER WINDOWS? My program is running fine, and it even has a text mode without any graphical interface. Under Linux, you click on the … | |
Hi, I am trying to write a python test script which will start a Server and Client locally and then transfer their STDOUT to two files. This I need to do from the same test script and the asserts should be the next step. When I am doing the same, … | |
Hi folks, I've got a little problem with my queries in sqlite3. I need to select 'brands' (a, b, c, ...) for a 'date' YYYY-MM-DD from my table. As you can see in my script, I'm able to build a query by passing 'selectedDate' or 'selection', but not both values. … | |
Following this text book, i need to take this card dealing program and turn it into dealing 5 cards, and identifying pairs(and various other hands). The 5 cards was easy, now im just experimenting on how to identify pairs when i came into the error: missing ; before const. The … | |
Does anyone here know how to use the UnRAR2 module? [URL="http://code.google.com/p/py-unrar2/downloads/list"]http://code.google.com/p/py-unrar2/downloads/list[/URL] I can't for the life of me I can't figure out how get it to do the same thing that zipfile does in a project I am working on. I want it to look for all files of a … | |
When I try to design relation database using MSSQL Server 2008, I find that the MSSQL Server 2008 allow designer can create two relationships with one direction from a table to other table (for example, I have two table A an B, I can create two relationship from table A … | |
Hi! I'm a newbie and i have kind of a teoric doubt. I wonder where the functions/events truly reside. For example, when i doubleclick a form or a button, i can see in the events properties that a function is created in my code (private void Form1_Load(object sender, EventArgs e), … | |
hi there, i have a code that try to get the file name from the path the file is the code is below [CODE] a = @"C:\Documents and Settings\awaduge\Desktop\Purchase Order\Purchase Order Excel\20100427 REQ (ASG NI Framegrabber for ARL Camera).xls"; MessageBox.Show(a.ToString()); int Findex = a.LastIndexOf('\'); MessageBox.Show("index of a " + Findex.ToString()); … | |
I need help with the code. It otherwise works fine. But whenever i enter 'Y' to play the game once again it automatically keeps entering character as input to scanf every time i press enter. So, the program never, ends what to do??[code]#include<stdio.h> #include<stdlib.h> #include<ctype.h> #define SEED 12345 void play(void); … | |
Hi All, the following is a script to search using LIKE. i know data exists, but its simply not playing. any help on syntax corrections would be appreciated. regards paul [code] <?php if (isset($_POST['search'])){ echo $column = $_POST['column']; echo "<br>"; echo $param1 = $_POST['param1']; $srch = "%".$param1."%"; echo $SQL = … | |
Hi guys, I'm currently trying to produce a facial detection application, but I seem to have some problems. My program, is able to recognise multiple users, and match their captured image to one saved in the database. However, if a person who has not registered is photographed, it is supposed … | |
[CODE=C] #include <math.h> void greedyMatch() { Xnode *u; Ynode *v; arc *e; forallXNodes(u,G) { assert(!u->isMatched()); forallOutArcs(e,u) { #ifdef STATS stats.searchArcCnt++; #endif v = e->head(); if (!v->isMatched()) { #ifdef STATS stats.mVal++; stats.greedCnt++; stats.flowArcCnt++; #endif v->match(u); u->match(v); break; } } } } void augment(Ynode *last) { Ynode *v, *v1; Xnode *w; arc … | |
I need to code a program for my friend and it has been giving me some difficulties. This needs to have two classes, one called Tester and another called Game. And the data in the Game class needs to be pulled to the tester class after the calculations are finished. … | |
Hey, I have successfully made a transaction through my website with Pay Pal Direct Method and also done Partial Refund.Now here is my Question. I need to do a Partial Refund again for the same transaction. When i tried, it shows error message as [QUOTE] [ACK] => Failure [L_ERRORCODE0] => … | |
I want to make a simple website blocker in vB. I mean it should have capablity of checking the ongoing HTTP request and block them accordingly. How it is possible? | |
My USB device is communicating with my C# application once in 500ms and exchanging data(Using a timer and interrupt transfer.) So far seems Ok. If my device is abruptly removed,(I think)windows 'device removal' message arrives only after removal is complete. But my application tries to write to my device in … | |
Hello, for a database project (music festivals) several search options are to be included. While some search fields will be filled from a dropdown list (like "countries"), other will have a fuzzy option (like "song titles"). For this I want to use the full-text search (you may remember the words … | |
I am interested in using DirectX to make games. I'm using MinGW, which is a windows command line port of GCC. How would I get it so that DirectX 10 is included in the files? It probably is in the headers, but I don't know which to include because most … | |
I am new to C++ in terms of large projects distributed over various source files. When I compile(gcc compiler) I get the following error: undefined reference to 'C::C()' I have this code: [B]/src/lib/abstract/[/B]A.cpp [CODE] #include "src/plugins/geo/C.h" #include "B.h" class A:public B { public; A() { B m_b; } void speed() … | |
In an html form, I want a certain field to be invisible when "no" is checked and visible when "yes" is checked. This is my code: html: [code] <form action="pageName.html" method="post" name="formName"> Question? <input name="radioBool" type="radio" value="1" onchange="dispField('textInput');" />yes <input name="radioBool" type="radio" value="0" onchange="dispField('textInput');" />no <br /> <span id="textInput" style="display:none"> … | |
...well i would like to practice c++ by analyzing the logic of the sample programs.... ..thank you for your help.. i really appreciate it... | |
Hey there, I am attempting to open Firefox using C++ on Linux (Ubuntu). However, I get an segmentation fault. What am I doing wrong, and what should I do? [CODE]std::cout << system("/usr/bin/firefox") << std::endl;[/CODE] /usr/bin/firefox works in commandline and when I run this program in debug mode in Netbeans, firefox … | |
I'm writing a small game engine and I have a little problem. The code below shows the exact situation: Header1.h [CODE] #ifndef _HEADER1 #define _HEADER1 #include "Header2.h" namespace HNamespace { class HClass1 { public: HClass1() { } ~HClass1() { } HClass2 * A; }; } #endif [/CODE] Header2.h [CODE] #ifndef … | |
as the title states. Is there a way to determine if both datatypes are the same? | |
Team - HELP!!! I have broken my code and it can't get up! When I go to run my application within Visual Studio I get the dreaded "There are build errors. Would you like to continue and run from last successful build?" That build runs fine, but how do I … | |
![]() | This is a MySQL PHP question... how to count no of fields in a perticular database and in a perticular table?? I have three columns in a table :id , name , info I have to print the unique persons.. how could I?? How to code it in php?? Can … ![]() |
![]() | How to print more than one results in a page?? I want to print 10 results per page and show next button if it have more than 10 results.. In the next button it will show another 10 results.. How to code it..?? And please explain the code if you … ![]() |
hey there Everybody... I want to have a unit, without a form attached/declared, and have only a recorrd and a bunch of functions, though the functions dont neccessarilly have anything to do with the reccord... so my question is where do i put the public declaration? or do i do … | |
Hi can anyone please let me know , how to check if table is empty or not? I am using php5 and mysql. Thanks in advance. :-) | |
hey guys i m finding it difficult to link the different files together in c.. here is my code... [code=c] //main.c #include <stdio.h> #include "other.h" int main (void) { printf("%d\n", getfavorite()); return 0; } //other.h #ifndef _OTHER_H #define _OTHER_H int getfavorite(void); #endif //other.c #include "other.h" int getfavorite (void) { return … | |
Ok here's the scenario; I have an upload system which works and uploads image files to a folder called 'upload'. I also have a homepage. I want to be able to display the latest file that has been uploaded on the homepage. How can I achieve this? Thanks :) | |
I have 2 sites, example.co.in and example.com, hosted on 2 different servers (I have all access details for both). When someone accesses example.co.in/a/b.php?c=d, I want it to show the HTML of example.com/a/b.php?c=d This site has to be search-engine-friendly, so I do not want to use an iframe, or even AJAX, … | |
Hi everyone I create windows form where there is a DataGridView control. I have edited that control by adding my own column text at the top row under which data will be shown. I need to show the header text in Bangle language using Unicode character. I have done this … | |
Hi all i am using a curl script to go to a link and get its content for further manipulation. following is the link and curl script: [CODE] <?php $url = 'http://criminaljustice.state.ny.us/cgi/internet/nsor/fortecgi?serviceName=WebNSOR&templateName=detail.htm&requestingHandler=WebNSORDetailHandler&ID=368343543'; //curl script to get content of given url $ch = curl_init(); // set the target url curl_setopt($ch, CURLOPT_URL,$url); … | |
Alrite so i am trying insert new values into my table, and when i try to, i get the following error [code]#1062 - Duplicate entry 'Hit Em High' for key 'team_home' [/code] Any idea how to fix this? I've heard it could be a primary key error, but im not … ![]() | |
function gethotproperty($hot){ $gethot = "select p.reference_id, p.area, p.area_unit, p.transaction_type,p.property_type,p.property_name,p.address1,p.address2,p.city,p.locality,p.pincode,p.area_in_sqft,p.total_price,p.negotiable,". "p.rate_per_sqft,p.num_bedrooms,p.floor_number,p.intro_image_loc,p.amenities_detail, p.specification_detail, p.location_detail from " . DBConf::getDatabaseSchema() . "property p where p.hot = ".$hot; $result = mysql_query($gethot, $this->connection); $property = new Property(); while($row = mysql_fetch_array($result)){ $property->referenceId = $row['reference_id']; $property->transactionType = $row['transaction_type']; $property->propertyType = $row['property_type']; $property->propertyName = $row['property_name']; $property->address1 = $row['address1']; $property->address2 … ![]() | |
Hi Can anyone please help me as to how to print in java? Please tell me the basics first and then how to change the configurations.Actually I need to print in a thermal paper for issuing tickets. Can anyone please help? Thanks Abhik | |
Howdy! Ive been working on an application now for number of months for a client and have developed a small application that uses a firebird backend (ver 2.1.xxxxx) Now, i managed to fix a permissions issue on Vista with firebird BUT when i run this same app with the database … | |
Hi, I call a JavaScript Function and now i want to call servlet from that function with parameters plz help me. Thanks in advance. | |
Hi, I am using SqlDataSource in order to bind data to dropdownlist and looking for a simple way to change text color based on specific value from database. Any idea if I can manipulate the SqlDataSource to do that? Is this something that I have to call from code-behind? This … | |
I am wondering if somebody could recommend a good book and/or tutorial for an absolute beginner with no previous programming experience. Thanks. Also If I can do decent at programming, I may end up going to college in order to try and make programming a possible career | |
hi, this is a simple program but i have no idea what the [inlinecode]args.length[/inlinecode] is for. [code] class PrintArgs { public static void main (String[] args) { for (int i = 0; i < args.length; i++) { System.out.println(args[i]); } } }[/code] i added a few more lines(below) to the code … | |
hi! I have problem with my jquery validation. When I successfully submitted my form, the value i enter is still there in the <input:text>. It supposed to be refresh and the form is emptied. here's my jquery code [CODE]// JavaScript Document $(document).ready(function(){ $("#myformcom").submit(function(){ var str=$(this).serialize(); //var result; $.ajax({ type: "POST", … | |
Hi everybody I need a help. codes below are written by someone else. I have a mysql database, html form to login to this database: [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>1</title> </head> <body> <h4>Please provide correct username and password:</h4> <form enctype="multipart/form-data" action="login.php" method="post"> Login: <input … | |
Hey guys, Hope I'm not posting into the wrong section. I think I have something very simple that i'm having a lot of trouble with. I have a text file called "file.txt" It contains: TagString=V3,SCC-COM,WXF1A20V0556,WXE1A2071007,PREBI TagString=V3,SCC-COM,WXK1A1045668,WXG1A30F3909,POSTBI TagString=V3,SCC-COM,WMAYP0002467,WMAYP0002769,BI I want to run a batch file that'll parse the 1st & 2nd … | |
i have a windows media player in c# windows form and now i want this player to play a audio file of which the location i provide...and i should be able to control the media player components like play,forward,rewind,stop........ please someone help for this as soon as possible... |
The End.