Posted By: GusPinto | Jun 13th, 2005 @ 1:06 PM
page 1 of 1
Comments: 22 | Views: 20232 | Downloads: 154
Download:Link for MSN System Tray Web Search(0 Bytes)

This simple app allows you to use the MSN web search.
Instead of taking space off of your taskbar it simply seats on the notification area and can be invoked by double-clicking the "systray" icon or via right-click menu.

It will also work as a web address bar, meaning that you can type an http address and will be redirected directly to that page.

It also uses the feature of suggesting websites by using a list of your previously visited websites.

It requires .NET Framework 2.0


enjoy it,

Gus.

Where can I download this application?
I like the source, it's so... Simple Wink

<br>private void searchButton1_Click(object sender, EventArgs e)<br>
{<br>
      this.FadeDownTo(0);<br>
      string text1 = this.searchBox.Text.Replace("\"", "%22");<br>
      if (this.searchBox.Text.StartsWith("http"))<br>
      {<br>
            Process.Start(this.searchBox.Text.ToString());<br>
      }<br>
      else if (this.searchBox.Text.StartsWith("https"))<br>
      {<br>
            Process.Start(this.searchBox.Text.ToString());<br>
      }<br>
      else if (this.searchBox.Text.StartsWith("www"))<br>
      {<br>
            Process.Start("http://" + this.searchBox.Text.ToString());<br>
      }<br>
      else<br>
      {<br>
           
Process.Start("http://search.msn.com/results.aspx?q=" + text1);<br>
      }<br>
}<br>
public void SetOpacityAndWait(int opacity)<br>
{<br>
      base.Opacity = ((double) opacity) / 100;<br>
      this.Refresh();<br>
      Thread.Sleep(20);<br>
}<br>
<br>
<br>
public int Int32Opacity<br>
{<br>
      get<br>
      {<br>
            return (int) (base.Opacity * 100);<br>
      }<br>
}<br>
 <br>
public void FadeUpTo(int max)<br>
{<br>
      for (int num1 = this.Int32Opacity; num1 <= max; num1 += 5)<br>
      {<br>
            this.SetOpacityAndWait(num1);<br>
      }<br>
}<br>
<br>
public void FadeDownTo(int min)<br>
{<br>
      for (int num1 = this.Int32Opacity; num1 >= min; num1 -= 5)<br>
      {<br>
            this.SetOpacityAndWait(num1);<br>
      }<br>
}<br>

Great program by the way Smiley
Loadsgood
Loadsgood
What is your answer?
Oh also I can open the search bar window, then open the About box, which closes the search bar window, that's good except I can right click the notification icon and click open and that will open the search bar window underneath the About box. That makes the "Always on top" option false advertisement.
Also have the search bar window open and Paint.NET open, Paint.NET's Translucent undocked tool boxes over take the search toolbar window, also making "Always on top" false advertisement.
When I have the About box open and then open another instance of it via right cliking the notification icon, it hurls some more vomit, here's the greenish yellow bits:

************** Exception Text **************
System.InvalidOperationException: Form that is already visible cannot be displayed as a modal dialog box. Set the form's visible property to false before calling showDialog.
   at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
   at System.Windows.Forms.Form.ShowDialog()
   at MSNTray.MainForm.aboutToolStripMenuItem_Click(Object sender, EventArgs e)
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Plus, why isn't there an option to not have the about box on top? I find it pretty annoying telling you about these bugs and it being on top of everything else (not including Paint.NET's Translucent undocked tool boxes)
I'd also like to see an option to change the transparency levels of the search bar window and the About box.
I would like to be able to set this prog up to start when windows starts, plus I'd like an installer so I don't have to put it in C:\Program Files\MSN Search Bar\ and add a shortcut to it in the All Programs part of the Start Menu, in the quick launch bar and on the desktop.
Is this product made by MSN or Microsoft? A unknowing user would think "This is a product of Microsoft, but it is a hacked version since the real name of the creator has been replaced by this "Gus Pinto" guy. Or is that a worker from Microsoft? Maybe I should SUE!" It is just a bit strange seeing all these logos and MSN information that a non-tech user would shizen their pants over. Just stuff like the tooltip of the notification icon says "MSN Search" it should be less Fake Microsoftian and less confusing to all users.
Why doesn't the about box fade out when I close it? It should. It should also be more flat across the board, like the search bar window has a cross for closing the window, but the about box has the word "Close" for it. You should try and keep the style for both windows the same so that a user can grow into it and refer to the style fast. Do stuff like change the style of the About box to blue so that it looks the same as the search bar window and then keep it that way.
Also, there is no way of returning or bringing up a new window for the search bar from the about box, it should say "Search bar" or have an icon we can click on to return to the search bar window. Just make sure the style is the same across the board when you add this feature.

What? Do you think I went overboard? Wink Sorry GusPinto, this is how I am. I can't help but find bugs and problems with programs. Sometimes I don't verbalise these bugs, but I had to let a rip here Smiley



I hope you comply with the above.
Loadsgood.
Loadsgood
Loadsgood
What is your answer?

Yeah it's really good, except it vomits when my firewall denies it internet access. Here's the food bits of the vomit:

************** Exception Text **************
System.ComponentModel.Win32Exception: An error occurred in sending the command to the application
   at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
   at System.Diagnostics.Process.Start()
   at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
   at System.Diagnostics.Process.Start(String fileName)
   at MSNTray.MainForm.searchButton1_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.PerformClick()
   at System.Windows.Forms.Form.ProcessDialogKey(Keys keyData)
   at System.Windows.Forms.TextBoxBase.ProcessDialogKey(Keys keyData)
   at System.Windows.Forms.Control.PreProcessMessage(Message& msg)
   at System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)

Other than that it works great Smiley

EDIT: Could you add that down arrow from MSN Search to the left of "Search Web" and make a menu which says "Web" "Images" etc. and when I click one of those it changes the "Search Web" button to say "Search Images", Search [option clicked here]"?
Also could you get it to detect the user's regional settings of the computer and change the MSN Search to the local MSN Search for that user? If they don't have an MSN Search for their region just have it go to the .com one.
Could you make the search bar window and the about box movable?  


Go this app.
Loadsgood.

Hey LoadsGood, my good ol' buddy. See any updates I added to NinerStat here? Wink
Loadsgood
Loadsgood
What is your answer?
There's two new icons underneath the words "Channel 9" in the middle panel. A link to more information about NinerStat rendering of threads from Channel9 (Sounds like you failed the HTML! Wink) A red cross to remove the thread rendering panel (God knows why you would want to remove that panel). A "Visit online" button and that's all I can see for now.
You leakage boy! Oh and you added "Elqoh Software" into the title, you should change it back to enterTech since I thought you got rid of Elwoh... I'll bug spray the latest NinerStat once I defeat the FC4 beast Smiley



Oh you leak maniac.
Loadsgood.
Loadsgood wrote:
There's two new icons underneath the words "Channel 9" in the middle panel. A link to more information about NinerStat rendering of threads from Channel9 (Sounds like you failed the HTML! ) A red cross to remove the thread rendering panel (God knows why you would want to remove that panel). A "Visit online" button and that's all I can see for now.
You leakage boy! Oh and you added "Elqoh Software" into the title, you should change it back to enterTech since I thought you got rid of Elwoh... I'll bug spray the latest NinerStat once I defeat the FC4 beast



Oh you leak maniac.
Loadsgood.

Elwoh's still intact. Hence my display photo. I'll send the latest copy over to you but don't leak out the release. Wink. And yes, the HTML rendering failed for some reason, I'll have to see why as soon as i get VS installed again. There are ALOT more updates in there, [View] that you'll have to see for your self later. Smiley And I'll think you'll like "PersonalFeed". I've added what you've requested a little while back. Still working on that clock! Smiley
Loadsgood
Loadsgood
What is your answer?
GusPinto wrote:
Loadsgood,

No need to apologize. That's why I published the tool here.
There isn't a best place to have knowledgeable people downloading it and giving feedback.

Your feedback was awesome, your comments were the kind of comments you expect when someone is looking for feedbacks.

I already have a version that contains most of the stuff you commented, as soon as my time allows me, I will try to wrap it up with more stuff I got from my friends, and re-publish it.

Thanks a bunch for taking your time to review the app.

regards,

Gus



You know it makes me feel good telling people about bugs in their software.... I think I might pick it up again and tell people about bugs in their software rather than holding back or not being bothered opening a new IE window. Plus I like this peice of software, it works well except for those bits I pointed out. I think there was some more but yesterday I thought I'd tell you if they were there in the new release and now I've forgotten what they were... Meh doesn't matter.

And as for you Mister Steve 411... I'm all confused on the situation with Elwoh so as long as I can scream at you for the missing features and the bugness I'm happy Wink



Damn trial version of MagicISO.
Loadsgood.
Pick on me all you want, Miss. LoadsGood.


I need my VS CD's.
Steve.
Loadsgood
Loadsgood
What is your answer?
Steve411 wrote:
Pick on me all you want, Miss. LoadsGood.


I need my VS CD's.
Steve.


That Miss better be short for Misster Mad Haha you still don't have your VS CDs... I tells you someone took them.



Get some replacement CDs from Microsoft Wink
Loadsgood.
"Visit online" button checks to see which feed you select, then it loads the appropriate page into the html view on the right. I have also added Group Sorting, "Right Click - > Assign to Group" or "Right Click - > New Group" for instant loading... There is also a properties dialog with a bunch of shizzle info on it. I've re-re-written the RSS Reader class from the top now and a bunch of stuff added there as well. Custom item sorting, item browsing, removing.. etc.

Here's some code for the RssItem struct gathering, instead of idexes.

<BR>/* this it how we did it in the past...VERY hard to figure out the item index in a list view */<BR>public RssItem getItem(int Index)<BR>{<BR>            return (RssItem)List[Index];<BR>}<BR>/* this is how we do it now.. VERY easy to loop through the items.:) */    <BR>public RssItem getItem(RssItem item)<BR>{<BR>            RssItem nItem = new RssItem();<BR>            foreach(RssItem i in Functions.feed.Items)<BR>            {<BR>                if(item.title == i.title)<BR>                {<BR>                    if(Functions.feed.Items.InnerList.Contains(i))<BR>                    {<BR>                        return (RssItem)i;<BR>                    }<BR>                }<BR>            }<BR>            return nItem;<BR> }<BR>

To use the new bit of code we just browse like this.
<BR>/* Validation is required before we send it off to the InnerList.<BR>            Tried it without current-to-current validation and it failed.<BR>             This fixes that with ease. */<BR>            foreach(XPListViewItem i in ListItems.SelectedItems)<BR>            {<BR>                foreach(RssItem rItem in Functions.feed.Items)<BR>                {<BR>                    if(rItem.title == i.Text)<BR>                    {<BR>                        ThePostDetails.PostData = Functions.feed.Items.getItem(rItem).Link;<BR>                    }<BR>                    else{}<BR>                }<BR>            }<BR>


I am always posting updates about NinerStat [even SOURCE!] on my Blog. For example, here is a post that I think you've seen a while ago. All the content described in the post is still intact, and I'm back to coding, installed VS NO MORE NOTEPAD! Wink.

You can now even sort the items into groups with a click of a mouse button. Even got that toolbar menu you wanted up. Auto Grouping, though, is my favorite feature. I can keep track of my favorite posters here on C9 and even use ColorDeco in the process.

I've removed the ZoomFactor for just a little while. Added an advanced reader with easy ColorDeco activation and grouping. Subscriptions are all set to go as well.

PM me on MSN and I'll send you a copy. Wink
NinerStat - Start something Extraordinary.

Mommy, when can I be a C# gurry?. Sad
Steve.
Loadsgood
Loadsgood
What is your answer?
Wow go Steve. How many features do you want? Expressionless I just hope they don't clash or else it'll be a minefield full of bugs. I'll MSN you one day..... one day....



Great work you doing there on NinerStat Big Smile
Loadsgood.
Loadsgood
Loadsgood
What is your answer?
GusPinto wrote:
Thanks.

I noticed that. On the new version I made it read-only!


You guys can use the thread no problem! I don't care!


We won't be taking over your thread anymore since Steve created a thread in The Coffeehouse for what we were talking about.

Glad to hear you can fix bugs well Smiley



Loadsgood was here.
Loadsgood.
Loadsgood
Loadsgood
What is your answer?
Sorry again GusPinto. Except this time it is because of Steve and myself hijaking your thread...

I'll try and unhijack by telling you of one more bug I found just then in MSN system tray web search Smiley
I can highlight and delete the Microsoft copyright text that you put in the About box.

If I find any more bugs I'll let a rip on the next version, I just told you about that one in an effort to unhijack your thread Smiley

EDIT: fyi that Microsoft copyright form can house up to 29854 characters, I had to tell you this before I can't edit the form anymore.

Go MSN Tray Search!
Loadsgood.
Loadsgood
Loadsgood
What is your answer?
I can open multiple "About" windows but not multiple "Search" windows? I shouldn't be able to open multiple about windows.

If I open the about window after opening the search window, it closes the search window. But when I open the about window first, then open the search window it opens the search window underneath and doesn't close the about window.

Also, how does Windows determine which Window should be on top? If Task Manager is set to "always on top" and MSN Tray Search is also set to "always on top" then the Task Manager is on top everytime.

How come I can't Ctrl+A in the search webform?

If I search for "='&nbsp;=\ it results in 404 error at this address http://%22http//search.msn.com/results.aspx?q=%22='&nbsp;=",,-1,0,,,, If I actually go to the MSN Search page, and search for "='&nbsp;=\ it gives a correct page with many search results. I think that your program isn't encoding the symbols I search for into correct url form, it rather is depending on the default browser to do it for you. Tsk tsk tsk Smiley



That's all for now.
Loadsgood.
page 1 of 1
Comments: 22 | Views: 20232 | Downloads: 154
Microsoft Communities