.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Change WPF XBAP cache location

Posted By:      Posted Date: September 28, 2010    Points: 0   Category :WPF


Is it possible to change the location of XBAP cache.  Automaticaly a XBAP application download to C:\Documents and Settings\user1\Local Settings\Apps\2.0 for user1,  I need to download the app to another path.  How can I change the XBAP cache location?

My problem is that XBAP app is called on a server and the user profile is not in this server, Citrix configuration redirect it to a file server.  I think that IE cannot find the app PresentationHost or something like that. So If I could change the XBAP download location it would solve the problem. Is it possible?



View Complete Post

More Related Resource Links

Can I change the location SSRS 2008 uses for custom assemblies?

According to all the documentation or articles I've read, in order for an SSRS 2008 report to use a custom assembly the DLL must be copied to 1) For local development on my box:  C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\PublicAssemblies 2) For server deployment: C:\Program Files\Microsoft SQL Server\MSRS10.MSSQLSERVER2008\Reporting Services\ReportServer\bin  I've got this all working just fine. However, I have a need to put this DLL file in a different location.  Is this possible?  Is there a way to reconfigure the server installation so that it looks for custom assemblies in a different location?  Is there something I can do in the SSRS report itself to force it to look for the custom assembly in a different location?

how to change the default log file location?


I recently install SQL2005 on my win 2003 server. I have 3 drives (C, D, E).  The sql is installed on D. 

When I install SharePoint, it create the database for me.  However, both data & log files are default to D:\Program files......

As advised, I should separate data & log files into different drives.  How can I set the default data file to D and log file to E?  Can I detach the model database and move the current ldf file to E.  Then update the new location when I reattach the model database?  Will this change my future default log file location?   Is this save to do it this way? or I shouldn't touch the model database.  Instead, do a manual change after a new database is created?! 



Can I Change The XBAP Install Logo?


So when I publish a WPF XBAP, it seems to create some other XBAP in the root folder that does the install of the latest version of my XBAP... my question is, how (if at all) can I change this logo on the install page to be our own?  I can set things like the Product Name and the Publisher and such that show up automatically then, but not sure how I could change this image.

Thanks a lot for any help!

cache duration and location


I am deciding to output cache my page and i need to set duration as never expiring. how can i achieve this?

Also if i do not specify any location, where will the cache get stored? client or server? Ram or hard disk ?


How to change the default backup location?

SQL Server puts backups in a default folder C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Backup
Is there a way to change that to a different location?

I'm using Smo.Backup object in my code to create backups. The backups I create are stored in that default folder, but I was hoping that I can change that default location without having to make code changes.
Is that possible?


Change location of a control in C# , it works fine in XP but in window 7 it donot take proper effect


I have created many custom control in my application. In these controls I make some text boxes  visible and invisible and change their locations according to my requirement. These controls work fine when I run application in window XP but when I run this application in windows 7, text boxes don't appear on proper locations and often overlap each other.

Please help me

How to change the default location of SQL Server Profiler Template?


How can I change the default location of SQL Server Profiler Template from C:\Users\xxx\AppData\Roaming\Microsoft\SQL Profiler\10.0\Templates\Microsoft SQL Server\90?  If I log on to a Windows machine as certain user, anything created in appdata\roaming folder during that logon session will be lost after I logged off.  

If there is no way to change the location, how can I set up such user to retain anything created?  I know this question is related to Windows administration but I guess someone in here probably have experienced my problem before.

How to Localize Windows Forms and Change the Language at Runtime

Localization is the process of customizing your application to a particular language, culture or locale. Visual Studio provides support for localizing Windows Forms with much ease. In this article, we will see how to localize windows forms and give the user the ability to change to his preferred language at runtime.
When you run a localized application, the appearance is determined by two culture values. The UICulture property is used to specify which resource files will be loaded for the form. The Culture property, on the other hand, determines how strings such as dates, numerals, and currency amounts are formatted.
Let us see the steps required to create a localized form. You can then expand this example and adopt the same approach for the rest of the forms in your project

Selected to change the background color of the page



As this site, http://www.borfin.com.tr/genel/Default.aspx, How can I change the background color selected pages.

Bug: Does not change column type from nvarchar to ntext


Scenario: If you create a table with a column of type nvarchar, populate it with some content and try to modify it using the WebMatrix editor, from nvarchar to ntext, it does not display any error message or warning that this is not possible. It silently saves and reverts the change, back to nvarchar. Wasted some hours on this issue as I thought my column was ntext, but in fact was still nvarchar.

Expected behavior: It should change to ntext, or if SQL CE doesn't support that, it should notify the user that no change was applied.

How to change the default page base class?


I've tried setting the <pages pageBaseType="DynamicWebPage" /> value in web.config, but when I response.write out the page type, I'm still getting Microsoft.WebPages.WebPage.

I'm simply trying to sub-class WebPage and add some additional functionality such as a dynamic PageData dictionary similar to Phil Haack's dynamic ViewData dictionary.



XBAP Security


We have a small XBAP file upload app that we are having trouble deploying. We were getting security errors when we were pushing this application that we don't get when running in our development environments on our machines. We gave the XBAP app full permissions and still got errors. Then we created a personal certificate and were able to get this to work. But that means we have to load a client side certificate for each and every machine that wants to run this which is ridiculous. Does anyone have a solution for this?

SqlDataSource how to change the stored procedures at run time



Is it possible to change the select, insert and update stored procedure of an SqlDataSource at run time. I don't mean to change the definition of the stored procedure, but I mean to change the assignment, i.e. To change the select stored procedure from "selectSP1" to "selectSP2" at run time. Is it possible?



Change Button Text in Multi Language Website


Hi i developing multi language website

using Master pages

everything fine

Page_Load i set the Text property of Button Control from Resource file

like this

Button1.Text = GetLocalResourceObject("Button1")

then in the button click event i cnage the text of the Button control

Button1.Text = GetLocalResourceObject("Button1_new")

but the text doesn't change and no error messgae

what is the problem how to solve this


How to change text in columns in SSRS?


I need to create a complex report and export it to Excel. 

In the first column header, text is displayed as "Hide Daily Columns", but I need the text to change as "Unhide Daily columns" when I click on it and when the text changes the columns under "daily" header (I have 3 columns under this header) present in the report shud be hidden and only weekly columns shud be visible. Any ideas please. I am new to SSRS and tried out many ways but didn't get it.

dynamically change column names in Crystal reports


I need to develop 3 pages.

On the first page user defines atmost 7 column names to be displayed on the report. I'm saving these names in a Sql DB table 'Columns' with Column_Nm and Column_ID as Table columns.

On the second page I'm retrieving column_Nm from the table and displaying them on the page so that the user enters the data. This data is saved in another table 'Summary' with the Columns column1 through column7.

on the 3rd page I need to show a report of 'Summary' table.

How do I dynamically replace column1 through column7 names with that of 'Column_Nm' on the report?

Any help/suggestions would be appreciated.


change to lambda in linq


Hello my friends I tried to change this code to lambda but I could not pleaaaase help me:


  var inforeport = from m in db.Products where m.UnitPrice > info select new { unit=m.UnitPrice,name= m.ProductName };


ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend