The Canvas of Ryan Sadwick

Tag Archives: c#

 

How to get today’s date using c#

Dec. 13th | Posted by 0 comments
Getting today’s date Getting tomorrow’s date In this example, I generate tomorrow’s date within a url:

Tags: ,

Login failed for user ‘NT AUTHORITY\IUSR in ASP.NET and SQL Server

Dec. 7th | Posted by 0 comments
I deployed a web service on a local box and wanted users at work to be able to hit the service through a front end. My connection string: Next, I setup a new user in SQL Server: NT AUTHORITY\IUSR and assigned that user’s default database. Go into User Mapping. Select the database and determine the [...]

Tags: , , ,

Visual Studio: the project type is not supported by this installation error

Dec. 6th | Posted by 1 comments
I installed ASP.NET MVC and downloaded a few example projects. I kept getting an error when opening the project file: the project type is not supported by this installation. After some research, I found the solution over at stackoverflow: Replace the ProjectTypeGuids in the csproj file to: http://stackoverflow.com/questions/336235/the-project-type-is-not-supported-by-this-installation-error

Tags: , ,

ExternalInterface with Flex: Using Flex to communicate with Javascript, C++, C#, etc.

Oct. 25th | Posted by 2 comments
The ExternalInterface has a multitude of uses.  One example is developing C++ applications with a Flex UI. In this example, I’ll show how to using ExternalInterface using ActionScript and JavaScript. We’ll send text back and forth as well as set color to shapes.Check out the example and the source. Note:  I started using the Flex C++ Bridge  using Visual C++ Express, [...]

Tip Jar

If you find my blog useful, tip me a few dollars to show your love and support.

Categories