Tom Guinther's Q&A profile
Visual Studio Tools for Office Creating Contacts in Outlook
Howdy 1st, please let me apologise for this being a PIA post, not a VSTO post. If it's inapropriate being here, please just let me know. Our CEO wants to see all the addresses from the GAL in his Outlook Contacts, principally so he can sync his phone to it. V Long story short - we already have a process that extracts user details from AD and loads them into a Sql Server db. So we now want to write a process to load that data into his Co ...Show All
.NET Development Impersonation is ignored when debugging a WebService (VS 2005/.net 2)
Hi, We're developing a Soap WebService that is using remote files. We added the required statement in its Web.Config file to impersonate from local "myComputer\ASPNET" to domain authorized "myDomain\myAccount" (ie <identity impersonate="true" userName="myDomain\myAccount" password="keepItSecret"/>). We'll improve this later (with no password in plain text file). The webservice DLL works fin ...Show All
Microsoft ISV Community Center Forums Open an excel file
Hope you will help a beginner .. Here's what I want to do: In a VBA subroutine, try to open an excel file with a particular name say, P01GAB.xls. It may not be in the diretory, if not, wait for 10 seconds and try again. If so, open it and go on to the next thing. (Eventually, it will be in the directory...) So, I take it, I need some sort of error trap on the Workbooks.Open command... Thanks much. ...Show All
Visual C# Files, how to compare
Hi @ll, I want to compare webfiles (html, zip, jpg, doc, txt, ....), but only the content which is shown in the Browserwindow (webbrowser control). How can I do it at best Tags, creationtime TCP/IP-adress and such infos must not be compared! Tank You for help Jo Hi, Can you be more specific about what you intend to do When you say "only the content that is shown in the browser window" how does that relate to a jpg etc What ...Show All
Visual Basic How to create a message pump in Console apps?
Hello there! I need to use keyboard.sendkeys in a console application (VB Express 2005), and therefore have to somehow dig out a message pump for that console (they don't have one by default, seemingly). How can I do that Thanks in advance! ...Show All
SQL Server can't get multiple values using reportItems
On a report I have I have a hidden table which I am trying to get values from for a total. On a seperate table, I have an if statement that checks if a product # matches one on this table. This works fine if there is only one record in the hidden table. If there are more than one records, the ReportItems call only see's the last textbox (the last record) of the hidden table. Here's the total expression I use =IIf( sum(Fields!PickupDeliveryDet ...Show All
Software Development for Windows Vista Parent / Child workflows
I'm working on an order/order-item scenario where there is an order workflow and an order item workflow. What I want is for the order item workflow to be able to signal the parent order workflow via events that an order item was fullfilled, allowing the parent order to detect if the whole order is ready to ship. This is all done through state machine workflows. Here's my issue: I am using InvokeWorkflow activity to launch the child workflo ...Show All
Visual Studio Express Editions How to Refresh the form?
I have created a simple archiving program. The zipping part of the archive program takes a while to finish. People who are using the program thinks that it freezes because when they click on it several time it say's not responding. It works if you just let it do it's thing. So I thought I better incorporate some things to tell the user what it's currently working on and the percent complete it is on all of them. So I put 2 labels on the form. On ...Show All
Windows Forms Datagrid Automatic Row Adding
At the bottom of the datagrid, in the leftmost column there is an asterisk (*) which refers to a record that has not been added to the grid yet. But it does not seem to appear unless the grid has at least one row of data. Is there a way to make this visible when there are no records I'm trying to prevent the need to have an "Add" button. When the grid has no data, a single empty row should show up. Does it not It may not have the ast ...Show All
.NET Development Problem: How to draw text into bitmap?
Hi, I need to draw text into the bitmap. Resulting text should be "smooth" (antialiased) and international scripts should be handled properly. In addition, it should be fast. You might think, "That is simple, isn't it " Well, it is not! There are at least two ways to do it: 1. Graphics.DrawString and 2. TextRenderer.DrawText. Problem is that I cannot reach my targets with these two guys (who wou ...Show All
Visual Studio Team System Error TF84037 with Excel Team Foundation AddIn
I get the following error when I try to open Excel documents stored on the TFS. TF84037: There was a problem initializing the Microsoft Excel Team Foundation Addin. Re-installing the Team Foundation Client may be required. I've attempted a full uninstall and re-install but that have no effect. Please provide more information on the TFS version you are using and the steps leading to this error. Does thi ...Show All
Visual Studio VS2005 pro installation fail
when select item for VC++, then show followed message: Error 1335.The cabinet file '_1162_zWin32_b.common.msm' required for this installation is corrupt and cannot be used. This could indicate a network error, an error reading from the CD-ROM, or a problem with this package. Error log [12/25/05,12:35:32] Microsoft Visual Studio 2005 Professional Edition - ENU: [2] ERROR:Error 1335.The cabinet file '_1162_zWin32_b.common.msm' required fo ...Show All
Visual C# GDI+ Multi Thread
I am using GDI+ to draw to the graphics object when an OnPaint event occurs. However, if you draw lots of things, the form becomes unresponsive until all of the drawing is done. Is there anyway to put the OnPaint event in another thread, so the form can remain responsive while the painting occurs hi, i think this might help you &n ...Show All
Game Technologies: DirectX, XNA, XACT, etc. HLSL: receiving a handle to a struct
Hi! I'm having trouble receiving a handle to a structure in a hlsl file. This is the structure: struct VS_SIMPLE_INPUT { float4 pos : POSITION; float3 normal : NORMAL; }; And I try to receive the handle like this: pEffect->GetParameterByName( NULL, "VS_SIMPLE_INPUT" ); It doesn't work, I get a NULL ptr. Can anybody help me Thanks! Probably that was th ...Show All
Visual Studio Express Editions Returning Newly Inserted INSTANCE ID
Thanks in advance for any help I can get with this! I've been trying to retrieve the currently inserted rows Unique ID (Primary Key) with no success. I've tried both INDENTITY_SCOPE() and @IDENTITY. In the following example from the helps files I only ever get SYSTEM.DBNULL returned. the help file link is for the example is ms-help://MS.VSExpressCC.v80/MS.NETFramework.v20.en/cpref16/html/P_System_Web_UI_WebControls_SqlDataSource_Inse ...Show All
