I have the following in Debugging | Command arguments
-a start.ini > c:\temp\a.out
The argc is 3 as expected but is 5 in one of my collegues machine- it seems as if the redirection operator is taken as an arguemtnt on his box. Is there any setting to fix this ?
...
if i try to add below data to any text file Error occyred: "NullReferenceException was unhandled." Error occurs in Tex.Writeline(li) . . . .
Detail: Object reference not set to an instance of an object.
public void WriteScript(List myTextList)
{
FileInfo f = new FileInfo(@"C:\temp\Scripts.txt");
Stream...
In Outlook, I can set the subject for a new message (when composing a new mail message), but I want to prepend text. So I need to get the subject first, and then set it.
Outlook.Application application = Globals.ThisAddIn.Application;
Outlook.Inspector inspector = application.ActiveInspector();
Outlook.MailItem myMailItem = (Outlook.Mai...
I get this error when I queue a build in TFS. I am stumped, somebody help
...
I open a solution containing a website project named "Student" in Visual Studio. It adds a virtual directory to IIS named "Student_1" even though there is no virtual directory named "Student". Any idea why Visual Studio is doing this?
...
I am now trying to use this Application Verifier debugging tool, but i am stuck, first of all: it breaks the program at a line that is simple variable set line (s = 1; for example)
Secondly, now when i run this program under debugger, my program seems to have changed its behaviour: i am drawing image, and now one of the colors has chang...
Hi
I am a new entrant in the .NET world . I am using Visual Studio 2008 . I have the following code
<%@ MasterType VirtualPath="~/Themes/xyz/Common/splash.Master" %>
<%@ Reference VirtualPath="~/Themes/abc/Common/master.Master" %>
<%@ Import Namespace="MyServer.Components" %>
<%@ Import Namespace="MyServer.Discussions.Components" %>
...
hey, i`m stuck on it.. plx help..
my database is created on mssql 2008 and have connected on sql server compact edition and not on windows authentication.. can any body please help me out..
...
i have some excell data. also excel column i created programmaticaly in sql tablr my excel column on the other hand; some column's name is "mydetail" if converting to to upper MYDETAİL. i must this ToUpper() event : MYDETAIL not MYDETAİL
...
I have a windows app (app.exe) build with visual studio 2008, for which I have created a custom installer class. When I run installutil.exe on app.exe, the custom installer is executed OK.
I then added a setup & deployment project to create the windows installer file app.msi - this works fine but it does not run the custom installer.
...
I want to disable inlining for a particular function. What the compiler does for everything else should be as specified in the project properties. I found a page on a forum which suggested the following:
#pragma auto_inline(off)
void func()
{
}
#pragma auto_inline()
The author suggested that calling auto_inline() with no arguments wil...
I've got code I've inherited from a vendor that's just their SVN dump to the inetpub folder and I wanted to pull the files into our source control as a file based web application in visual studio 2008.
The project was originally a web site project and I'm trying to convert it to a web application project.
However, the compiler complain...
How can I sort DESC and ASC in a generic list? With LINQ and without LINQ ? I'm using vs 2008.
class Program
{
static void Main(string[] args)
{
List<int> li = new List<int>();
li.Add(456);
li.Add(123);
li.Add(12345667);
li.Add(0);
li.Add(1);
...
I need to test my program on a specific environment. I want to know how I can customize the cpu or ram usage, or see what will happen when I run my program to the hardware. I need this information:
memory usage
cpu usage
...
hi! (quick and dirty)
is it possible to get the current appdomain from a debugging process in an addin?
currently i use the DebuggerEvents.OnEnterBreakMode-Event to get in the right place.
i need access to HttpContext.Current of the debugged application.
greetz
mo
...
Does anyone know the attributes or xml comments required to get the "new EventHandler(blah); (Press TAB to insert)" ability when you += an event?
Here are the two methods I've tried.
public EventHandler AnEvent;
public delegate void CustomEventHandler(object o, System.EventArgs e);
public CustomEventHandler AnotherEvent;
Neither see...
Every time that I make a change to the contract of my WCF service, I need to have Visual Studio update the service references in all of my client projects.
This process regenerates my client's app.config file and, since I have hand-tuned the "bindings" section of the file, I need to back-up my file and then restore it each time I have...
Hi,
I am facing a strange issue with editing source controlled files (especially aspx files) using visual studio 2008. when I check out and edit the file, I can edit fine for few seconds and after that keyboard gets locked and I can't type anything (it doesn't affect the files not added to source control). as soon it is locked, if I t...
Hi,
In 2004/5 I built web services to be consumed by a clients partner site in VS2003 ASP.NET 1.1 VB. I have just completed rebuilding the services in VS2008 ASP.NET 3.5 VB. During functional testing from the partner site, it seems none of the services work correctly and some not at all. Yet when tested using SOAPUI or via VS2008 debug...
When I attach the Visual Studio 2008 debugger to my web server process, I sometimes browse a large amount of data in my watch list. Suppose I have an array of string variable that I expand to show 20 entries. It seems that the only way to save these values is to copy and paste them one at a time. I have gone so far as to do a screen-s...