Hi,
i'm currently implementing a localized website. I've created a custom ResourceProvider + Factory for storing resources in a database. This all works, i'm storing data as follows:
resourceid | url (null) | type (null) | name | culture (null) | value
1 | NULL | Common | Test ...
Hello,
Where i can save string , and when program run, user can change it -overrride. (not config file, i do not want that anybody can see what written).
Many thanks.
...
Hi,
I am loading an XSLT file in c# sharepoint webpart code as below:
string path = context.Request.MapPath("/_layouts/RSSWeatherXSL.xsl");
XslTransform trans = new XslTransform();
trans.Load(path); // loading xsl file
The XSLT file is rather large around 134 lines.
I need to reference images within the XSLT the path to wh...
Here's my 'sample code', including what I'm trying to do. Obviously, it doesn't work at the moment, but is there any way I can make it work?
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:System="clr-namespace:System;assembly=msco...
In routes.rb I have
map.resource :user
In one of my templates I want to
link_to 'delete', some_other_user, :method => :post
I was hoping this would generate a url like
/user/#{some_other_user.id}
but instead get
/user.#{user.to_s}
The only solution I've found is to add a new route
map.delete_user 'users/:id', :controller => 'use...
Can someone please tell me a reliable way to get the last modification time of a Java resource? The resource can be a file or an entry in a JAR.
...
I'm using a legacy, unmanaged, resource only c++ dll in a new c# app. I've managed to load resources from the dll using hardcoded resource numbers.
Is there any way to do this using the resource id's in C#?
The old C++ code is still being maintained, which means the resource ids/values may change. This may make the resource number...
Looking for an example of how to read the last semaphore count from ReleaseSemaphore
Having problems creating a basic local variable to store LPLONG lpPreviousCount
into and print out. Looks like I need a pointer to the variable but not having much luck.
If you can point me in the right direction, that would be greatly appreciated.
...
Hi folks.
I'm try to use a remote URL (like a favicon) for a Notification Icon, however the Constructor for a Notification only accepts a resource id (which is an int), as opposed to something sensical like a FileInputStream. How can I either, define at runtime a new resource id for a stream source, or download an icon to my resources ...
I would like to do something like the below for a multi-threaded program:
// wait for variable to become true but don't hog resources
// then re-sync queues
Is something like this a good solution?
while (!ready) {
Thread.Sleep(250); // pause for 1/4 second;
};
...
Hi there,
in some projects (web application projects) I'm using global resource files. (Stored in the App_GlobalResources folder)
pro:
Really easy to use: e.g. in the markup
Property="<%$ Resources:FILENAME, KEY %>"
con:
- As far as I know, I can't change the content of the resources on the fly. So if a customer is calling and tells ...
I'm working with an MFC application using Visual C++ 6.0. When I double-click on one of the elements of a dialog box in Resource View, I get the error "Cannot add new member."
I understand that the source of this might be corrupted metadata in the source files associated with that resource.
Do you know any methods for determining what ...
Dear community.
I would like to know if the following is possible.
I have an .ico file, containing several sizes and color depths. However, it also contains some custom made sizes, that are going to be used inside my application.
The application accesses the icon trough a resource DLL. (The intention is that the DLL is provided by a t...
I am looking at a job which requires C#. I have used it a few times but no where near competent. I do however know Java and OOP so I was wondering if anyone knew some good resources or tutorials for learning C# by Java equivalents or C# without explaining basic OOP.
...
Hi All,
Is there any possibility to Edit String.xml values in Android? Please suggest me the possible ways. I want to provide Enable/Disable option for my App. To accomplish this I can use SQLite database. But I doesn't like to Use DB for a single variable value. Thanks in Advance. With Regards, Raghavendra K.
...
Hi
I am looking for a tool or library which can transform pot Ressource files to Microsoft resx or compiled resource files.
Do you know about a library or tool.
Thanks in advance.
...
Hi,
I'm developing an Android app, and I am having an issue with a layout resource, failing.
I'm new(ish) to Java, Android and Eclipse. Everytime I save the XML, Eclipse simply outputs the following:
... "Invalid file name: must contain only [a-z0-9_.]"
I've checked there are not .out files kicking around. I've checked over the XML...
The last time I heavily used C++ was years ago, and it was strictly done on the Windows platform. Specifically, I used Microsoft Visual Studio as my IDE and developed some habitual patterns to use Microsoft's C++ version. For example, I used void main() instead of the standard int main().
Now, I am taking a class where it is required ...
hi all, i've read several thread for this question but unfortunatly not found the answer to my problem :(
i have a xml file in resource folder, and i need just to re-write the same file;
the app logic is:
display data loaded from file
add new data to the same file
for read a file my code is:
NSString *filePath = [[NSBundle mainBund...
I've just been offered a fantastic but intimidating job opportunity and I wanted to know if anyone out there had any suggestions for handling the situation.
The issues are these:
Trying to bring together large numbers of disparate sites maintained and updated by different people while nominally remaining under a single umbrella compan...