199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for En-Motion

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 …

Member Avatar for d5e5
0
114
Member Avatar for grafiksinc

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 …

Member Avatar for stardust16
0
747
Member Avatar for Leppie

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 …

Member Avatar for Leppie
0
185
Member Avatar for G_S

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 …

Member Avatar for G_S
0
376
Member Avatar for Priyesh_17

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

Member Avatar for woooee
0
158
Member Avatar for J-M DESMETTRE

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

Member Avatar for woooee
0
142
Member Avatar for ryan461

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 …

Member Avatar for ryan461
0
399
Member Avatar for WildBamaBoy

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 …

Member Avatar for Beat_Slayer
0
265
Member Avatar for dthung

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 …

Member Avatar for tesuji
0
176
Member Avatar for neithan

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

Member Avatar for nick.crane
0
151
Member Avatar for judithSampathwa

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

Member Avatar for nick.crane
0
2K
Member Avatar for Ror1

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

Member Avatar for Ror1
0
83
Member Avatar for whiteyoh

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

Member Avatar for tomford
0
105
Member Avatar for meepokman

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 …

Member Avatar for meepokman
0
449
Member Avatar for KAY111

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

Member Avatar for arkoenig
0
116
Member Avatar for zreed

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

Member Avatar for CrazyDieter
0
199
Member Avatar for Manuz

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] => …

Member Avatar for Manuz
0
108
Member Avatar for shubhamjain1

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?

Member Avatar for asaukani
0
128
Member Avatar for RoyMicro

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 …

Member Avatar for RoyMicro
0
104
Member Avatar for Alba Ra

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 …

Member Avatar for Alba Ra
0
253
Member Avatar for mattloto

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 …

Member Avatar for Ketsuekiame
0
280
Member Avatar for akssps011

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

Member Avatar for akssps011
0
167
Member Avatar for nizuya

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

Member Avatar for nizuya
0
326
Member Avatar for hisugan

...well i would like to practice c++ by analyzing the logic of the sample programs.... ..thank you for your help.. i really appreciate it...

Member Avatar for Ketsuekiame
0
83
Member Avatar for Schoorsteen

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 …

Member Avatar for daviddoria
0
580
Member Avatar for venomxxl

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 …

Member Avatar for venomxxl
0
101
Member Avatar for homeryansta
Member Avatar for bluem1

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 …

Member Avatar for bluem1
0
1K
Member Avatar for kirtan_thakkar

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 …

Member Avatar for kirtan_thakkar
0
103
Member Avatar for kirtan_thakkar

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 …

Member Avatar for rajarajan2017
0
122
Member Avatar for Mithrandir85

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 …

Member Avatar for Mithrandir85
0
107
Member Avatar for dalip_007

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. :-)

Member Avatar for ppetree
0
8K
Member Avatar for ankyG

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 …

Member Avatar for Ancient Dragon
0
162
Member Avatar for ben.matthews18

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

Member Avatar for pritaeas
0
150
Member Avatar for knkk

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

Member Avatar for knkk
0
106
Member Avatar for neo.mn

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 …

Member Avatar for neo.mn
0
97
Member Avatar for jyotiu

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&amp;templateName=detail.htm&amp;requestingHandler=WebNSORDetailHandler&amp;ID=368343543'; //curl script to get content of given url $ch = curl_init(); // set the target url curl_setopt($ch, CURLOPT_URL,$url); …

Member Avatar for sohail_mubeen
0
2K
Member Avatar for BTW8892

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 …

Member Avatar for rajarajan2017
0
66
Member Avatar for anony

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 …

Member Avatar for rajarajan2017
0
184
Member Avatar for AbhikGhosh

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

Member Avatar for AbhikGhosh
0
321
Member Avatar for instinctfx

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 …

Member Avatar for instinctfx
0
154
Member Avatar for Roshan_Jain

Hi, I call a JavaScript Function and now i want to call servlet from that function with parameters plz help me. Thanks in advance.

Member Avatar for chaituu
0
89
Member Avatar for ypdev

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 …

Member Avatar for ypdev
0
148
Member Avatar for ndowens

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

Member Avatar for Bench
0
135
Member Avatar for mikki2

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 …

Member Avatar for masijade
0
10K
Member Avatar for abhisriv
Member Avatar for canterorist

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

Member Avatar for canterorist
0
97
Member Avatar for thomasbe

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 …

Member Avatar for thomasbe
0
119
Member Avatar for Grep

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 …

Member Avatar for Grep
0
189
Member Avatar for shashimgowda8

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

Member Avatar for shashimgowda8
0
66

The End.