(OT) AppData folder

2012-02-26 Thread Ian Thomas
This is not a direct .NET question, since I need to know for a MinGW compile
of C code in the next couple of weeks. 

We require a consistent location for installing plugins to this Win32
application. Perhaps the install location or a folder under it is most
sensible, but AppData has been suggested. 

I can't recall whether the AppData folder is consistently accessible via an
environment variable across Windows versions from (say) Win2000 onwards.
Searching MSDN etc finds some KB articles that refer to (even in Windows XP)
situations where %AppData% was not being correctly expanded, and these are
dated around 2007 to 2009. 

Has this been corrected? I have access to a Windows XP SP3 system on which I
can check, but not earlier versions or even server 2003 - and the compile
will need to work on Win2000 onwards (roughly). 

Also - just discovered - a home machine which has AMD A8 (4-core) processor
(which supports virtualization under AMD-V) is running on an Asus
mainboard supposedly designed for it, but Windows 7 64-bit won't run an
XP-mode virtual machine. Does anyone know what my options are for this
machine? I'd need to check again, but I don't recall seeing any BIOS switch.


  _  

Ian Thomas
Victoria Park, Western Australia

 



RE: (OT) AppData folder

2012-02-26 Thread David Kean
Don't use environment variables to find these locations (they might not be 
defined, or could be set to something completely wrong). If .NET, use 
Environment.GetFolderPath. For native use SHGetFolderPath. Both are supported 
on Windows 2000 onwards.


From: ozdotnet-boun...@ozdotnet.com [ozdotnet-boun...@ozdotnet.com] on behalf 
of Ian Thomas [il.tho...@iinet.net.au]
Sent: Sunday, February 26, 2012 1:56 AM
To: ozdotnet@ozdotnet.com
Subject: (OT) AppData folder

This is not a direct .NET question, since I need to know for a MinGW compile of 
C code in the next couple of weeks.
We require a consistent location for installing plugins to this Win32 
application. Perhaps the install location or a folder under it is most 
sensible, but AppData has been suggested.
I can’t recall whether the AppData folder is consistently accessible via an 
environment variable across Windows versions from (say) Win2000 onwards. 
Searching MSDN etc finds some KB articles that refer to (even in Windows XP) 
situations where %AppData% was not being correctly expanded, and these are 
dated around 2007 to 2009.
Has this been corrected? I have access to a Windows XP SP3 system on which I 
can check, but not earlier versions or even server 2003 – and the compile will 
need to work on Win2000 onwards (roughly).
Also – just discovered – a home machine which has AMD A8 (4-core) processor 
(which supports virtualization under “AMD-V”) is running on an Asus mainboard 
supposedly designed for it, but Windows 7 64-bit won’t run an XP-mode virtual 
machine. Does anyone know what my options are for this machine? I’d need to 
check again, but I don’t recall seeing any BIOS switch.


Ian Thomas
Victoria Park, Western Australia



RE: (OT) AppData folder

2012-02-26 Thread Ian Thomas
Ok, thanks David. Native usage is the one I needed confirmation on.

 

  _  

Ian Thomas
Victoria Park, Western Australia

  _  

From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com]
On Behalf Of David Kean
Sent: Monday, February 27, 2012 12:14 AM
To: ozDotNet
Subject: RE: (OT) AppData folder 

 

Don't use environment variables to find these locations (they might not be
defined, or could be set to something completely wrong). If .NET, use
Environment.GetFolderPath. For native use SHGetFolderPath. Both are
supported on Windows 2000 onwards.

  _  

From: ozdotnet-boun...@ozdotnet.com [ozdotnet-boun...@ozdotnet.com] on
behalf of Ian Thomas [il.tho...@iinet.net.au]
Sent: Sunday, February 26, 2012 1:56 AM
To: ozdotnet@ozdotnet.com
Subject: (OT) AppData folder 

This is not a direct .NET question, since I need to know for a MinGW compile
of C code in the next couple of weeks. 

We require a consistent location for installing plugins to this Win32
application. Perhaps the install location or a folder under it is most
sensible, but AppData has been suggested. 

I can't recall whether the AppData folder is consistently accessible via an
environment variable across Windows versions from (say) Win2000 onwards.
Searching MSDN etc finds some KB articles that refer to (even in Windows XP)
situations where %AppData% was not being correctly expanded, and these are
dated around 2007 to 2009. 

Has this been corrected? I have access to a Windows XP SP3 system on which I
can check, but not earlier versions or even server 2003 - and the compile
will need to work on Win2000 onwards (roughly). 

Also - just discovered - a home machine which has AMD A8 (4-core) processor
(which supports virtualization under AMD-V) is running on an Asus
mainboard supposedly designed for it, but Windows 7 64-bit won't run an
XP-mode virtual machine. Does anyone know what my options are for this
machine? I'd need to check again, but I don't recall seeing any BIOS switch.


  _  

Ian Thomas
Victoria Park, Western Australia

 



Re: New look of Visual Studio, what are your thoughts?

2012-02-26 Thread mike smith
On Fri, Feb 24, 2012 at 4:58 PM, David Kean david.k...@microsoft.comwrote:

  Thanks for the feedback. On the three different versions things, why are
 you using three? What you building that still requires 2005/2008?

 **


Ok, we do builds for products that were released when 2005 (and 2008) were
current, and it's not convenient, or safe, to update them to 2010 (or 2012)
- we're only doing maintenance fixes on them.  It'd be nice if you could
open a 2005 project with 2012, without converting it to 2012 format, and
then compile it with the 2005 version of CL.  That would give you the 2012
UI, and not alter the project/solution/binary more than necessary.



  **

 *From:* ozdotnet-boun...@ozdotnet.com [mailto:
 ozdotnet-boun...@ozdotnet.com] *On Behalf Of *mike smith
 *Sent:* Thursday, February 23, 2012 9:35 PM

 *To:* ozDotNet
 *Subject:* Re: New look of Visual Studio, what are your thoughts?

 ** **

 On Fri, Feb 24, 2012 at 4:15 PM, David Kean david.k...@microsoft.com
 wrote:

  We showed off the new look today: http://blogs.msdn.com/b/visualstudio/
 
 
 
  Thoughts?

 I agree, somewhat, about the colour, but feel you've gone too far towards
 monochrome.  And if you make me learn a new set of damned icons, I won't
 use the bloody thing.  This is one thing I wish Microsoft would stop
 tinkering with.  Icons, menu layouts, dialog layouts.   Some of us don't
 move on completely from one version to another, but use 3 different
 versions of VS.  Do you have any idea how painful this is?

 [image: Description: Pictographic icons from VS 2010 on the top row with
 the equivalent VS 11 glyphs on the bottom row] 

  ** **

 Take the comment/uncomment icons. WTF are they meant to represent?

 ** **

 /rant

 ** **



 --
 Meski

  http://courteous.ly/aAOZcv

 Going to Starbucks for coffee is like going to prison for sex. Sure,
 you'll get it, but it's going to be rough - Adam Hills




-- 
Meski

   http://courteous.ly/aAOZcv

Going to Starbucks for coffee is like going to prison for sex. Sure,
you'll get it, but it's going to be rough - Adam Hills
image001.png

RE: New look of Visual Studio, what are your thoughts?

2012-02-26 Thread David Kean
Starting in VS 11, you can now round-trip VS 2010 projects/solutions without 
modification in most cases.

Can you clarify on the “not safe” part? Is there anything in particular you are 
worried about? In 2008/2010, in most cases, all that’s really changing 
underneath is a version number stored in the project/solution. Everything else 
will build normally.

From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On 
Behalf Of mike smith
Sent: Sunday, February 26, 2012 6:50 PM
To: ozDotNet
Subject: Re: New look of Visual Studio, what are your thoughts?


On Fri, Feb 24, 2012 at 4:58 PM, David Kean 
david.k...@microsoft.commailto:david.k...@microsoft.com wrote:
Thanks for the feedback. On the three different versions things, why are you 
using three? What you building that still requires 2005/2008?

Ok, we do builds for products that were released when 2005 (and 2008) were 
current, and it's not convenient, or safe, to update them to 2010 (or 2012) - 
we're only doing maintenance fixes on them.  It'd be nice if you could open a 
2005 project with 2012, without converting it to 2012 format, and then compile 
it with the 2005 version of CL.  That would give you the 2012 UI, and not alter 
the project/solution/binary more than necessary.



From: ozdotnet-boun...@ozdotnet.commailto:ozdotnet-boun...@ozdotnet.com 
[mailto:ozdotnet-boun...@ozdotnet.commailto:ozdotnet-boun...@ozdotnet.com] On 
Behalf Of mike smith
Sent: Thursday, February 23, 2012 9:35 PM

To: ozDotNet
Subject: Re: New look of Visual Studio, what are your thoughts?

On Fri, Feb 24, 2012 at 4:15 PM, David Kean 
david.k...@microsoft.commailto:david.k...@microsoft.com wrote:

 We showed off the new look today: http://blogs.msdn.com/b/visualstudio/



 Thoughts?

I agree, somewhat, about the colour, but feel you've gone too far towards 
monochrome.  And if you make me learn a new set of damned icons, I won't use 
the bloody thing.  This is one thing I wish Microsoft would stop tinkering 
with.  Icons, menu layouts, dialog layouts.   Some of us don't move on 
completely from one version to another, but use 3 different versions of VS.  Do 
you have any idea how painful this is?
[Description: Pictographic icons from VS 2010 on the top row with the 
equivalent VS 11 glyphs on the bottom row]

Take the comment/uncomment icons. WTF are they meant to represent?

/rant



--
Meski

 http://courteous.ly/aAOZcv

Going to Starbucks for coffee is like going to prison for sex. Sure, you'll 
get it, but it's going to be rough - Adam Hills



--
Meski
 http://courteous.ly/aAOZcv


Going to Starbucks for coffee is like going to prison for sex. Sure, you'll 
get it, but it's going to be rough - Adam Hills

inline: image001.png

What was that command binding refresh trick?

2012-02-26 Thread Greg Keogh
Many months ago I asked if there was a way to forcing WPF command bindings
to update. I have a case where menus and toolbar buttons don't change their
state. Whoever replied was familiar with this behaviour and pointed me to a
rather obscure method of some class that forced all command bindings to
refresh. I can't remember what the class or method was, nor does a guesswork
search of all my source reveal any places where I've used the class, nor can
I remember who replied.

 

Anyone remember?

 

Thanks

Greg



Re: New look of Visual Studio, what are your thoughts?

2012-02-26 Thread Scott Barnes
I've also done a blog post decoding the grey into more finite principles,
ie i dont like grey.. isn't enough, so i've made a feeble attempt to
decode the problem with flat grey vs depth based grey.

Decoding the use of grey in Visual Studio vNext
http://www.riagenic.com/archives/858

---
Regards,
Scott Barnes
http://www.riagenic.com


On Mon, Feb 27, 2012 at 1:53 PM, David Kean david.k...@microsoft.comwrote:

  Starting in VS 11, you can now round-trip VS 2010 projects/solutions
 without modification in most cases.

 ** **

 Can you clarify on the “not safe” part? Is there anything in particular
 you are worried about? In 2008/2010, in most cases, all that’s really
 changing underneath is a version number stored in the project/solution.
 Everything else will build normally.

 ** **

 *From:* ozdotnet-boun...@ozdotnet.com [mailto:
 ozdotnet-boun...@ozdotnet.com] *On Behalf Of *mike smith
 *Sent:* Sunday, February 26, 2012 6:50 PM

 *To:* ozDotNet
 *Subject:* Re: New look of Visual Studio, what are your thoughts?

 ** **

 ** **

 On Fri, Feb 24, 2012 at 4:58 PM, David Kean david.k...@microsoft.com
 wrote:

 Thanks for the feedback. On the three different versions things, why are
 you using three? What you building that still requires 2005/2008?

 ** **

 Ok, we do builds for products that were released when 2005 (and 2008) were
 current, and it's not convenient, or safe, to update them to 2010 (or 2012)
 - we're only doing maintenance fixes on them.  It'd be nice if you could
 open a 2005 project with 2012, without converting it to 2012 format, and
 then compile it with the 2005 version of CL.  That would give you the 2012
 UI, and not alter the project/solution/binary more than necessary. 

 ** **

  

   

 *From:* ozdotnet-boun...@ozdotnet.com [mailto:
 ozdotnet-boun...@ozdotnet.com] *On Behalf Of *mike smith
 *Sent:* Thursday, February 23, 2012 9:35 PM


 *To:* ozDotNet
 *Subject:* Re: New look of Visual Studio, what are your thoughts?

  

 On Fri, Feb 24, 2012 at 4:15 PM, David Kean david.k...@microsoft.com
 wrote:


  We showed off the new look today: http://blogs.msdn.com/b/visualstudio/
 
 
 
  Thoughts?

 I agree, somewhat, about the colour, but feel you've gone too far towards
 monochrome.  And if you make me learn a new set of damned icons, I won't
 use the bloody thing.  This is one thing I wish Microsoft would stop
 tinkering with.  Icons, menu layouts, dialog layouts.   Some of us don't
 move on completely from one version to another, but use 3 different
 versions of VS.  Do you have any idea how painful this is? 

 [image: Description: Pictographic icons from VS 2010 on the top row with
 the equivalent VS 11 glyphs on the bottom row] 

  

 Take the comment/uncomment icons. WTF are they meant to represent?

  

 /rant

  



 --
 Meski

  http://courteous.ly/aAOZcv

 Going to Starbucks for coffee is like going to prison for sex. Sure,
 you'll get it, but it's going to be rough - Adam Hills



 

 ** **

 --
 Meski

  http://courteous.ly/aAOZcv


 Going to Starbucks for coffee is like going to prison for sex. Sure,
 you'll get it, but it's going to be rough - Adam Hills

 ** **

image001.png

RE: What was that command binding refresh trick? (found)

2012-02-26 Thread Greg Keogh
System.Windows.Input.CommandManager.InvalidateRequerySuggested();

 

A tedious Google search eventually found my post and reply archived
somewhere. Thanks to Mr Scarlett of the green font for his answer on that
last October.

 

Greg



SS Reporting Services

2012-02-26 Thread Peter Maddin
I am starting to look at SSRS 2008.

 

I am not sure if this is the best list to discuss this or not.

If there is a better list please tell me.

 

I (my user account) installed SQL Server 2008 developer on my note book.

 

I have not published any reports (which as far as I can tell, can only be
done from VS2008 BI)

 

I tried to configure reporting services.

 

When I try and open the web service URL using Reporting Services
Configuration Manager

 

I get 

 


Reporting Services Error 



  _  



*   The permissions granted to user 'Development2\PeterMaddin' are
insufficient for performing this operation. (rsAccessDenied)
http://go.microsoft.com/fwlink/?LinkId=20476EvtSrc=Microsoft.ReportingServ
ices.Diagnostics.Utilities.ErrorStringsEvtID=rsAccessDeniedProdName=Micros
oft%20SQL%20Server%20Reporting%20ServicesProdVer=10.0.1600.22 Get Online
Help 

  _  

SQL Server Reporting Services

 

My login account is the dbo for ReportServer$SQLSERVER2008 and
ReportServer$SQLSERVER2008TempDB.

 

What permissions do I need to grant to myself or is it that I have not
published any reports yet?

 

Clicking on
http://go.microsoft.com/fwlink/?LinkId=20476EvtSrc=Microsoft.ReportingServ
ices.Diagnostics.Utilities.ErrorStringsEvtID=rsAccessDeniedProdName=Micros
oft%20SQL%20Server%20Reporting%20ServicesProdVer=10.0.1600.22 Get Online
Help gets me 

 



Details


ID:

rsAccessDenied 


Source:

Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings 



We're sorry


There is no additional information about this issue in the Error and Event
Log Messages or Knowledge Base databases at this time. You can use the links
in the Support area to determine whether any additional information might be
available elsewhere.


  _  




Thank you for searching on this message; your search helps us identify those
areas for which we need to provide more information.

 

Great thanks very much!!

 

 

 

Regards Peter Maddin
Applications Development Officer
PathWest Laboratory Medicine WA
Phone : +618 6396 4285 (Monday, Wednesday,Friday)

Phone : +618 9346 4372 (Tuesday, Thursday)
Mobile: 0423 540 825 
E-Mail : petermad...@iinet.net.au; peter.mad...@health.wa.gov.au
The contents of this e-mail transmission outside of the WAGHS network are
intended solely for the named recipient's), may be confidential, and may be
privileged or otherwise protected from disclosure in the public interest.
The use, reproduction, disclosure or distribution of the contents of this
e-mail transmission by any person other than the named recipient(s) is
prohibited. If you are not a named recipient please notify the sender
immediately.