I'm starting in WPF Ribbon development and it is very nice!
My problem is to find (FREE) basic icons (like file save/open/etc, cut/paste/etc).
Have you got some suggestion?
Have you looked at the Visual Studio Icon Library? Provided you're not using Visual Studio Express, the library should be available as part of the install (if you didn't do a complete install). The images are free to use from a licensing perspective, provided they are used in a consistent way with the usage listed in the Readme.html file in the same folder as the image (See this blog post for further information). Basically as long as you don't use the disk image that's typically associated with "Save" to mean "Open" or some other weird usage, you should be fine.
Update 5 years later: the icon library is now available online.
https://www.microsoft.com/en-us/download/details.aspx?id=35825
http://www.famfamfam.com/
Check out the free icons on glyfx.com: http://www.glyfx.com/products/free_vista_ce.html
Related
Hey I am trying to connect my Qt creator to my CVS. At the moment i am using it separated but i have seen version control options for it.
Now i have looked but no clear answer/or answer that worked has shown up.
Every one revers to the option Tools-->CVS, but this option in not in my list. The plugin is installed.
I am working on a Windows 10 computer and the information in the top shows my Qt and CVS versions.
My question is how can i use my CVS version control in QT?
First, make sur the CVS plugin is actually loaded. Go to Help > About Plugins... and ensure the CSV plugin has a green check icon.
Then ensure the CVS plugin is configured properly. Go to Tools > Options, under "Version Control" you should have a CVS tab with multiple options.
If it still does not work, you might want to report a bug in: https://bugreports.qt.io/
I am working on an ASP.NET web project in Visual Studio 2013 and it worked couple of hours before. But an hour ago I was tweaking something in the project and messed up the entire project. Is there anyway to restore to the version I had yesterday?
If you are using Version control, such as Mercurial, GIT, Subversion, TFS -- and you remembered to commit your work then YES, definitely.
If you're not using Version Control then you need to ask yourself why not? And don't turn off the computer today until you've corrected that oversight.
Also, you may have previous versions/restore points saved for you in Windows. In windows explorer, right click on the folder where your work is being saved and select properties. They may be a 'previous versions' tab, and inside there you may be able to revert to an earlier version. If so: lucky lucky you.
Also, if your work is being shared using a service like DropBox, you will be able to find earlier versions of your solution or project files.
There is one other technique, and I... I hesitate to mention this. What you need is a DeLorean car from the eighties, and enough plutonium to generate 1 point 21 GigaWatts. You also need.... forget it, no, Version Control is your best bet. Or Ctrl+Z.
Holding ctrl+z for a few minutes, and using version control are the only two ways I am aware of doing that..
In case you're like me and trying to recover from what you just did, if you saved your work to OneDrive, you can find the previous version of your work by logging into OneDrive through a web browser.
Newer versions of Visual Studio should have a "Timeline" feature that shows up in your left bar. It has probably been saving past versions of your files. But I would agree with others that using Version Control (like just committing your changes to a Github repo) is probably a smart idea!
Is there any way to replace VS2012 solution explorer's icons with VS2010 ones? At least 'folder' icon :(
Here is a shot of my VS2012 install that almost looks like the familiar 2010 we are all used to. It makes me feel normal again!
Here is exactly how I did this, step-by-step:
1) Close all instances of Visual Studio
2) Download vsip and extract it to a temp directory. (as of 1/3/2013 the current version is 1.5.2)
3) Open up a command prompt with "Run as administrator"
4) Go to the temp directory and run VSIP.exe - This will run an interactive program that accepts commands.
4a) Type "backup --version=2012" - This will backup all of your VS2012 UI dlls, just in case something gets messed up and you want to uninstall VSIP.
4b) Type "extract" - This will extract all of the old icons from your installation of VS2010 (per VS2010 license VSIP can not distribute those icons so we have to have a local install to pull them from).
4c) Type "inject" - This will inject all of the old 2010 icons from the previous step into the VS2012 DLLs.
4d) Type "menus -n" - This will change the menus so they are NOT ALL CAPITALIZED!
5) Download and install NiceVS - do not download the one dated 10/14 or you will be missing icons. As of 1/3/2013 I downloaded the file named "NiceVS.0.8.1.1 Beta.Full.vsix".
6) Download and install VS2012 Color Theme Editor - The next time you start VS2012 select the "Blue" theme from the color select window.
Now you should have a nice install of VS2012 that looks like my screen shot above! It takes three different applications to patch that hideous UI but it's certainly workable now! If you don't have VS2010 installed on the same machine as VS2012 then you will have to run step 4b on a machine with VS2010 and then copy the VSIP Images directory to your 2012 development machine.
Update: If you install "VS 2012 Update 1" after running these steps you will need to re-run step 4c from the VSIP admin prompt (or all of step 4 if you didn't keep the extract of the VS2010 images). The file menu icons and color scheme stay as they are but the update reverts the icons in the solution explorer back to the ugly ones. Re-running the VSIP inject fixes it right up!
Short Answer:
Hack the old icons into 2012.
Visual Studio Icon Patcher - http://vsip.codeplex.com
Long Answer:
Doing this with a plugin, for now, is out of the question. I've been unable to find any built-in way to achieve this and the switch to WPF makes it even harder to hack around.
This app simply extracts the image resources from the unmanaged DLLs in Visual Studio 2010 and injects them into the DLLs for Visual Studio 2012. The managed resources are a lot more complex and haven't been added in yet, though I have gotten some to work.
The initial release didn't work well with themes that had a dark Tree View background color due to how the icon colors are inverted when a dark background color is detected. This is made even worse in the newest release since menu & toolbar icons are included now. I'm running this with the Blue Theme and it looks fine.
One way to hack around the icon inversion is to edit all the extracted images to add a single cyan pixel in the top right corner of each icon in the image map. This will exclude them from the inversion process. I haven't tried this though because I ran into issues early on when manipulating the images where they wouldn't display right. You could try it but it'll be fairly manual and time consuming and may not even work.
Look at this thread:
Solution Explorer - custom icons for my folders
I think it's also applicable for vs2012
If not -> you can manually find solution explorer's icon resources with ResHack (or Resource Hacker) and simply replace it!
Here is the solution:
Visual Studio Icon Patcher http://vsip.codeplex.com/
Description from VSIP web page:
Project Description Visual Studio Icon Patcher allows you to update
Visual Studio 2012 with the icons from Visual Studio 2010.
Until someone can find a way to change the icons via a plug-in the
only way to change them is through resource patching the DLLs that
Visual Studio uses. There are a number of managed and unmanaged DLLs
containing Bitmaps and PNGs that are used to style the application.
For now only the unmanaged DLLs are part of this process with the
managed DLLs hopefully coming soon.
No images are distributed with this project. You will need to have
both Visual Studio 2010 and 2012 installed to use this.
Update
I've just tested VSIP with Visual Studio 2012 Update 2, and it work flawlessly :-)
Could some one explain to me what a Workspace space is in Aptana and how to use them? My main problem is that I don't even understand the concept of the Workspace and I can find no documentation anywhere (and I've looked quite a lot) that explains this.
Sorry if sounds like a stupid question but I want to try using an IDE rather than Notepad++ to see if I like it and I'm really stuck on what the concept of a Workspace is.
The workspace is place you adding your projects. Aptana is built on eclipse, so you can read about workspace in eclipse. http://archive.darronschall.com/weblog/2006/01/getting-friendly-with-eclipse-workspaces.html
Workspace is the area where you load all your current active projects. It makes it easier for you to access them at one place rather than always have to navigate to your project directory. As an example, you may have a zend project in your zend framework directory but another HTML project sitting in your public directory. These two projects will be inside your workspace such that a single click in them brings the entire project to the side bar.
Ok I have following the tutorial here as best I can
http://subsonicproject.com/docs/Setting_up_SubSonic_3.0
As the files you get in the download are nothing like what is shown in the video?? So I am literally just guessing which files to use??
Then I drag the files / folders into Visual studio (As the video shows) and NOTHING happens?? It just adds the files to my solution?? Or adds the folders to my solution as normal files... Nothing gets executed as shown in the video??
I realise Rob has spent a lot of time on this off his own back, and I am trying not to be a whining old women BUT... How are we expected to use it, if the installation video is completely different to the actual files you get in the download AND when you drag the files into VS2008 nothing happens - Which is completely different to the video? My VS does not recognise TT files as being anything special...
I really want to use this new version, as I loved v2.1 but I'm loosing faith
RANT OVER
OK a few places to start:
Are you using Visual Studio Express, if so unfortunately it doesn't support t4 and so won't work with SubSonic 3
Try right clicking on the tt files and clicking 'Run Custom Tool'
If your project is a Website rather than a Web Application Project t4 won't work and you won't see 'Run Custom Tool' in the right click menu. In this case either convert the project or you can use a separate class library project in your solution and add the templates to it, then reference this in your website.
Choose whether you want to use Simple, Linq or ActiveRecord templates. Have a look here to help you choose (you can always change your mind later)
Watch the video for whichever template you've chosen, the setup video you linked to is unfortunately a little dated and I think the template specific ones are much more helpful.