Forum: C# Sep 18th, 2009 |
| Replies: 5 Views: 300 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: 720 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: 300 I can suggest to use AOP http://www.postsharp.org it helps very well... |
Forum: C# Sep 18th, 2009 |
| Replies: 7 Views: 346 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: 346 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: 319 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: 301 Do you work on windows Vista? |
Forum: C# Sep 18th, 2009 |
| Replies: 10 Views: 319 It works I tried it :|
Please tell me what's the compilation error... |
Forum: C# Sep 18th, 2009 |
| Replies: 11 Views: 720 I learnt a lot from this threadm thanks thanks thanks |
Forum: C# Sep 18th, 2009 |
| Replies: 10 Views: 319 webBrowser1.Url = new Uri("http://microsoft.com"); |
Forum: C# Sep 18th, 2009 |
| Replies: 2 Views: 349 You can always use www.connectionstrings.com =) |
Forum: C# Sep 18th, 2009 |
| Replies: 2 Views: 406 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: 531 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: 588 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,573 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: 531 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,573 LOL! did you read my reply??!! |
Forum: C# Sep 17th, 2009 |
| Replies: 15 Views: 969 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: 588 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: 531 Try to group first then order second |
Forum: C# Sep 16th, 2009 |
| Replies: 2 Views: 235 ASP.NET questions should be in ASP.NET forum http://www.daniweb.com/forums/forum18.html |
Forum: C# Sep 16th, 2009 |
| Replies: 4 Views: 160 Very clear guys :D Customer data with balances with some transaction "Daniweb Bank" :D |
Forum: C# Sep 16th, 2009 |
| Replies: 28 Views: 1,573 There's events detect that
TextBox | TextChanged
ComboBox | SelectedIndexChanged |
Forum: C# Sep 15th, 2009 |
| Replies: 3 Views: 513 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: 561 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: 561 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: MS SQL Sep 15th, 2009 |
| Replies: 2 Views: 393 It depends you need it critically or not? |
Forum: C# Sep 15th, 2009 |
| Replies: 3 Views: 275 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: ASP.NET Sep 15th, 2009 |
| Replies: 10 Views: 395 Danny it's Web-based application with no message box :) people please help to make it cleaner, ASP.NET forum for ASP.NET questions.
ASP.NET http://www.daniweb.com/forums/forum18.html
You can use... |
Forum: C# Sep 15th, 2009 |
| Replies: 12 Views: 1,153 DdoubleD you're very active I like your way, keep it up. |
Forum: C# Sep 15th, 2009 |
| Replies: 2 Views: 248 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: 234 |
Forum: C# Sep 15th, 2009 |
| Replies: 6 Views: 291 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: 225 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: 291 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: 225 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: 245 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: 448 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: ASP.NET Sep 14th, 2009 |
| Replies: 4 Views: 205 @Serkan and @Danny: please tell people the address of the forum they may be unfamiliar with the community..
@Nishanthi
http://www.daniweb.com/forums/forum18.html |
Forum: C# Sep 14th, 2009 |
| Replies: 3 Views: 275 Just look at the 2nd reply http://stackoverflow.com/questions/850717/what-are-some-popular-ocr-algorithms and see how they implement OCR... |