Ramy Mahrous 401 Postaholic Featured Poster

Why you use this??

Do you use SMTPClient class? to send un\attached mails

Ramy Mahrous 401 Postaholic Featured Poster

Have a look on http://bytes.com/groups/net-xml/178906-change-node-attribute-value
You can googlize it also, I did that :)

Ramy Mahrous 401 Postaholic Featured Poster

Look when you treat with dataset you treat with database (I don't know if you've to set Enforce relationship property to true or it's set by default) so you can update it then reflect these changes to the physical database.

Ramy Mahrous 401 Postaholic Featured Poster

What the problem?

Ramy Mahrous 401 Postaholic Featured Poster

After the last "." get the string is after
you may have file, its name readme.program.user.txt!!
It's the time to play with string class, you can also use regular expression and you can use FileInfo.

Ramy Mahrous 401 Postaholic Featured Poster

Dear, if you've time to read I can send you a book about Data warehouse.
About your questions
Say we've business man who has super market with a lot of branches...
The business man interested to know net profit by year\region\product\sales persons
Fact table: is th point of interest the decision maker needs to know (simple business definition about it)
Fact table: net profit
Dimension table: the categorization used to spread out an aggregate measure aka fact (net profit) to reveal its constituent parts.
Dimensions tables: Year, Region, Product and Sales persons.

Send me email @ <EMAIL SNIPPED> if you need a book regarding this.

Ramy Mahrous 401 Postaholic Featured Poster

System.Diagnostics

Ramy Mahrous 401 Postaholic Featured Poster

With pleasure ProcessStartInfo commandPromptProcess = new ProcessStartInfo("cmd.exe"); Find out how to make use of this.

Ramy Mahrous 401 Postaholic Featured Poster

I think there no method to do so, you can use DOS commands and call\send parameters to them from C# application.

Ramy Mahrous 401 Postaholic Featured Poster

neither... nor ... represents some table(s) and their relationships in memory it may contain 1 or more tables.

Ramy Mahrous 401 Postaholic Featured Poster

You can make it directly from DataSet, also read in DataSet class
DataSetObject. ??
The idea I don't mean to be silly with you, but you've to try and read in help more than copying code, I hope you understand me well.

Ramy Mahrous 401 Postaholic Featured Poster

Close this thread, I think you open similar one and it's solved!

Ramy Mahrous 401 Postaholic Featured Poster

Mark it as solved, to be used as reference later.

Ramy Mahrous 401 Postaholic Featured Poster

If you need me to work with you it's much appreciated from you, unemployed state feels me sadness :)

Ramy Mahrous 401 Postaholic Featured Poster
Ramy Mahrous 401 Postaholic Featured Poster
Ramy Mahrous 401 Postaholic Featured Poster

Yes, if I were you, I'd make it UserControl
1- You have constant control (be used in this App and others)
2- You need this control to give you "a matrix" more than textboxs values, some how you isolate logic from UI and UI controls from UI processing elements.

Ramy Mahrous 401 Postaholic Featured Poster

Look I feel you can do it on your own just try
First tell me you can get the ListView columns?!
- listView1.Columns
Then you can treat with XML file as we discussed in the previous post.

Ramy Mahrous 401 Postaholic Featured Poster

Try using System.XML you'll find classes help you to do anything with XML files.

Ramy Mahrous 401 Postaholic Featured Poster
Ramy Mahrous 401 Postaholic Featured Poster

There's some sites have desired data! but you've to pay! fits you?

Ramy Mahrous 401 Postaholic Featured Poster

Did you try googlize that?

Ramy Mahrous 401 Postaholic Featured Poster

Lizr and Danny don't answer people with code especially who don't show their effort in solving easy problem, they're right, aren't they?!

Ramy Mahrous 401 Postaholic Featured Poster

Ok, please give me sample Data and your desired output

Ramy Mahrous 401 Postaholic Featured Poster

So the output should be
2008-03-09 13:15:12.513
2008-03-09 13:16:53.700
2008-03-26 13:30:20.077
2008-03-26 13:30:51.810

right?

Ramy Mahrous 401 Postaholic Featured Poster

declare simply array from object datatype then call AddRange for all combo boxes and pass this array!

Ramy Mahrous 401 Postaholic Featured Poster

[User] table still the same
[Rating] table has (Voter_Member int #, Voted_Member int #, Rating int)
- Composed primary keys (to maintain user can't de\vote user two times)
- Rating int (if you need some higher rating 1 2 3 4 or -1 -2 -3 -4)

kanaku commented: he saved my tables... haha +2
Ramy Mahrous 401 Postaholic Featured Poster

users can 'approve' or 'disapprove' another member

User is Member?! or each another entity!!

Ramy Mahrous 401 Postaholic Featured Poster

Welcome, Phillip please mark it as solved if it be.

Ramy Mahrous 401 Postaholic Featured Poster

Marke this thread as solved! please.

Ramy Mahrous 401 Postaholic Featured Poster
if (openFileDialog1.ShowDialog() == DialogResult.OK)
            {
                System.Diagnostics.Process.Start(openFileDialog1.FileName);
            }
Ramy Mahrous 401 Postaholic Featured Poster

What shall you to do is to call GetAllParents and give it the ChildID you need to get all its parents

GetAllParent 27937
Ramy Mahrous 401 Postaholic Featured Poster

It's really the most hard question I've met! loool I don't use to write SQL frequently, I just did the half of task to you, is to get parent ID, please care and ask if you didn't understand anything in my script, I work more than 2 hours in :(

Create proc GetParent
@Child int,
@Parent int output
AS
SELECT @Parent = o_parentno
FROM         phillip
WHERE     o_projectno = @Child

Create proc GetAllParent
@ChildID int
AS
	if @ChildID != 0
		begin
			Declare @CurrentParent int
			while @ChildID != 0
				begin
					exec GetParent @ChildID, @Parent = @CurrentParent output
					Select @CurrentParent
					set @ChildID = @CurrentParent
					if @ChildID <= 0 
						break
					Else
						continue
				end
		end
Ramy Mahrous 401 Postaholic Featured Poster
Ramy Mahrous 401 Postaholic Featured Poster

Learn how to add Media Player component to your windows form application.

Ramy Mahrous 401 Postaholic Featured Poster

mmmm, just take a look

bool Validate(string username, string password)
{
//you're code
}
//button login event handler
void onClick_btnLogin(object sender, EventArgs e)
{
if(Validate(txtUserName.Text, txtPassword.Text))
{
Form2 form2 = new Form2().Show();
this.Hide(); //to hide login form
}
else
{
//invalid username or password
}
}
Ramy Mahrous 401 Postaholic Featured Poster

In regular windows you can switch between parent and child windows, on the other hand you can't.

Ramy Mahrous 401 Postaholic Featured Poster

Check if your array comes in order or not.

Ramy Mahrous 401 Postaholic Featured Poster

I don't understand you, your question was to open web page in webbrowser control when selecting a node... I thought my code works, let me know what texts nodes hold?

Ramy Mahrous 401 Postaholic Featured Poster

Please SerogaM, mark this thread as solved if you question correctly answered.

Ramy Mahrous 401 Postaholic Featured Poster

If you saved this bitmap on client's HDD, what the result, also black?

Ramy Mahrous 401 Postaholic Featured Poster

You should have integral value decreases each time tick

int tik = 30;
        private void timer1_Tick(object sender, EventArgs e)
        {
            if (tik >= 0)
                label1.Text = (tik--).ToString();
            else
                label1.Text = "Stopped";
        }
Ramy Mahrous 401 Postaholic Featured Poster
Ramy Mahrous 401 Postaholic Featured Poster

Not to mention you can use navigate method

webBrowser1.Navigate(e.Node.Text) 'without need to add "http://"
Ramy Mahrous 401 Postaholic Featured Poster

Assume you've parent node and its child two nodes with text (www.microsoft.com and www.daniweb.com)
From treeview event handler, double click on NodeMouseClick

Private Sub treeView1_NodeMouseClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.TreeNodeMouseClickEventArgs) Handles treeView1.NodeMouseClick
        webBrowser1.Url = New Uri("http://" + e.Node.Text)
    End Sub
Ramy Mahrous 401 Postaholic Featured Poster

C# used for developing OS and it succeeds, Will it lacks in developing professional game?! I think you may be wrong! so please if you want us to argue what C# can do and can't, let's start new thread in geek forum

Ramy Mahrous 401 Postaholic Featured Poster

It's not advanced C++, it's language from Microsoft combines strength of C++ and easiness of VB. you can read about C# in http://MSDN.com

Ramy Mahrous 401 Postaholic Featured Poster

works?

Ramy Mahrous 401 Postaholic Featured Poster

You can bind data in ListBox by some criteria, and in ComboBox selected index changed event handler re-bind the data into ListBox. search in http://msdn.com you'll find a lot of exampls...

Ramy Mahrous 401 Postaholic Featured Poster

Set the property SelectedIndex to the item's index you want it to be the default...
Say we want to show the 6th item
In form load handler add this piece of code

comboBox1.SelectedIndex = 5;
polo_coins commented: Thanks a lot Ramy nice to meet you and thanks for your help +1