Ramy Mahrous 401 Postaholic Featured Poster

If the text well formatted you can use regular experssion to separate the path of image from the description..

Ramy Mahrous 401 Postaholic Featured Poster

Not possible, enum based on just integers int, uint,...

Ramy Mahrous 401 Postaholic Featured Poster

Kindly move your thread to ASP.NET forum http://www.daniweb.com/forums/forum18.html to get help..

Ramy Mahrous 401 Postaholic Featured Poster

I won't write code for you but I'll guide you to the class which helps you in such problem TimeStamp and for message box, MessageBox.Show("Message...");

Ramy Mahrous 401 Postaholic Featured Poster

Do you know SQL Select statement??! that's the help you need.

Ramy Mahrous 401 Postaholic Featured Poster

I think for every Bluetooth driver an interface you can work with, this interface containes method like SendData, ..... read in your Bluetooth driver documentation!

Ramy Mahrous 401 Postaholic Featured Poster

You can add reference (System.Windows.dll) to your web-based application and use MessageBox!

Ramy Mahrous 401 Postaholic Featured Poster

Sorry Jerry I was out Cairo last 4 days, I didn't read your question else now so binary columns by default in gridview read as image, in your scenario VS tries to convert your binary data (timestamp) to image so it fails so it throws exception!!! try to change the gridview control in you timestamp column to text data..

Ramy Mahrous 401 Postaholic Featured Poster

Look in greedy algorithms it may help!

Ramy Mahrous 401 Postaholic Featured Poster

They're right but where you put them in which place I mean..

Ramy Mahrous 401 Postaholic Featured Poster

Because of this line : base(length)

Ramy Mahrous 401 Postaholic Featured Poster

You can do it programatically Node.Image and set it by your hand..

Ramy Mahrous 401 Postaholic Featured Poster

I didn't work with services before I don't know if there's a way to check the service running or not! but I've dummy solution is to try connecting to sql server if it catch an error wait for period of time then try connecting if successed call the method which do some operations with SQL.

Ramy Mahrous 401 Postaholic Featured Poster

You may be in need to CommitTransaction??! I think so I don't have Visual Studio right now. if you don't make transaction it'll work well, but working with Transaction need you to commit the update.

private void executeQuery(String sql, SqlConnection thisConnection)        
{            
SqlCommand thisCommand;                         
try            
{                                
thisCommand = new SqlCommand(sql, thisConnection);                
thisCommand.CommandText = sql;                
thisCommand.ExecuteNonQuery();            
}            
catch (Exception e)            
{                
Console.WriteLine(e.Message);            
}        
}
Ramy Mahrous 401 Postaholic Featured Poster

Disable it in form load then enable it when needed.

Ramy Mahrous 401 Postaholic Featured Poster

No, in text change event handler for the textbox let the label2.Text = textBox.Text.Length.ToString();

majestic0110 commented: this guy is good +1
Ramy Mahrous 401 Postaholic Featured Poster

View won't help and I think UDF (User Defined Function) won't help too, the best practice is to use Stored Procedure

Create procedure sam1
AS
Insert into tableX(column2) values (select column1 from tableX)
Ramy Mahrous 401 Postaholic Featured Poster

You can do it from TreeView properties, it's so easy to make it on your own.

Ramy Mahrous 401 Postaholic Featured Poster

Sorry, explain more..

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

Check Windows CE documentation

Ramy Mahrous 401 Postaholic Featured Poster

You can do it by using 2 methods first
TabControl.SelectedTab = TabPage
or
TabControl.SelectedIndex = theNumberOfTabSelected

Ramy Mahrous 401 Postaholic Featured Poster

ok, what engine you prefer?
1- Performs 100000 transactions per second which in total SELECT, UPDATE, DELETE AND INSERT commands play in table of 1000000 records.

2- Performs 1000 transactions per second which in total SELECT, UPDATE, DELETE AND INSERT commands play in table of 10000000000 records.

??

Ramy Mahrous 401 Postaholic Featured Poster

Yes, in service start event write this line

System.Diagnostics.Process.Start(ExecutablePath);
Ramy Mahrous 401 Postaholic Featured Poster

Nothing called transactions per second rather it depends on data capacity sent\received to\from server\application

Ramy Mahrous 401 Postaholic Featured Poster

I guess I guess it may fail because SQL Service didn't start yet.. Follow Jerry advice for better error understading..

Ramy Mahrous 401 Postaholic Featured Poster

Because '\\' means relative path!! not shared path

Ramy Mahrous 401 Postaholic Featured Poster

C# is just a tool; you need data structure to create a map, you just will need C# to code the algorithm and representing it

Ramy Mahrous 401 Postaholic Featured Poster

A great article which makes you understand when to use abstract classes and when you use interfaces
Interfaces: http://fci-h.blogspot.com/2008/03/oop-design-concepts-interfaces_05.html

Abstract classes: http://fci-h.blogspot.com/2008/03/oop-design-concepts-abstract-classes.html

Ramy Mahrous 401 Postaholic Featured Poster

Define an global object from dialogForm in the button which open this dialog which exists in MainForm initialize new dialogForm object then get its string instance.

More...

DialogForm contains public string object which has the value of the texrbox

MainForm has global object from DialogForm

class MainForm : Form
{
DialogForm dialogForm; 

On MainFormButtonClick
{
dialogForm = new DialogForm();
dialogForm.ShowDialog();
string whatWroteInDialogForm = dialogForm.stringValue;
dialogForm.Dispose();
}
}

Any miss understanding kindly reply..

Ramy Mahrous 401 Postaholic Featured Poster

you can pass a value to select statement like 'select column1 from table where column2 = @varaible' and return it in object if this object is null so it not exists else it exists and using if you can direct your code...

Ramy Mahrous 401 Postaholic Featured Poster

You can create DSN and use ODBC model in your .net application.

Ramy Mahrous 401 Postaholic Featured Poster

I think there are some usernames and passwords for Oracle Database configured for first use like username: scott password: tiger and so on, to connect easily like SQL Server to Oracle from VS you need ODP (Oracle Data Provider) libraries on www.oracle.com

Ramy Mahrous 401 Postaholic Featured Poster

when you drag the combobox or listbox, an small arrow on the top right of the control appears, press it and select add a new datasource...

Ramy Mahrous 401 Postaholic Featured Poster

Also i want to ask how can i share the same instance of a class in two different classes ?. (i want to share the same instance in form1 and in form2)

Singleton pattern helps you..

Ramy Mahrous 401 Postaholic Featured Poster

It's C# compiler restriction

Cannot pass 'currentphoto' as a ref or out argument because it is a 'foreach iteration variable'

and your solution is good to avoid this restriction.

Ramy Mahrous 401 Postaholic Featured Poster

To make a user control dragable or moveble on your forum you should make it using 3 event handlers
1- on mouse click
2- on mouse move
3- on mouse release

first on mouse click begin assgining the location of the control to the x, y of mouse
once user release mouse on the control don't make the mouse x, y = to user control.
I've sample on my pc I've implemented I'll search for you..

Resizable would be the same thinking..

Ramy Mahrous 401 Postaholic Featured Poster

On itemclicked event handler for the both lists
write this code

{
list1.Items.Add(list2.SelectedItem);
list1.Items.Remove(list1.SelectedItem);
}

P.S. I don't have VS right now you may find syntax error but I think you are familiar with C# code and got what I mean..

Ramy Mahrous 401 Postaholic Featured Poster

That's just for SQL Server not Oracle you can go to Oracle forum http://www.daniweb.com/forums/forum129.html to ask there

Ramy Mahrous 401 Postaholic Featured Poster

To manage management tasks you can use SMO namespace

Ramy Mahrous 401 Postaholic Featured Poster

Yeah i created a blog in daniweb but they ask me to carry all the entries to forums since they were going to delete my blog(it cant contain code snippets like mine). I am going to hire hosting for my next blog

WHYYYYYYYYYYYY!!! I've a blog on daniweb http://www.daniweb.com/blogs/blog100382.html and I wrote some article there!! they didn't delete it!!

Ramy Mahrous 401 Postaholic Featured Poster

Add a reference to your MSWord application I think it's called Microsoft Word TypeLib or something like this.. Project->Add reference->COM->select the word reference..

Ramy Mahrous 401 Postaholic Featured Poster

Yes, there is no problem, just give every edition an instance name...

Ramy Mahrous 401 Postaholic Featured Poster

Hello, Serkan that's good material for solution deployment but we usually use threads to ask and answer you can create a blog and put your valuable information in so we can make use of!!!

Million thanks for your contribution :)

Ramy Mahrous 401 Postaholic Featured Poster

I don't know but this article 1..2..3 ways of integrating MATLAB with the .NET may help you

Ramy Mahrous 401 Postaholic Featured Poster

1. Try this until I stay on a pc has Visual Studio

List<BurstKlasse> Burst = new List<BurstKlasse>();
Burst.Add(new BurstKlasse(lengte,CPU_Burst));
void AddIntoList(ListBox list, List<Burst> items)
{
//clear the list
list.Item.Clear();
//fill it
foreach(Burst b in items.ToArray())
{
list.items.Add(b);
}
}
Tip:
[B]To show Brust objects in a nice way (their names, their names and their values, etc) you must override its ToString method[/B]

2.
In button click handler:

[radiobutton].Checked = false;

3.

String PNaam = textBox3.Text.ToString();

don't use ToString you don't need it!

Say when user selects an item in the comboBox and presses on a button called MoveToList the item moves.
So in MoveToList button click event handler you need to get the item selected in the combobox and add it to the list so

comboBox.items.Add(list.SelectedItem);
//you can remove the item from the comboBox after that
comboBox.items.Remove(comboBox.SelectedItem);

P.S: I don't have VS right now I am just writting code and I hope I didn't do a lot of mistakes and I wish I could help you!

Ramy Mahrous 401 Postaholic Featured Poster

I don't have something in which I can say that's the problem I am not sure but try to be sure from column names like 'name'.
Trace the parameters sent to this SP if it works!
Send me the error raised to help you.

Ramy Mahrous 401 Postaholic Featured Poster

Work around GDI+ it helps in such issues!

Ramy Mahrous 401 Postaholic Featured Poster

Because you didn't implement all interface methods!!

Error:
'fileStream.Person' does not implement interface member 'System.Collections.Generic.IComparer<fileStream.Person>.Compare(fileStream.Person, fileStream.Person)'

Ramy Mahrous 401 Postaholic Featured Poster

Thanks, sneekula, but I'll keep it here as we just discuss something for the community rather MS Windows.