Marc Derksen's Q&A profile
Visual Studio Tools for Office word document revisions
Hai, I am using VB6.0 and MS word 2000. When I modify the content of the document, I can able to get the altered text(deleted, inserted) from the revisions collection. At the same time, when I modify the text in the tables I am not able to get the altered text. Its giving an error. The error message is 'Requesting object is not availble'. How can I get the altered text in the table Thanks in advance. ...Show All
SQL Server Execution plans - SQLCE 3
Does SQLCE 3 cache execution plans Or even make use of them Thanks Tryst This quesiton is better suited for the Sql Mobile forum. I'll move it there. Thanks. ...Show All
Visual Studio Tools for Office Excel Data Binding Performance
I just updated my Excel VSTO code to use data binding (via ListObject) to a DataSet. Prior to this, I was putting data into a 2-dimensional array and setting it to a range. Now the screen update is significantly slower. We often times will have large DataSets. In one example, I had a DataSet with 10,000 rows, and 20 columns (with floating point data). With data binding, it took close to 1.5 minutes (90 seconds) for the screen to refresh. When I ...Show All
Software Development for Windows Vista Error installing WinFx Runtime Components 3.0
Platform: Win XP SP2 Visual Studio Team RTM Previously had WinFx Feb 2.0 I uninstalled (in order) Workflow Manager Visual Studio Orcas Design Thingies Windows SDK WinFx runtime components Then ran the 3.0 uninstall utility. When I run the setup for Beta2 runtime components, it errors toward the end of the download phase. This seems to be relevent portion of the dd_winfxinstall30.txt log [05/29/06,18:03:14] Window ...Show All
Visual C# How to get a list of all shared folders?
Using C# for an application in which I am working on, I need to display the available shared folders on the computer that's running the application. The shared folder paths need to be in UNC format (i.e., \\servername\share ). I don't need to read, write, edit, delete, etc. any files or folders, I simply need to get a list of all the shared folders and get their full UNC path. I know the System.IO namespace has some methods and/or ...Show All
.NET Development Strange problem in .NET console application
Greetings, All I got a very strange problem with .NET and asking your advise I'm developing MMORPG game server in .NET. It uses aync sockets and a separate thread for message processing. All works perfectly but after a few hours CPU load of server PC raises to 100%. I'm profiling all of async receive/send/accept threads (writing its ID's to logfile) and when I enumerate process.Threads, none of 'em uses such much CPU. But there is always one 'f ...Show All
.NET Development Clipboard.SetDataObject fails unexpected due to security restrictions
I try to put data on the clipboard by using Clipboard.SetDataObject(data) from an an assembly hosted in Internet Explorer. I've noticed that this call fails if the assembly don't have permission to call unmanaged code. The documentation on SetDataObject only states that UIPermissionClipboard is required though. My question is: How can I put data on the clipboard if the application doesn't have permission to call unmanaged code. And why would ...Show All
SQL Server multiple conditional formatting
Hi, is there simplier method of doing multiple conditional formating right now i have to nest the conditional: iif(a=b, "Blue", iif(a=c, "Red", iif(a=d, "Green", "Black"))). so if i have 5/6 or more conditions, it will be very messy. thanks, Ash In some cases (e.g. numeric values), you could use alternatives to the IIF function: * =Choose(...) http://msdn.microsoft.com/library/en-us/vblr7/html ...Show All
Windows Forms DataBinding - Hardcoding ValueMember and DisplayMember
Something that always bugged me about data binding in Visual Studio is that you specify the DisplayMember and ValueMember of the binding to be strings that are *supposed* to be properties of the data source. You get no intellisense help when entering these values and, if you spell it wrong or the name of a property changes later, the project still compiles and runs fine until you hit that binding. Is there a way, using reflection or any other m ...Show All
Visual Studio Function in windows 64-bit which implements stack trace ???
Hi All, I wanted to know, if there is a provision of an API or a function in windows 64-bit, AMD opteron, which can generate a stack trace For eg - On HP platforms there is an internal HP function that is provided to generate the stack trace. The name of the function on HP platforms is :: U_STACK_TRACE( ) Please suggest an equivalent function on windows 64-bit, which could help me generate a stack trace. Thanks in advance, - Navin ...Show All
Visual Studio Express Editions saving user settings
hi i need a simple-to-understand tutorial on how to save user settings. I would like to have a textbox on my form that the user types something in, and the text is saved so it'll appear the next time my application is started. thank you Cool I figured out a few things so far. Your help is appreciated! Just to let you know I'm gonna put a little bit of code here to prove I found this on my own and ...Show All
Smart Device Development How to call netcf from flash?
Hi, In my application i am using flash for UI design. When i click a flash button it should execute netcf coding.For windows application there is some third part Components like ShockwaveFlashObjects.So how can i achive it in ppc. I don't think there is any simple way of doing it. You can host an flash object inside a webbrowser control. See this link for more details on that http://blog.opennetcf.org ...Show All
Visual C# Windows Service - multiple instances
I want to run multiple instances of the same service on one machine. So I wrote a service installer that looks for three parameters which can be passed in via the installutil.exe. So far so good, I can install multiple instances, but of course it makes no sense that they all do the same and use the same configuration. So I thought I could use the service name (property ServiceName) in the service itself to e.g. look for a configuration secti ...Show All
.NET Development XmlSerializing inherited generic list
[XmlRoot(ElementName="Charges")] public class Charges : List { private Charge _total; public Charges() { } [XmlElement(ElementName="Total")] public Charge Total { get { return ((_total == null ) new Charge() : _total); &n ...Show All
Visual Basic Installing Visual Basic 6.0 on .NET Server with VB .NET installed
I'd like to know if there are any issues involved with installing Visual Basic 6.0 on a Windows Server 2003 server with VB .NET installed. Thank you. There shouldn't be any issues - VB 6 and VB .NET can be run side-by-side, and in fact we recommend that you have both installed if you are going to be ugrading VB 6 projects. Hope this helps, Steve Hoag the V-Bee ...Show All
