User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
DaniWeb is a massive community of 402,568 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,270 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Showing results 1 to 40 of 229
Search took 0.02 seconds.
Posts Made By: sam1
Forum: C++ Jul 26th, 2008
Replies: 10
Views: 425
Posted By sam1
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
Posted By sam1
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
Posted By sam1
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
Posted By sam1
cannot convert bool to int

hi,

i have the following code:

#include <iostream>
using namespace std;

class test{

public:: bool t()
Forum: VB.NET Jul 18th, 2008
Replies: 2
Views: 310
Posted By sam1
Re: display query in textbox

thanks useful link
Forum: VB.NET Jul 17th, 2008
Replies: 2
Views: 310
Posted By sam1
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
Posted By sam1
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
Posted By sam1
Re: textbox validation

thanks guys it worked :)
Forum: VB.NET May 30th, 2008
Replies: 5
Views: 523
Posted By sam1
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
Posted By sam1
Re: Populating combobox from another combobox

Hi,

Yes it was 4 columns and finally was solved thanks everyone
Forum: VB.NET Apr 18th, 2008
Replies: 6
Views: 1,054
Posted By sam1
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
Posted By sam1
Re: disable textbox when dropdown selected

thanks for the reply, but i was wondering is there another way like maybe using the index(0) of the value to disable the textbox
Forum: VB.NET Apr 16th, 2008
Replies: 4
Views: 534
Posted By sam1
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
Posted By sam1
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
Posted By sam1
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
Posted By sam1
Re: updating records using php and mysql

as said above just use the where clause and u should be fine mate
Forum: C Feb 23rd, 2008
Replies: 2
Views: 272
Posted By sam1
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
Posted By sam1
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
Posted By sam1
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
Posted By sam1
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
Posted By sam1
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
Posted By sam1
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
Posted By sam1
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
Posted By sam1
Re: displaying image from db

can you show me how to do it as i am new in .net :)
Forum: ASP.NET Nov 6th, 2007
Replies: 10
Views: 1,400
Posted By sam1
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
Posted By sam1
Re: Bypass country internet limits

use proxy, or try using anonymouse.org
Forum: Java Sep 21st, 2007
Replies: 2
Views: 437
Posted By sam1
Forum: PHP Sep 20th, 2007
Replies: 5
Views: 2,223
Posted By sam1
Re: Displaying query results dynamically in table

ok i will give you an example:

<html>
<head>
</head>
<body>
<?php
$host=""; // Host name
$username=""; // Mysql username
$password=""; // Mysql password
Forum: Java Sep 19th, 2007
Replies: 17
Views: 5,122
Posted By sam1
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
Posted By sam1
Re: Web Pages Crash

yea get firefox it is much better then IE :)
Forum: PHP Apr 19th, 2007
Replies: 7
Views: 1,436
Posted By sam1
Re: anybody give me suggestion for my final year project??

how about a library system for your uni
Forum: PHP Apr 19th, 2007
Replies: 1
Views: 676
Posted By sam1
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
Posted By sam1
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
Posted By sam1
Re: updating records using php and mysql

no worries guys it is solved:cheesy:
Forum: PHP Mar 23rd, 2007
Replies: 6
Views: 3,256
Posted By sam1
Help 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
Posted By sam1
Help 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
Posted By sam1
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
Posted By sam1
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
Posted By sam1
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
Posted By sam1
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...
Showing results 1 to 40 of 229

 
All times are GMT -4. The time now is 10:01 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC