199,114 Archived Topics
Remove Filter ![]() | |
Hi, I'm making a music database, and I need to list 20 tracks. Currently, Im typing the following code 20 times: <a href="music/<%=rs1("artist") %>/<%=rs1("album") %>/01%20<%=rs1("Track1") %>.<%=rs1("ext") %>"><%=rs1("Track1") %></a><br> replacing 01 and Track1 with 02, 03, 04 Track2 Track3, Track4 etc. Now, I tried using the for loop like this: <% … | |
Hello, I'm trying to execute this simple code: [code] class Person: population = 0 def __init__(self, name): print 'Creating % s peron' % name self.name = name Person.population += 1 def __del__(self): print 'Destroying %s person' % self.name Person.population -= 1 prvi = Person('Asimi') drugi = Person('Mici') [/code] I'm using … | |
I do: paramField.ParameterFieldName = "P1" ' Set a value to the parameter. paramValue.Value = strTemp paramField.CurrentValues.Add(paramValue) paramField.DefaultValues.Add(paramValue) ' Add the parameter to the ParameterFields collection. paramFields.Add(paramField) CrystalReportViewer.ParameterFieldInfo = paramFields strReportSource = strReportSource & "Transaction For Specified Account.rpt" CrystalReportViewer.ReportSource = strReportSource Then I get "Load report failed" Any suggestions? Thanks.... | |
i have 9 pages that mostly follow on after each other and pages 4 and 5 both have to use information that has been added to textboxes on page three, both to show text in a label and also to use the added text to write to the registry. to … | |
Hey Guys.. Any one have an idea about how can i send an e-mail using C++,i mean using sockets in C++ can anyone provide me by the code i need thanks in advance. Enzo | |
Here it is... Design, write, and compile a program to determine if the digits in a three-digit number are all odd, even, or mixed odd and even. Your program should prompt the user to input a three-digit number and echo-print the number. If the digits in the number are all … | |
Hello boys and girls, I'm wondering around with arrays and I'm trying to get one up so that it grabs a user inputt'd char and adds it on then prints out the contents of the array so far ie "Enter character" : User enters : 'A' Prints out A on … | |
Greatings from the [URL=http://www.wc3campaigns.com/forums]WarCraft3Campaign[/URL] forums! We are at a bit of a dilema. The WarCraft 3 TFT WorldEditor is a very flexiable program, and the latest in big works is the workings on a custom MMORPG. The prople working on the Dark Crescent claim that they have a C++ programmer … | |
Can any one let me know whether we can create Crystal reports from Asp.net at run time based on the user's selection of tables and fields that appear in the report. User should select fields and tables in aspx and based on these the report(crystal report) should be developed.Here user … | |
I need to change the cursor in a static member function but I receive a compiler error error C2671 : static member functions do not have 'this' pointers this->Cursor = System::Windows::Forms::Cursors::Default; How do I modify the code so it will work in a static member function? Thanks. | |
Hi, I've been trying to make a really simple word unscrambler, that takes a scrambled word, and then compares it to a txt file filled with words. The problem I'm getting, is that I'm trying to only read the first word of each line, and if it finds the word, … | |
Hello, copying from one file to another is a simple matter. In C it's something like this: [code] int main(void) { FILE * fp1, * fp2 ; int buff; fp1 = fopen ("name", "rb"); fp2 = fopen ("name", "wb"); while ( (buff = fgetc(fp1)) != EOF) { fputc(buff, fp2); } … | |
i have a popup window thats got a submit button on it. when it is clicked, i want it to close automatically.. but i dont know how.. anyone please help... | |
I have the following problem: 2 years ago I did a Qbasic program which calculated a graphic, show this graphic on the screen and then the graphic is sended to Printer. The statement I used was << SHELL "prtscr.exe" >> where ptrscr.exe y a program which capture the screen and … | |
Hello everyone, I have heard that the search engine of Yahoo is based on open source search technology, is that true? If it is true, what open source search technology is it using? Is Yahoo search engine itself open source? thanks in advance, George | |
Everyone knows yahoo mail. When you just logged on to your account you see on the page "[B]You have 0 unread messages[/B]". I just womdered is there any way how can i find something on the page using javascript and return as variable. So what i've done is: 1. I … | |
Hello and thanks in advance to your suggestions, I have taken a few courses on programming, Turbo Pascal and intro to C, about 8 years ago and I'm sure much has changed. So my goal is to get back into programming and learn what a solo programmer can accomplish. The … | |
I frequently use maps to store pairs of data. A large percent of the time I use it to store a mapping between a value and how many times it occurred. What I would like to do in one particular scenario is to provide the output sorted by the value … | |
How to decrease the amount of memory that a process/executable consume? | |
If I have a vector<string> and do a find, the find returns me an iterator. How do I know what position of the vector does the iterator point to? for example. [code] vector<string> myVec; myVec.push_back( "A"); myVec.push_back( "B"); myVec.push_back( "C"); myVec.push_back( "D"); vector<string>myVec::iterator myIter = myVec.find(myVec.begin(), myVec.end(), "C" ); if … | |
Hi there.I have a quick question.I wrote this program to look like my own browser.It views the code of the url givven and it was suppose to be a browser too.The button explanations are as following: CODE=Shows the code of the given url VIEW=When you push it it was supposed … | |
Hello, I'm having a problem with a line of code that doesn't seem to be working right. I have no idea why it keeps telling me I have a missing ';' before '-'. Any help would be appreciated. Here's the error in Visual Studio: [color=RED] : error C2143: syntax error … | |
Hi I have a C++ dll which was designed to handle an Access 97 database using dao classes. I now need to convert this to Access 2000 / 2002, but when I run it, I get 'database format not recognised' errors. Presumably, I need to recompile with different settings somewhere. … | |
where can i find good tutorial to GUI programming in borland | |
hi people, i am having some problems, perhaps understanding about how dynamic memory allocation works with pointers and arrays. Im trying to get the user to input the size of the string in my program and allocates a certain amount of memory to hold the string of the size. Next, … | |
hi my name is srikanth.i am a eginer in java just learning the basics.i just have one question. why does everyone talk in a confusion manner regarding java like using terms such as j2ee,j2se,core java advanced java. whats the difference? there is no such confusion in C. and what is … | |
ok, i need to be able to typ in one text box hit a button and the same text appear in the second text box. bu this time with quotes around it. Is this possible. :?: | |
i'm new to java and this is my first post and a silly one too plzz help me out under what context should these both be used and how is it internally expressed or used by the compiler | |
plz tell me the type of program(application etc.) and the source, hopefully not difficult to understand from C:/Magix also can add //description | |
So, I just recently started using VC. Before I had been using DevC++, gvim, and NetBeans(for java). The reason I got into Visual C++ is because I have also begun learning to use DirectX. I used Visual C++ 6.0 starter edition for a couple months, and then just a few … | |
How would i convert an Bitmap to an Icon. I cant fiure i out. | |
Can someone point me to some nice tutorial about CGI using C++! Tahnk you. | |
Hello, I'm trying to capture letters entered by user into an array using classes. Although I'm having some unknown difficult issues: [code] //main .cpp file. int main() { char guess = 'a'; hangman game1; game1.getbuffer(guess); guess = 'b'; game1.getbuffer(guess); return 0; }[/code] at the minute as you can see I'm … | |
[SIZE=3]1)Solve the recurrence T(n) = 2T(pn) + 1. (*pn means the square root of n) 2)Solve by the recursion tree method T(n) = 3T(n/2 ) + n | |
Hi all, I'm supposed to develop a very simple game as my project this year. And we are supposed to use dos compiler only ( i don't know why though). Is there any website which could help me in the very basics of game programming like drawing shapes, moving those … | |
Hello ladies and gents, Im reading about working with maps and there is small programm example shown in this chapter. Now, when I write this code into the MS VC C++ compiler and compile the code, I get like over 90 warnings, however, when pressing compile again, they all are … | |
Hello everybody, actually i'm having problems with java loops as it is so complicated, dont know where to start. I have 2 questions if u could please answer it. 1. Write a program that generates and ouputs the table below: [B]10 20 30 .... 100 110 120 130 ....200 210 … | |
1. Introduction The objective of this project is to develop an Airline Reservation System. Green Dot airline has just purchased a computer for its new automated reservation system. You have been asked to program the new system. You are to write a program to assign seats on each flight of … | |
Hello! I'm new here, and also beginner with php programing. i'm just starting to learn the basics, and I mean very basics. :o I have a little problem, what I want to fix on my homepage. the situation is the following: (photos.php) [URL=http://shclass.fw.hu/demo.gif]http://shclass.fw.hu/demo.gif[/URL] This is the starting point. Now, what … | |
I am taking an intermediate programming class, after a somewhat long hiatus. One of the first projects is a somewhat simple assignment that takes a date from the user, and checks to see if it is valid, using classes. I have been working on it for a while, and i … | |
I have a site, [URL=http://www.andpost.com][B]www.andpost.com[/B][/URL] and I was wondering with 100MB of space for the database, how many users and posts will actually use it up? Thanks, Avrom | |
This program is supposed to print the sum, average, product, smallest and largest of three numbers. Please look at this and tell me where I am going wrong. | |
I am design a website for my parents at the moment and am in the process of making a booking form in ASP. The form is displaying correctly(well once its all tidied up etc) in Internet Explorer and even the shoddy AOL browser, however, it is only displaying code when … | |
hope I can get a little help here. I have list here, right now it is showing the whole path when user drops the list down. I don't want user to see the path. I want them to see only single name like Phone, pics etc. but when user selects … | |
Hi All, I am new to java/jsp. I have made a jsp page. And i have included the java code in jsp itself using <%,%> tags. Now i want to move the code to java files keeping this as plain jsp. I think i need to use java beans.Can anyone … | |
:?: Have tried to make sense of this, but am not quite sure what this !get_magic_quotes_pgc does, can someone please provide me with a simple expalnation of what it is, and why do i really need it. Please please please. Thanks. :lol: if(!get_magic_quotes_gpc()) { $title = addslashes($title); $content = addslashes($content); … | |
hi my name is srikanth.i am a beginner in java just learning the basics.i just have one question. why does everyone talk in a confusion manner regarding java like using terms such as j2ee,j2se,core java advanced java. whats the difference? there is no such confusion in C. and what is … | |
Hello, I need to write a script for a program I am running and I have never written on. I don't even know what commands scripts use, or what they even look like. Does anyone know any tutorials or example I could modify to fit my needs? Thanks, -Al | |
Hello everyone, When debugging a C or C++ binary file, the file is different from the release version of binary file (debug version binary file is larger). My question is, if we want to debug a Java binary file (.class file), is the version of file (which we use to … | |
HI there, i haf a series of dynamic checkbox retrieved from db. I can display my checkbox successfully but now i cant get more than one checkbox being checked. [CODE]<% sqlUser= "select distinct * from t_user_type order by userType" set rsUser = conn.execute(sqlUser) do while not rsUser.eof sqlView = "select … |
The End.