64,152 Solved Topics
Remove Filter ![]() | |
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.. … | |
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 … | |
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 … | |
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 … | |
Hello world!:)) Does anybody know how to send icq message in PHP?? Is it possible to send message to icq number like 433400749?? | |
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 … | |
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 … | |
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 … | |
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 … | |
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()=='"' … | |
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 … | |
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 … | |
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. | |
[code]<script languae="PHP"> open_database("location","username","password"); display_page("PAGE_ID"); close_database(); </script>[/code] | |
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 … | |
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. | |
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= … | |
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 … | |
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 … | |
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 … | |
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. | |
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> … | |
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() # … | |
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# … | |
//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; } … | |
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 … | |
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 … | |
is there anyway to check if pocket pc is connected to desktop via activesync? | |
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 … | |
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? | |
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 … | |
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 … | |
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 … | |
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. … | |
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 … | |
Sequencer sequencer = MidiSystem.getSequencer (); can any 1 tell ...What's going on in this code .... | |
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 … | |
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> … | |
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 … | |
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 … | |
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 … | |
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, … | |
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: … | |
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 [:)] | |
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": … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … |
The End.