I wish to learn Python but I'm working all day in .Net as a C# developer, so I decided to download and install IronPython and integrated IronPython studio. How different or similar from the original Python it is? As a .Net developer can I expect to run conventional Python script in .Net environment with no problem or this is just the sam...
I'm debbuging a web application that has a WebSite and a class library containg web controls. My WebSite, at design-time references the assembly with a Project Reference and Visual Studio automatically populates the Toolbox with the controls found in my class library.
The problem is : When I drag them to the ASPx designer, Visual Studi...
I've got a windows service compiled as AnyCPU. I'm trying to get it into our installer to distribute. However... I am unclear on the difference between the 32 bit and 64 bit versions of InstallUtil. Does anyone know what (if any) there are?
On my 64 bit machine, I can run either the $(WinDir)\Microsoft.NET\Framework64\v2.0.50727 or...
I am using C# in Visual Studio to modify an ASP web application.
The application is currently using SQL Server as it's database. SQL Server is way overkill for this application. We're talking 1 table, maybe 40 - 50 records, with maybe 2 add/modify/delete transactions a week.
I'd like to get the client off SQL Server, as they're paying ...
I'm using Lucene.Net to implement a search website (to search PDFs). Once the keyword is entered, I display the results, and when one of the result items is clicked, I want to take the user to a "details" page, where I want to display snippets from that PDF document everywhere the keyword is found.
So my question is, what's the best way...
I need to generate a class using Reflection.Emit that implements the following interface.
public interface IObject
{
T Get<T>(string propertyName);
}
Does anyone have an example of how I would emit the following as a simple test case?
class GeneratedObject : IObject
{
public T Get<T>(string propertyName)
{
// thi...
I have the text from a PDF document available to me, and I want to display snippets from the text everywhere the user-entered search phrase appears. Say the search term is"iphone", I want to display 200 characters around each iphone word instance in the document. Ideally, the snippet should also start from the beginning of a sentence. ...
Hi all,
Let me first describe my goal: I have created an object with 3 properties: start, end and time. I have created an ObservableCollection of 8 of these properties, so it looks like this:
//C#
internal class MyObjects : ObservableCollection<MyObjectSetting>
{
public MyObjects()
: base()
...
I am working on a web application and we would like to capture the screen (either the applications current screen or the whole screen) and attach this to an e-mail that is automatically generated for error messages. I've seen a few posts about how to do this in a winform app, but nothing really on how to do it in a web app. Is it the s...
I have a database that I have restored on SqlExpress from a bak file which was located on my SQL Server Pro instance. I am using Linq to interact with the database and am able to query and update some of my tables (i havent tried them all). However, I have at least one table that will not accept any kind of update (my UserAddress table)....
I am not a .Net guy but trying to get update an existing .net site. Trying to set up a unique id for the body tag even though I am using a master page.
<body id="<% page_name %>">
Obviously the above example doesn't work but not quite sure if there is a function that returns the file name that can be easily added to the masterpage so ...
Hello, I'm wondering if there is any map creator tool out there that can create terrains for 2d isometric games and export them as some form of xml or other open format document.
For eg. You would create how a 100x100 tile map. Use a paint brush to paint colours or textures on the tiles and specific collisions and animation. Then export...
I have this string
aa**b**qqidjwljd**p**fjem
I need to replace b by p and p by b
aa**p**qqidjwljd**b**fjem
the way I do this look like this
myvar.replace("b","1").replace("p","b").replace("1","p")
this is kind of really ugly
is there a better way?
edit
why ugly? because I have to decide/find an arbitrary set of characte...
I am developing a Compact Framework application that needs to manipulate an existing MS Access database. Apparently the CF has no support for Access databases, or even ODBC. How can I do this, without changing the database?
...
I need to read text from gif/jpeg that have a combination of text and images. The hope is that all the gifs are in a standard format for me to use regex (maybe?) to get text out of an image.
Any input on this is really appreciated.
...
I need to perform some operations on all folders within a file share which match a defined pattern. The pattern may refer to a number of levels in the tree, e.g.
\Test\[a-z]+\Project[0-9]{3}
What is the most efficient way to traverse the tree to find all matching folders? Is there a better way to do this than a simple recursive depth f...
My next project is a kitchen designer application (CAD). Something like MS Visio or Home Suite app.
I am looking for a component that I can use as a design editor.
Front view is a must, view from the top and 3D are desired.
I want to be able to:
Drag'n'drop components on the floor plan.
Select and change size and color of the compon...
I'm working on a .NET application that loads web pages using multiple WebBrowser controls. There are several threads and WebBrowser controls involved (this is a server application), each thread creating a WebBrowser control and running a message loop for it.
My question/issue is related to the WebBrowser control. Every time a web page i...
I am having trouble getting NCover to properly cover a .dll. I have several test projects that use XUnit.NET and SubSpec to execute BDD-style specifications. All but one of these test suites runs perfectly in the version of NCover that comes with TestDriven.NET (1.5.8). However, I have one that refused to profile the actual tested assemb...
I'm using the 3.0 version of the Facebook Developer Toolkit to build an MVC iframe Facebook app, and having some trouble getting the infinite session key immediately after it is granted.
When the user first hits my application settings View to set their preferences, they just have the usual expiring session key from Facebook. No proble...