I am using Visual Studio 2008 Express with C#. I have been trying to get an email routine to work in the code-behind on an aspx page.
All the MSDN examples, even those stated to be for .Net 3.5, do not compile. The MailMessage class has apparently changed a few times. Here is code that does compile, but this line of code, SmtpMail.Sen...
I have Installed VS2008 and IronPython Studio (Isolated). Trying to add some Persian text in anywhere (on a bottom, form's title etc), and save the project, an error given. IronPython Studio stops working and damages the project (I can't open it again)
Details of the given error:
Description:
Stopped working
Problem signature:
Proble...
Any better way to do this? I've used the Continuous Testing AddIn from visual studio gallery, but does not work with SolutionFolders..
so I just added a "Post Build Macro" with
"C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\MSTest.exe" /testcontainer:"$(TargetPath)"
Works great, but when there are errors, all I get ...
Hi everyone,
Just familiarizing myself with TFS 2010, especially Team Build which now uses Windows Workflow. Have been setting up some custom workflows etc to get used to it and so far so good.
My question is about this blogpost:
http://blogs.msdn.com/b/jpricket/archive/2009/12/23/tfs-2010-custom-process-parameters-part-2-metadata.aspx...
Say I have set up a url structure as follows (ASP.NET MVC2)
http://localhost:XXXX/Product/
Click on link browse by color
http://localhost:XXXX/Product/Color/
Click on link browse red color items by type (i.e. pen's)
http://localhost:XXXX/Product/Color/Red/Pen
In the controller, I will need to do a select based on these criteria. Ex...
Hi
I have a VS 2008 solution with around 10 projects. When I add include directories by launching browse popup and select a dir, I see VS storing the absolute path in the project file. What I want it to do is use project relative paths even for paths in sibling folders.
Is there any setting in VS to force it?
Thanks
...
Hi everyone,
I have a Web Application project where the users can upload images to the site. We intend on storing these images in the file system, somewhere off the web root (for example, ~/Resources/Images). The users should be able to view the images in the browser by the Url (eg site.com/Resources/Images/image1.jpg)
My issue is, tha...
I want to configure the Visual Studio toolbox each time the user switches between documents in the editor. For that purpose I implemented an add-in with the following method, which is called upon activation of a document window:
private void ConfigureToolbox()
{
EnvDTE.ToolBoxTab myTab = GetTab("My Tab");
// fix for VS bug (see...
Hi,
I have been noticing, over the last few weeks, that my installation of VS2008 keeps losing items from menus. Eg: The "Advanced" sub menu from the "Edit" menu pull down is no longer there.
I am not making any changes to the application, I'm not installation anything, ever, and I never mess about with the options dialogs.
This morni...
I have a website that will host many Windows Workflow 4 flowcharts and I'd like to allow an end user to double click a workflow and then launch the Workflow designer (installed as click once, or a regular app) from there.
What is the lowest friction way to achieve this? Is a file association the only way?
...
I want to create personal folders during installation. I did the following steps:
Right click on your setup project ->
View -> File System
Right click on node “File system on
target machine” -> Add special folder
-> User’s personal data folder
Right click on node “User’s personal
data folder” -> Add -> Folder -> typ...
Okay, so long weekend away with Macbook I started making an asset loader for 2D game platforms, its working fine in xcode, but when I got home and tried and load it up on Windows I get a debug error.
Essentially what is happening is that the first call to the iterator works? the second doesn't, but only on the second attempt at calling ...
I am trying to build a web app project using C#. and i am getting the error message "A namespace doesnot containmembers such as fields or methods". Error Code 7. and file name is my CSS file that it is showing with Row number and column no. 1. I am using Visual Studio 2008, and the first class created(body) is blue underlined. I have che...
I have a console app using log4net (via Castle Windsor). Everything logs fine to the console when I debug, but when I publish and run the app, nothing is logged.
I have my log4net configuration in a separate file (log4net.config).
I'm thinking it's not finding the config file, but that's just a guess.
I'm a web dev and haven't deploye...
I am trying to set up a proper way to do automatic versioning for my C# projects in .Net.
The requirements are:
the assembly is to be built only when is is not up to date. (normal behaviour in Visual Studio and via MSBuild)
When it is built the assembly is to get the proper version assigned.
I have found a solution to give me the ve...
Kind of a weird question to ask on SO, but it is programming related, so hear me out!
I've been looking for a few months (with no results) for a video shown at a local Visual Studio 2010 launch event. The video was a high-production-value piece covering the history of Visual Studio from the early days up to the present. It was maybe 10...
In Visual Studio 2008, I am using C# if that matters, how do I set a watch on a property so I see whenever the value changes during execution?
...
i want the most simple example from scratch how to
open new db
populate it with one table
connect and open it to simple select query
I have been looking for sothing relvant in the last 2 days please help me i neede just the basic
I am using visual studio 2008/2010 and i know mysql but dont know how to use VS for DB
I would p...
Is there a Visual Studio shortcut to highlight the current file in Solution Explorer?
...
I'm wondering if there is a good option for those of us using Express (or even Professional) editions without having to go outside the Visual Studio project (i.e. writing a ruby/perl/etc script to populate test/seed data).
If it helps I'm working on a C# .NET MVC 2 app within MS Web Developer 2010.
...