I'm writing a tool to automate some of our asset making for a game. What I want to do is take a folder of PNG files, combine them into a texture atlas and then export the atlas as a TGA and the UV coords to XML.
I'm not sure which method I should use to load the PNG files in C# as there seem to be several. What is the recommended method...
Hi, i have the following situation, i have a Reporting layer(stand alone) in asp.net application(NOT website, this means NO App_Code folder exists), and i want just to create Object Data Source to take an Object in a separate layer(lets say from Data Access Layer), and then to use that Object Data Source to create a report, i have spent ...
I am using .NET XmlReader because the xml file is way too big to use a DOM or other in-memory class, but I need to be able to somehow walk back up the xml hierarchy from the current position in XmlReader. Is there a way to do that?
I sometimes need to walk back up to the level one parent to retrieve content. I could cache some xml as I p...
Is there a known (documented) set of .NET types that allocate memory in the unmanaged portion of the process' memory?
For example, Microsoft documents that the WPF infrastructure allocated unmanaged memory for its retained rendering model in order to optimize performance. Are there other such portions of the .NET framework that utilize ...
I need to run some user-generated code. Needless to say, I don't want them doing anything interesting like opening files or access web sites. I hear that I can create a locked-down AppDomain that prohibits all this, but I don't know how to set it up.
...
I'm looking for a way to host a web UI in a windows service so that I can configure and control it within a browser. I'd like a simple and lightweight solution, and I don't want to use IIS.
I could probably hand-roll most of it but I was wondering if there was something already made to ease the process.
...
I need to display the standard "Select Users and Groups" dialog from a .NET/WPF application. I also need to be able to display it under a 64bit OS. I found this CodeProject article, which is quite ancient, dating back to the .NET 1.1 days. It is written in Managed C++ and exposed as a COM object, which will not work for my needs.
Has a...
I have a very shallow idea of .NET and C#/C++.NET. I've used it a few times to create some simple, stand-alone apps. From my simplistic viewpoint, I look at it as another "framework", eg. layer, on top of the OS that can be used to write apps for. Can someone shed some more light on what its limitations are and when it is most useful?
I...
*Or: "Where the %#%¤/ am I supposed to store my settings?"
Why is the product version number included in the Application.UserAppDataRegistry registry key? I think it's really annoying.
Doesn't this just encourage developers to stick with version number 1.0.0 forever, since changing the version number will cause the user to loose all se...
I would like to deploy the .NET Framework 2.0 sp2 redistrbutable (NetFx20SP2_x86.exe) with my app.
Do I need to uninstall 2.0 or 2.0 sp1 if they exist on the client machine first, or is it acceptable to simply install 2.0 sp2 over the top?
Thanks.
...
A similar question was asked here without any answers. I have a cs project with a reference to MySql.Data.Dll with CopyLocal=true. When I run the msbuild from command line on one computer (Windows 7 64 bit), it works perfectly.
When I run the same MsBuild on another computer (Windows Server 2008 RC2), the DLL is not copied to the output...
I have a mobile application which I want to call a http post to pass a binary string and write it to a SQL Server. Can you please give me some examples of code in setting up a http post server (Server side code) to accept 2 values (brinary string & DeviveID string).
Any help, advice or links welcome....
...
I've got a Users table and the HashedPassword column is of the binary(16) type. It's used to store an MD5 hash. To generate the hash I created a couple of stored procedures: CreateUser, EditUser and LoginUser. They have a parameter that accepts a password in plaintext, convert it to the MD5 hash and store/lookup the hash in the table.
T...
Hello all.
I'm building a very simple application .net Console Application that will execute a SQL statement and post it to a URL. My issue is that the SQL Statement Might be very long and will certainly go over many lines. How can you specify a lot of text inside of a .config file?
Example:
<add key="SelectStatement" value="selec...
Please see this post for code example : http://stackoverflow.com/questions/1516752/how-to-map-type-with-fluent-nhibernate
How would you constrain the parameter Type type (see the constructor in the linked example above)? I would like to throw an exception if the type is not part of this list : Built-In Types Table (C# Reference)
...
I was using SortedList() in a class which stores about 15-100K data.
Recently my requirements changed, data should not be stored as sorted any more so I switched to List().
However in this case I noticed that List() consumes about 20%+ more memory.
9K items:
SortedList: 105MB
List: 125MB
15K items:
SortedList: 115MB
List: 140...
I really like the work that's done with processing (http://processing.org) but I'm more exposed to the .Net world and would like to stay there. Is there a library or sub-language within .Net that is very focused on being easy to use for artists?
Processing and OpenFrameworks excel because it's so easy to create animations and other visu...
I would like to have a form that has 2 windows file explorer(explorer.exe) views.
I know I could code a file browser in a few days, but I much rather just use instances of explorer. I dont need to re-invent the wheel, just two windows connected by a form.
Is this possible in C#?
...
Hi
How can I call a generic method (.NET 3.5 SP1) from IronRuby v0.9?
Trying to do something as obj.method(:method_name).of(String).call seems not to work as "of" is an unknown method.
Thanks a lot
...
Does anybody have any good .NET functions they can share to escape necessary MySQL query characters?
Thanks!
...