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
majestic0110 commented: this guy is good +1
If the text well formatted you can use regular experssion to separate the path of image from the description..
Not possible, enum based on just integers int, uint,...
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...");
Do you know SQL Select statement??! that's the help you need.
I think for every Bluetooth driver an interface you can work with, this interface containes method like SendData, ..... read in your Bluetooth driver documentation!
You can add reference (System.Windows.dll) to your web-based application and use MessageBox!
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..
Look in greedy algorithms it may help!
They're right but where you put them in which place I mean..
Because of this line : base(length)
You can do it programatically Node.Image and set it by your hand..
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.
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);
}
}
Disable it in form load then enable it when needed.
No, in text change event handler for the textbox let the label2.Text = textBox.Text.Length.ToString();
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)
You can do it from TreeView properties, it's so easy to make it on your own.
Sorry, explain more..
Check Windows CE documentation
You can do it by using 2 methods first
TabControl.SelectedTab = TabPage
or
TabControl.SelectedIndex = theNumberOfTabSelected
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.
??
Yes, in service start event write this line
System.Diagnostics.Process.Start(ExecutablePath);
Nothing called transactions per second rather it depends on data capacity sent\received to\from server\application
I guess I guess it may fail because SQL Service didn't start yet.. Follow Jerry advice for better error understading..
Because '\\' means relative path!! not shared path
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
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
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..
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...
You can create DSN and use ODBC model in your .net application.
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
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...
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..
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.
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..
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..
That's just for SQL Server not Oracle you can go to Oracle forum http://www.daniweb.com/forums/forum129.html to ask there
To manage management tasks you can use SMO namespace
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!!
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..
Yes, there is no problem, just give every edition an instance name...
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 :)
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!
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.
Work around GDI+ it helps in such issues!
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)'
Thanks, sneekula, but I'll keep it here as we just discuss something for the community rather MS Windows.