Can you change the default Visual Basic Editor for Excel - excel

I much prefer using Eclipse to the standard VBA editor that Microsoft provides and was wondering if there was anyway I could set eclipse to be the default?

The answer is no. The VBE is attached and inseparable from Excel. Therefore you cannot replace it with another IDE.
The VBE is customizable (just a little though). Play with it by going into Tools ยป Options
Here's just a quick snapshot of what you can change to make it look more friendly and familiar to your original development tool.

Related

How to hook a Window Form within Microsft Excel from VBA?

I'm trying to hook a Window Form within Microsoft Excel itself like on the attached picture (This is an Addin called Kutools).
It is supposed to:
Fit on the right side of the Row number
Be Just below the name box
Be resizable and the window is resizable with it as well
Be collapsible or Expandable (like on the image)
I prefer to use the internal VBA of Excel to build and hook it as much as possible. But if I have to use an external Editor (Visual Studio C# or VB. Net ...) I'm willing to follow the instruction.
I searched all over the web but couldn't find a way to do this. I definitely appreciate your kind assistance on this.
Thanks for your help, I'm open to any suggestion!
If I am not mistaken, you are trying to create a custom task pane for Excel (add-in). If so, then this link might help you, but you need to build it with Visual studio using Office development tools:
https://learn.microsoft.com/en-us/visualstudio/vsto/custom-task-panes?view=vs-2019

Advanced Code Editor in Get and Transform

This seems like an odd question to ask on StackOverflow, but are there any options with the code editor when writing M code in Get & Transform? For me, it seems incredibly tedious to have to open the editor and click "Done" everytime I make a change. Is it possible to:
Keep the editor open while saving changes?
Any other editors that can be used that are more "full-screen" applications, such as Visual Studio Code?
I am not sure I fully understand the question but the following resources might help:
Here an editor is created using Notpad++ : https://ssbi-blog.de/blog/technical-topics-english/power-query-editor-using-notepad/
You can run M queries in visual studio: https://blog.crossjoin.co.uk/2018/02/12/running-m-queries-in-visual-studio-with-the-power-query-sdk/

Text editor web design vs Dreamweaver website design

I've always used TextWrangler/ Notepad++ to develop websites from scratch. I'm now coding what I'd say are very advanced websites this way.
I want to know if it's efficient to do things this way and whether I should learn DreamWeaver and use that
I use Dreamweaver, basically because I'm a designer not a coder. I find it useful to use Dreamweaver, because it has all the tools you need to create a website. Dreamweaver has the ability to be a WYSIWYG in the "Design" mode, but you can easily switch to the raw code and mess about with the code. Which is what I tend to do anyway.
Dreamweaver isn't a cheat way of web design, it is a tool. Much like a pencil and paper would be to an artist, or a hammer to a joiner. It's not what is used to create a website that should be ridiculed or the designer who uses Dreamweaver should be abused. But in fact the website itself, and the application of web design skills/knowledge.
Dreamweaver has it's own project file system, so you know exactly what is in your project and what isn't. You can also see all the external files that are linked in one HTML file, such as a JavaScript file. You can swap between the source code of the HTML file and the external file source code, with one click and with no other open "windows".
Dreamweaver is quite easy to learn (in my opinion), and should at least have a fair trial run.
If I were you, I would download a trial version of Dreamweaver, and try it out.
I hope I've helped in some way.
There are code editors with assists that are far better than DreamWeaver, like Espresso, Brackets or the upcoming TweakStyle.
Each software have a different added value depending on what you're searching for.

Build OS-independent notepad with some code completion - appropriate platform?

I want to build as simple notepad application with some code-completion.
It should be easy to compile to Linux, OS X and Windows.
I'm looking at wx-widgets or GTK. Others?? (as web-service as worst case.),
and without library dependencies.
Or does there exist any OS-independent FOSS editor with plug-in functionality.
(Eclipse way to heavy).
To be specific, what I want is a "helper" when coding XML towards an application-framework that use XML extensively. As libraries are loaded (through XML) new tags should be allowed and their existence should be prompted to user, both in toolbar (tags) and auto-complete (attributes).
Recommendations?
regards,
//t
XML Copy Editor: I've used it and it's not the best editor, but it does do the autocompletion.
Conglomerate: Looks quite promising but I never got it to work when I tried it out a year ago. Perhaps it's improved since then.
As for an OS-independent FOSS editor with plugin functionality that is more lightweight than Eclipse, try Gedit. It's not too difficult to write plugins for whatever functionality you may need. It's based on GTK.

How do I change the code page MS Visual Studio 2008 uses to open files?

I have a cpp file that uses ibm cp437 and Visual C++ keeps reading it with windows-1252. How do I make Visual C++ use the right code page for the file?
Alright, I figured it out myself. For the curious, here is the answer:
Right click the file in the Solution Explorer.
Select "Open With..."
Choose "C++ Source Code Editor (with encoding)"
A new box appears to specify Encoding. Choose "OEM United States - Codepage 437"
Done.
I also encountered these errors in my environments. I think there's any easier way to change the default code pages.
In windows 10, you could go to "Settings" -> "Region" -> "Administrative" tab -> "Language for non-Unicode programs". Then you could choose the region you want.
In this way, all the codes read from Visual Studio would use the code page whatever you want.
For example, the default setting for me is Chinese (Traditional, Taiwan). The code page is 950. But the codes are using windows-1252, therefore, I change the region to English (United States).
That's it.
Hope the solution could help you.
Thanks.
Unless you need the CP437 encoding, why don't you convert it to CP1252, UTF-8 or MS 'Unicode' (UCS-2)? Any reasonably capable editor should be able to do it.
VS2008 can do it - check out the Advanced Save option on the File menu.
Edit:
If you go to Source Control Explorer, right-click on the file, select 'Properties', you can set the encoding on the 'General' tab page. 'IBM437' is one of the choices.

Resources