2 Qs: Find&Replace and a missing name.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Question 1: Is there a pre-made solution for implimenting Find & Replace for
a textbox, or will I have to roll my own using String.IndexOf?

Question 2: When I right-click on a file -> Open With -> Browse -> select my
program, it does not have a name. I tried finding some information about
this, and I found my way to AssemblyInfo.cs. However, changing [assembly:
AssemblyTitle("")] did not appear to have an effect.

Any tips on either of those questions?
 
Daniel Miller said:
Question 1: Is there a pre-made solution for implimenting Find & Replace
for
a textbox, or will I have to roll my own using String.IndexOf?

myTextBox.Text = myTextBox.Text.Replace ( "initialText", "resultText" );
Question 2: When I right-click on a file -> Open With -> Browse -> select
my
program, it does not have a name. I tried finding some information about
this, and I found my way to AssemblyInfo.cs. However, changing [assembly:
AssemblyTitle("")] did not appear to have an effect.

In Solution Explorer, right click on the project. From the new list, select
Properties. In the new dialog, the Common Properties -> General section
contains an "Assembly Name". Check this is filled in correctly.

Hope that helps.

Dan
 
Back
Top