rikrispy's Q&A profile
Visual Studio Tools for Office Revisions in Bookmarks
When I access a Microsoft.Office.Tools.Word.Bookmark object in my code I was hoping to use the Revisions property to get the revisions within only that bookmark. I seem to get all of the Revisions of the entire document. Is this the way it is supposed to work Bill Microsoft.Office.Tools.Word. Bookmark book; IEnumerator books = Controls.GetEnumerator(); while (books.MoveNext()) { if ( books. ...Show All
Visual C++ Unmanaged C++ code in VS 2005 changes?
Hi all - Our company has an application that is written in unmanaged C++ code that was built using Visual Studio 2003. The app must remain using unmanaged code for now. Are there any advantages for us to switch to Visual Studio 2005 for unmanaged C++ Disadvantages Any new features that 2005 can do for us Remember, all we care about it unmanaged C++. Thanks, Ethan Yes, there benefits which include bu ...Show All
Visual C# How to destroy an object in C#?
I created an object using "new" method from a class. After some operation, I need to explicitly destroy this object. In vb the code is simply "object=nothing". But in C#, i don't know how to do that. Thks. Actually, object = nothing does not delete it at all. object = null; will do what object = nothing does in VB.NET, which is to discard the reference to it, which will speed up when it will be cleaned up by the ...Show All
Visual Studio Tools for Office Help with Infopath!!!
I am trying to send a form to a distribution list but not as an attachment file. I just want it to be HTML view version. The only way to do that is through File > Send to Mail recipient. Is there a way to get the link of that function and put it as the behavior of a submit bottom within the form kurdojamal@hotmail.com Thank you for your help! You should post your question to the Infopath newsgroup. There's a better chance that s ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Achievements for Windows Vista games?
Hi, From listening to Microsoft's conference at E3, it sounded like Achievements (like the Xbox 360) would be available in Windows Vista. Is this only for cross-platofrm Windows/360 titles, or can we add support for Windows-only games Where can I find more information about this system Thanks, Chris Achievements are only accessible to publishers that create games authorized to use Xbox Live (or in the ...Show All
Windows Live Developer Forums How to call a web server asyncronously without ActiveX
My article at http://www.codeproject.com/jscript/MSNMessengerActivity.asp shows how to call a web server from your MSN Messenger Activity without using ActiveX. When the update gets added by tomarrow hopefully then it will also show how I simulated a mouse pointer so that each user can see the others mouse movements without using ActiveX. Check them out if you need either of these techniques for your activities. I have alre ...Show All
SQL Server Change an Access Database to SQL Server
I designed a database that works well in Access and I want to get it to run in SQL Server. How do I learn how and what to do to change over to SQL Server Note also the link to further SQL Server tutorials included on the linked page under the Concepts section, for further tutorials: SQL Server Tools Tutorials ...Show All
Windows Forms RDP : Block administrator to access client system through RDP
hi, I am working in a firm having domain, is their any possiblity that i can restrict or control domain adminitrators or administrative rights users to log into any system in the domain through RDP. Do remember that I need some of the systems accessible to the administrators. Regards, Raheel hi, i think it can be done somewhere in policies, does anyone have idea about it.... bye ...Show All
Visual Studio Tools for Office How to use a C++ class library in VSTO?
Hi, I want to create a C# Excel-application that uses a C++ class library. To start of I have a made a very simple C++ library with just one class which looks like this: public ref class Test { public : Test(){}; double Calculate( double number){ return number * number;} }; Similarly, the C# Excel project is really simple and contains the code: public partial class ThisWorkbook { private void ThisWorkbook_S ...Show All
SQL Server SSIS - XML config file
Hi All, I am looking for help trying to configure an XML dtsconfig file, I am using different connection managers for my Source and Destination Databases, I am also using an XML dtsconfig file to set these parameters dynamically, however I dont want to use userid/password to connect to my source/destination databases and instead use trusted connection or windows authentication, I remember we had an option in earlier DTS where we could set ...Show All
.NET Development Problem with web service that involve entity.
I have the following error when I call my web method which have entities as parameters or return value. What is wrong with my call I have no problem with web methods which don't have entities involved. All the related code are shown below: Thank a lot. Error System.ApplicationException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> There was an error generating the XML document. ---> The ...Show All
Visual C# Casting when type to cast to is only known at runtime
Lets say I have 2 types - TypeA and TypeB. There are times that I need to handle these types generically as objects so I can cast to an object no problem. However when I need to cast back to a specific type from an object I have some issues. I can do the following OK if I know at design time the type of the object: (TypeA)SomeObject However, if I only know the type of the object at runtime, how do I define the cast at design ...Show All
Visual Studio Team System Setting up SMTP server after installation
Can I still configure SMTP server on Team Foundation Server after installation If so, how can I do so http://geekswithblogs.net/pjhacker/archive/2006/03/17/72649.aspx ...Show All
SQL Server sql mobile database connection on a desktop application
Hello, Was wondering if its possible with VS 2005 to create and populate a SQL Server Ce database on the desktop Reason why I'm asking is it takes a very long time (~40 minutes) to process xml and insert the values into the sdf database on the Pocket PC. I would assume it is much quicker to create the database and insert records on the desktop. Any suggestions would be appreciated. Thanks Hello... yes, you can manage SQL Mobile Datab ...Show All
Windows Forms How to add Controls to a DataGrid....
Hi, Is it possible to get a DataGrid cell to display (contain) other Windows controls (say a drop down list). I'm familiar with System.Web.UI.WebControls.DataGrid but not with the SystemWindows.Forms.DataGrid version. Is there an equivalent of a "Template Column" or&nb ...Show All
