I don't really understand this article. But it sounds like you can compile C/C++ for flash. If that's possible, how hard would it be to compile and run Mono inside flash?
Sounds stupid I know...maybe I'm going crazy with my age.
...
Hi, I am in a situation in which I have to move web applications/web services from one server to another. The applications/services are published and most server names can be modified in the web.config. However I was wondering what happens to the web services who are pointed to the previous server? Will I have to open the project and ...
Does anybody know a useable MVC/MVP framework for enterprise WinForms applications?
Before there was User Interface Process Application Block for .NET. But it is not longer under development since Windows Workflow Foundation has been released (which also will be completely rewritten with .NET 4.0).
Maybe i am not up-to-date, but i seem...
I'm looking for a more efficient way to find a type in an Assembly that derives from a known specific type. Basically, I have a plugin architecture in my application, and for the longest time we've been doing this:
For Each t As Type In assem.GetTypes()
If t.BaseType Is pluginType Then
'Do Stuff here'
End If
Next
Some ...
Is it possible to create and maintain a .Net framework 1.1 application with Visual Studio 2005?
...
Do you know of a simple .NET component which can be used in a WPF client application with these features:
load images from file or clipboard into canvas,
scaling and moving,
define canvas background color,
export canvas as new image.
Thx in advance,
Prensen
...
I am creating a textbox and a button dynamically using the following code.
Button btnClickMe = new Button();
btnClickMe.Content = "Click Me";
btnClickMe.Name = "btnClickMe";
btnClickMe.Click += new RoutedEventHandler(this.CallMeClick);
someStackPanel.Childern.Add(btnClickMe);
TextBox txtNumber = new TextBox();
txtNumber.Name = "txtNum...
I have status tables in my database, and "localised" tables that contain language-specific versions of those statuses. The point of the main status table is to define the status ID values, and other meta-data about the status. The "localised" table is to display the text representation in a UI, according to the users' preferred languag...
I have a Default.aspx that redirects to a Page1.aspx. My ddl is loaded and ordered from a database. How do I make the ddl selection show up on the page load depending on what the user selects on the Default page?
...
How do I verify that method was NOT called in Moq?
Does it have something like AssertWasNotCalled?
UPDATE: Starting from Version 3.0, a new syntaxt can be used:
mock.Verify(foo => foo.Execute("ping"), Times.Never());
...
I'm not sure of the exact terminology here. Basically, if I have a model like:
class Student : IDoSchool {}
class Freshman : Student {}
interface IDoSchool {}
What code would tell me that Freshman doesn't directly implement any interfaces and Student directly implements IDoSchool?
In other words (disregarding bad terminology) I want ...
Here are some (certainly there could be more) of the guiding principles for a new project I'm starting.
Addressable URLs
Very fast
Mobile - cater to iPhones and other smart devices
Use existing social networks
Live
Facebook
LinkedIn
Twitter
Craigslist
Etc.
Use existing ID services
Live ID
Open ID
Etc.
Client and online management a...
In .NET, do the number of methods or the size of the methods (i.e., amount of code) within an object affect the amount of memory the object uses when it is instantiated?
EXAMPLE:
Will an object with 3 int properties and 1 method take up more memory than an object with 3 int properties and 20 methods?
If "yes", do static methods take u...
What does Assembly.GetExportedTypes() do? How is it different from Assembly.GetTypes()
Can you explain with example?
...
Hi All,
I want to pass a byte[] to a method takes a IntPtr Parameter in c#, is that possible and how.
Thanks All
...
I'm working on a web-enabled media center which will be able to load video feeds into a gallery style view. (like Cooliris)
Rather than loading thumbnail images of each video, I plan to load the actual video so it can be played in-place and/or popped out to fullscreen.
This means I need to host a bunch of flash-player instances 'inside...
Hi I am querying the Sharepoint Lists using the Sharepoint Library in .net. I noticed that there is more than one title field. How can I get the user defined title field?
SPListItem item = myItemCollection[i];
item["Title"] <- provides me the wrong title field
Is this a known issue, any work around? Thanks
However if I go into m...
Hi, in a VS 2008 solution I just inherited there is a normal class library project that actually should be a web application project (because it is a web service indeed). What is the best way to convert it?
...
In my last project we used MSBuild as a scripting language. (yeah, really!) We also wrote hundreds of custom MSBuild tasks, for the parts that made more sense in C#. (I even wrote an MSBuild task to generate the boilerplate code for an MSBuild task. Yes, it consumed itself.)
While I don't recommend anyone else take this same approach, ...
I have a list of objects which need to be output 2 items per row, and with each alternate row to have a different background (using different CSS classes).
Currently, I'm using a DataList, binding the list to it, RepeatColumns=2, RepeatDirection="horizontal". ItemStyle and AlternatingItemStyle are being used to style the two columns. Th...