Tuesday, November 17, 2009

Enter Key - Default Submit Button


form id="form1" defaultbutton="btn1" runat="server"







Use the UniqueID property of the button to set the Form.DefaultButton. Example: Form.DefaultButton = btnOK.UniqueID.


form id="form1" defaultbutton="btn1" runat="server">/form

Sunday, March 30, 2008

data table rowfilter (gridview filter)

protected void Button1_Click(object sender, EventArgs e)

{

DataTable dt = this.GridView1.DataSource as DataTable;


string filter = "field1='" + this.DropDownList1.SelectedItem.Text + "' AND " +

"field2='" + this.DropDownList2.SelectedItem.Text + "' AND " +

"field3='" + this.TextBox1.Text + "' AND " +

"field4='" + this.TextBox2.Text + "'";



dt.DefaultView.RowFilter = filter;

this.GridView1.DataBind();

}

remove duplicate row in datatable

Dim dt as new DataTable 'Assume this is the existing data table, populated somehow...
Dim dtNew as new DataTable
Dim dr as DataRow
Dim ID as Int32 = -1

dtNew=dt.Clone 'For having the same structure

for each dr in dt.Rows

If ID=-1 or ID <> Int32.Parse(dr("ID").ToString) Then
dtNew.ImportRow (dr)
ID = Int32.Parse(dr("ID").ToString)
End If

next

Hope this helps!!

Monday, February 4, 2008

Sharepoint 5 Feb 2008

http://www.sharepointblogs.com/
http://sharepoint.microsoft.com
Sharepoint Forms Authentication
http://www.dplouffe.ca/sharepoint-autnentication/

Forms Authentication with WSS 3.0 Tutorial

The following tutorial will demonstrate how to create an authentication script outside of the Sharepoint environment and implement the login within Sharepoint. You will learn how to use the fundamentals of Form Authentication as well as modify the Sharepoint Environment to enable Forms Authentication.

Luckily, if you are already an ASP.Net developer, you’ve most likely already played around with Forms Authentication. Since WSS 3.0 is built on top of Microsoft.Net 2.0, we can use the same fundamentals as ASP.Net to configure Sharepoint.

Required Tools
· Microsoft.Net 2.0/3.0

· Visual Studio

· WSS 3.0 Installation

· SQL Server database

Instructions
Creating your Authentication Web Site
Follow the steps below in order to create your authentication web site we will later use in the Sharepoint environment.

1. From you web/sharepoint server, create the following folder c:\VirtualDirectories\AuthSite.

2. Open the IIS Administration Panel and locate the web site for your Sharepoint Site installation.

3. On that website, create a Virtual Directory called AuthSite and point it to the newly created folder (Ensure that you check the Run Scripts checkbox on the last step of the Virtual Directory Creation Wizard).

4. Open Visual Studio 2005

5. Create a new website using C# as your coding language

6. Add a web.config file by right clicking on your website project and selecting Add New Item…

7. Select the Web Configuration file Option

8. From the C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 folder, run the aspnet_sql.exe application. This application will guide you through creating the authentication database which we will use for our authentication scripts.

9. On the first screen, click on the Next button

10. On the second screen, ensure that the Configure Sql Server for Application Services option is checked and click on the Next button.

11. On the third screen, enter your database information. The user which you enter needs to have the rights to create a new database on the SQL Server. Leave the database name to . The wizard will create a database called aspnetdb automatically.

12. On the fourth screen, confirm the information you’ve entered and click on the Next button. The wizard will now created the necessary database.

13. Click on the Finish button when the wizard has completed.

14. Go back to Visual Studio 2005 and edit the web.config template you created in step 6.

15. Replace the node and replace it will the following code









Note: Replace the connectionString parameter with your own connection string.

16. Find the authentication node and replace insert Forms instead of Windows in the mode parameter.


17. From Visual Studio 2005 select the ASP.NET Configuration option under the top Website Menu. A browser window will open with the ASP.NET configuration tools.

18. Click on the security tab

19. Click on the Create user link in the Users menu.

20. Fill in the Create User form with a user of your choice.

21. Open the default.aspx template and add the Login Authentication object which can be found in the Toolbox.

22. Publish your website to a location of your choice.

23. Copy the content of the precompiled website to the folder you created in step 1.

Sharepoint Configuration
Now that your authentication website has been created, we are now ready to configure sharepoint in order to use Forms Authentication. Follow the steps below to configure Sharepoint.

Enabling Anonymous Access
1. Open the Sharepoint Central Administration from the Control Panel…Administrative Tools.

2. Click on the Application Management site on the top menu

3. Click on the Authentication Providers link under the Application Security menu.

4. Ensure that your Sharepoint site is selected in the Web Application drop down

5. Click on the Default link below the Zone heading.

6. Check the Enable Anonymous Access checkbox and click on the save button.

7. Open a new web browser and navigate to your Sharepoint site.

8. Select the Site Settings menu option from the Site Actions menu.

9. Click on the Advanced Permission link.

10. Click on the Settings button and select the Anonymous Access menu option.

11. Choose the Entire Web site option and click on the Ok button.

Configuration of Membership Provder
1. Open the web.config template located in your Inetpub\wwwroot\wss\VirtualDirectories\ folder.

2. Copy the connectionString node from you AuthSite web site and paste it into the Sharepoint web.config. Note: Paste it under the node to ensure that the application will compile successfully.

3. Go back to the Sharepoint Central Administration web site and go back to Authentication Providers. Follow the steps from 1 to 5 in the previous section.

4. Check the Forms radio box under the Authentication Type option.

5. Enter AspNetMembershipProvider in the Membership Provider Name text box.

6. Click on the Ok Save button.

7. Open a command prompt window and type the following command: iisreset

8. When the iisreset is done, open a new browser and navigate to your Sharepoint site.

You’ll now notice that you will not have to login in order to access your Sharepoint site. If you want to login, you can click on the Sign In link on the top left menu. You can use the user which you created in the AuthSite section in order to login to Sharepoint. By default, Sharepoint uses its own login script to authentication users. The next section will show you how to use your own site which we’ve created in the first section.

Configuration of Your Authentication Website
Now that we have Sharepoint configured to use Form Authentication we can configure it to use the website you created in the first step.

1. Open the web.config of your Sharepoint installation.

2. Find the node and replace it with the following code.



3. Go back to your Sharepoint website and sign out.

4. Click back on the Sign In link. You should be redirected to your new website.

Congratulations, you’ve just configured Forms Authentication with Sharepoint. Let me know if you have any feedback. Send it to dominic@dplouffe.ca

Sunday, February 3, 2008

4 Feb 2008 DELETE and Parent refresh

Delete


OnClientClick="return confirm('Are you sure you want to delete this record?');"
CommandName="Delete">Delete



window.close();
if (window.opener && !window.opener.closed) {
window.opener.location.reload();
}

Wednesday, December 26, 2007

For codeholics ...

Below is a list of the default shortcut keys for VS.NET:

Action Key

View.ViewCode
Global::F7

View.ViewDesigner
Global::Shift+F7
Global::Alt+Enter

File.OpenFile
Global::Ctrl+O

File.SaveSelectedItems
Global::Ctrl+S

File.SaveAll
Global::Ctrl+Shift+S

Edit.Cut
Global::Ctrl+X
Global::Shift+Del

Edit.Copy
Global::Ctrl+C
Global::Ctrl+Ins

Edit.Paste
Global::Ctrl+V
Global::Shift+Ins

View.NavigateForward
Global::Ctrl+Shift+-

Debug.Start
Global::F5

Edit.FindinFiles
Global::Ctrl+Shift+F

Edit.GoToFindCombo
Global::Ctrl+D

View.SolutionExplorer
Global::Ctrl+Alt+L

View.PropertiesWindow
Global::F4

View.ObjectBrowser
Global::Ctrl+Alt+J

View.Toolbox
Global::Ctrl+Alt+X

File.NewProject
Global::Ctrl+Shift+N

Edit.Undo
Global::Ctrl+Z
Global::Alt+Bkspce

View.NextView
HTML Editor HTML View::Ctrl+PgDn
HTML Editor Design View::Ctrl+PgDn
XML Editor Schema View::Ctrl+PgDn
XML Editor Data View::Ctrl+PgDn

View.VisibleBorders
HTML Editor Design View::Ctrl+Q

View.Details
HTML Editor Design View::Ctrl+Shift+Q

Project.Override
Global::Ctrl+Alt+Ins

File.AddNewItem
Global::Ctrl+Shift+A

File.AddExistingItem
Global::Shift+Alt+A

Build.BuildSolution
Global::Ctrl+Shift+B

Build.Cancel
Global::Ctrl+Break

Build.Compile
Global::Ctrl+F7

Debug.Breakpoints
Global::Ctrl+Alt+B

Debug.RunningDocuments
Global::Ctrl+Alt+N

Debug.Watch1
Global::Ctrl+Alt+W, 1

Debug.Watch2
Global::Ctrl+Alt+W, 2

Debug.Watch3
Global::Ctrl+Alt+W, 3

Debug.Watch4
Global::Ctrl+Alt+W, 4

Debug.Autos
Global::Ctrl+Alt+V, A

Debug.Locals
Global::Ctrl+Alt+V, L

Debug.This
Global::Ctrl+Alt+V, T

Debug.Immediate
Global::Ctrl+Alt+I

Debug.CallStack
Global::Ctrl+Alt+C

Debug.Threads
Global::Ctrl+Alt+H

Debug.Modules
Global::Ctrl+Alt+U

Debug.Memory1
Global::Ctrl+Alt+M, 1

Debug.Memory2
Global::Ctrl+Alt+M, 2

Debug.Memory3
Global::Ctrl+Alt+M, 3

Debug.Memory4
Global::Ctrl+Alt+M, 4

Debug.Disassembly
Global::Ctrl+Alt+D

Debug.Registers
Global::Ctrl+Alt+G

Debug.ToggleDisassembly
Global::Ctrl+F11

Debug.StartWithoutDebugging
Global::Ctrl+F5

Debug.BreakAll
Global::Ctrl+Alt+Break

Debug.StopDebugging
Global::Shift+F5

Debug.Restart
Global::Ctrl+Shift+F5

Debug.ApplyCodeChanges
Global::Alt+F10

Debug.Exceptions
Global::Ctrl+Alt+E

Debug.StepInto
Global::F11

Debug.StepOver
Global::F10

Debug.StepOut
Global::Shift+F11

Debug.QuickWatch
Global::Ctrl+Alt+Q
Global::Shift+F9

Debug.NewBreakpoint
Global::Ctrl+B

Debug.ClearAllBreakpoints
Global::Ctrl+Shift+F9

Database.Run
Global::Ctrl+E

Database.RunSelection
Global::Ctrl+Q

Database.StepInto
Global::Alt+F5

Schema.Expand
XML Editor Schema View::Ctrl+=

Schema.Collapse
XML Editor Schema View::Ctrl+-

Query.Run
Query Designer::Ctrl+R
View Designer::Ctrl+R

Format.Bold
HTML Editor Design View::Ctrl+B

Format.Italic
HTML Editor Design View::Ctrl+I

Format.Underline
HTML Editor Design View::Ctrl+U

Format.ConverttoHyperlink
HTML Editor Design View::Ctrl+L

Format.InsertBookmark
HTML Editor Design View::Ctrl+Shift+L

Format.DecreaseIndent
HTML Editor Design View::Ctrl+Shift+T

Format.IncreaseIndent
HTML Editor Design View::Ctrl+T

Format.AlignLefts
VC Dialog Editor::Ctrl+Shift+Left Arrow

Format.AlignCenters
VC Dialog Editor::Shift+F9

Format.AlignRights
VC Dialog Editor::Ctrl+Shift+Right Arrow

Format.AlignTops
VC Dialog Editor::Ctrl+Shift+Up Arrow

Format.AlignMiddles
VC Dialog Editor::F9

Format.AlignBottoms
VC Dialog Editor::Ctrl+Shift+Down Arrow

Format.SpaceAcross
VC Dialog Editor::Alt+Left Arrow
VC Dialog Editor::Alt+Right Arrow

Format.SpaceDown
VC Dialog Editor::Alt+Down Arrow
VC Dialog Editor::Alt+Up Arrow

Format.ButtonRight
VC Dialog Editor::Ctrl+R

Format.ButtonBottom
VC Dialog Editor::Ctrl+B

Format.CenterVertical
VC Dialog Editor::Ctrl+F9

Format.CenterHorizontal
VC Dialog Editor::Ctrl+Shift+F9

Format.SizetoContent
VC Dialog Editor::Shift+F7

Format.TabOrder
VC Dialog Editor::Ctrl+D

Format.ShowGrid
HTML Editor Design View::Ctrl+G

Format.SnaptoGrid
HTML Editor Design View::Ctrl+Shift+G

Format.ToggleGuides
VC Dialog Editor::Ctrl+G

Format.CheckMnemonics
VC Dialog Editor::Ctrl+M

Format.TestDialog
VC Dialog Editor::Ctrl+T

Format.LockElement
HTML Editor Design View::Ctrl+Shift+K

Table.InsertColumntotheLeft
HTML Editor Design View::Ctrl+Alt+Left Arrow

Table.InsertColumntotheRight
HTML Editor Design View::Ctrl+Alt+Right Arrow

Table.InsertRowAbove
HTML Editor Design View::Ctrl+Alt+Up Arrow

Table.InsertRowBelow
HTML Editor Design View::Ctrl+Alt+Down Arrow

Tools.DebugProcesses
Global::Ctrl+Alt+P

Image.FlipHorizontal
VC Image Editor::Ctrl+H

Image.FlipVertical
VC Image Editor::Shift+Alt+H

Image.Rotate90Degrees
VC Image Editor::Ctrl+Shift+H

Image.UseSelectionasBrush
VC Image Editor::Ctrl+U

Image.CopyAndOutlineSelection
VC Image Editor::Ctrl+Shift+U

Image.DrawOpaque
VC Image Editor::Ctrl+J

Image.NewImageType
VC Image Editor::Ins

Image.RectangleSelectionTool
VC Image Editor::Shift+Alt+S

Image.EraseTool
VC Image Editor::Ctrl+Shift+I

Image.FillTool
VC Image Editor::Ctrl+F

Image.MagnificationTool
VC Image Editor::Ctrl+M

Image.PencilTool
VC Image Editor::Ctrl+I

Image.BrushTool
VC Image Editor::Ctrl+B

Image.AirbrushTool
VC Image Editor::Ctrl+A

Image.LineTool
VC Image Editor::Ctrl+L

Image.TextTool
VC Image Editor::Ctrl+T

Image.RectangleTool
VC Image Editor::Alt+R

Image.OutlinedRectangleTool
VC Image Editor::Shift+Alt+R

Image.FilledRectangleTool
VC Image Editor::Ctrl+Shift+Alt+R

Image.RoundedRectangleTool
VC Image Editor::Alt+W

Image.OutlinedRoundedRectangleTool
VC Image Editor::Shift+Alt+W

Image.FilledRoundedRectangleTool
VC Image Editor::Ctrl+Shift+Alt+W

Image.EllipseTool
VC Image Editor::Alt+P

Image.OutlinedEllipseTool
VC Image Editor::Shift+Alt+P

Image.FilledEllipseTool
VC Image Editor::Ctrl+Shift+Alt+P

Image.ShowTileGrid
VC Image Editor::Ctrl+Shift+Alt+S

Image.ShowGrid
VC Image Editor::Ctrl+Alt+S

Image.LargerBrush
VC Image Editor::Ctrl+=

Image.SmallerBrush
VC Image Editor::Ctrl+-

Image.SmallBrush
VC Image Editor::Ctrl+.

Image.ZoomIn
VC Image Editor::Ctrl+Up Arrow
VC Image Editor::Ctrl+Shift+.

Image.ZoomOut
VC Image Editor::Ctrl+Down Arrow
VC Image Editor::Ctrl+Shift+,

Image.PreviousColor
VC Image Editor::Ctrl+Left Arrow
VC Image Editor::Ctrl+[

Image.PreviousRightColor
VC Image Editor::Ctrl+Shift+Left Arrow
VC Image Editor::Ctrl+Shift+[

Image.NextColor
VC Image Editor::Ctrl+Right Arrow
VC Image Editor::Ctrl+]

Image.NextRightColor
VC Image Editor::Ctrl+Shift+Right Arrow
VC Image Editor::Ctrl+Shift+]

Image.Magnify
VC Image Editor::Ctrl+Shift+M

Help.DynamicHelp
Global::Ctrl+F1

View.NavigateBackward
Global::Ctrl+-

View.ClassView
Global::Ctrl+Shift+C

View.ServerExplorer
Global::Ctrl+Alt+S

View.ResourceView
Global::Ctrl+Shift+E

View.MacroExplorer
Global::Alt+F8

View.DocumentOutline
Global::Ctrl+Alt+T

View.TaskList
Global::Ctrl+Alt+K

View.CommandWindow
Global::Ctrl+Alt+A

View.Output
Global::Ctrl+Alt+O

View.FindSymbolResults
Global::Ctrl+Alt+F12

View.Favorites
Global::Ctrl+Alt+F

File.Print
Global::Ctrl+P

Edit.Redo
Global::Ctrl+Y
Global::Shift+Alt+Bkspce
Global::Ctrl+Shift+Z

Edit.SelectAll
Global::Ctrl+A

Edit.Find
Global::Ctrl+F

Edit.OpenFile
Global::Ctrl+Shift+G

Tools.RunTemporaryMacro
Global::Ctrl+Shift+P

Tools.RecordTemporaryMacro
Global::Ctrl+Shift+R

Tools.MacrosIDE
Global::Alt+F11

File.OpenProject
Global::Ctrl+Shift+O

File.NewFile
Global::Ctrl+N

Edit.Replace
Global::Ctrl+H

Edit.GoTo
Global::Ctrl+G

View.PropertyPages
Global::Shift+F4

View.FullScreen
Global::Shift+Alt+Enter

Debug.RunToCursor
Global::Ctrl+F10

Debug.ToggleBreakpoint
Global::F9

Help.Contents
Global::Ctrl+Alt+F1

Help.Index
Global::Ctrl+Alt+F2

Debug.SetNextStatement
Global::Ctrl+Shift+F10

Help.Search
Global::Ctrl+Alt+F3

Debug.ShowNextStatement
Global::Alt+Num *

Help.Searchresults
Global::Shift+Alt+F3

Help.Indexresults
Global::Shift+Alt+F2

Edit.Wildcard
Global::Alt+F3, P

Edit.ReplaceinFiles
Global::Ctrl+Shift+H


Global::Ctrl+5

Edit.GotoNextLocation
Global::F8

Edit.GotoPreviousLocation
Global::Shift+F8


Global::Ctrl+6

Window.NextTab
Global::Ctrl+PgDn

Window.PreviousTab
Global::Ctrl+PgUp
HTML Editor HTML View::Ctrl+PgUp

Window.CloseToolWindow
Global::Shift+Esc


Global::Ctrl+7

Window.ActivateDocumentWindow
Global::Esc

Window.MovetoDropdownBar
Global::Ctrl+F2

Window.NextPane
Global::Alt+F6

Window.PreviousPane
Global::Shift+Alt+F6


Global::Ctrl+Shift+Alt+T


Global::F2

Edit.HiddenText
Global::Alt+F3, H

Edit.MatchCase
Global::Alt+F3, C

Edit.WholeWord
Global::Alt+F3, W

Edit.RegularExpression
Global::Alt+F3, R

Edit.Up
Global::Alt+F3, B

Edit.StopSearch
Global::Alt+F3, S

View.NextTask
Global::Ctrl+Shift+F12

Edit.FindNext
Global::F3

Edit.FindPrevious
Global::Shift+F3

Edit.FindNextSelected
Global::Ctrl+F3

Edit.FindPreviousSelected
Global::Ctrl+Shift+F3

Debug.EnableBreakpoint
Global::Ctrl+F9

Help.F1Help
Global::F1

Tools.GoToCommandLine
Global::Ctrl+/

Window.NextSplitPane
Global::F6

Window.PreviousSplitPane
Global::Shift+F6

Window.NextDocumentWindow
Global::Ctrl+F6
Global::Ctrl+Tab

Window.PreviousDocumentWindow
Global::Ctrl+Shift+F6
Global::Ctrl+Shift+Tab

Edit.CycleClipboardRing
Global::Ctrl+Shift+V
Global::Ctrl+Shift+Ins

Window.CloseDocumentWindow
Global::Ctrl+F4

Tools.CommandWindowMarkMode
Global::Ctrl+Shift+M

Edit.GoToDefinition
Global::F12

Edit.GoToDeclaration
Global::Ctrl+F12

View.ObjectBrowserBack
Global::Alt+-

View.ObjectBrowserForward
Global::Shift+Alt+-

Edit.FindSymbol
Global::Alt+F12

Help.WindowHelp
Global::Shift+F1

View.PopBrowseContext
Global::Ctrl+Shift+8

Edit.GoToReference
Global::Shift+F12

View.BrowseNext
Global::Ctrl+Shift+1

View.BrowsePrevious
Global::Ctrl+Shift+2

Edit.QuickFindSymbol
Global::Shift+Alt+F12

Edit.MoveControlLeft
Global::Ctrl+Left Arrow
VC Dialog Editor::Left Arrow
Windows Forms Designer::Ctrl+Left Arrow

Edit.MoveControlDown
Global::Ctrl+Down Arrow
VC Dialog Editor::Down Arrow
Windows Forms Designer::Ctrl+Down Arrow

Edit.MoveControlRight
Global::Ctrl+Right Arrow
VC Dialog Editor::Right Arrow
Windows Forms Designer::Ctrl+Right Arrow

Edit.MoveControlUp
Global::Ctrl+Up Arrow
VC Dialog Editor::Up Arrow
Windows Forms Designer::Ctrl+Up Arrow

Edit.SizeControlDown
Global::Ctrl+Shift+Down Arrow
VC Dialog Editor::Shift+Down Arrow
Windows Forms Designer::Ctrl+Shift+Down Arrow

Edit.SizeControlUp
Global::Ctrl+Shift+Up Arrow
VC Dialog Editor::Shift+Up Arrow
Windows Forms Designer::Ctrl+Shift+Up Arrow

Edit.SizeControlLeft
Global::Ctrl+Shift+Left Arrow
VC Dialog Editor::Shift+Left Arrow
Windows Forms Designer::Ctrl+Shift+Left Arrow

Edit.SizeControlRight
Global::Ctrl+Shift+Right Arrow
VC Dialog Editor::Shift+Right Arrow
Windows Forms Designer::Ctrl+Shift+Right Arrow

Edit.ShowTileGrid
Global::Enter

Edit.MoveControlUpGrid
Global::Up Arrow

Edit.MoveControlDownGrid
Global::Down Arrow

Edit.MoveControlLeftGrid
Global::Left Arrow

Edit.MoveControlRightGrid
Global::Right Arrow

Edit.SizeControlRightGrid
Global::Shift+Right Arrow

Edit.SizeControlUpGrid
Global::Shift+Up Arrow

Edit.SizeControlLeftGrid
Global::Shift+Left Arrow

Edit.SizeControlDownGrid
Global::Shift+Down Arrow

Edit.SelectNextControl
Global::Tab

Edit.SelectPreviousControl
Global::Shift+Tab


Global::Alt+F9, D


Global::Alt+F9, P


Global::Alt+F9, S


Global::Alt+F9, A

View.ShowWebBrowser
Global::Ctrl+Alt+R

View.WebNavigateBack
WebBrowser::Alt+Left Arrow

View.WebNavigateForward
WebBrowser::Alt+Right Arrow

Help.Nexttopic
WebBrowser::Alt+Down Arrow

Help.Previoustopic
WebBrowser::Alt+Up Arrow

Edit.Delete
Global::Del

Edit.DeleteBackwards
Text Editor::Shift+Bkspce
Text Editor::Bkspce

Edit.BreakLine
Text Editor::Shift+Enter
Text Editor::Enter
Windows Forms Designer::Enter

Edit.InsertTab
Text Editor::Tab
Windows Forms Designer::Tab

Edit.TabLeft
Text Editor::Shift+Tab
Windows Forms Designer::Shift+Tab

Edit.CharLeft
Text Editor::Left Arrow
Windows Forms Designer::Left Arrow

Edit.CharLeftExtend
Text Editor::Shift+Left Arrow
Windows Forms Designer::Shift+Left Arrow

Edit.CharRight
Text Editor::Right Arrow
Windows Forms Designer::Right Arrow

Edit.CharRightExtend
Text Editor::Shift+Right Arrow
Windows Forms Designer::Shift+Right Arrow

Edit.LineUp
Text Editor::Up Arrow
Windows Forms Designer::Up Arrow

Edit.LineUpExtend
Text Editor::Shift+Up Arrow
Windows Forms Designer::Shift+Down Arrow

Edit.LineDown
Text Editor::Down Arrow
Windows Forms Designer::Down Arrow

Edit.LineDownExtend
Text Editor::Shift+Down Arrow
Windows Forms Designer::Shift+Up Arrow

Edit.DocumentStart
Text Editor::Ctrl+Home

Edit.DocumentStartExtend
Text Editor::Ctrl+Shift+Home

Edit.DocumentEnd
Text Editor::Ctrl+End

Edit.DocumentEndExtend
Text Editor::Ctrl+Shift+End

Edit.LineStart
Text Editor::Home

Edit.LineStartExtend
Text Editor::Shift+Home

Edit.LineEnd
Text Editor::End

Edit.LineEndExtend
Text Editor::Shift+End

Edit.PageUp
Text Editor::PgUp

Edit.PageUpExtend
Text Editor::Shift+PgUp

Edit.PageDown
Text Editor::PgDn

Edit.PageDownExtend
Text Editor::Shift+PgDn

Edit.ViewTop
Text Editor::Ctrl+PgUp

Edit.ViewTopExtend
Text Editor::Ctrl+Shift+PgUp

Edit.ViewBottom
Text Editor::Ctrl+PgDn

Edit.ViewBottomExtend
Text Editor::Ctrl+Shift+PgDn

Edit.ScrollLineUp
Text Editor::Ctrl+Up Arrow
VC Dialog Editor::Ctrl+Up Arrow

Edit.ScrollLineDown
Text Editor::Ctrl+Down Arrow
VC Dialog Editor::Ctrl+Down Arrow

Edit.MakeLowercase
Text Editor::Ctrl+U

Edit.MakeUppercase
Text Editor::Ctrl+Shift+U

Edit.SwapAnchor
Text Editor::Ctrl+R, Ctrl+P

Edit.GotoBrace
Text Editor::Ctrl+]

Edit.GotoBraceExtend
Text Editor::Ctrl+Shift+]

Edit.OvertypeMode
Text Editor::Ins

Edit.LineCut
Text Editor::Ctrl+L

Edit.LineDelete
Text Editor::Ctrl+Shift+L

Edit.DeleteHorizontalWhiteSpace
Text Editor::Ctrl+K, Ctrl+\

Edit.LineOpenAbove
Text Editor::Ctrl+Enter

Edit.LineOpenBelow
Text Editor::Ctrl+Shift+Enter

Edit.ClearBookmarks
Text Editor::Ctrl+K, Ctrl+L

Edit.ToggleBookmark
Text Editor::Ctrl+K, Ctrl+K

Edit.NextBookmark
Text Editor::Ctrl+K, Ctrl+N

Edit.PreviousBookmark
Text Editor::Ctrl+K, Ctrl+P

Edit.CharTranspose
Text Editor::Ctrl+T

Edit.WordTranspose
Text Editor::Ctrl+Shift+T

Edit.LineTranspose
Text Editor::Shift+Alt+T

Edit.SelectCurrentWord
Text Editor::Ctrl+W

Edit.WordDeleteToEnd
Text Editor::Ctrl+Del

Edit.WordDeleteToStart
Text Editor::Ctrl+Bkspce

Edit.WordPrevious
Text Editor::Ctrl+Left Arrow

Edit.WordPreviousExtend
Text Editor::Ctrl+Shift+Left Arrow

Edit.WordNext
Text Editor::Ctrl+Right Arrow

Edit.WordNextExtend
Text Editor::Ctrl+Shift+Right Arrow

Edit.SelectionCancel
Text Editor::Esc
Windows Forms Designer::Esc

Edit.ParameterInfo
Text Editor::Ctrl+Shift+Space

Edit.ViewWhiteSpace
Text Editor::Ctrl+R, Ctrl+W

Edit.CompleteWord
Text Editor::Alt+Right Arrow
Text Editor::Ctrl+Space

Edit.ListMembers
Text Editor::Ctrl+J

Edit.FormatSelection
Text Editor::Ctrl+K, Ctrl+F

Edit.ToggleTaskListShortcut
Text Editor::Ctrl+K, Ctrl+H

Edit.QuickInfo
Text Editor::Ctrl+K, Ctrl+I

Edit.CharLeftExtendColumn
Text Editor::Shift+Alt+Left Arrow

Edit.CharRightExtendColumn
Text Editor::Shift+Alt+Right Arrow

Edit.LineUpExtendColumn
Text Editor::Shift+Alt+Up Arrow

Edit.LineDownExtendColumn
Text Editor::Shift+Alt+Down Arrow

Edit.ToggleWordWrap
Text Editor::Ctrl+R, Ctrl+R

Edit.IncrementalSearch
Text Editor::Ctrl+I

Edit.ReverseIncrementalSearch
Text Editor::Ctrl+Shift+I

Edit.LineStartExtendColumn
Text Editor::Shift+Alt+Home

Edit.LineEndExtendColumn
Text Editor::Shift+Alt+End

Edit.WordPreviousExtendColumn
Text Editor::Ctrl+Shift+Alt+Left Arrow

Edit.WordNextExtendColumn
Text Editor::Ctrl+Shift+Alt+Right Arrow

Edit.HideSelection
Text Editor::Ctrl+M, Ctrl+H

Edit.ToggleOutliningExpansion
Text Editor::Ctrl+M, Ctrl+M

Edit.ToggleAllOutlining
Text Editor::Ctrl+M, Ctrl+L

Edit.StopOutlining
Text Editor::Ctrl+M, Ctrl+P

Edit.StopHidingCurrent
Text Editor::Ctrl+M, Ctrl+U

Edit.CollapsetoDefinitions
Text Editor::Ctrl+M, Ctrl+O

Edit.CommentSelection
Text Editor::Ctrl+K, Ctrl+C

Edit.UncommentSelection
Text Editor::Ctrl+K, Ctrl+U

Edit.SelectToLastGoBack
Text Editor::Ctrl+=

Edit.FormatDocument
Text Editor::Ctrl+K, Ctrl+D


HTML Editor HTML View::Ctrl+Shift+.

Edit.ScrollColumnLeft
VC Dialog Editor::Ctrl+Left Arrow

Edit.ScrollColumnRight
VC Dialog Editor::Ctrl+Right Arrow

Edit.NewString
VC String Editor::Ins

Edit.NewAccelerator
VC Accelerator Editor::Ins

Edit.NextKeyTyped
VC Accelerator Editor::Ctrl+W

View.SQL
Query Designer::Ctrl+3
View Designer::Ctrl+3

View.Diagram
Query Designer::Ctrl+1
View Designer::Ctrl+1

View.Results
Query Designer::Ctrl+4
View Designer::Ctrl+4

View.Grid
Query Designer::Ctrl+2
View Designer::Ctrl+2


Windows Forms Designer::Shift+Esc

14003 (0x000036b3) Exit code 14003 - The referenced assembly

14003 (0x000036b3)
You need SP1 VS 2005
http://www5d.biglobe.ne.jp/~noocyte/Programming/Windows/Errors/WinError.xls