Forum: C# Sep 18th, 2009 |
| Replies: 5 Views: 344 Sorry you need to apply permission on your developed application or another applications
In case of another applications, you may the one who has the administrative permission and when install log... |
Forum: C# Sep 18th, 2009 |
| Replies: 11 Views: 863 Then you neeed to download LINQ SDK for VS 2005 http://www.microsoft.com/downloads/details.aspx?familyid=1e902c21-340c-4d13-9f04-70eb5e3dceea&displaylang=en |
Forum: C# Sep 18th, 2009 |
| Replies: 5 Views: 344 I can suggest to use AOP http://www.postsharp.org it helps very well... |
Forum: C# Sep 18th, 2009 |
| Replies: 7 Views: 404 Something I begun to note is most of askers ignore my reply... and even don't comment, what does it mean????!!!
@papanyquiL didn't you see my reply?? or I should clarify?? or you aren't satisfied... |
Forum: C# Sep 18th, 2009 |
| Replies: 7 Views: 404 This piece of code enumerate on the local drives then gets it root path then search for every exe on you can use SystemFileInfo to handle nested directories...
foreach (System.IO.DriveInfo... |
Forum: C# Sep 18th, 2009 |
| Replies: 10 Views: 347 Yes, you can but it inside button click event handler or set it from control properties
Uri = http://microsoft.com
Believe me it works :) |
Forum: C# Sep 18th, 2009 |
| Replies: 3 Views: 323 Do you work on windows Vista? |
Forum: C# Sep 18th, 2009 |
| Replies: 10 Views: 347 It works I tried it :|
Please tell me what's the compilation error... |
Forum: C# Sep 18th, 2009 |
| Replies: 11 Views: 863 I learnt a lot from this threadm thanks thanks thanks |
Forum: C# Sep 18th, 2009 |
| Replies: 10 Views: 347 webBrowser1.Url = new Uri("http://microsoft.com"); |
Forum: C# Sep 18th, 2009 |
| Replies: 2 Views: 369 You can always use www.connectionstrings.com =) |
Forum: C# Sep 18th, 2009 |
| Replies: 2 Views: 473 File | You may use Move method in System.IO like that
System.IO.File.Move(@"C:\old.txt", @"C:\new.txt"); //it renames the file old to new.txt
Folder | the same
... |
Forum: C# Sep 18th, 2009 |
| Replies: 12 Views: 661 So please send your class code you want to group and order it; the class has this struct to play with this problem. |
Forum: C# Sep 18th, 2009 |
| Replies: 13 Views: 656 Why ArrayList?! Are you fond of casting??
Use generics List<Photo> photos = new List<Photo>(); and in Photo class you may have list of photos and indexer to get them by index or name anything is... |
Forum: C# Sep 17th, 2009 |
| Replies: 28 Views: 1,954 On the ComboBox double click, VS created a handler for index changed event copy and paste your code, and solve any error if exists.. |
Forum: C# Sep 17th, 2009 |
| Replies: 12 Views: 661 var col = from le in mylist
group le by le.X into g
orderby g.Key descending
select g;
On two phases
var colGrouped = from le in mylist
group le by le.X select le; |
Forum: C# Sep 17th, 2009 |
| Replies: 28 Views: 1,954 LOL! did you read my reply??!! |
Forum: C# Sep 17th, 2009 |
| Replies: 15 Views: 1,448 I see it's very simple in design and this is good, if it does its functionality well so you don't over care about its design.
Nice work, Diamonddrake |
Forum: C# Sep 17th, 2009 |
| Replies: 13 Views: 656 You just need to close the code tag by [/code] not [code].
You should have another property holding image file path
public string ImageFilePath
{
get...
set....
}
public Image Imge |
Forum: C# Sep 17th, 2009 |
| Replies: 12 Views: 661 Try to group first then order second |
Forum: C# Sep 16th, 2009 |
| Replies: 2 Views: 280 ASP.NET questions should be in ASP.NET forum http://www.daniweb.com/forums/forum18.html |
Forum: C# Sep 16th, 2009 |
| Replies: 4 Views: 175 Very clear guys :D Customer data with balances with some transaction "Daniweb Bank" :D |
Forum: C# Sep 16th, 2009 |
| Replies: 28 Views: 1,954 There's events detect that
TextBox | TextChanged
ComboBox | SelectedIndexChanged |
Forum: C# Sep 15th, 2009 |
| Replies: 3 Views: 756 currentTextBox.Text = DateTime.Today.ToShortDateString();
threeDaysTextBox.Text = DateTime.Today.Add(new TimeSpan(3, 0, 0, 0)).ToShortDateString(); |
Forum: C# Sep 15th, 2009 |
| Replies: 4 Views: 859 The reverse
List<byte> byteForChar = new List<byte>();
string input = "abc";
string result = "";
for (int i = 0; i < input.Length; i++)
... |
Forum: C# Sep 15th, 2009 |
| Replies: 4 Views: 859 Look I'm still working but to convert from String to Byte you you need first to convert it to Binary then to Byte (There's may better solution...)
ASCIIEncoding ascii = new ASCIIEncoding();
... |
Forum: C# Sep 15th, 2009 |
| Replies: 3 Views: 345 Sorry Dima I didn't make it before but I'm trying to help I search and I found this book Mathematical Tools in Computer Graphics with C# Implementations By Alexandre Hardy, Willi-Hans Steeb and I... |
Forum: C# Sep 15th, 2009 |
| Replies: 12 Views: 1,872 DdoubleD you're very active I like your way, keep it up. |
Forum: C# Sep 15th, 2009 |
| Replies: 2 Views: 276 Remove the single quote from city names, and check if it doesn't work. Catch it on the profile (see how your application sends it to the SQL Server) get the query and run it on SSMS and check what's... |
Forum: C# Sep 15th, 2009 |
| Replies: 3 Views: 283 |
Forum: C# Sep 15th, 2009 |
| Replies: 6 Views: 401 hmmm, look
If you have button open in Form1 to open Form2, then you should declare Form2 as global variable in Form1 to be able to play with it.
//Form 1 class
class Form1 : Form
{
Form2... |
Forum: C# Sep 15th, 2009 |
| Replies: 3 Views: 244 Yes because you are working with arrays and array is reference type and passed to any method as reference without prefix it with 'ref' so you can declare more than instance of object[,] and assign... |
Forum: C# Sep 15th, 2009 |
| Replies: 6 Views: 401 If you want to close all the forms, you can write this line in the event handler of the BTNNO click event handler
Application.Exit();
But if you need to close some forms, you should declare... |
Forum: C# Sep 15th, 2009 |
| Replies: 3 Views: 244 Let's say it's a table (columns -cells- and rows)
public class MyTable()
{
Public MyTable(int columnsNumber, int rowsNumber)
{
Table = new object[rowsNumber, columnsNumber];
}
public... |
Forum: C# Sep 14th, 2009 |
| Replies: 9 Views: 264 First please copy free-syntax error code
public class vehicle
{
public vehicle()
{
MessageBox.Show("I'm Vehicle");
//do some... |
Forum: C# Sep 14th, 2009 |
| Replies: 8 Views: 518 In terms of long lists and performance, Danny's solution is the best and to make it better use 'for' loop instead of 'foreach'
My test on 10000 items
Danny (for not foreach) | 39060 ticks
Danny |... |
Forum: C# Sep 14th, 2009 |
| Replies: 3 Views: 345 Just look at the 2nd reply http://stackoverflow.com/questions/850717/what-are-some-popular-ocr-algorithms and see how they implement OCR... |
Forum: C# Sep 14th, 2009 |
| Replies: 5 Views: 385 I've question when it loses its format? try to catch the message returned from xml webservice and see if it comes in the right format or not? I just want to put my hand on the phase content loses its... |
Forum: C# Sep 14th, 2009 |
| Replies: 3 Views: 283 You may need to handle it or dispose your resources in SyncEnd event http://msdn.microsoft.com/en-us/library/aa219364(office.11).aspx |
Forum: C# Sep 7th, 2009 |
| Replies: 5 Views: 677 Counter?? what about to see System.Time class? |