visual-studio

VB.Net load JS file if file exists

I'm trying to do this on a DotNetNuke site with multiple portals, so I want to do this server-side VB loads a javascript file if it exists. Any ideas? ...

VisualStudio: translating a build version to a calendar date

I know that the version string generated by Visual Studio is based on the date/time of when the build was run. Given the partial version string "3856.24352" generated by Visual Studio, how can I translate that to the calendar day on which that build took place? ...

cmath.h and compile errors

I used to work with math.h without any problem. Now, I use an external library which itself has a file called math.h, but which includes < cmath>. Adding this library to my project (or even just adding the include directory, without touching the code) now generates tons of errors from < cmath> : C:\Program Files\Microsoft Visual Stu...

Publishing an ASP.Net web application to a mapped drive with Visual Studio 2008 and Windows 7

We have a shared drive where web applications are published to. When I attempt to publish I get the following error: ------ Publish started: Project: XXX.Web, Configuration: Release Any CPU ------ Connecting to T:\WebSites\XXX\... Unable to create the Web site 'T:\WebSites\XXX'. The path 'T:\WebSites\XXX' does not exist or you do not h...

download visual studio 2008

can anybody tell me site from which i can download visual studio 2008?because visual studio 2010 is purchased i can't find studio 2008? ...

Convert .CSV file into XML file then send to Web Service.

Hi there, I have a .CSV file and was wondering if there is any process on visual studio or visual web developer to convert it into an XML file and then send it to a Web Service? Thanks for your time. ...

Why use IIS over Visual Studios Built In Webserver?

I inherited a solution and all of the mvc website projects in it won't open because they have been setup to use IIS instead of the built in webserver in VS. How would I go about changing these projects back? And why would it be beneficial not to and use IIS instead? ...

Change window opacity when opening a form

I'm trying to change a Form's opacity automatically before loading. I am using built in Settings function to save the value what opacity the window should have. The problem is, when I'm debugging my application, it all works well, when I compile it and try to open the executable, the window just dissapears... I don't get any errors. Thi...

Run a solution in debug mode if MSBuild compilation is successful from the command line

I am looking to improve my personal development process. I would like to create a batch file or similar that I can run from Windows PowerShell or the plain-old command line that does the following: Compiles my solution (e.g. C:\Windows\Microsoft.NET\Framework\v3.5\MSBuild.exe /m:8 "%CD%\MySolution.sln") If the compilation was successfu...

Dealing with C# and VB.net Projects in same solution.

I am in a c# project, in this project I reference (using a project reference) another class library written in vb.net. Now, when I right click and view definition on the class. It doesn't take me to the exact source code in the vb.net project, instead it takes me to a dynamically generated c# representation of the vb.net class. I've ...

Build dll from command line [ Visual Studio ]

I have developed a DLLin c++ using visual studio 2008. I want to run static code analysis on it using a tool which requires me to compile it on command line. How can i use cl.exe to achieve this. My project depends on the boost date_time library and couple other referenced projects. http://stackoverflow.com/questions/1130479/how-to-bu...

In Visual Studio 2008 is there a way to find all references that have no references for all methods not just 1 at a time?

I know you can right click on an individual method and find all references for a single method but is there a way to find all references where there is only the method definition returned (i.e. no external references to the method). ...

Using /clr and noclr libraries in one project

Hi, I am encountering some issues with one project. I need to use two libraries but one needs to be compiled with the /clr switch as the other cannot be compiled with this switch. Would there be a way to use at the same time those two libraries in one project? Currently it's compiled with /clr and I got linking errors with the noclr li...

runtime error: could not load file or assembly

When I hold my mouse over <%@ Page I get this error and it seems like it tries to load a file/assembly that is no longer valid. How could I fix this? ...

How to install VS6, SP5, and Proc Pack on Windows 7?

Need to get Visual Studio 6 Processor Pack installed on Windows 7 (32 bit). First i installed VS6 + SP6, which prevents the PP from installing. I uninstalled VS6 and re-installed VS6 and am trying to install SP5. It is now complaining that MDAC 2.5 or 2.6 needs to be installed first. I've tried 2.5, 2.6, and 2.8. All run through the li...

Best way to make a txt from a query from SQ Server automatic once a week in Visual Studio.

I need to make a txt and put it in a FTP server every week and it has to be automatic. So there are many options here. I can make a windows service that execute the process every week(My 1th option I think..). I can make a .exe made it run with a Task Scheduler every week. I can make a dts with a job (This does not work forme as I don...

"Run-Time Check Failure #2 - Stack around the variable 'filePath' was corrupted" in debug Mode

Hi I’ve problem with this function using winsock2. When program leave this function in debug mode I receive 2 statements (only during exiting this function): “Run-Time Check Failure #2 - Stack around the variable 'filePath' was corrupted.” “Run-Time Check Failure #2 - Stack around the variable 'recBuf' was corrupted.” I’m programming...

How can I quickly test a code snippet in Visual Studio (2008)?

Coming from Python where I can just fire up iPython to test out a small snippet of code I'm looking for the same in Visual Studio. Creating projects and classes just to test out a small idea just feels so cumbersome. ...

Several plugin configurations for Visual Studio

I have a lot of different extensions for Visual Studio: addins, different language extensions. And now my VS became too heavy. What I want to do is to create several lightweight configurations for visual studio, so that I can start a configuration with a set of extensions that I need at a particular time. I remember that I did something ...

making Transparent, unclickable areas in a userControl/pictureBox

hello. I have a userControl with a picturebox in it. I need the areas of the userControl to be transparent and unclickable on the main form. After some searching Ive come up with this. http://msdn.microsoft.com/en-us/library/aa235175(VS.60).aspx but it doesn't seem to work. I have it set up so the usercontrol can be drag-and-dropped. bu...