IainDowns's Q&A profile
Visual C# Possible to write Outlook Today Plug-In?
Hello, is it possible to write a Outlook Plug-In in c# that will be showen in the Outllok Today screen Is there any Information about using/changing the Outlook Today Screen Best regards twickl P.s.: Sorry about my bad English :) Hi twickl, Check out the support article http://support.microsoft.com/kb/236081/ for more information on customizing the Outlook Today page. ...Show All
Visual Studio Tools for Office Dynamically attach an assembly to an Excel File
Hello I have the follwing problem. I have a VSTO 2005 smart document for Excel that will be deployed on a web share. This assembly should be accessed by excel files. As far as I understood I should use clickonce to do that, and dynamically load my dependent assemblies when the application starts, to make them present in the IE cache for offline working. But I have a complication: the Excel file does not exists, nor does a template for this file. This File is generated by a tool on a server and then downloaded by the user. I have the power to make changes to the created file on the server. I want to dynamically link the created file to the as ...Show All
SQL Server Hr=80004005 ERR:OpenDB failed getting pub version 28627
I am getting the error " Hr=80004005 ERR:OpenDB failed getting pub version 28627 " in the SQLCESA30.LOG log file in the "C:\Program Files\Microsoft SQL Server 2005 Mobile Edition\Server\SqlMobileReplication" directory - the directory set up as the Virtual Directory in Internet Explorer. This occurs when I try to set up a .sdf file to be replicated to a SQL Server 2005 Mobile database (I'm following the instructions from the Microsoft Tutorial - http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnppcgen/html/med302_msdn_sql_mobile.asp ). In the UI, when I attempt to set up a new Subscription (setting up my publication goes ...Show All
Visual Studio 2008 (Pre-release) Is Indigo a viable choice in this scenario?
I am really excited to dive into WCF, it looks like a great set of technologies. However, as I am new to it, I am having trouble figuring out whether or not it might make sense in a scenario I am currently looking at, and I am hoping some of you more familiar with it can help steer me in the right direction. What I am looking to do is build a client and a server for hosting online real time auctions. Each individual auction will not be that big, maybe 20 to 40 people on average participating in one auction, but at any given time there may be several dozen auctions running at the same time. My initial thoughts for the architecture are that ...Show All
.NET Development Should I call Dispose on a SQLCommand object?
Should I call Dispose on a SQLCommand object If I do, what exactly gests disposed Jonathan Hi, Disposing an object is just like marking an object for disposal when the Garbage collector runs. So that it would be removed from the memory. Well, if you don't need your object then you must indeed call a dispose against it... cheers, Paul June A. Domag ...Show All
Visual Studio Team System Error 26105
I also encountered the error 26105 during the installation of RC1. I have been through all the forum entries [http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=20753&SiteID=1] there seems to be so many varying suggestions I'm unsure which one to try. It reaches the same point everytime in the logs: MSI (s) (E4:78) [15:58:24:437]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI40.tmp, Entrypoint: WriteMetabaseChanges WriteMetabaseChanges: failed to open root key, retrying 0 time(s)... WriteMetabaseChanges: Error 0x80110414: failed to create web application: /LM/W3SVC/3/Root This is what's in the event log: ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Getting started with 3d game development(From basics)
Hello all there, I am guru from India. I am interested in DirectX gamming, but i cannot find CLEAN(Straight forward) tutuorials in directX(3D ) gaming. Please help me by providing some good links. VB.net or C# tutorials will be more helpful. I also need to know how to BRING 3dsmax animated sequence(say a rolling box) into my gaming window or just a small walking character from 3dsmax. Help me! guruparan@hotmail.com Have a look here as we have been collecting links and resources for a while, www.ircomm.net . Another really good place to look is www.thezbuffer.com . For a good set of articles on starting ...Show All
SQL Server Date time conversion problem
Hi, I've run into a date conversion problem. When my package starts, I use a SQL Execute task to insert a record into a table. I set the SQLStatementSource value as follows: "INSERT INTO tblUploadHeader (ExecutionGUID, StartDateTime) VALUES ( '" + @[System::ExecutionInstanceGUID] + "', '" + (DT_WSTR, 20) @[System::StartTime] + "' )" which evaluates to INSERT INTO tblUploadHeader (ExecutionGUID, StartDateTime) VALUES ( '{C913A6EC-5DB9-405E-82DB-4F46DE454EEB}', '14/02/2006 11:53:32' ) StartDateTime is a column of type datetime. The INSERT results in the error: Msg 242, Level 16, State 3, Line 1 ...Show All
Windows Live Developer Forums Sample: MSN AddIn - Outlook Calendar
Description A simple msn live addin that will integrate with Outlook Calendar. Set it up so that it's enabled when my status is anything other than "online" or "appear offline". Now when someone sends you a message the addin will check outlook to see if you currently have any appointments and reply with something like this: [15:33] dan (work): Auto-Response: I am currently in a meeting (test) scheduled to end at 4:00 PM If no appointments are found no reply is sent. The addin also keeps an internal list of users that it has replied to so that it doesn't send out the same info more than once to each person. This list is ...Show All
Windows Forms How do i focus to clicked DataGridViewCell, before DoDragDrop ?
hello, i have two DataGridView: - the one who has no DoDragDrop works correctly : focuses on clicked cell before MouseUp, - the second who has DoDragDrop on MouseDown, does not focus to clicked cell before, (very annoying because it takes the data of the previous cell) anybody can help Thank You - move the code from MouseDown, to MouseMove - do no forget to add this : If e.Button = Windows.Forms.MouseButtons.Left Then Private Sub DataGridView2_MouseMove If e.Button = Windows.Forms.MouseButtons.Left Then Dim datafgf As Da ...Show All
Visual Studio Team System WITIMPORT: Cannot complete the operation. An unexpected error occurred.
The subject describes the error I get on the client side. But the server Application Logs says that SQL Exception occurred. The exception Message says: Cannot declare more than 10000 local variables. This is occurring when I try to load a WI type Definition that has a <FIELD> with 559 <WHEN> elements followed by another field with 2190 <WHEN> elements. So far I've tried removing 500 out of the 2190 but obtained the same error messages... Is tehre a limit on the number of <WHEN> elements I can have in a WITD It was working great when I only had the first 559 on the previous field. Thanks in advance. ...Show All
Smart Device Development SmartPhone CF: Making custom control for a form; How do I make it 'selectable' like other controls?
Hi, You how how SmartPhone forms, you can use up/down to select between standard controls This doesn't seem to work if you use a custom control. When I select a custom control (user written/third party written) that I've added to a form, the up/down arrow key gets stuck on it. I have created a workaround, but it is somewhat arcane. I was wondering if there was a better method #if (__SMARTPHONE__) protected override void OnKeyDown(KeyEventArgs e) { //------- // HACK: This is to allow selection of previous a ...Show All
Visual C# hooking other applications messages Challenge
Hi Hi i want to know when user changed the foreground Window .. So i want soemthing like a callback.. that will call me when windows is about to send a message to application that she now has focus.. Any ideea Any function to interop with or.. Please help guys! btw.. not threads allowed . You can use the GetForegroundWindow to get the handle of the window wich the user is currently working in. If you check this with an interval, you can react on changes. ...Show All
Windows Forms Releasin Resources
I have a control on which I have a picture box and I draw it from a Bitmap (a TIFF file). I then determine how many pages (frames) the TIFF file has and create each frame as a file in a temp directory. 0.tif, 1.tif, 2.tif, etc. If I change my query parameters, I get a new TIFF file. At this point I want to delete the ...Show All
Visual Studio Team System Why ClassInitialize functions need to be static.
I'm working in C++. I'm not sure I understand how the XXXInitialize/Clean attribute is supposed to work. The ClassInitialize method is called before the class is created (the function need to be static). The TestInitialize is called before each tests. I need a way to Initialize/Cleanup class member. When I tried to put this initilization in the class constructor, I discovered the constructor was called many time ( ). The desctuctor is also never called, so I don't have a way to do clean up. This mean (if I understand well), I'll have to use static variable (ouch!) inside my class if I want to initialize it.&nbs ...Show All
