Search Results

Showing results 1 to 40 of 1000
Search took 0.10 seconds.
Search: Posts Made By: Ramy Mahrous
Forum: C# Sep 18th, 2009
Replies: 5
Views: 300
Posted By Ramy Mahrous
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
Posted By Ramy Mahrous
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
Posted By Ramy Mahrous
I can suggest to use AOP http://www.postsharp.org it helps very well...
Forum: C# Sep 18th, 2009
Replies: 7
Views: 346
Posted By Ramy Mahrous
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
Posted By Ramy Mahrous
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
Posted By Ramy Mahrous
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
Posted By Ramy Mahrous
Do you work on windows Vista?
Forum: C# Sep 18th, 2009
Replies: 10
Views: 319
Posted By Ramy Mahrous
It works I tried it :|
Please tell me what's the compilation error...
Forum: C# Sep 18th, 2009
Replies: 11
Views: 720
Posted By Ramy Mahrous
I learnt a lot from this threadm thanks thanks thanks
Forum: C# Sep 18th, 2009
Replies: 10
Views: 319
Posted By Ramy Mahrous
webBrowser1.Url = new Uri("http://microsoft.com");
Forum: C# Sep 18th, 2009
Replies: 2
Views: 349
Posted By Ramy Mahrous
You can always use www.connectionstrings.com =)
Forum: C# Sep 18th, 2009
Replies: 2
Views: 406
Posted By Ramy Mahrous
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
Posted By Ramy Mahrous
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
Posted By Ramy Mahrous
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
Posted By Ramy Mahrous
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
Posted By Ramy Mahrous
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
Posted By Ramy Mahrous
LOL! did you read my reply??!!
Forum: C# Sep 17th, 2009
Replies: 15
Views: 969
Posted By Ramy Mahrous
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
Posted By Ramy Mahrous
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
Posted By Ramy Mahrous
Try to group first then order second
Forum: C# Sep 16th, 2009
Replies: 2
Views: 235
Posted By Ramy Mahrous
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
Posted By Ramy Mahrous
Very clear guys :D Customer data with balances with some transaction "Daniweb Bank" :D
Forum: C# Sep 16th, 2009
Replies: 28
Views: 1,573
Posted By Ramy Mahrous
There's events detect that
TextBox | TextChanged
ComboBox | SelectedIndexChanged
Forum: C# Sep 15th, 2009
Replies: 3
Views: 513
Posted By Ramy Mahrous
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
Posted By Ramy Mahrous
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
Posted By Ramy Mahrous
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
Posted By Ramy Mahrous
It depends you need it critically or not?
Forum: C# Sep 15th, 2009
Replies: 3
Views: 275
Posted By Ramy Mahrous
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
Posted By Ramy Mahrous
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
Posted By Ramy Mahrous
DdoubleD you're very active I like your way, keep it up.
Forum: C# Sep 15th, 2009
Replies: 2
Views: 248
Posted By Ramy Mahrous
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
Posted By Ramy Mahrous
Forum: C# Sep 15th, 2009
Replies: 6
Views: 291
Posted By Ramy Mahrous
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
Posted By Ramy Mahrous
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
Posted By Ramy Mahrous
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
Posted By Ramy Mahrous
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
Posted By Ramy Mahrous
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
Posted By Ramy Mahrous
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
Posted By Ramy Mahrous
@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
Posted By Ramy Mahrous
Just look at the 2nd reply http://stackoverflow.com/questions/850717/what-are-some-popular-ocr-algorithms and see how they implement OCR...
Showing results 1 to 40 of 1000

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC