Ramy Mahrous 401 Postaholic Featured Poster

OleDbConnection

Ramy Mahrous 401 Postaholic Featured Poster
if (textbox1.InvokeRequired)
            {
                //txtFilePath.Invoke(ur delegate );
            }
            else
            {
                //call ur method
            }
Ramy Mahrous 401 Postaholic Featured Poster

Dear knowledgelover,

Right click on your setup wizard project->View->Custom actions->and you've 4 points you can run any *.exe at.
Say, when installation is Committed we need to create file in C:\ drive.
So, we'd create the * .exe which creates the file in that drive and let back to the Commit and right click->Add custom action then select our *.exe which creates the file.

Any missunderstanding, please reply!

Ramy Mahrous 401 Postaholic Featured Poster

Dear knowledgelover,

Right click on your setup wizard project->View->Custom actions->and you've 4 points you can run any *.exe at.
Say, when installation is Committed we need to copy files to C:\ drive.
So, we'd create the * .exe which copies the files to that drive and let back to the Commit and right click->Add custom action then select our *.exe which copies the files.

Any missunderstanding, please reply!

Ramy Mahrous 401 Postaholic Featured Poster

Call this SP

Backup database [databaseName] to disk'[filePath]'
Ramy Mahrous 401 Postaholic Featured Poster

UNC path, browse it, I developed application runs on db in shared location.

Ramy Mahrous 401 Postaholic Featured Poster

Add the output assembly of WPF application to class library project references.

Ramy Mahrous 401 Postaholic Featured Poster

Where's your question? read in ADO.NET; your questions are simple, look at some samples on MSDN and you'd answer yourself.

Ramy Mahrous 401 Postaholic Featured Poster

Just install them!!
Or you need to develop yours??!!

Ramy Mahrous 401 Postaholic Featured Poster

It hasn't any process created for it!! it attached to your application. but also if you terminate the application it doesn't (fuzzy) read in GetTypeFromProgID documentation

Ramy Mahrous 401 Postaholic Featured Poster

what do you need exactly?? to know how to search, match or to write in file?

Ramy Mahrous 401 Postaholic Featured Poster

Treat with array of strings, and insert into this array and when you need to reflect this changes use foreach (string s in urArrayOfStrings) { Write in your txt file}

Ramy Mahrous 401 Postaholic Featured Poster

I don't know what's the error! debug and you'll solve it enShaa ALLAH

Ramy Mahrous 401 Postaholic Featured Poster

That's too hard to debug your code, please send us the exact problem you face.

Ramy Mahrous 401 Postaholic Featured Poster

Split a string method not TextBox Method
so TextBox1.Text.Split(....)

Ramy Mahrous 401 Postaholic Featured Poster

Split the text in the TextBox by '\n' search for each index in output array in the string and by refering to index you got the line number

i.e
You were my strength when I was weak
You were my voice when I couldn't speak
You were my eyes when I couldn't see

so my output array'd be like this
1- You were my strength when I was weak
2- You were my voice when I couldn't speak
3- You were my eyes when I couldn't see

foreach(string str in Text.Split("\n"))
{
//search for a string and return its index
}

Ramy Mahrous 401 Postaholic Featured Poster

I don't know but it may trim the string before executing DML statement, it sure better than doing such via SQL engine. Jusing guessing good question (Y)
And it may have no effect

Ramy Mahrous 401 Postaholic Featured Poster

Googlize it.

Ramy Mahrous 401 Postaholic Featured Poster
Response.Cookies["QueryCookie"].Value = listbox.SelectedIndex.ToString();

Try using ASP.NET forum in ASP.NET questions.

Ramy Mahrous 401 Postaholic Featured Poster

I've searched how can you detect your speed and I got this piece of code

System.Net.WebClient wc = new System.Net.WebClient();
            DateTime dt1 = DateTime.Now;
            byte[] data = wc.DownloadData("http://google.com");
            DateTime dt2 = DateTime.Now;
            return (data.Length * 8) / (dt2 - dt1).TotalSeconds;
majestic0110 commented: an avid helper. Good work! +2
Ramy Mahrous 401 Postaholic Featured Poster

Search on Architecture book

Ramy Mahrous 401 Postaholic Featured Poster

You need to save all UI controls settings in .settings file (which is located on the server) and on FormLoad read these settings. so when client opens its form it first goes to read UI settings (the color of button, the size of form, etc) this would be a solution.

Ramy Mahrous 401 Postaholic Featured Poster

Read in you Acer scanner documentation it'd help you more.

Ramy Mahrous 401 Postaholic Featured Poster

Frd?? what do you need in software architecture?

Ramy Mahrous 401 Postaholic Featured Poster

Try asking there ASP.NET http://www.daniweb.com/forums/forum18.html forum you may find great help.

Ramy Mahrous 401 Postaholic Featured Poster

I don'y know Ajax well, but what I heared that you can't use it without updatepanel.

Ramy Mahrous 401 Postaholic Featured Poster

Yes, there is

foreach (ToolStripMenuItem item in menuStrip1.Items)
{
                item.Checked = false;
}
Ramy Mahrous 401 Postaholic Featured Poster

It's proper to write this code in OnStart method.

Ramy Mahrous 401 Postaholic Featured Poster

From DropDownList properties assign its DataSource to your created datasource, then choose which column to be shown and which to be the value of the items. All from properties or the smart arrow which located on the top left of the DropDownList.

Ramy Mahrous 401 Postaholic Featured Poster

Try searching on some Windows APIs help you regarding this, there is a program called API viewer may help...

Ramy Mahrous 401 Postaholic Featured Poster

Let WS1 checks the status of WS2 and use switch\case

ServiceController sc = new ServiceController("WS2");

switch(sc.Status)
{
case Status.Start:
......
}
Ramy Mahrous 401 Postaholic Featured Poster

Get your business plan and choose which is suitable to be implemented in your country.

Ramy Mahrous 401 Postaholic Featured Poster

to get tab text

string tabText = tabControl1.TabPages[2].Text;
Ramy Mahrous 401 Postaholic Featured Poster

Dear TheHBK, please don't use to write in Franco Arabic here, just English or Arabic allowed!

What's you team members number? what's the fields you interested in?

Ramy Mahrous 401 Postaholic Featured Poster

Sorry, clarify your question.

Ramy Mahrous 401 Postaholic Featured Poster

Try use shared file between your C# and Flash, both read and write in the .xml file. And C# has a great classes located in System.XML namespace help you to interact with .xml files.

Ramy Mahrous 401 Postaholic Featured Poster

You're welcome, best of luck enShaa ALLAH :)

Ramy Mahrous 401 Postaholic Featured Poster

Johnson & Johnson :)

Ramy Mahrous 401 Postaholic Featured Poster

Fatima, try your best to understand why this answer don't just see it, answer more problems, your questions were so easy you just need to study bit more, you're Computer Science Student, algorithms is your first skills and most important one.

Ramy Mahrous 401 Postaholic Featured Poster

When Microsoft went down and that's so hard :p choose another question :D

Ramy Mahrous 401 Postaholic Featured Poster

I think s/he means to use it, so we wait for him\her to reply.

Ramy Mahrous 401 Postaholic Featured Poster

Quote from daniweb
Most of people on daniweb can't express their problem.
Quote from life
Just smile, tomorrow is better.

Ramy Mahrous 401 Postaholic Featured Poster

well, did you join Army ?

Ramy Mahrous 401 Postaholic Featured Poster

I like site background :D

Ramy Mahrous 401 Postaholic Featured Poster

Hope your problem got solved, if it did, please mark your thread as solved, else tell me what's up??

Ramy Mahrous 401 Postaholic Featured Poster

Sure that's out of your hand!!! you can't speed up the operation it completely depends on your machine processor(s).

Ramy Mahrous 401 Postaholic Featured Poster

Never mind friend, I just ask you to get more help, copy it and open another thread in asp.net forum and drop it there and delete this one.

My general answer is to convert the file you get to binary or array of byte (Byte[]) then insert it in the column (of Binary, Image or Blob datatype) and don't forget to insert the extension if the file to help you convert it back when you need to use it again :) best of luck

Ramy Mahrous 401 Postaholic Featured Poster

Sorry what do you mean by inherit? to use user control in a form or to use abstract user control and another user controls share some layout??

Ramy Mahrous 401 Postaholic Featured Poster

Regular expression is your helper.

Ramy Mahrous 401 Postaholic Featured Poster

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