Tadeusz_EIF's Q&A profile
Visual Studio Tools for Office Roadmap for IBF & VSTO?
Hello Everyone, Could you please feed me with the following info: 1> Is it possible to use MS Office tools with Visual Studio 2003 2> Is it possible to use IBF with VS2005 There is a version of Visual Studio Tools for Office that works with VS 2003--it is called Visual Studio Tools for Office 2003. It has a lot less features than VSTO 2005, but it does allow you to associate managed code (CLR 1.1) with Word and Excel documents. Eric Carter http://blogs.msdn.com/eric_carter ...Show All
Smart Device Development Modify a form by a thread
Hi all; I'd want to know how to access & modify parameters of a form by a thread. In fact, I want to change the text of a text box, or a value of a progress bar of the form1 in my thread. I tried this but without success, I pass the form in argument to the thread namespace Essai { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [ MTAThread ] static void Main() { Application .Run( new Form1 ()); } } } public partial class Form1 { S ystem.ComponentModel. ICon ...Show All
Microsoft ISV Community Center Forums Custom Date Picker Control
I am developing a form for entering data into Excel and for some of the fields have dates as values. I really like the built-in date and time picker control for this, except that I want to be able to change the background colour of the part of the control that looks like a combo box. And that is simply not possible with the standard date and time picker. How can I get around this problem I have been trying to create a custom control to emulate the date and time picker by combining a standard combo box with a hidden month view control that becomes visible when the user presses the dropdown button of the command box, but have been ...Show All
Windows Forms Localization - Resource file links/sharing ?
Is it possible to use other resource files than the form localizable resource files to binds its properties, or to link some of its resource file entries to another resource file The goal is to reuse and share common resource files for text labels among applications such as Windows Forms and ASP.NET in Design mode, not in the code behind . - I'm using VS 2005 Beta 2 Thanks In fact, what I want to achieve is not to modify the designer code at all. I'd like to be able to set the bindings in design mode. This is possible with ASP.NET 2.0 when specifying an expression. That generates the following code: <asp:Button ID="Button ...Show All
Visual Basic ActiveX Control Size method
Hi, I'm upgrading an application from VB6 to VB2005. I'm using an ActiveX control which can't be easily replaced and there is a problem with a method in that control called Size. Basically the designer creates a bit of code like: Me .AxLEAD1.Size = New System.Drawing.Size(315, 307) where obviously it is trying to set the Size of the control, however that ActiveX control also has a Size method which does something different (resizes a bitmap). So it brings up an error that size doesn't have the write number of parameters if I click on it it opens the .designer.vb file. I have tried commenting it out but the designer puts it back again. An ...Show All
Visual Studio Tools for Office How to open an Infopath form from Outlook VSTO2005 add-in.
I can open my form with Process.Start("Iexplore.exe", ls_Filename), but cannot Process.Start("infopath.exe", ls_Filename) if ls_filename is a long file name with spaces in it. Infopath startst, but gives a file not found error with the name up to the first space. Any help Is there a better way to start Infopath from an Outlook VSTO2005 add-in Can I inclide the Infopath namespace somehow Filenames with spaces need to be enclosed in quotation marks when passes to the command line. The second parameter that you pass to the Process.Start must have the filename enclosed in "". I believe that thi ...Show All
Windows Forms string problem
Hi can anyone help me with this prob Dim s As String s = "yes" strFile.Write("<answer correct=" & "s" & ">" & strAnswers & "</answer>") Basically i want the value of correct to be a variable, so in the xml file it writes sthis <answer correct="variable">hello</answer> Thnks Personally, I'm fond of&nbs ...Show All
SQL Server Data Trasformation Services
Hello All, Can anyone tell me.. is that I can't create DTS if i'm using 4 field for Primary Key Are you running the load more than once, with the keys off perhaps Can you count the rows in the 2 tables to make sure the counts are the same. ...Show All
Windows Forms Button will not fire in 2003
I have an asp.net application that I just moved to Windows 2003. My buttons will not fire on forms that have a Validation object on them. They work fine if I remove the Validation object. The Validation appears to be working correctly it's just that the button will not fire after the validation has happened. Any responses would be appreciated. ...Show All
Visual Studio Tools for Office How to cancel a delete of a folder ?
Hi, Is there a way of canceling a delete of a folder, i have tried the FolderRemove event but this event does not have an cancel property. This event is an "after delete" event. I have some folders created by code and i dont want users to delete these folders. Is there maybe a way of removing the menuitem from the menu. gabba ...Show All
.NET Development System.Web.Mail.SmtpMail.Send breaks on attachments > 100kB
Hello, I am attempting to send HTML email with attachments using System.Web.Mail.SmtpMail.Send. This works great, until the total attachments size exceeds about 100kB. Then I get: Exception of type System.Web.HttpUnhandledException was thrown. System.Web.HttpUnhandledException: Exception of type System.Web.HttpUnhandledException was thrown. ---> System.Web.HttpException: Could not access 'CDO.Message' object. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Runtime.InteropServices.COMException (0x80004005): Unspecified error --- End of inner excepti ...Show All
SQL Server A call to SQL Server Reconciler failed. SQL Server 2005, SQL Server Mobile merge replication
Hi, Iam trying to perform merge replication between SQL Server 2005 and SQL server mobile. It has previously been working. Recently something is causing the following problem when i try to perform the merge. I grabed the following output from the replication monitor. Error messages: An error occurred while reading the .bcp data file for the 'MSmerge_rowtrack' article. If the .bcp file is corrupt, you must regenerate the snapshot before initializing the Subscriber. (Source: MSSQLServer, Error number: 2147767868) Get help: http://help/2147767868 The merge process was unable to deliver the snapshot to the Subscriber. If ...Show All
Visual Basic VB.Net 2005 "Keyset Does Not Exist
Hi all... I am using encryption for traffic between client and server using these: Imports Encryption Private pubkey As New Encryption.Encryption.Asymmetric.PublicKey Private privkey As New Encryption.Encryption.Asymmetric.PrivateKey Then in the Form_Load I do this: Dim asym As New Encryption.Encryption.Asymmetric asym.GenerateNewKeyset(pubkey, privkey) These things occur on both the server and client end. After a handshake, I switch over to symmetric (size of payload reasons). Every now and then (and only since I upgraded to VS 2005, I get a Keyset Does Not Exist blank exception on either the clie ...Show All
Visual Studio Tools for Office VstoSmartTags from a COM Add-In
Hello Everyone, I had originaly asked Paul Stubbs for some help regarding my project because I didn't know about these forums and he referred me here. Simply put, I want to use C# and code an add-in for Microsoft Word and PowerPoint (and maybe more when I get to it) that creates VstoSmartTags that match words based on a Regex that I provide. void wordapp_DocumentOpen(Microsoft.Office.Interop.Word.Document Doc) { Microsoft.Office.Tools.Word.Document wordDoc = (Microsoft.Office.Tools.Word.Document) Doc; } Obviously, this is psuedo-code to get across what I'm trying to do. It doesn't work. I created my project via the Extensibility temp ...Show All
SQL Server Confused with a change in t-sql behavior
I am really curious to know why a simple query like throws an error in SQL Server 2005 and not in SQL Server 2000 On SQL Server 2005 ---------------------- select RowNumber, RowNumber, TextData from dbo.[Tempdb Profile] Order By RowNumber error Msg 209, Level 16, State 1, Line 1 Ambiguous column name 'RowNumber'. You can have two columns with the same name, try to give them an alias and the query will execute withtout any errors. HTH, jens Suessmeyer. ...Show All
