Technology Questions

Go Back   Technology Questions > Software Questions > General Questions > Microsoft Office > Microsoft OneNote

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 06-28-2009, 05:50 AM
JakeHorton
Newsgroup Contributor
 
Posts: n/a
Issue with the copy and paste facility.

I want to copy source code from Visual Studio 2008 into OneNote, however when
I copy it, it copies the text but doesn't change the font or colours. I set
it match the source formatting and I check this every time. But does not copy
the colour of text or the font.

This isn't so much of a problem with small amounts, but if I need to copy
the source code for an entire program, it'll be a nightmare recoloring the
comments, string data and keywords.

Does anyone know why it is only copying the text and it's layout?

Products used:
Visual Studio 2008 Professional with SP1
Microsoft Office OneNote 2007 with SP2

Option selected on the paste: "Use source formatting"
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

 
Old 06-28-2009, 05:50 AM
  #2 (permalink)  
Old 06-28-2009, 01:50 PM
David Olsen
Newsgroup Contributor
 
Posts: n/a
Re: Issue with the copy and paste facility.

The same issue was raised recently with this subject: "Syntax colouring lost
when pasting from SQL and Visual Studio?"

I assume you require this as a way of preserving sample code for later
searching.
You can achieve this by adding the relevant folder to Windows Desktop
Search. Remember to check in the Options that the file type of interest has
an index setting of "Index Properties and File Contents". Under this
arrangement you will use WDS to find sample code, not OneNote - but given
that it will be automatic, you may find this a better arrangement.

--

David Olsen
www.powerbits.com.au


"JakeHorton" <JakeHorton@discussions.microsoft.com> wrote in message
news:96D6371B-3342-4CD1-B2AF-66837D456CC7@microsoft.com...
>I want to copy source code from Visual Studio 2008 into OneNote, however
>when
> I copy it, it copies the text but doesn't change the font or colours. I
> set
> it match the source formatting and I check this every time. But does not
> copy
> the colour of text or the font.
>
> This isn't so much of a problem with small amounts, but if I need to copy
> the source code for an entire program, it'll be a nightmare recoloring the
> comments, string data and keywords.
>
> Does anyone know why it is only copying the text and it's layout?
>
> Products used:
> Visual Studio 2008 Professional with SP1
> Microsoft Office OneNote 2007 with SP2
>
> Option selected on the paste: "Use source formatting"
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #3 (permalink)  
Old 06-28-2009, 02:20 PM
JakeHorton
Newsgroup Contributor
 
Posts: n/a
RE: Issue with the copy and paste facility.

Problem has been solved. If I copy the source code into Microsoft Word and
then into Microsoft OneNote, it retains the format, font and colour. Thanks
for the help.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy Paste Issue with XP Pro Greg Windows XP 0 10-17-2008 03:56 AM
Copy and paste/text transfer issue Tang9 Windows Vista 2 09-24-2007 09:40 AM
File Copy and Paste issue - Windows Explorer Woblit Windows Vista 9 04-17-2007 04:45 AM
Copy and Paste issue Moses Windows XP 5 03-27-2007 04:03 AM
Copy and Paste Issue Ian M Windows XP 2 03-06-2007 01:30 AM


New To Technology Questions? Do You Need Help with Your Computer or Device? Do You Need Help with this site?

All times are GMT -8. The time now is 05:06 AM.


2003 - 2009 All Rights Reserved. Technology Questions

Search Engine Friendly URLs by vBSEO 3.3.0