Ramy Mahrous 401 Postaholic Featured Poster

Hello, just go to http://www.daniweb.com/forums/forum31.html and ask there, you'll find professional web developers can lead you to the perfect solution :)

Ramy Mahrous 401 Postaholic Featured Poster

I don't know SQLLite but in such cases, have a time to take a look on SQLLite documentation!

Ramy Mahrous 401 Postaholic Featured Poster

I don't know I suggest to go to Microsoft VS forum, but if I were you, I'd like re-install the framework.

Ramy Mahrous 401 Postaholic Featured Poster

Creating controls in runtime is very easy task, just use XMLReader class in System.XML namespace to read your xml file and define your button properties and then create button control with specified properties.

Ramy Mahrous 401 Postaholic Featured Poster

ADO.NET and Sockets programming

Ramy Mahrous 401 Postaholic Featured Poster

No advertisment please!!!!!!!!!!!!!!!!!

Ramy Mahrous 401 Postaholic Featured Poster

So, you need to work with binary files not database!!!

Ramy Mahrous 401 Postaholic Featured Poster

Please go to this forum http://www.daniweb.com/forums/forum14.html and search on Graduation project ideas and read!!

Ramy Mahrous 401 Postaholic Featured Poster

Use ADO.NET!!!!

Ramy Mahrous 401 Postaholic Featured Poster

It exists by default there, and you can change the icon displayed in Add\Remove programs

Ramy Mahrous 401 Postaholic Featured Poster

Sure that's wrong!
What shall you write a method or a property??

Method

public decimal sal(string amount)
{ 
//your method body
//return value/variable
}

Property

public decimal sal
{ get{return sal;}}
Ramy Mahrous 401 Postaholic Featured Poster

Use System.XML namespace it helps a lot!

Ramy Mahrous 401 Postaholic Featured Poster

Create a table to store exception like
ExceptionTbl (ID int, ExceptionMessage varchar(MAX))

and when catching any exception insert the exception message into table

try
{
//your code
}
catch(Exception error)
{
//here you insert error into table
}

In ADO.NET, I don't care about database location! remote, local,..... I just use connection string.

Ramy Mahrous 401 Postaholic Featured Poster

I think you use localization feature in your application and it doesn't recognize "en-CB" language.

bajanpoet commented: Your post got me moving on the right track! Thanks +2
Ramy Mahrous 401 Postaholic Featured Poster

Sorry, be more clear! what's your question?!

Ramy Mahrous 401 Postaholic Featured Poster

I don't really understand you but I'll answer your thread subject

and I am sorry I'll write code in C# as I don't know VB.net at all :$

private int GetNumberOfControls()
{
//returns the number of control to be created
}

private void CreateTextbox()
{
TextBox textBox;

for(int i=0; i<GetNumberOfControls(); i++)
{
textBox = new TextBox();
textBox.Location = new Point(YourX, YourY);
..... //other properties
..... //other properties
this.Controls.Add(textBox);
}
}
Ramy Mahrous 401 Postaholic Featured Poster

Kindly go to this forum http://www.daniweb.com/forums/forum14.html you'll find a lot of posts regarding final year projects aka Graduation Projects.

Ramy Mahrous 401 Postaholic Featured Poster

No, you're working on Class Library project, go to project properties and change Output Type to Windows Application.

Ramy Mahrous 401 Postaholic Featured Poster

Sorry I couldn't know what's the error, try to verfiy that's path is correct!
Again sorry!

Ramy Mahrous 401 Postaholic Featured Poster

Try to install .net framework again or send me your project to test it.

My email: ramymahrous@student-partners.com

Ramy Mahrous 401 Postaholic Featured Poster

Use ADO.NET!

Ramy Mahrous 401 Postaholic Featured Poster

You should write it like

SqlCommand selectCommand = new SqlCommand("SELECT product.productid, product.productname, product.price, product.description FROM product where product.productid = @productID", myConnection);

            selectCommand.Parameters.Add("@productID", SqlDbType.Int);

            selectCommand.Parameters[0].Value = int.Parse(Session["productid"].ToString());

            SqlDataAdapter adapterprice = new SqlDataAdapter(selectCommand);
Ramy Mahrous 401 Postaholic Featured Poster

You developed this web-based application using VB.NET, when you create an web-based application you'll find language option listed in ComboBox select C# and to write C# code open [YouPageName].aspx.cs like Default.aspx.cs

Ramy Mahrous 401 Postaholic Featured Poster

Catch the exception using "OleDbException" not generic Exception and reply me with exception message, I could help you.

Ramy Mahrous 401 Postaholic Featured Poster

Give us the command that should be executed when build successes

Ramy Mahrous 401 Postaholic Featured Poster

Hi :)

Ramy Mahrous 401 Postaholic Featured Poster

Hello PoovenM again :)

From project properties, change Output type to Class Library

PoovenM commented: You're my C# Hero! :D +2
Ramy Mahrous 401 Postaholic Featured Poster

Any class, interface, struct, enum or delegate is Type.

Your code is wrong as 'is' take a type not an instance; like

if (tag is WTTag) .....

Your logic isn't right as classList carries instances from one type so loop won't be useful as classList[0] like classList[1] like classList[2] like....

Ramy Mahrous 401 Postaholic Featured Poster

That's a type of reflection methods in JAVA, actually C# treats with System.Type not System.Class like

Type[] types = new Type[10];
types[0] = System.String;
types[1] = System.TextBox;
.....
Ramy Mahrous 401 Postaholic Featured Poster

It maybe SQL Server was busy doning some jobs that's why, it executed this query in 14 seconds (I assume you running this query against table has records less than 100, 000)

I don't deadly think that '*' the reason of that bad performance!!

Ramy Mahrous 401 Postaholic Featured Poster

Please Dha_King move your thread to ASP.NET forum to get fast help http://www.daniweb.com/forums/forum18.html

Ramy Mahrous 401 Postaholic Featured Poster

I don't know really if you can create object from class @ runtime and this class in text or xml file but you can work around this problem by creating assembly @ runtime and call this assembly by reflection. This solution if and only if Reflection don't create object from class @ runtime

PoovenM commented: Thanks for the help man! :) +2
Ramy Mahrous 401 Postaholic Featured Poster

By using reflection...

Ramy Mahrous 401 Postaholic Featured Poster

You should answer with "true" or "false" to avoid exception raising...

Ramy Mahrous 401 Postaholic Featured Poster

Make ID column Identity and incremented by one each time. you won't insert it by your hand and it kept unique.

Ramy Mahrous 401 Postaholic Featured Poster

I didn't understand you, but you can do anything(anything logic) after creating table using "alter" and in DB design we create the one table and after that the many tables..

Ramy Mahrous 401 Postaholic Featured Poster

You may find more help on MySQL forum http://www.daniweb.com/forums/forum126.html
:)

Ramy Mahrous 401 Postaholic Featured Poster

bandwidth problem, try to return fewer rows or in another meaning the most needed!! SQL Server not responsible for such lack in performance

Ramy Mahrous 401 Postaholic Featured Poster
SELECT distinct(ccno) FROM creditcardinfo

Anything just ask!

Ramy Mahrous 401 Postaholic Featured Poster

You're the one who should say the business requirments and ask specific questions.. anyway you may need e-commerce, Enterprise Services (COM+ as common), and Databases.

Ramy Mahrous 401 Postaholic Featured Poster

Please, write your question in better way as I didn't understand you...

Ramy Mahrous 401 Postaholic Featured Poster

Please tell us what RATIO is? to help you :)

Ramy Mahrous 401 Postaholic Featured Poster

You should separate the main thread from other threads as the main thread control GUI (e.g. buttons, menus,...) I didn't look at your code as I am sure I won't understand what you're willing to do... but whatever you create threads and they waiting each other and those threads far away the main thread, you won't get non reponse to your application

Ramy Mahrous 401 Postaholic Featured Poster

Dear Ma7boob
As I am MSP, so is your copy is legal?? you may don't have an legal copy so they ask for money for that but please. I am not going to talk about MS reputation but tell me your problem in details and I'll solve it with you en shaa ALLAH

~s.o.s~ commented: Good sentiment. +20
Ramy Mahrous 401 Postaholic Featured Poster

you should change its size to contain all text

Ramy Mahrous 401 Postaholic Featured Poster

Use differential Backup...
or you can use insert select
like

insert into table1 values (select distinct a,b,c.. from table2)
Ramy Mahrous 401 Postaholic Featured Poster

If you've the application which supports "equations, mathematical formulas, diagrams and multi language support (UNICODE)"
and want to use its functionality within your application, add a reference from your application to it

Ramy Mahrous 401 Postaholic Featured Poster

Add a reference to your application and use the reference functionality

Ramy Mahrous 401 Postaholic Featured Poster

you may also try after filling the ComboBox control to show the first index

comboBox1.SelectedIndex = 0;
Ramy Mahrous 401 Postaholic Featured Poster

I think if you changed the DropDownStyle from DropDown to DropDownList*
it may help you

*: from ComboBox control properties window