Answer Questions
false420 Adding attachment to a mail
I'm trying to find an example of adding an attachment to an email message. I know how to create/address an email message via C# code. However, now I want to open a specific folder (I'll hardcode the folder name into the app) and for every message in that folder, add it to the new email as an attachment and send it. Once it's send then I'd delete all the messages from that folder. I can't find the proper syntax for adding those ...Show All
elezegarcia How to register an Add-in
How do I register an Add-in if I create it manually and not by using the "Visual Studio Add-in Wizard" Let me rephrase my question... I want to use an existing Add-in (I have the dll file and the .AddIn file)... what should I do next in order to be able to see the Add-in in the Add-in Manager BTW, I am using Visual Studio 2005 on Windows XP. Thanks, Sami. ...Show All
sm1908 Page Margins are jacked up
I have created a simple report with just a title and some lines in the header. I set the page margins to .5 inch all around. Centered the title and drew lines on either side all the way to the margins like: ------------------------------- Title ------------------------------- It looks great on the screen, but when it prints the left margin is quite noticeably wider than the right margin. Is this a known bug or am I missing something ...Show All
SachinN How to work with Framework 1.0 in Studio 2003
Hi Friends, I am supposed to work on an application written in framework 1.0. I have VS 2003 installed on my PC with Framework 1.0 as well as 1.1. I wish to work on framework 1.0 with VS 2003. Is it possible to do so or i need ot go for VS 2002 installation. If framework 1.0 with VS 2003 is possible, please share the configuration that needs ot be done. I tried opening project in build 1.0 version in VS 2003 & it asks for ...Show All
Devo-2K Is it possible to bind to the Value property of a DataTrigger?
For example, something like... < DataTrigger Binding = " {Binding Source={StaticResource MySource}, Path=MyName} " Value = " {Binding Path=OtherName} " >... I get a runtime error so I'm wondering if this is simply not permitted at all or whether there is some alternate syntax or method to achieve something like this. Thanks Nope. To have a binding in a property, the object must inherit ...Show All
celerno Automation executable consumes 100% CPU
Hello!!! I have developed and automation executable to druve Excel and I'm poretty happy with it apart from the fact that it consumes 100% of the CPU while it's running - even when the app should really be idling. The problem is caused by this piece of code while (close == false ) System.Windows.Forms. Application .DoEvents(); I got this pattern from my VSTO book ( )and it's abviously going to cause the CPU hogging that I'm expe ...Show All
ArqAngel Potential bug with MSBUILD / VS Output
In the IDE (Aug CTP) I went into Tools | Options | Projects and Solutions | Build and Run and set the MSBuild verbosity to Normal. After I was through I set it back to Minimal but the output window still displays the build sequence number before every line like so: 8> blah 8> blah 9> otherblah 9> otherblah I even exited VS and restarted and verified that the verbosity is set to Minimal but I still get these numbers pr ...Show All
Craig_inb binding to a function call instead of property?
Hi, If I have following function class LanguageHandler { public static string GetString(string key) { } } Is anyway I can binding a textblock - text to the GetString function thanks/chong But how do you specify parameter for the function in the binding thanks/chong I thought you could specify a MethodName in ObjectDataProvider, no < O ...Show All
thnx check to see if the sent mail is a reply or a new one
I'm checking email addresses in the ItemSent event. In this event I would like to know if there is a way to check if the current sentitem (when a mailitem) is a reply or a new mail. If looked through the properties of the MailItem but can't seem to find anything usefull. does anyone can tell me how to do this regards, Filip Thanks for the link I will certainly post my question again there regards, ...Show All
Chunq Using NativeWindow seems to crash Word
I create NativeWindows and attach them to various windows in Word, like the scrollbars, to monitor events, as suggested by Geoff Darst here: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=219393&SiteID=1 Event monitoring works great, but when I exit the application, Word crashes (the big "send your error report" dialog): The program '[3796] WINWORD.EXE: Managed' has exited with code -5 ...Show All
OmkarRex saving a range?
Hello. Is there a way to save a range and be able to go back to it. I'll explain why. I'm currently selecting text and then hitting a button (homemade) that takes that texts and creates a page break and puts it onto the next page. But after that I want the cursor to come back up to where I started. That is the part I can't figure out. Here is my current code: Private Sub btnExhibit_Click( ByVal Ctrl As CommandBarButton, ByRef CancelDe ...Show All
Carsten-S VSS Replication/Synchronization
Hello, We have problem: VSS (VSS 6.0) Database is hosted at customer server. Developers team uses SourceOffSite and VPN to get code from this VSS database. The project is big and team is not small. The process of getting last version takes too much time (at least 10 min, often - 30 min). If several people try to take last version simultaneously it can take an hour or more. We'd like to get local version of VSS database with project. How c ...Show All
Ivancho Local mode and good instructional material
I am using VS 2005 (VB) strictly for client/server winform applications. I need a good report writer and Reporting Services seems to be it. However, I have noticed that the books that are available (at least the ones I've seen) kind of skimp on what to do and how to do it when it comes to writing reports in local mode. It seems that SSRS was writtein primarily as a web or network solution and that writing applications locally is kind of an after ...Show All
cgreathouse Another deployment problem
Hi, this time another user reported me this while trying to install my Outlook Add-in: I'm not able to install the file you uploaded. It returns: Unable to locate application file 'RemoteCalendarsVSTOSetup.msi'. See the setup log file located at 'C:\DOCUME~1\bbendick\LOCALS~1 \Temp\VSD3B68.tmp\install.log' for more information. The following properties have been set: Property: [AdminUser] = true {boolean} Property: [ProcessorArchitecture] = Int ...Show All
Ken McGhee DLinq submit error
On Windows XP when call db.SubmitChanges(); An unhandled exception of type 'System.Transactions.TransactionManagerCommunicationException' occurred in System.Data.dll Here is the code: AccountingDataContext db = new AccountingDataContext (); var prj = db.Projects.ToList(); &n ...Show All
