199,114 Archived Topics
Remove Filter ![]() | |
Hi all, I would like to create a date object and specify a value. I am facing some defficulties. Here's what I tried: [code] String dateString = "2005-04-29 00:00:00.0"; Date asOfDate = new Date(dateString); // this gives Illegal argument exception. [/code] I know that Date constructor with String as argument … | |
Please, where is the problem? Unable to jump to row 0 on MySQL result index 3 in c:\apache\htdocs\cd_shop\funkcie_s_databazou.php on line 1041 function zrataj_cenu($kosik) //funkcia pocitajuca vyslednu sumu vsetkych poloziek v nakupnom kosiku { $cena = 0.0; if(is_array($kosik)) { $conn = db_connect(); foreach($kosik as $EAN_kod => $qty) { $query = "select … | |
I want to use google search in site.they give some code <form> ......................... </form> I want to use this code in my web page.if i placed this code before of my normal <form></form> code it changes design that means it has some space in top. if i placed this code … | |
I need to find out what is currently hold in PictureBox.Image property and take action as necessary. I tried various things but can't get it work Compare it with PictureBox which Image is set to null [code=c#] PictureBox emptyImg = new PictureBox(); emptyImg.Image = null; //Compare myPictureBox.Image.Equals((Bitmap) emptyImg.Image) [/code] Compare … | |
I use a DBGrid in 2 applications in 2 languages. The DBGrid1 in the one application shows a record I have in the databasetable and although the DBGrid in the other application has similar settings as the other application it does not show the record nor the field headers. I … | |
Hi, I am having problem in making the program work in while loop. The program is working fine but I want to make it work in one big loop and don't want to use strcpy. Instead of that I just wanna get one word and do it in a loop. … | |
What would fundamentally change with MySQL between using XAMP or WAMPserver so as to render MySQL inaccessible, triggering a MySQL 2003 error code? Last Sunday I was comparing XAMPP with Wampserver. I used the same MySQL database. I approached the experiment from the analogous point of view of using the … | |
Hello, I urgently need help, im trying to complete a class which will be able of multiple - clients but is not doing the required puprose. Can anyone be assistance of what is needed to add for handling the clients ?? Thanks in advance!! [CODE=java] import java.util.ArrayList; import java.util.concurrent.Semaphore; class … | |
Hi All, I am using a String formatting which separates two strings using the "\t" (tab) character like below: String _str = "col1" + "\t" + "col2" + "\t" + "col3"; I get the following output: col1 col2 col3. this is fine. But because i have a horizontal restriction to … | |
here is my table CREATE TABLE `invoice` ( `invoice_id` tinyint(4) NOT NULL auto_increment, `company_name` varchar(255) NOT NULL, `issue_date` int(11) NOT NULL, `invoice_title` varchar(255) NOT NULL, `country` varchar(255) NOT NULL, `invoice_number` int(20) unsigned NOT NULL, `payment_method` varchar(255) NOT NULL, `payment_due_date` int(11) NOT NULL, `payment_plan` varchar(255) NOT NULL, `paid` int(5) unsigned NOT … | |
[B]Hello all of you . I just wana know to return to same id when we delete it from the database for exmaple when we delete the user_id that equal to 1 the next when we enter the new record the user_id will became 2 i want to make it … | |
when i try to retrieve data from multiple tables and display the data in a datagrid it does nt display all the records i.e., it misses some of the record.what cud b d reason.below is my code:- dbcon.start_connection() ds = dbcon.getdataset("Select DISTINCT casemas.CaseID as ID, tblCourtType.CourtType as Court, casemas.CaseNo as … | |
Could some please help me. I am following a tutorial from "http://www.devarticles.com/c/a/MySQL/Building-A-Persistent-Shopping-Cart-With-PHP-and-MySQL/2/" I keep getting a " Parse error: syntax error, unexpected $end in C:\xampp\htdocs\cart1\products.php on line 59" My db connection is fine but I am trying bring a result from the diagram shown in the url. Please help. This … | |
I want to pass this string $string="reg_personal.personal_sex='Female' OR reg_personal.marital_status='Single'"; through the URL... Is it possible...I am not getting that... if the single quote is eliminated then there is no probs.. but i need that string in the exact way.... Is there any splitting and joining methods are available. Please help … | |
Guys please please help me in this..... Write a program that inputs two DFS's D1,D2 and outputs whether L(D1) = L(D2) in Java... Thanks in Advance....! | |
I have been scripting with Python for a few years but I just recently decided to start using some OOP to make my life a bit easier. Although I've read many examples and some chapters and websites, some of the most rudimentary basics still elude me. Here is an example … | |
[code=php] $result = mysql_query("SELECT * FROM cycles WHERE Upper(brand) LIKE '%$brandC%' AND type LIKE '%$typeC%'"); [/code] Above code not working, pls help. | |
Hi everyone, I nearly finished my project but have come across an error. I can't update the database, it's the only error that comes up. I tried a few things but couldn't get my head around it. Any Help will be greatly appreciated. Here is the main snippet of code … | |
I wanna make a program that can request to the web, is there any library for that ? Ive been googling, I found some like opentop but its not free and the other can't run in cross platform. | |
hii all i guess this is a simple problem but somehow i cant figure out the answer to it. i wrote a vb6 code which uses a particular software to draw a picture, saves it in the hard disk and then displays it in a picturebox. now what i need … | |
When trying to run my application it says it needs "libglib-2.0-0.dll" to run. The file is in\glib-2.14.6\bin but I don't seem to be able to link to it. I am using Eclipse so I have tryed setting MinGW C++ Linker -> Libraries->Library search path (-L) to "C:\glib-2.14.6\bin" and Libraries (-l) … | |
hello, i have found some other with this problem but it diddent solfe it for me. Thats why i ask it here, I am trying to learn the langue c++ i write in Visual studio 2005 and 2008 pro this is my first little program byside hello world and calculater. … | |
hi am writing a program and there a oval moving towards a big blue oval. i want when the red oval arrive at the blue oval is stop.can anyone tell me hoe to do this???? [code=python] from Tkinter import * import Tkinter import time frame=Tkinter.Frame() frame.pack() canvas =Tkinter.Canvas(frame,bg = 'white',width=500, … | |
#include<iostream.h> #include<string.h> class person { protected: char name[20]; int code; public: person(char *a,int c) { strcpy(name,a); code=c; } void dis() { cout<<endl<<"name : "<<name; cout<<endl<<"code : "<<code; } }; class account:virtual public person { protected: long pay; public: account(char *a,int b,long c):person(a,b) { pay=c; } void dis() { person::dis(); cout<<endl<<"pay … | |
Hi, I have prepared one report in Crystal Report 8.5 and the front end is VB 6. But the problem when I assigned number of copies to print as 4, in the title portion of the first copy it should show as "DEPOSITORS COPY" in second copy it should show … | |
hello there, Its showing that Run-time error '3251': Current Recordset does not support updating. This may be a limitation of the provider, or the selected locktype. Any help regarding this would be great. Thanks in advance for any replies. Bmora96 | |
Hi I am developing a database driven site. It will be about 4000 pages. Basically I will have a template for the Homepage, a contact page template, a main database item template for filtered results and then a database item detail tempalte. What cms would you suggest? I want keyword … | |
I am using one ButtonField in Gridview1.If i click that buttonfield it will be fill the next gridview2. So i am using rowcommand for this purpose if (e.CommandName == "nextgrid") { string orderid = Convert.ToString(e.CommandArgument); Fillgrid(orderid); } fillgrid is the fun to fill second grid.here this orderid takes just row … | |
My CPP program gets abruptly terminated..... I think this happens because by some part of the program itself, the TC.exe gets overwritten and thats why it gets terminated..... Can any one help me out???? | |
Hi, has anybody here experience miranda before? I need help with algebraic types and type synonym? Thanks | |
I need to use an array with size 900000. However, the program fails to run. How can I solve it? I used Visual C++ 6.0. e.g double data[900000]; | |
Good day yet again ladies and gents. Today I'm having problems with strings and such. I've been tasked with creating fixed char arrays to contain first name, last name, and middle name. I've managed that, and have the calls in my main. I'm also tasked with using strlen (specifically) to … | |
Can any one tell me how to convert any types of file to pdf? I want a shell script or a software in opensource? is there any software that can do this? Please help me. I would be very much thankfull to u. thanx in advance Dushyant Joshi | |
Hi all, I have been working on a PHP based application where a user would be allowed to print out specific, yet dynamic information. I am using a different style sheet for the print page, but I am having a slight issue. At times some of my stuff is chopped … | |
I really need help. I have this whole program and am getting on error. | |
ok, im trying to use the set text method and the code im using it on looks as follows; [CODE]/** Convert the stringbuilder into an actual string, then return it */ String completeMatchList = matchList.toString(); String [] splitresult; String name = matchList.toString(); splitresult= name.split("\\s"); //txtbgreenentry.setText(splitresult[0]); //txtbyellowentry.setText(splitresult[0]); /** System.out.println(splitresult[5]); - this … | |
I don't know what to do with this xlib error I get from the code below (please paste it into the python console and see it for yourself). I got some advice from some guy, but I am a newbie to wxpython so I don't know how to follow it … | |
Hi all, I would like to ask one question. Can I know where the focus is in a main Form? Eg: there will have some buttons, text boxes and labels. How to check the focus? Please give me some ideals. Thanks, zawpai | |
Hi there, Hopefully this a quick question. Say i have program prog1.cpp and prog2.cpp and they will both take the same amount of time. i.e. One is reading a file and outputs a figure and the other is a video application Is there a way i can get these to … | |
hi, i am trying to make a simple catalog website without checkout. the user clicks on a product he want and it's displaced on another page...simple. the first page (the one with the product list) has the following code... [code] <?php $sql = "SELECT * FROM products"; $result = mysql_query($sql); … | |
I have a asp forum and now i whant to make some tooltip on this one. I whant to show was in the forum when i hit a link. Se the images and then you understand what i meen One more thing is if here are someone that can give … | |
[code] void ChangeAddress() { char searchaddress; char newaddress; cout << endl; cout << "Please enter street name to be changed "; cin >> searchaddress; for (int i=0; i<numrec; i++) { if (strcmp(SubscriberID[i].Subscriber_Address.streetname, searchaddress) == 0); { cout << "Enter the new street name: "; cin >> newaddress; } } } … | |
Hello, I moved my website from one server to another and want to use the mass mailing feature and it is not currently working. Here is the current script. The variables are pulled from the SQL database beforehand. open SENDMAIL, "|$sendmail -t"; print SENDMAIL "To: \"$toname\" \<$toemail\>\n"; print SENDMAIL "From: … | |
Hi, I'm having a problem where by when i type in e.g localhost/capat/tutors/forms it gives me what i want but the side menu which has the links directing to other pages isn't what is meant to be there. The link i have for all the tutor pages is showing links … | |
Ok PHP folks... Here's what's up... There's a site called [url]www.easykiss123.com[/url] (someone within this forum mentioned it to me...thank you!)...well, they feature this web-2-sms php code. The code was free as a download, so eventually I tinkered with it and got it to work so that a visitor can input … | |
Hi all, Can anyone shed any light on this really simple problem please? I need to read a list of files in a directory on a server. I am using PHP to do something like this... [code="PHP"] $counter=0; if ($handle = opendir($dir)) { while (false !== ($file = readdir($handle))) { … | |
Write functions to: void clearscreen(void); /* Clears the screen for update, hint call system("clear") */ float calc(float num1,float num2,char operator); /* calculate the result of num1 operator num2 */ any other functions which you deem necessary. Write a main program which will display a title line centered at the top … | |
I have a simpile question. I have a string like this. [code] "Num == 1" [/code] Is it possible to extract this in any way so it will executable code in: [code] int Num = 1; if ( Num == 1 ) // To extract that string and put that … | |
What on earth is wrong with it? <? Header("content-type: application/x-javascript"); $chatnames = file('http://client11.addonchat.com/scwho.pl?id=292747&plain=1'); $indx = count($chatnames); $indxcom = $indx - 1; if ($indx == 0){ echo "document.write(\"No one is in the chat room at the moment"\)"; } else{ echo "document.write(\"<b>Members Chatting:</b>"\)"; for($i = 0; $i < $indx; $i++) { $name … | |
![]() | Hi 1) I'm trying to display a list in a listbox. But I only see the last entered item in the listbox. This is my code: [code] List<BurstKlasse> Burst = new List<BurstKlasse>(); Burst.Add(new BurstKlasse(lengte,CPU_Burst)); listBox2.DataSource = Burst; [/code] 2) My second problem is that I can't uncheck the radiobuttons. If … ![]() |
The End.