64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for ermithun

please refer the code below, /** * Constructs an empty std::list */ LDAPControlSet(); only this much is there in its respective class,LDAPControlSet. i want to understand that how does it create an empty list from std when nothing's there in its below constructors?? Moreover, the below constructors are the copy-constructors.. …

Member Avatar for ermithun
0
122
Member Avatar for leviathan185

Hi, I am just starting to learn Java and the tutorial i am using says i need to add the path that JDK is installed to but when i attempt to save the file it comes up access denied? I am running Windows 7 RC build 7100. Can someone please …

Member Avatar for leviathan185
0
184
Member Avatar for PhiberOptik

Hey I am sitting around here on my summer semester break. I am curious if anyone here is a java developer and actually makes good money at it? Basically I would like to know what kind of stuff you do, where you work from, office, home, etc. I'm just curious …

Member Avatar for BestJewSinceJC
0
144
Member Avatar for muhandis

I'm kind of new to Windows programming, especially GUI programming, and have searched for over an hour on how I can easily do this. I don't want any third party software and was wondering if I could just simply change the bitmaps used to display controls. I don't need the …

Member Avatar for Ancient Dragon
0
127
Member Avatar for Acute

Hello world!:)) Does anybody know how to send icq message in PHP?? Is it possible to send message to icq number like 433400749??

Member Avatar for chrishea
0
109
Member Avatar for grisha83

Hello, I am new to Python. I am trying to start writing some simple programs in it. Which IDE would you suggest? I am currently using NeatBeans for my Java programs but i don't think i can use it for Python P.S. I am using Mac OS X 10.5.7 Thank …

Member Avatar for vegaseat
0
104
Member Avatar for arinlares

I'm working on learning on programming with Pygame by following a tutorial linked from the Pygame site. I seem to have stuck myself in a hole, however, because I can't seem to set keys to do different things within the program. I'm trying to first close the program by pressing …

Member Avatar for arinlares
0
6K
Member Avatar for XTRobot

Hi again,first i must say that i am familiar with c++ but only console programming. I am beginner so can you please be more gentle. I want to move on programming with buttons,windows,check boxs,input box and so on,i have heard of API and GUI what is the diference ? They …

Member Avatar for XTRobot
0
282
Member Avatar for JohnPhilipps

Good morning, I would like to ask for your help, I am working on getting a text file read using using a java applet, the content of that text file is generated with an object in the class TowersOfHanoiExecute TowersOfHanoi towersOfHanoi = new TowersOfHanoi( totalDisks ); after which I was …

Member Avatar for JohnPhilipps
0
803
Member Avatar for lotrsimp12345

so input would be Q1,2,3-5 output would be do problems 1,2,3,4,5 of Q [code] #include <iostream> #include <cstdlib> #include <sstream> #include <string> using namespace std; int main() { cout <<"enter the problemset and number""\n"; //problems represents name and numbers string problems; char quote; char num; string number; //gather name if(cin.peek()=='"' …

Member Avatar for jackcppi2
0
292
Member Avatar for serkan sendur

i am creating a .net setup project and i want to decide the name of the shortcut when i run the windows installer. is that possible? if that is possible also let me know how to name the installation folder likewise. the installation will be in silent mode, so there …

Member Avatar for serkan sendur
0
742
Member Avatar for daviddoria

If I do something like this: [code] print "%08d" % 2 [/code] It will print '00000002'. However, I want to change the "8" to a "3" at runtime (to get '002' instead). I tried this: [code] MyLength = 3 print "%0" + str(MyLength) + "d" % 2 [/code] but I …

Member Avatar for daviddoria
0
139
Member Avatar for lotrsimp12345

so i find the period or whatever the sentence ends in. Then I create a substring from that and delete the part which contains the end character. Then i keep count of it.

Member Avatar for lotrsimp12345
0
130
Member Avatar for stevenpetersen

[code]<script languae="PHP"> open_database("location","username","password"); display_page("PAGE_ID"); close_database(); </script>[/code]

Member Avatar for stevenpetersen
0
104
Member Avatar for tehbrozor

Hello, I am trying to write a GUI front (with tcl/tk) for a python module. Unfortunately the module takes parameters and I don't know how to call a python module with parameters without going into interactive mode (I'm running Debian) I can get tcl to run a test module with …

Member Avatar for jlm699
0
172
Member Avatar for serkan sendur

i was able to create a shortcut name dynamically, now i need to link it to executable of my software. to do that i need to know where the software has been installed. So the question is how to get installation folder in custom installer class? Thanks.

Member Avatar for serkan sendur
0
293
Member Avatar for whisper_101

Hi Guys I am trying to send a link in an email to my users - I am using CDO. I am having trouble contructing the link. Currently I am receiving the message "syntax error". [code] strBody = strBody & <a name= & "anchor" & id= & (rsEmailAlert.Fields.Item("S_Id").value) & href= …

Member Avatar for whisper_101
0
113
Member Avatar for S2009

Hi all, I am creating a trigger which should be triggered on insert to BOOKISSUEDETAILS table. I want to alter the table LIBRARYBOOKDETAILS table only if the Inventory column value is greater than 1. Initially I have created the trigger in the following way. But now I want to alter …

Member Avatar for S2009
0
1K
Member Avatar for auhuman

Hi, I joined a company on 1st of June and I am going to get my 1st month salary. And the one responsible for this to happen is my sister. She after finishing her BE-computer science from one of the reputed colleges in Tamil Nadu,INDIA joined a customer support services …

0
73
Member Avatar for OmniX

What I require is to replace \/:"?<*>| with a space. I have done similar statements before but I have complete brain freeze at the moment. Hoping one of you can jog my memory. Always hated regex expressions never understood the logic behind them minus the A-Z and 0-9 and then …

Member Avatar for ShawnCplus
0
167
Member Avatar for ermithun

typedef std::list<LDAPCtrl> CtrlList; typedef CtrlList::const_iterator const_iterator; please help me in understanding the above typedef statements as we know that typedef syntax is, typedef <attributes> datatype aliasname Thanks.

Member Avatar for ermithun
0
202
Member Avatar for ayesha789

Is it possible to design a search box which suggest the values from the database. Its very cool. can show the data from the page but its difficult to show from the MYSQL Database Table. If you have any example please share with me. [CODE=html]<html> <head> <script type="text/javascript" src="clienthint.js"></script> </head> …

Member Avatar for ayesha789
0
155
Member Avatar for dinilkarun

Hi All, I am using the following code to write data into an excel sheet: [CODE]# Open the Output Spreadsheet objExcel = win32com.client.Dispatch("Excel.Application") # Creating object to write to Spreadsheet self.xlApp =Dispatch("Excel.Application") # Creating Workbook self.Wkbk = self.xlApp.Workbooks.Add() # Get sheet count intShtCnt=self.Wkbk.Worksheets.Count # Creating worksheets wsObjReport = self.Wkbk.Worksheets.Add() # …

Member Avatar for dinilkarun
0
2K
Member Avatar for csharplearner

Hello all, I am trying to connect to sqlserver on godaddy but facing so much trouble with the connection strings. I wanted to use C# but wasnt successfully in making a connection. when i simply copy-pasted their vb-script connection strings sample.. it worked. I tried to modify vb to c# …

Member Avatar for jerry32uk
0
437
Member Avatar for lotrsimp12345

//main [code] #include <iostream> #include <cstdlib> using namespace std; #include "libro.h" int main() { test ab; cout<<"enter width limit"; int length; cin>>length; ab.alternate(length); } [/code] //implementation [code] #include <iostream> #include <cctype> #include <cstdlib> using namespace std; #include "libro.h" int test::alternate(int width) { //for odd, 3 char-ellipsis if(width%2==1) { keep=width-3; } …

Member Avatar for lotrsimp12345
0
145
Member Avatar for iliketacos

I need help please. this cgi program works fine only if the user puts in more than 66 chars..i chopped the lines into 66 chars each so they would fit in the textarea the problem is that record comments() works perfectly for writing multiple lines and the \n char in …

Member Avatar for iliketacos
0
261
Member Avatar for crash1989

I found this question in some programming contest.. Given are N squares with side 1. How many "different" rectangles can one form using these squares? Two rectangles are considered different if none of them can be rotated and moved to obtain the second one. During rectangle construction, you can neither …

Member Avatar for crash1989
0
642
Member Avatar for serkan sendur
Member Avatar for serkan sendur
0
176
Member Avatar for serkan sendur

here is the question: when you have a file you can open properties of that file and set "Copy to Output Directory" to "Always Copy",however, when you want to do the same thing for a folder, there is no option for copying. all there is rest to create that folder …

Member Avatar for serkan sendur
0
2K
Member Avatar for serkan sendur

yeah i deploy the application using start button in VS, then application runs ok, then to debug it i run it again without any code change, it gives "Value does not fall within the expected range" error. Do you know why?

Member Avatar for serkan sendur
0
87
Member Avatar for suretd

HI All, Another Question: I have created another program that queries the StockTracker database for all users and the stocks held by each user. The program compiles, but at run-time i get the error: [COLOR="Red"]"Exception in thread 'main' java.sql.SQLException: Column not found at sun.jdbc.odbc.JdbcOdbcResultSet.findColumn<JdbcOdbcResultSet.java:1833> at sun.jdbc.odbc.JdbcOdbcResultSet.getString<JdbcOdbcResultSet.java:395> at StockByUser.main<StockByUser.java:43>"[/COLOR] I am …

Member Avatar for masijade
0
12K
Member Avatar for hughesadam_87

Hey guys, Has anyone here ever used python to produce data files which can be immediately read by excel? I thought at first if I just tab-delimited my data, I could copy and paste an entire data file into excel. This is not the case. When I take a tab …

Member Avatar for hughesadam_87
0
118
Member Avatar for mansi sharma

Can somebody what is the Replace equivalent in ASP.Net..Below is the VB.Net code..I Searched on the net..but not able to do it....I hope so it will be too simple.. [code] Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim sID As String = "ABC1" Dim lId …

Member Avatar for mansi sharma
0
89
Member Avatar for Stormy_Weather

Hi, We are new to Visual Studio 2008, barely a month into a C++ course, and are currently working on a few personal projects. We have successfully created a console application with Visual Studio but are not sure on how to get the program to run outside of Visual Studio. …

Member Avatar for tux4life
0
235
Member Avatar for lotrsimp12345

the error is on line 32 of my main program //interface file [code] #ifndef STREXTRA_H_INCLUDED #define STREXTRA_H_INCLUDED #include <iostream> using namespace std; class search { public: int find(unsigned char mystring,char letter); int find(char mystring[],string word); }; #endif // STREXTRA_H_INCLUDED [/code] //implementation [code] #include <iostream> #include <cstdlib> using namespace std; #include …

Member Avatar for daviddoria
0
147
Member Avatar for painless

Sequencer sequencer = MidiSystem.getSequencer (); can any 1 tell ...What's going on in this code ....

Member Avatar for painless
0
92
Member Avatar for drxnele

Hi, i am making downloader, and I want to use diferent progressbar for every link (like ff downloader)... I made treemodel [CODE]treemodel = gtk.TreeStore(gtk.gdk.Pixbuf, str, gtk.ProgressBar)[/CODE] and i put in components with this [CODE] def insert_row(self, model, parent, type_image, file, pbar): myiter = model.insert_before(parent,None) model.set_value(myiter,0,type_image) model.set_value(myiter,1,file) model.set_value(myiter,2,pbar) return myiter[/CODE] my …

Member Avatar for drxnele
0
272
Member Avatar for StaticShell

Hello all, I am new and I was hoping someone could please help me out. My problem is, I am trying to design a C program to read in a text file containing values, and output these values in binary form. the text file "values.txt" looks like this: 139 <tab> …

Member Avatar for StaticShell
0
157
Member Avatar for serkan sendur

You must do three things to solve this problem : 1) in the object tag add the following parameter <PARAM NAME=wmode VALUE=transparent> 2) in the embed tag add the following attribute <EMBED src="jet.swf" wmode=transparent .... 3) add the same name-value pair to the following script <script type="text/javascript"> AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0' ,'wmode','transparent',...rest …

Member Avatar for serkan sendur
0
400
Member Avatar for wdsd

My goal is to write a function that takes a number and returns the number of solutions for that number, a form along the lines of f(a) = x_0 + x_1 +...+ x_n = a. where n can be any number such that n < a. Another restriction that I'm …

Member Avatar for BigTurtle
0
102
Member Avatar for SP IT

This is my final assignment before the semester is over. For this program I am supposed to create a switch within a loop. The switch works but the program will not loop. Can you please help me. [ICODE]#include <iostream> #include <cstdlib> #include <ctime> using namespace std; int main(void) { double …

Member Avatar for SP IT
0
105
Member Avatar for Hiroshe

Writting a program which involves tallying generated numbers. I'm having problems with the tallying part. It takes a number, and finds it in the second row of an array, and tallies (add 1) to the same position in the first row. Here's my extracted code: [CODE=C]#include <stdio.h> void tally(int number, …

Member Avatar for Hiroshe
0
1K
Member Avatar for redserpent7

Hi As the title suggests I'm having a problem compiling MFC based applications, this problem started immediately after installing the windows server 2003 platform SDK and now even when I try to compile a new MFC project I get the following errors: [CODE] c:\program files\microsoft platform sdk\include\zmouse.h(141) : error C2146: …

Member Avatar for redserpent7
0
245
Member Avatar for john_beginner

i have to devlope "Web site" as a project using asp.net technology whould u pls tell me which kind of web site should i develope ?? thanx in advance [:)]

Member Avatar for john_beginner
0
148
Member Avatar for Acegikmo

After I've been running my program for a while, it freezes and gives me this error in the console: [COLOR="Red"]Exception in thread "Thread-4" java.lang.IllegalArgumentException: timeout value is negative at java.lang.Thread.sleep(Native Method)[/COLOR] It gives me a line to where the error occurs, which is the same line where it says "try": …

Member Avatar for Acegikmo
0
2K
Member Avatar for madhurimonica

how to create a table using date data type i am getting error during creating table create table mrf(fr date); error: cannot find data type date

Member Avatar for kvprajapati
0
43
Member Avatar for sarithak

Hi frnds.... I need code for PHP AND MYSQL POLL... It should contain admin part for inserting poll quetion, and saving all data into database.. In the user part also having graphical bar representation... ex:This is the way i want.. [B] [url]http://www.ndtv.com/news/polls/poll_details.php?pollID=505003&poll_saved=1#postcommentarea[/url][/B] Plz give some URLs regarding POLL.. or Plz …

Member Avatar for sarithak
0
153
Member Avatar for ankushbansal89

I have written a complex stored procedure which have a log table which keeps the track of success/failure of each and every query in the stored procedure. If there is any error in any of the query entire transaction is rollback . while rollingback, data in log table is also …

Member Avatar for sknake
0
85
Member Avatar for Tank50

Hi I created C# project ,but there is problem,the problem is if I click on close button in right side upper corner in windows application while program is running ,then it's close,but I cant compile it in second time because its giving error massage "your Test10.Exe is already running",but there …

Member Avatar for sknake
0
154
Member Avatar for Nyaato

I'm a little stuck on this particular piece of code that I'm working on. I'm supposed to check the contents of 1 text file (original), and compare it with another text file (filter) to see if there's any words that matches up. What I have now is a so-called working …

Member Avatar for Nyaato
0
450

The End.