Change selected instance in SSMS - sql-server

In SSMS, each tab is related to an instance and a DB.
There's a top left drop down where we can change the selected DB for current tab. But, if SSMS is connected to multiple instances, I don't see a way to change the selected instance of a tab. I need to copy the text, close the tab, select the correct instance, open a new tab, and past the text back.
Is there a smarter way to do this change?

You can change this by right clicking. Choose Connection > Change Connection from the context menu.
It's possible to add this button to the menu bar (but in SSMS 2016 I can't get it to work). In other versions click the down arrow at the end of the menu bar. From Add or Remove Buttons you can customise the available options.
You can also customise the colour of the status line, based on which server you are connected to. Handy if you often jump between servers and then get confused! ;P

Related

How to create a new tab in a Microsoft Access form

I am learning about Microsoft Access and need to create a user menu to access other forms. I know how to make buttons/controls to open the needed form, but I cannot get it to open in a new tab
How do I get "frmType" to open in a tab next to menu? I have been making the menu form using a tab control if that makes any difference.
Don't use Tab control. New database is set to Tabbed Documents mode by default. Objects will open as tabbed documents. This is what the lesson is demonstrating. The tab illustrated is a Tabbed Document, not a page tab of a Tab control.

ag-grid paste functionality not working in cell textbox

How to enable paste feature in ag-grid cell with in textbox. I have tried with Ctrl+V and also with right click Paste fuctionality but it is show disabled.
As stated in AG-Grid documentation here
The 'paste' operation in the context menu is not possible and hence
always disabled. It is not possible because of a browser security
restriction that Javascript cannot take data from the clipboard
without the user explicitly doing a paste command from the browser (eg
Ctrl+V or from the browser menu). If Javascript could do this, then
websites could steal data from the client via grabbing from the
clipboard maliciously. The reason why ag-Grid keeps the paste in the
menu as disabled is to indicate to the user that paste is possible and
it provides the shortcut as a hint to the user. This is also why the
API cannot copy from clipboard.
So you can't use the paste functionality from the context menu unfortunately.
However the Ctrl + V should work.

SSMS 2012 Results Pane nor working at all

I have tried everything assigning shortcuts, resetting keyboard, adding button by customizing but result pane is not showing up, even after adding its button and clicking on it.
Am I doing something wrong or is there some other bug?
You might be affected by a known issue, detailed here: https://support.microsoft.com/en-au/kb/2860024
Essentially, you may be experiencing a corrupted .vssettings file for SQL Server Management Studio. When you press Ctrl+R, you might see the following message in the status bar "(Ctrl+R) was pressed. Waiting for second key of chord…"
If this describes your issue, the fix is to reset the default keyboard mapping scheme:
Open SQL Server Management Studio.
On the menu bar, click Tools, and then click Options.
In the tree-view pane on the left side of the dialog box, click Keyboard.
Click Reset to reset the default keyboard mapping scheme.
In the dialog box that appears, click Yes.
Click OK.

Loose focus vnc viewer issue

The question is already asked in below link
i can't see a context menu of WPF windows app through VNC
But my requirements are slightly differ from it.
When I run my application in vnc viewer, and click on start menu from vnc toolbar and back to my application, right click on textbox does not show context menu like, copy, paste, cut.
Then, when i go task manager, right click on my application, and do "bring to front", then everything is working fine.
So I just want to know what is happening while clicking on vnc toolbar button, will take my application's focus back.
Thanks,
Rajnikant

How to add additional portals to my DNN community edition site?

I know this is a very basic question - I have googled and every where it says - click the "Add New Portal" button/link on the Portals page.
However, I have a DNN community edition version 06.00.00 that is live and I do not see any option to add a new portal. Could this be a configuration issue? Do I have to change some settings to be able to get the option to add a new portal?
See the image of the Host menu and Portals page. I am unable to get the Add New Portal link:
In the menu shown in your first screenshot, you need to go to "Portals"
Then you will see a small semi-transparent button that says "Manage"(if not, make sure your view mode is set to "Edit" in the top right of the control bar
hover over it and a menu will drop-down and there will be your "add new site" or "add new portal" link
you need to make sure your page is in the EDIT view mode (selected in the top right of the page), then you will see a manage button appear when you hover over the sites on the portal page. Click the manage button and choose new site.

Resources