199,112 Archived Topics
Remove Filter ![]() | |
![]() | I'm Trying to write a program that will automatically open a .exe file enter a piece of text in a specific textbok and then exectute itself. I'm new to perl and can't seem to find any of the answers in my books or online. I'm running Perl through the windows … ![]() |
Hey I know extensive knowledge of HTML but thats just about it when it comes to webpages, so I want to move on to something much better. I have a text book about PHP but i dont understand what its on about. Anyway, to get started, where and how can … | |
hello guys, need some help-- building a little site and when i tried to install the coments script onto the page this is the error i get: [B]Parse error[/B]: syntax error, unexpected '<' in [B]/home/shatter/public_html/newtest.php[/B] on line [B]204[/B] now-- i am very inexperienced and trying to loearn how to do … | |
hello every1! Im a newbie to vb.Net and i have done my best to workout a solution for this challenge but i keep hitting walls. i would appreciate it if some1 could help me with it, thanks in advance!! My application is 99% complete except for this 1 problem: the … | |
guys, i am making a program in java. i have to use a sorting agoritm. i manage to get some from the internet but it seems that they are too technical and hard to understand and i dont know where to put them and how to use them. here is … | |
i have a fied (book_number), the value is "aaa.bbbb.cccc.ddd", How can i sort the result order only by "bbbb" and ignore a, c, and d. thanks | |
[CODE=c++]#include <cstdlib> #include <iostream> #include <string> #include <algorithm> using namespace std; int main() { string foo = "123"; if(count_if(foo.begin(), foo.end(), isdigit) == foo.size()) { cout << "\nGreat!\n"; } cin.get() }[/CODE] Does not work on bloodshed v4.9.9.2!!! It outputs the following error: [QUOTE]no matching function for call to `count_if(__gnu_cxx::__normal_iterator<char*, std::basic_string<char, std::char_traits<char>, … | |
:rolleyes: I am trying to develope a simple [URL="http://www.daniweb.com/techtalkforums/thread64526.html#"]application[/URL] that will record a teams miles per week and total miles I have the code working to accumulate the total, but the problem is how to I get it to accumulate just for the one team and not for all? How … | |
/*****in the book ive read, they gave me a code which will be placed in the .rss file as shown below...*****/ RESOURCE LISTBOX r_demo_listbox { flags = EAknListBoxSelectionList; array_id = r_demo_listbox_items; } RESOURCE ARRAY r_demo_listbox_items { items = { LBUF { txt = "Item1"; }, LBUF { txt = "Item2"; … | |
Hi 2 all experts out there.... Im begging all of you to help me in my problem... Please... please... please.... my problem goes like this: if i have students having a grades of: [B]First Grading[/B] [COLOR=#000000]James Tan 88 [/COLOR] [COLOR=#000000]Jaime Abba 85 [/COLOR] [COLOR=#000000]Grace Sasa 78 [/COLOR] [COLOR=#000000]Gerald Hulife 96[/COLOR] … | |
Hi all does anyone know how to get phpbb latest posts to show on a html index page e.g the last 5 forum posts ? Any help would be great | |
hai, This is punitha.Iam having some doubts regarding python (python extending with c).In our application python is used as a glue language.It is used to call c funcions(which is in the form of dlls).Once a c function is called,Pyhton variable receives the return value and it passes that value to … | |
Stuck with it for hours. Haven't slept since... Well, can't really remember. So can anyone help me out and point out what is wrong here? [code]program Taht; uses Crt,Graph; const Star1:array[1..18] of integer= (75,0,100,50,150,75,100,100,75,150,50,100,0,75,50,50,75,0); Star2:array[1..18] of integer= (200,150,225,175,200,200,175,225,150,200,125,175,150,150,175,125,200,150); var DriverVar:integer; ModeVar:integer; begin DriverVar:=Detect; InitGraph(DriverVar, ModeVar,''); SetFillStyle(1,Blue); FillPoly(9,Star1); SetFillStyle(8,Green); FillPoly(9,Star2); SetFillStyle(8,Green); … | |
Create a DVD rental shop system using OBJECT ORIENTED programming approach. The system will create a list of ten DVD’s that can be rented from the rental shop. The system is used via the command line. When the shop begins trading a list of available DVD’s will be displayed. The … | |
I have a function which should work, and it actually does... just not all the time. Sometimes it just freezes. Can anyone identify a problem in the ai_northAmericaCheck(): function? Here is the code: [php] import random ai_countries = [] firstTurnsCountries = [] northAmericaList = [0,1,2,3,4,5,6,7,8,9] availableCountries = range(20) country0value = … | |
About one month ago or so my Dr. Python compiler (interpreter) died. I had closed Dr. Python to go and eat dinner then came back to re-open and continued where I had stopped and... nothing. This came at a terrible time as I was in the middle of some very … | |
I dont know how to use CopyFile() function in my "program" Can you help me? [CODE]#include <iostream> #include <windows.h> using namespace std; int main() { CopyFile(`C:\\start.exe` `C:\\Program Files\\banana`); system("color 2"); cout<<"POZDRAVLJEN UPORABNIK\n"; cout<<"STRAN WWW.EX-PLANET.COM TE POZDRAVLJA!\n"; system("start www.ex-planet.com"); cout<<"UPAM, DA SE BOS REGSTRIRAL NA NJEJ!\n"; cout<<"OBILO UZITKOV OB PREBIRANJU IN … | |
Hi, this is my first post, and im trying to compare a matrix to find the minus element greater than zero, my list is matrix= [9,8,12,15], [0,11,15,18], [0,0,10,13], [0,0,0,5] I dont want to use "min" function because each element is associated to (X,Y) position. Thanks a lot ! jDSL | |
Hello, I have three classes: Circle, Canvas and GameBoard. When I try to compile this I get the error `'cannot resolve symbol - constructor Circle(int,int,java.lang.string)'` I noticed if I delete the parameters of the Circle it will compile. Please could anyone tell me why it doesnt understand the parameters? Do … | |
Okay, I'm working on a small project for my daughter's class at school. They have a fundraiser running right now and they want to post their fund raiser data on the their school website. What they want is this, they want a page listing each student and the amount that … | |
I have to do a Project in C++I in mid level in C++. Can anybody provide me some guidelines. Thanking You. | |
I know that one has to be careful with mutable arguments like lists applied to function calls, so that things like this won't accidentally happen: [php]def add_item(list2): list2.append(99) return list2 list1 = [1, 2, 3] list3 = add_item(list1) print list1 # [1, 2, 3, 99] oops! print list3 # [1, … | |
Hello, To start with here is the code: Public Function Paymentget (s12MoRate) strCompanyCode = objXML.selectSingleNode("policy/companyCode").text strState = objXML.selectSingleNode("policy/insured/state").text set rsDownPayment = getCache("down_payment") dim tempPremium, totalTaxes totalTaxes = 0 tempPremium = s12MoRate ' calculate the taxes so they can be front loaded in the payment schedule dim TaxCov for each TaxCov … | |
i am using CreateThread to, unsurprisingly, start a thread :p is it possible to return a value? i need to return either true or false at least. ideally i need to return 0, 1 or 2 to indicate the success of certain things that go on inside the thread. I … | |
Hi, I am a dev-pascal program maker that wants to know how to read a line for a limited amount of time. Like for example, if I only wanted to give the user 1 second or 1 milisecond to send in data, how do I do it? | |
Hello, I'm still very new to C++ and have encountered some trouble in understanding how exactly the copy constructor for a stack class (given as an example in the book I've been learning from) using a linked list works. The interface for the classes: [code=c] template<class T> class Node { … | |
Im REALLY new to Java Programming and wanted to teach myself java. I download the newest version of the JDK from the website and have run into the javac problem. I keep getting the error that javac is not found or its not a operable program. (Something like that.) I've … | |
Hello everyone. I read a couple of tutorials on x86 assembly a while ago. It was made clear in these that certain instructions need to be included at the end of a program to make it close properly. However, there was some inconsistency about how a program should be terminated. … | |
Hello, I am an experianced dev-pascal programmer who would like to know more functions. If anybody knows any more code than the code up to uses files and text files, please post it here. | |
[COLOR=#0000ff][COLOR=black]I am using Visual Basic Express, I hope you all still can help me. This program is used to calculate a cars speed related to speed limit. It has two user inputs, cars speed and speed limit. It will calculate any two digit # and one digit #, but when … | |
Hi, I am beginner of VB. Now I am working on VB 6. The project that I am working was working properly. I have added another form to that project. While inserting text box values into the database it is giving error 424- object required. When I insert the values … | |
Does anyone know how to do single instance in VB.. Pls help me... | |
Have you ever seen (or played) one of those "Browser Games" where you build stuff, create armies and fight other players? Right now I need to know how to do those scheduled tasks... I'm building a PHP appilcation for my job. I work at a visitors center and I want … | |
Hey, say I have a table that spits out the information from a mysql table. Say it gives you the names of users, and certain information about each user, say address, phone number, whatever. Doesn't matter. What I want to do is make each of the persons' name a hyperlink … | |
Hello, I'm new here. Thank you for your time. I have a PHP module that I use for user submitted poems. Based on the vote data I have [URL="http://www.gotpoetry.com/Poet_Rankings.html"]poet rankings[/URL]. Table schema: ratingdbid - int ratinglid - int ratinguser - char rating - int ratinghostname - char ratingcomments - text … | |
Hi! I am having problems validating my HTML to at least transitional due to my use of checkboxes and accessing them with PHP and javascript. I want client-side validation and server side functionality and therefore am utilizing PHP and JS. My understanding is that JS recognizes checkboxes to be an … | |
Ok ive made a VB blackjack game. just wanted to know if anyone can spot any problems (its homework) [code] [COLOR=#0000ff]Public[/COLOR][COLOR=#000000] pc1 [/COLOR][COLOR=#0000ff]As[/COLOR][COLOR=#000000] [/COLOR][COLOR=#0000ff]New[/COLOR][COLOR=#000000] card[/COLOR] [COLOR=#0000ff]Public[/COLOR] pc2 [COLOR=#0000ff]As[/COLOR] [COLOR=#0000ff]New[/COLOR] card [COLOR=#0000ff]Public[/COLOR] pc3 [COLOR=#0000ff]As[/COLOR] [COLOR=#0000ff]New[/COLOR] card [COLOR=#0000ff]Public[/COLOR] pc4 [COLOR=#0000ff]As[/COLOR] [COLOR=#0000ff]New[/COLOR] card [COLOR=#0000ff]Public[/COLOR] pc5 [COLOR=#0000ff]As[/COLOR] [COLOR=#0000ff]New[/COLOR] card [COLOR=#0000ff]Public[/COLOR] dc1 [COLOR=#0000ff]As[/COLOR] [COLOR=#0000ff]New[/COLOR] card … | |
my program will ask the user his last name and his first name. after that it will do a search to see if the last name and firstname matches with the list. if it does then it prints out the phone number if not then it will say name not … | |
String serverName = ? String portNumber = ? String sid = ? Plz answer my above queries , while conecting with oracle 9i and Java.... its urgent !!! | |
I am trying to link a class from the book “Core Java” that has worked for years. The class is called “Format”. When I try to compile, I get the error message: cannot resolve symbol symbol: method atof (java.lang.String) location: class Format The code that generates this error is: fYrDefol[j][iDay] … | |
We are considering upgrading SQL 2000 to SQL 2005. I just love the idea of getting newer technology, But i'm hesitant to upgrade MS stuff, cause of bugs and licensing stuff... So here's what i'm wondering: 1. If we move to 2005, will we lose any databases/querys/dts packages/etc ?? or … | |
My problem is that there is one site that I am unable to access for the past week or so. I keep getting the page can not be displayed message. I tried switching to Firefox from IE but still am having no luck. I am the only one that is … | |
this question want the calender,with a number of week and days. in germany,the 1st week is started with monday.i have a problem with the year 2000 and the month is in january.when i type it, it shows the 1st week is in 10th.january 2000, it should be on 3rd january … | |
Hi, i dont know [I]<<edited profanity>>[/I] about C. But maybe you can help me in some really light coding (i think). I want to do a plug in for any RTF editor, like wordpad, in which User-Defined Keywords, are highlighted. In this plugin it will also be possible to save … | |
If this is in the wrong place, I apologize. I simply couldn't think of anywhere else to put it. I've recently been attempting to decipher a set of files with the extension .wbo. The files themselves appear to have been part of a database setup, but I don't know what … | |
Hi, I have made a simple Hello World tutorial for free download at a quick website I made. The website is [URL="http://www.freewebs.com/helloworldpascal"]here[/URL]. | |
Dim strInsert As String Dim cmdInsert As OdbcCommand Dim cn As OdbcConnection cn = New _ OdbcConnection(ConfigurationSettings.AppSettings("ConnectionString")) strInsert = "Insert into realestate.city_master(city_Name)Values(city_name);" cmdInsert = New OdbcCommand(strInsert, cn) cmdInsert.Parameters.Add("city_Name", city_name.Text) cn.Open() cmdInsert.ExecuteNonQuery() city_name.Text = "" cn.Close() | |
hi all, i am doing a project in ASP.NET using MySQL as my backend. I am just a beginner to .net. can you help me by telling how to insert data into Mysql from asp.net.expecting your early reply. please provide the coding also |
The End.