captain paul's Q&A profile
Windows Forms Need help creating "arbitrary text entry" control
Hi everyone. I'm looking to implement a RichTextBox-style control, but which allows for somewhat arbitrary cursor placement and text entry, as well as selection of multiple "disjoint elements." Basically, it should function like the Microsoft Equation ...Show All
Visual Studio Tools for Office Unable to create Excel Workbook Project
I just installed Visual Studio 2005 June CTP on a machine with no previous version of VS 2005. However, I get the following error when I attempt to create an Excel Workbook Project: The project cannot be created. I tried uninstalling and reinstalling both VSTO and VSNET. Then, I tried formatting and reinstalling Windows 2003. Next, I tried it on a Windows XP machine. However, all gave the same result. Note: I can create a Wor ...Show All
SQL Server Deployment question: SQLDB - SSIS on different boxes with SQL Agent for scheduling
I am interested in how you guys are deploying your packages. I am running SQL Server Integration Service(SSIS) and SQL Server Database Service (SQLDB) on different boxes. I can't have SSIS installed on SQLDB box because in my prod. environment, the DB box has *just* DB - no services or no other fancy stuff. So far so good. Now, if I want to schedule the SSIS packages (deployed on MSDB) to run periodically, I need to create a ...Show All
Smart Device Development Evolution Of Mobile Gaming Industry
I had a couple of thoughts that I wanted to share and take inputs on the same. Its been a couple of years, when the Desktop PC’s had started penetrating/entering Indian customers. No wonders, no one really had an idea of what to do with it. And it looked people buy it for playing games, as it looked to be the most happening thing to do with home computers. From students to businessmen. No one was aware of that the Gaming Industry is the big ...Show All
Windows Forms Bound DataGridView + Sorting
Hey I like the new look for the forum! Does anyone know if the DataGridView control has an event that will fire right before a sort occurs. I've tried all the events that contain the word sort and I even did the ColumnHeaderMouseClick event, which for some reason fires before only sometimes - seems too unpredictable to use for this purpose. Here's why I need this event: I have a column that depending on the data in the row will ...Show All
.NET Development Type Casting Webservice Response
I use WSDL comand line tool (wsdl.exe) to generate source code of proxy for a webservice, compile that source code on the fly using particular instance of ICodeCompiler into standalone assembly, create instance of proxy class using Reflection, e.g. Activator.CreateInstance(). The Webserive returns an array of complex data types. When I invoke the method, how do I type cast the response object into the complex data type After invoking the metho ...Show All
.NET Development Is It Necessary To Use Primary Key With Access Database --> How To Prevent Displaying Default Primary Key
I had to create a default primary key (numbered from 1 to N) column with my Access database in order for my application to work. Is there an easy way to make my table visible without displaying the primary key How do I do this Please give me information by posting the exact sequence of button clicks, things to type, etc that I must perform My component tray has a BindingNavigator, TableAdapter, Binding Source, and a DataSet. ...Show All
Visual C++ Why AfxGetResourceHandle causes Asserts?
My scenario is somehow complicated but I try to simplify it: I have a CLR class libraray that wrapps some functionalities of a MFC dll. The MFC dll has a class with a method that calls AfxGetResourceHandle() method, when I use the corresponding method on the wrapper the Asserts are generated. The method is trying to get a handle of a resource that is defined inside the MFC dll, why I got asserts ..\Microsoft Visual Studio 8\VC\atlmfc\in ...Show All
Visual Studio Express Editions Encryption of files on USB drive
I am trying to create my own program that will encrypt files on my USB drive and decrypt them only when a password is entered, and only when logged on as certain users. Sorry if the code is a bit long. So far I have managed to achieve all but the encrytion / decryption. So can anyone out there help me with this My code so far is: Imports System Imports System.IO Public Class Form1 Dim allDrives() As DriveInfo = DriveInfo ...Show All
Visual Basic Determine State of Remote Desktop
Hi, Just wondering if anyone can point me in the right direction. Im developing a small app for remote maintenance, basically just an app that provides all information support ppl need to access a client machine. Obviously we don't want to have the user clicking around finding things out for us each time (things like Ip address, rdp status etc) Is it possible to determine if Remote Desktop Connection (on XP Pro (All Version ...Show All
SQL Server sys.conversation_endpoints
Is there anyway to figure out which tables/objects this view uses In SQL Server 2000 one could see the actual script of the view but in Yukon this is only possible for user-created views, right What I am aiming for is to combine the speed of sp_spaceused with the information in sys.conversation_endpoints (and maybe other service broker views, like sys.transmission_queue) to tell me, quickly, how many conversations are in a particular state ...Show All
.NET Development Regular Expression syntax for C#
Hello Everyone, Currently, I am working on a project that required heavy pogramming with regular expression. I am looking for documentation about regular expression from Microsoft. Please upload the document if you don't mind. Regards JDang Rather than looking for Microsoft specific documentation on regular expressions I would look into two directions... first, read up and learn a ...Show All
Visual C++ Windbg call stack
Hi Ng, Please find the call stack of a crashing thread. Can any one tells what goes wrong here. Since the local information about this object seems to be good. Thanks Regards Raghuram.K 0x0 B3WPLF!WaferPosAPI::WP_SetupStageRequest+0x9d TRAINER!TTS_Training::moveToSite+0xbc TRAINER!TTS_MarkingDie::doStageCenter+0x407TRAINER!TTS_MarkingDie::acceptInternalEvent+0x29 TRAINER!StateMachineApp::acceptInternalEvent+0x5a TRAINER!TrainerWindow ...Show All
SQL Server Modify ReportViewer
Hi! Is there anyway I can modify the ReportViewer I was wondering if I could do something like this: - Write my own method in the ReportViewer.cs class (first doubt: where can I find this class ) - Rebuild - Add the .dll to my toolbox on the visual studio - Call the new method on my code behind class (I'm using a asp .net page) Is this possible Thank you! The report viewer ...Show All
Windows Forms TreeView Bug? Please help...
I'm using a TreeView to display different sets of data from a SQL database. The data list is determined by a set of buttons. When a button is clicked, the data is retrieved from the database, then populated into the TreeView - pretty simple stuff. Here's the problem: If a large list (with scroll bars) is loaded first, then a small list (without scroll bars) is loaded next, the last node of the small list will disappear when selected ...Show All
