Ramy Mahrous 401 Postaholic Featured Poster

You can manage enabling and disabling items according to user cerdentials, when user logins into your system get its type (Admin, user,...) and then make switch case, in case of User's type is user so CreateUser.Enable = false....

Ramy Mahrous 401 Postaholic Featured Poster

Probably you've added just the .resx file!! and didn't form code file.

Ramy Mahrous 401 Postaholic Featured Poster

There're a lot, go to Microsoft.com and search for those to be shown in details.

Ramy Mahrous 401 Postaholic Featured Poster

Look there is System.Threading namespace which contains a lof of classes concern threads.
But if you in situation which can't use managed code and enforced to work with unmanaged code you need import those dll (assemblies) to your project (which developed in .net environment).

Ramy Mahrous 401 Postaholic Featured Poster

SQL Server Express Edition (Free version) supports remote connections but the version with limited functionallity. but also MySQL has libraries for .net connectivity something like ADO.NET for SQL Server and ODP for Oracle.

Ramy Mahrous 401 Postaholic Featured Poster

No, sorry my friend, it was just question to help you :)
At toolbox you'll find Containers, select TableLayoutPanel to draw a table on your form, and you can draw it programmatically as well.

Ramy Mahrous 401 Postaholic Featured Poster

Question subject not like question body, so you need to draw in windows or web-bases application?

Ramy Mahrous 401 Postaholic Featured Poster

Use regular expression to extract some string from the long string (HTML message), give me an example and may I help you by give you regular expression pattern to extract data by.

Ramy Mahrous 401 Postaholic Featured Poster

Just make your button control access modifier public, then handle second form closing event to enable the button by your code.

Ramy Mahrous 401 Postaholic Featured Poster

Create project from class library type.

Ramy Mahrous 401 Postaholic Featured Poster

Yes, but I didn't find a lot of them, and I asked because I wanted someone gives an example like, system analyst goes to client and .... then business analyst verifies clients requests and give some solution, and so on..

Thanks for your reply :)

Ramy Mahrous 401 Postaholic Featured Poster

For whom works in big software houses, I want to know what the difference among different job positions like infrastructure architect, stratgy architect, solution architect, markting specialist, system analyst, business analyst, pre-sales specialist, Team leader, project designer, Junior and Senior developer, ....
Explain please the main tasks for each, and if I forgot some position feel free to show thier meaning too :)

Thanks :)

Ramy Mahrous 401 Postaholic Featured Poster

Try to solve people questions in Daniweb C# forum :)

Ramy Mahrous 401 Postaholic Featured Poster

This an example

foreach(char c in str)
{
if(c .... //your condition
}
Ramy Mahrous 401 Postaholic Featured Poster

I didn't get the full version, I was creating search control, you can say I was enhancing some features but I didn't use it as a user!

Ramy Mahrous 401 Postaholic Featured Poster

Right click on Visual Studio and select run as administrator

Ramy Mahrous 401 Postaholic Featured Poster
Stack<int> numbers = new Stack<int>();
int x = numbers.Pop();
int y = 5;
number.Push(y);
Ramy Mahrous 401 Postaholic Featured Poster

I worked by it sometime but I don't know if the team released site or not, you can googlize the sites developed by!

Ramy Mahrous 401 Postaholic Featured Poster

There are programs used to get .net assemblies code, like decompile or discsharp http://aspnet.4guysfromrolla.com/articles/080404-1.aspx

Ramy Mahrous 401 Postaholic Featured Poster

I think Crystal report project under Microsoft Visual Studio IDE give a functionality to export your repots in many formats one of them is .pdf

Ramy Mahrous 401 Postaholic Featured Poster

I wrote post regards this talks generally about how to make form's controls movable(you can drag and drop) just take a look http://fci-h.blogspot.com/2008/05/how-to-make-your-controls-moveable.html

Ramy Mahrous 401 Postaholic Featured Poster

Develop your logic as class library (.dll) then add reference to from your GUI application or the application it depends on.

Ramy Mahrous 401 Postaholic Featured Poster

Don't use ArrayList, for your example; better to use generics, as you know what datatypes to store.

Class Category {}
Class Book : Category{}
Class Mobile : Category{}

List<Book> books = new List<Book>();
List<Mobile> mobiles = new List<Mobile>();

List<Category> cat = new List<Book>();
Ramy Mahrous 401 Postaholic Featured Poster

sitefinity it's great it fullfills your requirements.

Ramy Mahrous 401 Postaholic Featured Poster

No exception raises? or send and don't send message appears?

Ramy Mahrous 401 Postaholic Featured Poster

Did you commit the changes done at the dataset?!

Ramy Mahrous 401 Postaholic Featured Poster
double mySquareRoot = Math.Sqrt(number)
Ramy Mahrous 401 Postaholic Featured Poster

On the event of mouse move call the method which generates new location for the button.

Ramy Mahrous 401 Postaholic Featured Poster

If this the solution please mark this thread as solved. :)

Ramy Mahrous 401 Postaholic Featured Poster

You're welcome, thanks for your nice reputation.

Ramy Mahrous 401 Postaholic Featured Poster

Generating number between 1 and 100

Random random = new Random();
return random.Next(1, 100);
Ramy Mahrous 401 Postaholic Featured Poster

To convert string to float

string numberAsString = "50.5";
float floatingPointNumber = float.Parse(numberAsString);

To convert string to integer

string numberAsString = "50";
int number = int.Parse(numberAsString);
Ramy Mahrous 401 Postaholic Featured Poster

Random class helps you, but your problem is easier than generating random number and so on. what you need is to detect Mouse.X and Mouse.Y and change the location of button to be out this area.

Ramy Mahrous 401 Postaholic Featured Poster

All you need is in System.String class in .net framework

Ramy Mahrous 401 Postaholic Featured Poster

WindowsFormsInteragtion??
No just add reference to System.Windows.Forms and write it in Using section.
but just question, did u add this dll for creating labels?!!! HTML and ASP.NET has label control, you don't need to add Windows.Forms to create control exists in asp.net!!

Ramy Mahrous 401 Postaholic Featured Poster

Yes, you can, but logically why user in web-based application interacts with windows forms?! it sounds not logic at all, instead interacts with web forms.

Ramy Mahrous 401 Postaholic Featured Poster

First take your textbox's text in string apply your regular expression pattern to extract your interseting part in that string.

Ramy Mahrous 401 Postaholic Featured Poster

You can create any project type and put in your windows forms by referencing System.Windows.Forms.dll

Ramy Mahrous 401 Postaholic Featured Poster

You can fill the combo boxes by wizard!

Ramy Mahrous 401 Postaholic Featured Poster

I don't know about prices you can see EULA of each of which; SQL Server Compact edition shipped with SQL Server 2005 and you can install it alone. you can develop your application using VS and integrate with it.

Ramy Mahrous 401 Postaholic Featured Poster

where's your connString string?! the problem in it!

Ramy Mahrous 401 Postaholic Featured Poster

You pass null DataTable variable!!

Ramy Mahrous 401 Postaholic Featured Poster

You can use SQL Server Compact edition, but I don't know if there's open source RDBMS for smart phones or not.

Ramy Mahrous 401 Postaholic Featured Poster

Dear Sherin,

Please tell me how could you do that?! just tell me the scenario you follow.

Ramy Mahrous 401 Postaholic Featured Poster

I can't debug your code or even read it, to make it easy, inform us with error raises when you run the code.

Ramy Mahrous 401 Postaholic Featured Poster

Better ask it there in ASP.NET forum http://www.daniweb.com/forums/forum18.html

Ramy Mahrous 401 Postaholic Featured Poster

Better ask it there in ASP.NET forum http://www.daniweb.com/forums/forum18.html

Ramy Mahrous 401 Postaholic Featured Poster

What's the error raises when you run this code?!

Ramy Mahrous 401 Postaholic Featured Poster

To know about connection strings http://connectionstrings.com to know how to play with database read in ADO.NET in http://msdn.com

Ramy Mahrous 401 Postaholic Featured Poster

Read in DFD and ER, and if something faces you, just drop it here!