Answer Questions
arogan Move to Dec CTP SDK
Hi All, Currently I'm working with DSL Tool v.1 from September 2006 SDK. I would like to try the Dec CTP. Is there any problem if I just install the new SDK with my DSL project Should I re-install September SDK first I'm in the middle of a project, I'm affraid if something goes wrong then I cannot continue. Can anyone give me suggestions about this TIA. Regards, Sorry, when I said re-install I meant uninstall. It 'just worked' when I did this for a DSL. No guaranties that this will work for yours of course :) Gerben. Well then, thanks again to you all. But I'm still curious, if anyone in this forum has experience in this matter, I would really like to know. In the meantime I will try to ...Show All
Boot2TheHead Syntax question
This is pretty random but why did MS choose this syntax xmlns:sys="clr-namespace:System;assembly=mscorlib" rather than: xmlns:sys="clr-namespace:System;assembly:mscorlib" Why can't we just use the colon for both ...Show All
MikeMinsk TreeView Sort
Hello. Is there any way to sort the ItemsSource of a HierarchicalDataTemplate I tried with a CollectionViewSource, but it seams that the Binding doesn’t work. I tried to use a Converter method, but the value uses an internal class (MS.Internal.Data.XmlDataCollection) so I can’t sort it :( Any idea Thanks I've just struck this one as well. How do I go about specifying a CollectionViewSource with sorting logic as the ItemsSource of a HierarchicalDataTemplate How are you guys sorting your TreeViews Matt Hi Dave, I tried this and it works fine initially but I found that if I add another item to the ObservableCol ...Show All
mohdtmn Adjacent words selection in RT Box
Hi, I have a paragraph opened inside the rich Text Box and I should be able to select the words or letters which are adjacent to the already selected ones by clicking on the ctrl key. This is some feature available in MS Word 2007. Sentence is: "This is the most important work for me" I shld be able to select the words "This", "most" and "work" within that sentence on the RT Box, by using the "ctrl" key. Is this possible in RTBox Please let me know how Thanks, Ram Hi, Thanks for the reply, but can you please explain what exactly do you mean by "highlight the words which would give a similar effect" For this again I should allow the user ...Show All
swan_sgp streaming image from webcam into a WPF App
Hi, Is there a way to stream images transmitted from a webcam into a WPF App. Is it possible in WPF -Sai If it's a computer-connected webcam, a la USB, you'll probably want to use directShow and renter it into a HwndHost. If you want the content redirected to a wpf surface, your choices are very limited. Either writing a directshow renderer to wpf, and that's no small task (I believe WPF calls down to MIL to hook up directshow output), or blit from memory to a wpf surface, which could end up being very expensive (system to video memory) so unless it's a few frames here and there you're probably better off using an HwndHost. This article on CodeProject shows how to display a video camera feed in Wi ...Show All
iq662000 VSTO - Word Execution
Hello all... I have a question regarding the execution of a VSTO document I created. For ease of demonstration, I stripped everything but a MessageBox with " Hello World " in the ThisDocument_Startup event... Once deployed, if I manually open this document file, or if I open the document via a Process object within code, it works fine... All is well... However, if attempt to open the document using the Word.Application object, the event never fires. For example: Dim oWord as New Microsoft.Office.Interop.Word Application Dim oFile as Microsoft.Office.Interop.Word.Document oFile = oWord.Documents.Open( "c:\DeployTest\Test.doc" ) oWord.ShowMe() .... Should this approa ...Show All
lagu2653 How to add caspol security settings for referenced assemblies
I'm building an Outlook add-in using VSTO 2005 targeted at Outlook 2003. I've successfully added the SetSecurity project (from the MSDN "Deploying VS2005 Tools for Office Solutions Using Windows Installer" 2 part series) to my solution, which appears to properly configure security for my primary dll when my add in is deployed to another machine using my setup project. However, the SetSecurity project sample doesn't appear to set up permissions for the com objects referenced in my add-in and my add-in throws an error when I run it. Specifically, my add-in uses the CDO and web browser com objects, so I'm guessing I also need to add Caspol calls for the Interop.MAPI.dll and the Interop.SHDocVw.dll to my setup project What's ...Show All
juergen.b Crystal report Viewer Not Showing Control Bar Button Icons in Windows XP
Dear Friends, I am using Crystal report along with VB.net 2003 in windows application. While executing, the project in windows 2003, its not showing any errors, but when we run it on Windows XP, in some forms, the control bar buttons(print, export, next page last page, previous page, first page, etc ) are showing without there icons. These invisible buttons can be found by placing the mouse over the specified area, then it shows the tool tip like print etc. Hope you good people will reply soon Regards Simjith Thank You mewdied for your reply, But the icons are shown in some forms, but shown in some other forms, this is shown only when we run the projec ...Show All
Pavan Podila When is Binding.ElementName non-NULL?
I assume it is when this syntax is used to create a binding. <ContentControl Content="{Binding ElementName=PhotosListBox, Path=SelectedItem}" /> Anyway I can get that info. filled in for me when using a DataSource <CheckBox.IsChecked> <Binding Path="Value" Source="{StaticResource MySourceObject}" "/> </CheckBox.IsChecked> Currently I have to reflect my way through the element tree to find the control that matches my binding and then extract it from the DataSource, which is a big, innefficient P.I.T.A. Thx NIK PS. Kudos to Paul Stovell for figuring out the tree walk logic. http://www.codeproject.com/winfx/wpfvalidation.asp He ...Show All
safighassan Custom Dictionary Problem
Hi Guys, I am a sri Lankan. I want to plug a sinhala Dictionary and validate the spellings, written in sinhala. So when user right click on the spesific word the word i select from the data base has to be shown in the spellin list insead of english. if you have any code or resource which can help me to do this please tell me. Tharindu (Sri Lanka) Unfortunately, there is no interface in Visual Studio for implementing spell checking. You'd need to use (and distribute) a third-party application to do the job for you. Or, if you can be certain the users have Microsoft Word installed, you could automate the Word application to check the spelling. Office (I'm looking at the 2007 version, can't be sur ...Show All
Magnus M&#252;ller Cypress Outlook 2007 addin installation problems
I have some addins for Outlook 2007 developed using Cypress and both VB.NET and C#. If I run the addins from the VS 2005 IDE they run with no problems. If I compile as release mode they run from the IDE, start Outlook and run with no problems. However, if I install after compiling the setup project and try to run the addin by just starting Outlook (on the same dev machine) the addins won't run and the error is the ever helpful: "Not loaded. A runtime error occurred during the loading of the COM Add-in" In cases like this do I need to follow the deployment steps outlined in http://msdn.microsoft.com/office/default.aspx pull=/library/en-us/odc_vsto2005_ta/html/officevstowindowsinstallerwalkthrough.asp Or sho ...Show All
NomadaPT WCF X.509 CAs?
Can anyone point me to CA's of certificates suitable for WCF encryption and what do I ask for I understand that the standard SSL certs do not work and the sales reps are not knowledgeable about WCF requirements. Thanks John I have talked to someone who says that the problem lies in Visual Studio 5. The wizard does not want to accept certificates that do not have the key usage "data encryption". In runtime, such a certificate is not needed and a certificate without key usage "data encryption" will work. A supposed workaround is to fool the wizard in Visual Studio that automatically creates WS-Security policies. Feed it with a test certificate that has "data encryption" ...Show All
Covi How to use the Microsoft web spreadsheet componet in Visual C++
Is there someone can help me out I am new in VC++. I can get sample Code how to create an OLE application of Excel spreadsheet in VC++, but can not find out the sample code about how to use the ActiveX spreadsheet component in VC++ - the way how to read and write data to "Cells". Thanks. http://support.microsoft.com/kb/308407/ If that doesn't help, try doing a Google search on Visual C++ Excel Automation ... Hi This forum isnt really for VC++ programmers and is for Visual Studio Tools for Office. Automation in VC++ is complex if you are new, can you use C# VB.NET or C++ your only programming language. There are many samples on Search engines Google www.Live.com etc etc Regards ...Show All
Yogesh Ranade How to force rebuild of Document explorer index manually
On my Visa machine I have installed VStudio Team Suite, Team Foundation Client, and VStudio DB professional. all upgraded to SP1 (took me 4 hours to update :-) After installing Windows Mobile 5 PPC SDK, the document explorer always crashes when trying to rebuild its documentation (it gets to 768 MB memory use and than crashes in HXDS.DLL; online error report never comes up). For this program worked befor install of WM5 SDK, I would like to clear the help index and remove all WM5 files from it. But I can't find any information about how to force a complete new build of the help index or how to build an index that excludes some help files. Is there such an information or what can I do to completely remove any information Document Ex ...Show All
Frank Uray Replacing XLA with COM Automation Add-In
Hello all, We've got a bit of a problem here that we hope you can help us with. We've just developed a COM automation add-in in Visual Studio 2005 (C#) to replace an XLA add in. To ease the conversion, we named most of the functions exported by the COM library to the same name as those in the XLA file. However, our problem is that on removing the XLA file and adding in the COM automation add-in to a workbook, the excel spreadsheets cannot reference the new method calls which have the same name as the old calls in the XLA. If we create a new worksheet and add in the automation item, then the calls work fine. For example, the UDF call CBSpot existed in the XLA. When we remove the XLA and add in the automation DLL CBSpot can't be resolve ...Show All
