I can't find the keystroke macro recorder in Xamarin Studio, however it's an usefull feature for an IDE (to edit some aligned code lines for example). Where is it hidden ?
In the same order of idea, searches are bit basic, where can I set if a search is only related to the "full words" (so the expression separated by symbols/blanks) ?
As of March 6th, 2013, it appears there is no keystroke macro support
http://forums.xamarin.com/discussion/1987/keystroke-macros-please
The post talks about code snippets, maybe that will work for you?
Martin
Related
Using VB.NET in Visual Studio 2019. Type a single space character anywhere in the codebase and a popup displays a long list of options. You have to constantly click away or press ESC. This quickly gets annoying.
Tools > Options > Text Editor > Basic > General > Auto list members stops these unwelcome popups...but now "member of" functions are not listed at all! For example:
Dim test As String = "fred"
test. ' Nothing is displayed when the dot is typed, but expected `Length`, etc
Is it possible to get Intellisense for "member of" only, but otherwise switched off and no other automatic listing (so nothing would be displayed when you are just typing away).
What a shambles to do so much with a single setting. If someone from Microsoft is reading this, check out how Borland's Delphi 7 handled this...an IDE of speed and beauty.
Very annoying that it distracts you that much. Im sorry to hear that.
Unfortunately, the final answer is that it cannot be solved, because microsoft would never consider an unpopular opinion.
The 'popup' is one of the most important features why people moved away from notepad in the first place. Every IDE will have it, and if they dont, they soon might. it is rarely unwelcomed.
With that in mind, microsoft didnt intend visual studio to be used without it.
I have created a Word Template(.dotm) file using VBA. It create a dropdown menu with buttons. It is working fine in Mac Office 2011.
Now I am trying to create DropDown menu using Mac Office 2016 but it doesn't create any dropdown menu.
Can anybody suggest me whether it supports in Mac Office 2016? Can I create dropdown menu in Office 2016 same as I have created using Word Template in Office 2011?
Please guide me.
Let me save you some time, Nanji. No, what you're trying to do is not supported in Word 2016 for Mac. If the VBA buttons and menus on your 2011 .dotm template are important to you, you should just continue using 2011 and check back in for news about Word 2016 in a year or so.
In my experience, about 50-75% of the stuff I built into my Word 2011 template is inoperable in Word 2016.
Word 2016 doesn't support floating toolbars or ribbon customization, and it doesn't have a fully functioning VBA editor, so it's not even possible to re-create your 2011 .dotm template from scratch within 2016.
Adding custom dropdown menus and most of the other UI customizations you are used to from Word 2011 are virtually impossible in Word 2016.
But wait, it gets better: 20-30% of the VBA code for those macro buttons you want to appear in the drop down menu will probably also be broken or buggy in Word 2016.
You may find advice elsewhere on the internet suggesting that you can build a new .dotm file on a WINDOWS machine with a current copy of Word for Windows, then load .dotm that in your MAC version of Word, cross your fingers, and use trial and error to see what, if anything, actually still works on your Mac version of Word 2016, but you will just end up tearing your hair out trying to do this. Trust me, I've been there.
You might make a tiny bit of progress doing things that way (build/code in WinWord then test in MacWord)--I managed to put some macro buttons on a custom ribbon tab using instructions I found on Microsoft's Mac Word Insider forum--but it will take forever to do something that took 5 minutes in Word 2011, and at some point you may reach a dead end without actually being able to finish what you're trying to re-create in Word 2016.
You may also find promises that Microsoft is "working on it" and that they definitely have plans to add these UI features back into Word 2016 for Mac, but that day may never come.
I've been checking the new releases religiously since January 2016--a full year now, woohoo!--and at one point they said that all the missing features would be added back by summer 2016, but so far all they've added is the ability to put a few buttons on the Quick Access Toolbar. Those QAT buttons, by the way, are limited to built-in Word functions, not custom dropdown menus like you want to do, or even customized buttons for individual VBA macros.
I have a program that I'm writing, and upon pressing the tab key inside a textbox, I would like it to autocomplete that word from a list that may change at any time. I've taken a bit of a peek around, but I can't find anything useful - most things that I'm finding are about disabling intellisense in Visual Studio - not what I'm after. I need something at runtime.
Any ideas?
I had a bunch of macros that I had in C:\Users\userx\AppData\Roaming\Microsoft\Templates that were always available in word 2010 but since upgrade to word 2013 I cannot run them. Word apparently does not automatically load them anymore. I used to just do alt F8 and pick from the list. I also had a few added to the quick options bar but they are gone also.
Searched this site and MS website and can't seem to find a solution. Is there another location that I need to move the files containing the macros to or is there some other action that I need to take so I can run them again?
My guess is this is already answered here and I am just not searching for the right things. My apologies if that is the case, please just point me to the appropriate post.
You can place a shortcut to the templates containing your macros in the following location
C:\Users\%username%\AppData\Roaming\Microsoft\Word\STARTUP
That will make your macros available whenever Word opens and restore the Alt+F8 functionality you're looking for. If you add toolbars to your templates, those will also automatically be attached to the Normal template when you open Word.
I'd like to allow my users to enter rich text (with bold, italic & underline, but probably nothing more than that) in an entry box on a VBA userform.
I don't want the user to have to install anything, so I need this to be something that leverages what Office or Windows already provide. The obvious candidate is the Windows built-in Rich Edit control.
I did a quick test and verified that I could create a window of this type from VBA, but what it then lacks is all the UI, etc. I could really use a leg-up as to how I then turn this into something usable.
I'm happy to consider alternative controls, so long as they're guaranteed to require no installation (other than as part of the Excel file containing the rest of my VBA code). It needs to work on Windows XP and up, and Office 2003 and up.
You could just try making a simple UI yourself. Add a command button to the form that will bold the selected text in the rich edit control. Or add a command button that will italicize or copy or paste. Your imagination is your limit.
I was checking Rich Edit Version 1.0 in Excel 2010, and I could access the text in the control.
For anyone searching for this still. As Gary McGill stated, "Microsoft InkEdit Control" is your best option.
Use the link below for a reference on the variables it can use:
https://www.thevbprogrammer.com/Ch10/10-06-RichTextBox.htm
With the Toolbox window open in Excel's Visual Basic editor, select Tools->Additional Controls from the menu. Check the box next to MSREdit Class. This will add the rich text control to your toolbox. From there you can add it to a UserForm.
I tested this control in both Office 2003 on Windows XP and Office 2010 on Windows 7. It looks like you'll still need to provide the UI for allowing the user to toggle bold, italics and underline.
It does accept a paste (via Ctrl+V) of some rich text that I copied from Word, but I couldn't figure out how to make it switch font formating while typing text into the control.
Putting this here just to rule it out...
It seems that the "Microsoft InkEdit Control", which is available from "Additional Controls" on the toolbox, is a superset of the Rich Text Edit control (as the name suggests, it also supports Ink).
It's hard to tell whether this is widely installed - it is on my XP/2003 machine, but not on my 2K/2K machine. (I've seen it said that it's installed with Vista and Win7, but clearly there are earlier versions too).
Anyway, I'm ruling this out because using the control results in a message at runtime to the effect that the ActiveX control is "unsafe" (presumably related to the well-known issue with the Rich Text Control itself).