Answer Questions
Yazeedhs Overwriting an Item?
Hello, I've written 2 custom tasks, one reading a file into a single string and one manipulating this string (replacing things). The file which is to be read is a sql-script-file and all "Go"'s will be removed. <ReadFile Filename="C:\test.sql"> <Output TaskParameter="Content" ItemName="FileContent" /> </ReadFile> <RegexReplace Text="@(FileContent)" Reg ...Show All
ptah VSTO and OLE Automation
Hi, I have a VSTO-enabled Excel spreadsheet which works just fine when I open it standalone. I use the VSTO Startup event to add some document actions. Now I am trying to open the spreadsheet programatically using the following code: Excel.Workbook wkb = _app.Workbooks.Open(strFileName, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type ...Show All
Jan.skacel Debugging not working
I'm new to the Visual Studio world so please be gentle. I'm running Visual Studio v7 at work, and I'm trying to debug a .Net web application. For whatever reason, the debugging is just not working. I placed multiple breakpoints in the page load function to ensure they would be called, and they are just not breaking. I am using the default install settings, and have not made any changes. Others I work with have the same install and they do not h ...Show All
Sri Harsha contributing to the automation model
Are there any managed examples of extending the automation model with our new Package. The documentation on this is a little sparse and the few examples are all unmanaged. Thanks, Mike We have our own language that we are implementing as a Package in Visual Studio. The external compiler that is launched from MSBuild needs to know what references are being used in the project where the source ...Show All
leok Databound wrap panel...
Is there any way to make use of a WrapPanel to display items in a collection so that they wrap I cannot find any examples of a wrap panel being used with databinding. Simon The answer being yes. Set the panel template for an itemscontrol to use a wrap panel instead of a stackpanel ...Show All
fjahnke RemoveCustomization
Hi, I want to Remove the customization of the document when the document is closed. I tryied to do this in the Shutdown event calling the RemoveCustomization method but i got an error that the file is opened. How can I remove the customization when the document is closed Regards, Juan With your code you are actually doing exactly the same thing as where you started, ending up with the locked document. With the cur ...Show All
jgams Manged outlook add-in issue
So I am having an issue with some code, that checks the mailitem.sendername and then moves it to a folder and then flags it. Just something simple, am using a switch statement to do the job... the code is as following: void ThisApplication_NewMail() { Outlook.MAPIFolder _inbox = this .GetNamespace("MAPI").GetDefaultFolder(Microsoft.Office.Inter ...Show All
n3bu1a Developing full screen WPF applications
How would I create borderless full screen applications with WPF Is that possible with Navigation Applications as well Thanks, Neno I found this to work rather well: < Application.Resources > < Style x:Key = " {x:Type NavigationWindow} " TargetType = " {x:Type NavigationWindow} " > < Setter Property = " WindowStyle " Value = " None " /> ...Show All
RoadHired Which Vista components will use the WPF managed API?
I need to convince the management of my company to take the risk of developing the next version of our rich client application on WPF. Our application will ship the first half of 2007. They would be convinced if they knew that some components that are being shipped in Windows Vista will rely on the WPF managed API (the .NET API, not the underlying graphics technology). Are any such components being delivered in Windows Vista Thanks, Adam ...Show All
Sys Manager Wants to change "Mail Message Envelop ICon" using vb.net
HI. Can any body tell me how i change the mail message envelop icon (both read and unread icon) with any other icon in CDO using vb.net. I think this can be only achieved by installing forms on an Exchange Server, I did look into this some years ago but had given up trying from a client/api perspective. Regards ...Show All
socalmp How to load image dynamically
HI all, I am using ASP.net with c# to load crystal report. I would like to know how i can load an image in the Report Header section of the report dynamically from aspx page. thanks pradeep_TP Hello Mai, Does the image render properly when you enter it in the report the first time Can you try another image type like a bitmap Is this a web or windows application Either way you need to ensure that the OLE ...Show All
Karthikeyan Senkodi Problems with VSS (Internet) ... cannot check-in (on RTM version)
So I setup my repository correctly and I have my plug-in working (seemingly fine) in VS.NET 2005. I can download the project via VSS (Internet) and I can even check-out files. I just cannot check in. I get a 'Cannot upload file guid.guid .bin' error message. I checked permissions on all of the directories and in IIS and they seem fine. Certainly not having an issue downloading or check-ing out. The server is running on Win2000 Server wit ...Show All
dblue Can't use online help content
Is anybody else having trouble using the online content of the VS2005 help system Each time I perform a search, the ‘Questions’ and ‘Codezone Community’ search time out and the ‘MSDN’ search always returns unable to connect to remote server. I’ve tried allowing unfettered access to the internet for everything, I can see that two connections are made to services2.msdn.microsoft.com and remain in the Establi ...Show All
clivees Custom logic for dependency properties
The Avalon documentation is kind of sparse on this topic. There is a section called " Dependency Property Callbacks and Value Method Override" but it is blank! I need to know exactly what happens when you get/set a DP or when other things happen to it like animation and such. I need to know how all the following fit into the pipeline: DependencyObject.GetValue DependencyObject.GetValueBase DependencyObject.ReadLocalValue (why no WriteLocalVa ...Show All
Murali Karlapudi Pushing Data/Passing Values to Crystal Reports from C#??
Ok, I'm having a very difficult time finding information on how to get data from C# code into a Crystal Report. This is what I want to do: I have a report that will list everything sold withing a certain timeframe. No problems with that in Crystal Reports XI. However, I want to be able to specify a single date value or a date range, and the customer account number. I do not want to use Crystal Reports to prompt the user for the data. I want to d ...Show All
