Forum: C++ Jul 26th, 2008 |
| Replies: 10 Views: 425 Re: cannot convert bool to int ^^ i just got it right :)....
i searched google and seems if you compile using g++ you wont get those header errors.
can anyone please explain to me the difference between g++ and gcc?
thanks |
Forum: C++ Jul 26th, 2008 |
| Replies: 10 Views: 425 Re: cannot convert bool to int this is the entire code i have and i compile it under ubuntu gutsy using gcc class.cpp
#include <iostream.h>
using namespace std;
class test
{
public:
bool t() |
Forum: C++ Jul 26th, 2008 |
| Replies: 10 Views: 425 Re: cannot convert bool to int thanks for quick reply, as i said i am a newbie :)
now i get the following error when compiling:
gcc class.cpp
/tmp/cc1LNGYB.o: In function `__static_initialization_and_destruction_0(int,... |
Forum: C++ Jul 26th, 2008 |
| Replies: 10 Views: 425 |
Forum: VB.NET Jul 18th, 2008 |
| Replies: 2 Views: 310 |
Forum: VB.NET Jul 17th, 2008 |
| Replies: 2 Views: 310 display query in textbox Hi,
i need to display a query result in textbox. can you please show me how to do this, here is the query:
Dim CouponDes As String = Convert.ToString(Me.cboDescription.SelectedValue)
Dim sql As... |
Forum: C# Jun 10th, 2008 |
| Replies: 1 Views: 309 c# winforms hi,
I have been used to vb. now I am trying to do c# winforms.
in visual basic usually when coding you get a drop down menu at the top which lists all your components and method names.
is this... |
Forum: VB.NET Jun 4th, 2008 |
| Replies: 5 Views: 523 |
Forum: VB.NET May 30th, 2008 |
| Replies: 5 Views: 523 textbox validation Hi,
i have two textboxes one for month(2digits) and one for year(4digits).
i want to validate them so users cannot input dates in past. what would be a better way of doin this.
ps. it is for... |
Forum: VB.NET Apr 22nd, 2008 |
| Replies: 6 Views: 1,054 |
Forum: VB.NET Apr 18th, 2008 |
| Replies: 6 Views: 1,054 Populating combobox from another combobox hi,
I have three comboboxes in my windows form. I want to relate them all with each other.
the data is coming from database a table which has the following columns:
id
description
ap code
seg code |
Forum: VB.NET Apr 16th, 2008 |
| Replies: 4 Views: 534 |
Forum: VB.NET Apr 16th, 2008 |
| Replies: 4 Views: 534 disable textbox when dropdown selected hi,
I am trying to learn winforms, the dropdown is taking its value from database. i want to disable the textbox when the selection is first option, but if it is second i want to enable the... |
Forum: MS SQL Mar 18th, 2008 |
| Replies: 1 Views: 1,086 update table using function hi,
I have a table with two columns. i want to insert into first column the values of 2nd column where it is between 7 and 10. the table is #temp as well.
so i can not use views... i need to make a... |
Forum: MS SQL Mar 12th, 2008 |
| Replies: 1 Views: 272 sql server services hi everyone,
I need to know what are the services that sql server has. e.g. reporting etc. can you guys give me a list of these services.
thanks |
Forum: PHP Mar 5th, 2008 |
| Replies: 6 Views: 3,256 |
Forum: C Feb 23rd, 2008 |
| Replies: 2 Views: 272 C ebooks hi everyone.
I need few good books for beginners, trying to learn C.
thanks |
Forum: MS SQL Nov 14th, 2007 |
| Replies: 1 Views: 898 siss hi,
Can anyone please show me how to use siss, and how to load data using SSIS.
thank you |
Forum: MySQL Nov 10th, 2007 |
| Replies: 1 Views: 524 siss and dataloading hi,
Can anyone please show me how to use siss, and how to load data using SQL Server and SSIS.
thank you |
Forum: ASP.NET Nov 9th, 2007 |
| Replies: 10 Views: 1,400 Re: displaying image from db Hi,
Thanks for your help, yea it would be great if you show me a resizing function as well as how to call the image from the file.
thanks |
Forum: ASP.NET Nov 7th, 2007 |
| Replies: 10 Views: 1,400 Re: displaying image from db Hi thanks for your help.
I have done the resizing and saving of the image to a folder but i am not quite sure how to display it in another page(as you said).
yes the pictures are saved in the... |
Forum: ASP.NET Nov 7th, 2007 |
| Replies: 10 Views: 1,400 Re: displaying image from db yea that is the tutorial i am trying right now i have copied and pasted exact code but still it shows same picture for all rows |
Forum: ASP.NET Nov 7th, 2007 |
| Replies: 10 Views: 1,400 Re: displaying image from db btw i have if statement for postback in pageload:
Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs)
If Not Page.IsPostBack Then
BindGrid()
End If |
Forum: ASP.NET Nov 7th, 2007 |
| Replies: 10 Views: 1,400 |
Forum: ASP.NET Nov 6th, 2007 |
| Replies: 10 Views: 1,400 displaying image from db hi,
I am going through this tutorial and i am stuck, here is my problem i can read the images from the db but it displays the same image(the first image inserted).
here is the code: |
Forum: ASP.NET Sep 21st, 2007 |
| Replies: 1 Views: 611 |
Forum: Java Sep 21st, 2007 |
| Replies: 2 Views: 437 |
Forum: PHP Sep 20th, 2007 |
| Replies: 5 Views: 2,223 |
Forum: Java Sep 19th, 2007 |
| Replies: 17 Views: 5,122 Re: building instant messenger As you might know from the thread i have created a messenger similar to yahoo(without the photobucket thing and less functions then yahoo). I have tested it etc, if you want i can sell for a fair... |
Forum: Techies' Lounge Apr 19th, 2007 |
| Replies: 3 Views: 881 |
Forum: PHP Apr 19th, 2007 |
| Replies: 7 Views: 1,436 |
Forum: PHP Apr 19th, 2007 |
| Replies: 1 Views: 676 error messages k,
i want to display error message from my php file to html file.
say i have this in contact.php
if(empty($visitormail)){ $message = "enter email"; }
now in html file do i have to have this... |
Forum: Existing Scripts Apr 10th, 2007 |
| Replies: 3 Views: 2,118 phpbb vs IPB hi guyz,
which of these two forums do you think is good to use? i am talking mostly about security and the confidentiality of the users.
thank you |
Forum: PHP Mar 24th, 2007 |
| Replies: 6 Views: 3,256 |
Forum: PHP Mar 23rd, 2007 |
| Replies: 6 Views: 3,256 updating records using php and mysql hi,
I am creating a form for user to update their details which is saved in the database. So far i can show their details in the form where i have a submit button but the updating part doesnt... |
Forum: PHP Mar 22nd, 2007 |
| Replies: 3 Views: 550 session question hi,
I am trying a login page for my website. the login page works fine and i can take the username using sessions to the welcome page.
now my question:
would i be able to retrieve(show) data from... |
Forum: PHP Mar 20th, 2007 |
| Replies: 7 Views: 1,260 Re: showing the form after insertind data thanks for your time and effort, now i understand it clearly. yes i went with your advice and i am happy now, as before i was worried about the space it takes to store all those data. thanks again |
Forum: PHP Mar 20th, 2007 |
| Replies: 12 Views: 2,298 Re: writitng data from php to mysql ^^ really helpful and correct files mate. do u mean you are beginner and just did them or you mean in first try :).
In both situation great help for beginners like me thank you :) |
Forum: PHP Mar 20th, 2007 |
| Replies: 7 Views: 1,260 Re: showing the form after insertind data rhyan, i am implementing a shoutbox where i store the details in mysql. now if say 1000 users give a shout then it is gonna be alot of records in database.
now i want to delete the old shouts. for... |
Forum: PHP Mar 20th, 2007 |
| Replies: 7 Views: 1,260 Re: showing the form after insertind data hi,
i got a ID in the table, as the above code shows i did delete it but all the table is getting deleted. i want to delete first few rows..
say i have 10 records and i want to delete first 5.
is... |