24 June 2008

private void ThisAddIn_Startup(object sender, System.EventArgs e)
{

Office.CommandBarComboBox webControl1 = (Office.CommandBarComboBox)this.Application.ActiveExplorer().CommandBars.FindControl(26, 1740, missing, missing);

webControl1.Text = "www.sa-action.blogspot.com";

}

10 June 2008

Find, Download Cool Icon over the net,


Click Here.

02 June 2008

See this example:

This is a simple two classes "Property" and "Customer", you can see that "Cusomer" class has a method named "PropertyTest" and it will return "Property" class.

See the intelsense list.


but now this the same method intelsense list.



this is coding stuff for C#

29 April 2008

Convert code C# to VB and VB to C# online.



Click Here

02 April 2008

This is one kind of RSS Reader software.

Using MSDN Reader we can brows MSDN Magazine very easily.

This is available on WidowsClient.net







Download MSDN Reader

12 March 2008

Check that how strong or best password you have!!!



Click here

04 March 2008

I have a web page with master page.

Now there is a functionality to "Print This Page", but not full page only one table form that. and it's value comes form database.

There is one want to open a page and load that same information form database. but using javascript, it's become so easier.

Let's check...



you can see that, there is some content with master page, Now I just want to print detail page, but not master page.

so I need to give ID to that control which one I want to print,

for example:

table id="tblResult"

and right down some javascript into this page.

script language="javascript">

function OpenWindow()
{

var printContent = document.getElementById("tblPrint");
var sFeatures = "height=200,width=300,status=no,toolbar=no,menubar=no,location=no";

win = window.open("","Print", sFeatures);
win.document.write(printContent.innerHTML);
win.document.close();
win.focus();
win.print();
win.close();

}

script>


Now, right down onClick event = " OpenWindow()" in button.

Finally you click on "Print" button, It will open a new popup window and it will see also open a print dialogbox.




getElementById(IDName).innerHTML will do this job.

Now Visual Studio 2008 have small name of "
getElementById" and that is "$get".


23 February 2008

Start to search in Gujrati language.

It will display Gurati language keyborad and search result in Internet Explorer.

20 February 2008

Download some learning Video for ASP.NET 3.5 from MSDN.

You can also download source code for them.

There are more then 100 video series for ASP.NET related technology.

14 February 2008

Visual Studio have a small "Browse With..." feature in IDE.

"Browse with" menu is use to browse our web page in particular selected browser.


Right click on solution explorer, on "aspx" page.



This is "Browse with" dialog box.

You can add any new browser which is not register here, like "FireFox", "Opera" etc, by clicking on "Add" button.

Select the browser name and "Set as Default" to open every time your web site in the same browser.


You can also set bowser resolution (window size) by clicking on bellow drop down.



And there is another small one feature "Internal Web Browser", here will browser your site in you IDE directly.