199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for aallan

Hi, I wish to create a very simple GUI for my C++ code I have written a simple C++ program using Microsoft Visual C++ Express. The details of the program functionality are not really important. Currently the user enters a number (1-5) on the command line and presses enter. A …

Member Avatar for Stefano Mtangoo
0
438
Member Avatar for HB25

Hi I have two tables called client and booking, the primary key in client table is clientID which is autoincress number and it’s a primary key, in the second table (booking) the primary key is bookingID and its autoincress number and the clientID is foren key. I have a questions: …

Member Avatar for Babaty
0
6K
Member Avatar for Stefano Mtangoo

Sorry guys, I know it is not C++ specific, but Wikipedia confused me. I have devoted a little time to look at programing tools and little on their innner workings. This term have boggled my mind. So any explanation on what this animal is? Thanks

Member Avatar for Stefano Mtangoo
0
85
Member Avatar for wtzolt

Hi, What I'm trying to do is to write a script which would open an application only in process list. Meaning it would be "hidden". I don't even know if its possible in python. If not, there has to be a function would allow for a program to be opened …

Member Avatar for vegaseat
0
6K
Member Avatar for brixton

Hi! I've managed to put together a header in my mails that escapes both Gmail and Hotmail's mail filters, so I guess it's not all that bad. However, for my work mail, which has a very nasty filter, it gets stuck in quarantine. So I figured I should ask for …

Member Avatar for almostbob
0
900
Member Avatar for The Pobo

Hey, I'm a student with rudimentry knoledge of VB6 and I've a college project where I have to develop a blackjack game. Unfortuanately I've a problem with the method I call the cards I was wondering if any of you would be able to shed some light on the problem. …

Member Avatar for The Pobo
0
220
Member Avatar for delbois1651

Hi, I recently created a website with a spry dropdown navigation bar. On preview from Dreamweaver CS4, in Firefox, IE, Opera, Chrome, all elements work properly and the dropdown menus work as well. However, when I upload it to my server at the domain [url]http://www.kcsslibrary.com[/url], the dropdown menus do not …

Member Avatar for Troy III
0
127
Member Avatar for WanxinG

Does anyone know how to use httpcontext.response.transmitfile or any other httpcontext function to download a file from a network drive instead of local drive? When I tried to use context.Response.TransmitFile(DownloadPath) to download files, the DownloadPath has to be local drive. If it's a network drive, the download failed. Thanks in …

Member Avatar for WanxinG
0
293
Member Avatar for vedmack

Hi i have xml file with nodes that could hold any type of input: for example XML code: <Code>1.2.3</Code> <name>John</name> </Employee> <Code>11.2.4</Code> <name>John</name> </Employee> <Code>2.3.7</Code> <name>John</name> </Employee> OR <Code>a.1.5</Code> <name>John</name> </Employee> <Code>a.2.1</Code> <name>John</name> </Employee> <Code>c.4.2</Code> <name>John</name> </Employee> The problem is that i can get any type of input Im looking …

Member Avatar for vedmack
0
122
Member Avatar for anandmanole

While developing program, i made six to seven text boxes to add the data in mdb database. All the data are properly added to the the database but for presentation purpose i have to show all these in one row & one column only. Ex: Textboxes for address: 1) Flat …

Member Avatar for kinwang2009
0
95
Member Avatar for ytregnn

I have a problem with a script that I bought. I'm trying to put the files in a different directory (different from the original) and for some reason I receive an error message saying; ” File(../../poll/Poll.php) is not within the allowed path(s)”. I've received this answer from the programmer of …

Member Avatar for pbcomput
0
111
Member Avatar for rohini.vangury

I want to display a screen as soon as the CD(or pendrive etc.) is inserted into the users computer and on clicking a button on the screen the setup project gets installed(one click insttallation) ... just like how visual studio gets installed with flash pics moving on the right hand …

Member Avatar for Jadooo
0
89
Member Avatar for Cristofor

Hello, I just start to learn c++. what I'm using is visual c++ express edition. here is the source code: --------------------------------------start [CODE]#include <iostream> using namespace std; template <class T> class pair { T value1, value2; public: pair (T first, T second) { value1=first; value2=second; } T getmax (); }; template …

Member Avatar for Cristofor
0
1K
Member Avatar for bankrupcyus
Member Avatar for techie929

// error: expected constructor, destructor, or type conversion before '*' token *** Error code 1 make: Fatal error: Command failed for target `bst.o' [CODE] class BinarySearchTree { private: int count; int n; struct tree_node { tree_node* left; tree_node* right; char data[1000]; }; tree_node* root; public: BinarySearchTree() { root = NULL; …

Member Avatar for mitrmkar
0
112
Member Avatar for halfnode

[CODE]System.out.printf("%-10s \t %8d\n",name[i],stationA[i],getStationScore(stationA[i]),stationB[i],getStationScore(stationB[i]),stationC[i],getStationScore(stationC[i]),award[i]);[/CODE] hi all, i'm finishing up on this assignment of mine and can't figure out how to format my output correctly. the correct format should be Name Station Station Test A B A b but so far i only been able to manage to get Name Station Station …

Member Avatar for halfnode
0
113
Member Avatar for gangemia

I have a text file that contains Road Name types paired with their abbreviated form. For example: ... Avenue,Av Road,Rd South East,SE Terrace,Tce ... How do I a create a dictionary variable from this CSV file in python 2.5.1 so I can get it in this form? {...'Avenue': 'Av', 'Road': …

Member Avatar for jice
0
236
Member Avatar for SearchDS

Hello I have been trying to make a function that can send the output data or any text to a network printer, I read many articles/posts about it but nothing is working, have been looking for almost a week... Whenever the program tries to use the printer function, it either …

Member Avatar for SearchDS
0
2K
Member Avatar for nvishwas

I need transform the following XML to CSV. Can some one suggest how do i write an XSLT to transform. XML is <Transaction TransactionID="60" EventDate="2009-08-17"> <VehicleBuilt InstallationType="factory"> <Vehicle> <Receiver RSN="489823"> <Module> <AddressableElement ESN="99409230923"> <Capability Type="Audio"> <Subscription> <SalesCode>DCC12MO</SalesCode> <Type>Audio</Type> </Subscription> </Capability> </AddressableElement> <AddressableElement ESN="12192019"> <Capability Type="Traffic"> </Capability> </AddressableElement> <AddressableElement ESN="1209010290192"> <Capability …

Member Avatar for xml_looser
0
682
Member Avatar for cane23

i am having some problems posting some values into a form when i click edit. i have checked to make sure that the variables contain the values that i want however they are not posting back to the form. here is my code below. [CODE]if ($_GET['mode'] == 'edit') { $c=$_GET['id']; …

Member Avatar for pbcomput
0
128
Member Avatar for venus_me11

i dont have any idea how to send through email i have a sample ticket. i dont know if i'm going to convert the php file into pdf.. i have no idea exactly.. if ever its hard, how can i send the sample ticket through inputted email of a customer...

Member Avatar for venus_me11
0
94
Member Avatar for Peric

I don't have any experiance in this part so I really need someone's help to get start. I have setup for my application in VB.NET...what i need to do (want to do) is next... -create/restore a database that I use for that application (I have database in MSSQL). Maybe I …

Member Avatar for Peric
0
764
Member Avatar for RooiBaard

Good day. I am attempting to write a C++ Program than must open a text file with random caharacters and then convert these characters into readble text. It must also be able to do the reverse Example like: If the text file has "%&^#)@!#@" It should convert that into "Hello …

Member Avatar for vidit_X
0
125
Member Avatar for tapas.chand

[CODE] [B]Hi there I am using several insert statements in a method in Java. If the connection fails in between I want to roll back the inserted rows. I cant use [COLOR="Green"]con.rollback()[/COLOR], because there is no connection. How to handle such situation? Thanks in advance.[/B][/CODE]

Member Avatar for tapas.chand
0
76
Member Avatar for whiteyoh

Hi all, I have 4 tables that all have a foreign key of dev_id. I want to SELECT * from all of them but it keeps saying "ambigious column". Can anybody advise how to overcome this? Thanks

Member Avatar for whiteyoh
0
105
Member Avatar for lisles

hey,i have a login form wherein the take the username and password from the user and submit the form.im using burpsuite t check 4 threats.when i click on the submit button the password is visible.is it possible to encrypt the password as soon as enter it instead of passing it …

Member Avatar for cwarn23
0
111
Member Avatar for noey699

I am designing a artificial life simulator atm and it would be very useful if I could pass any statement as an argument. For Example. [CODE]LoopStatement(X += 2,50)//loop statement 50 times //or LoopStatement(X += 2 * Speed,75)//loop statement 75 times[/CODE] I know the for loop has something like that. Also …

Member Avatar for timtaylor
0
91
Member Avatar for logicmonster

I have a program that a friend wrote for me in Java, however I'm trying to put it in C++ and I don't know Java myself. Does anyone know somewhere that I can get it translated? Or maybe someone who has time to translate it themselves? It all looks vaguely …

Member Avatar for javaAddict
0
187
Member Avatar for clutchkiller

[code] #ifndef BASE_H #define BASE_H class base { public: base(); struct baseInfo { int SlotCount[4]; }; private: protected: }; base::base() { } #endif [/code] This is my header file, but how do I access the struct and its members through an object of the base class(through main)? I cant find …

Member Avatar for clutchkiller
0
94
Member Avatar for Krstevski

This simple library containing some methods of Ajax. Example about addContent(url, target): With this function you can change the content of the someone DIV tag. E.g: index.php [CODE=php] <html> <head> <title>Untitled Document</title> <script type="text/javascript" src="ajax.js"></script> </head> <body> <div id="test"> <a href="javascript: addContent('test.php', 'content')"> Change </a> </div> <div id="content"> <label> This …

0
864
Member Avatar for wiz83

Hi, I have a user on a Website(name withheld) who is clicking on a button which loads the Ajax indicator and then opens a pop-up, but for this particular user the Ajax loads indefinitely he never gets to go to the pop-up, my guess is there is no bug in …

Member Avatar for wiz83
0
94
Member Avatar for manolisvl46

is there a possibility to retrieve a search from an ldap search (for my case) which is in done php <?......?> outside of it to the body of my page? to have a general idea i try to create a table that will be completed dynamically from the search being …

Member Avatar for manolisvl46
0
160
Member Avatar for okonjiaustin

I am building a website that uses php5 and mysql database. I want to upload images alongside other information. To get other information into the table of the database, this I can do very well, but to upload and display the images alongside other information(which may be done online by …

Member Avatar for janani26
0
187
Member Avatar for santiaguinho15

Sorry if this sounds silly but i am having a hard time understanding what "n" is when talking about big-oh. I know "n" is the data size but what does it really mean. Like in: public static boolean isArrayOver100(String[] args) { 2 if (args.length > 100) 3 return true; 4 …

Member Avatar for BestJewSinceJC
0
106
Member Avatar for hno

HI, I'm new in javascript and ajax and I need a IDE to write and debug my codes and I want it to be something like phpdesigner or dreamwawer that have snipper and suggest me when I write some of the code. Do you know something that can help me …

Member Avatar for hno
0
81
Member Avatar for mcastu

hi guys m new to this forum .......... i have emp_company table having field ecode, ecardno etc and another table is at0310 the fields of this table are ecardno, date , time, IO, serialno , cardrd and ecode the data inserted into at0310 table from text file except ecode......... i …

Member Avatar for mcastu
0
104
Member Avatar for dumbncool

Hi, I have a question regarding outer joins. Suppose I have the following 2 tables each having 2 columns. Employee: EmpId, DeptId Department: DeptId, DeptId EmpId is primary key in Employee and DeptId is primary key in Department. Also, Employee.DeptId is foreign key referencing Deparment.DeptId. My first question: 1. Suppose …

Member Avatar for urtrivedi
0
92
Member Avatar for drewpee

Im trying to create a report that only includes records that was created between to [B]Date Variables[/B], [B]dateTo[/B] and [B]dateFrom[/B]. There are three combo boxes used to get the values for the two dates. Here's the code I didn't include the select case for the month(in string) to be converted …

Member Avatar for drewpee
0
169
Member Avatar for nychick

I got everything going regarding PHP widgets and successfully fetched my DB. [CODE]<?php $con = mysql_connect("mywebsite.com","DB","password"); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("pages", $con); $result = mysql_query("SELECT ebayid, reason, DATE_FORMAT(date, '%M %d, %Y') FROM `blacklist` ORDER BY `ebayid` ASC"); echo "<table border='0'> <tr> <th>EBay ID</th> <th>Reason</th> …

Member Avatar for OS_dev
0
116
Member Avatar for srya

hi friends, This is my code but it not working properly.pls tell the solution [code] <?php mysql_connect("localhost","root",""); mysql_select_db("samples"); ?> <!doctype html public "-//w3c//dtd html 3.2//en"> <html> <head> <title></title> <SCRIPT language=JavaScript> function reload(form) { var val=form.cat.options[form.cat.options.selectedIndex].value; self.location='drop3.php?cat=' + val ; } function reload3(form) { var val=form.cat.options[form.cat.options.selectedIndex].value; var val2=form.subcat.options[form.subcat.options.selectedIndex].value; self.location='drop3.php?cat1=' + val …

Member Avatar for manishjha
0
144
Member Avatar for MJaske

Hello everyone. Home help = homework help :) can't change it now I'm running into an error, expected initialize before "int menu()" I have been playing around with it for a bit but I have not figured out how to get rid of the error. When I think I got …

Member Avatar for thomas_naveen
0
160
Member Avatar for jallan2010

Sir, Please anybody help me while I am inserting the data through textbox of the selected item of the list box I want the when the user will input the data into textbox and then pressing the insert button the the selected item of list box (selected item only color …

Member Avatar for jallan2010
0
143
Member Avatar for darshanpm

Hi, I have a very weird problem sending the below script. The email gets sent successfully but when you get the email, there will be only few lines only....rest of them doesn't get printed in email but if you echo it on screen, it appears all perfect. See attachment for …

Member Avatar for saiprem
0
112
Member Avatar for corby

any help would b greatly appreciated for the following how do i modify this to output the date in multiple formats: a)DDD YYYY MM/DD/YY June 14, 1992 b) use overloaded constructors to create Date objects initialized with dates of the formats in part (a). c) create a date constructor that …

Member Avatar for corby
0
159
Member Avatar for preetg

hi writh ......... thanx for last responses....... i need your help agian plz help me out i have two tables emp_company and at0310 in at0310 having fields: ecardno,atdate,time,IO,serialno,cardrd and ecode. into my text file ecardno,atdate,time,IO,serialno,cardrd record available but ecode not comes from there in my emp_compnay i have filed like …

Member Avatar for preetg
0
93
Member Avatar for muralibobby2015

[CODE]Warning: fsockopen() [function.fsockopen]: unable to connect to localhost:25 (A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. ) in C:\wamp\www\murali\includes\class.smtp.php on line 83[/CODE] i am getting this error. when i am …

Member Avatar for muralibobby2015
0
69
Member Avatar for g-fer

Hi all ... During a session a user causes information to be added to a temporary database table. At the end of the session, the information has to be removed. How can I tell when a session has ended so that I can clear the rows from the table that …

Member Avatar for g-fer
0
129
Member Avatar for jallan2010

Sir, I am using 6 textboxes and three button one for insert data second for update and third for delete the data while inserting and updating the record it generate an error i.e. "Data type mismatch in criteria expression" in the backend i.e in MS Access I am using this …

Member Avatar for jallan2010
0
70
Member Avatar for cyberguy007

Using the example of 10, all the numbers from 1 to 10 are initially in the game. Suppose the user chooses 9; 9 is added to his score. The Tman gets 1 and 3 since these are exact divisors of 9; the Tman’s score is now 1 + 3 = …

Member Avatar for anup375
0
90
Member Avatar for FotG2

I have a project set up using a JLayeredPane with a number of JLabel objects. Some are gray images, and others are images of cards. The cards are drag-able, but I'm trying to make them so they can only be dropped onto the blank spots, if its not one of …

Member Avatar for FotG2
0
118

The End.