Martin Kristensen's Q&A profile
Visual Studio Tools for Office accessing "new mail" objects of outlook in vb.net
Hi, i'm working on outlook mail programming. My problem is i want to get the objects of email fields, e.g. in " To... " section where we type email address , i want to get the object of that text box so that i can easily access the text(or email address) in my code. Such like that in " cc...", "Subject", "Body " ,I want their objects too.   ...Show All
Visual Studio Orchestration Features
Hi Gareth, Thanks for your response to the text templating query. Can you please provide an overview of what the is planned to be included in the orchestration feature area Cheers Susan As program manager specifying these features, Gareth asked me to respond to this. We expect that for serious projects there'll be many, many text templates generating even more files. There will likely be dependencies between templates. For exam ...Show All
SQL Server ORDER BY clause - newbie question
Hi, Is there any way of passing a variable instead of a hard-coded column name in the ORDER BY clause E.g. declare @OrderCol int set @OrderCol = 1 select * from tbl_Box order by @OrderCol I know the above code won't run. What I need is be able to determine to sort column at run-time so that instead of writing four different stored procedures with hard-coded order by clauses, I could pass the sort column as an extra parameter to a generi ...Show All
Visual Studio Team System Tests cannot be found during build
I've just got a Team Build server set up, and I'm trying to configure it to automatically run a list of unit tests during the build. When it gets to this stage, I get the following log messages: Target RunTestWithConfiguration: Loading C:\TeamBuilds\SBD Platform\SBD Platform\Integration Build\BuildType\..\Sources\SBD Platform.vsmdi... Search path(s) for tests: C:\TeamBuilds\SBD Platform\SBD ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Open a VRML model in a C# app
Hello, My goal is to be able to open a VRML model in a C# application. I don't know if it is possible because I don't find information about that. Do you know if it is possible Can you tell me some webs, books or examples that open a VRML model in a C# application I need any kind of information. Thank you. Best regards. There is nothing as detailed as you want you would need to read the VRML files and convert e ...Show All
SQL Server Insert or Update null if the value is zero using Trigger on table
Hi , I have 2 tables (Dept and Emp) The columns in table Dept are Deptno and Deptname. Deptno is bigint and it is primary key. In Emp table, columns are Empno(PK) ,EmpName and Deptno(foreign key referring to Dept) To Insert or Update record in Emp through application, value of Deptno is coming as 0(Zero). I want the value of Deptno to be inserted or updated as null if the value is Zero (0). How to do this in sql server 2005 by using t ...Show All
Windows Forms browser & winform
I want to create a menu in plain html for my application. How do i launch a winform by clicking on those links(anchors) in the browser I am using framework 1.1. thanks for any advice You have to elevate the permissions level& ...Show All
Visual Basic WebBrowser Control DocumentText Failure
I have a problem that the HTML I load into a WebBrowser control does not display sometimes. Here is the situation: I have a parent child relationship, and I use a webbrowser control on the form to display the child detail nicely formatted. I use a specific subroutine to format a string which I then assign to webbrowser. documenttext. The subroutine seems to work just fine, but if it is the first time I am doing the display, it does ...Show All
Windows Forms Draw a String Around a Circle
Does anyone know of a way to draw a string around a circle so that the base of each character is on the circle like a text path in illustrator. thanks Thanks Frank. You've saved me from hours of frustration. ...Show All
Windows Forms Increasing the size of some controls
Hi All. How can I increase the size of the drop down arrow of a combo box, or the up/down arrows for a numericUpDown control Increasing the font for that control just increases the control itself, but not the drop down arrow or the up/down arr ...Show All
Visual Studio ContextSwitchDeadlock while debugging
This occurs while debugging a C# VSTO Word application: ContextSwitchDeadlock was detected Message: The CLR has been unable to transition from COM context 0x16a300 to COM context 0x16a020 for 60 seconds. The thread that owns the destination context/apartment is most likely either doing a non pumping wait or processing a very long running operation without pumping Windows messages. This situation generally has a negative performance impact and ...Show All
Visual Basic DrWatson Error in Event Log - MultiByteToWideChar
Hi, We have VB6 application up and running having SQL 2k as database. It has about 50 and more user using at pick hrs. Now the problem is, sometime, few user got error message and kicked off from the application. I analyze windows eventlog and found that type of error is DrWatson and some exception thrown for multibytetowidchar kind of. I really don't have any idea what happening here. If anybody have any little idea abt this I can give descript ...Show All
Visual Basic Using Google MAPS in a windows form
All, Is it possible to use google maps within a windows forms rather than a web form (Or is there a work around). I currently use the mappoint web service which is OK but doesn't really look the part. Any suggestions, Cheers Hi, Yes, it's possible to use google maps in your windows forms application if you host the Microsoft Web Browser activeX control in your form (c:\windows\system32\shdocvw.dll). ...Show All
.NET Development Remote object expires even when lease time is set to 0
Hi, I have an ASP.Net(with C#) application which uses windows forms user control which is downloaded and executed on client machine when invoked The application uses remoting to execute database queries(select/insert). The database is Oracle 9i. TCPChannel is used for remoting. On the server side we have a windows service running to which the client connects While the user is doing data entry/updation at some point of time the remote o ...Show All
Visual C++ application compatibility
My company provides an SDK for our hardware product. The SDK is compiled with VC 6.0 and we are looking to move to a more recent compiler. We are concerned that our customers which rely on our SDK will find that the new version of the SDK, compiled with Visual Studio 2003/2005, no longer works with their application. We cannot control which compilers our customers use to build their applications. Can someone provide guidance regarding how we sho ...Show All
