derohanes's Q&A profile
Windows Forms Calling MsgBox inside a TabPage's Validating event
I have a form that contains a tab control. I want to perform (multi-field) user input validation when the user changes tab. If the user input is invalid, I want to display a MsgBox. However, whenever I call MsgBox inside a tabpage's Validating event, this seems to affect the behavior of the comboboxes on that tab page. To see what I mean: 1. Create a new project 2. Create a form 3. On the form add a tabcontrol with 2 tab pages 4. On the f ...Show All
Software Development for Windows Vista Workflow becomes idle after CallExternalMethodActivity.
I have a workflow executed from an .aspx page. The workflow looks like this: handleExternalEventActivity1 callExternalMethodActivity1 codeActivity1 (never invoked) handleExternalEventActivity2 I would expect the first three activities to be executed, before the workflow instance become idle on the fourth activity (eventSink). However, the callMethod activity is triggered and it invokes the service method as expected, ...Show All
Visual Studio Express Editions Pocket PC application with Visual Basic Express
I searched around for help on this topic but was unable to find any good information. Is it possible to create an application for a Pocket-PC using Visual Basic Express Thanks. ...Show All
Smart Device Development Debugging a SqlDataSource Insert Statement
In ASP.net, using a FormView control, I am having problems on execution of the Insert Statement associated with a SqlDataSource control. The error states that null value cannot be inserted in a given column. I have set the default for that column within the table design to be a string value. Therefore, I do not understand the error. Thanks. Off topic. Please post to ASP.Net forums: http://forums.asp.net/ ...Show All
Visual C++ Graphics* graph; doesn't work
I just opened a project in Visual Studio 2005 beta 2(c++) and I want to draw, but I cannot declerate Graphics and Pen. My code: #pragma once namespace TicTacToe { using namespace System; using namespace System::ComponentModel; using namespace System::Collections; using namespace System::Windows::Forms; using namespace System::Data; using namespace System::Drawing; public ref class Form1 : publ ...Show All
Smart Device Development multiqueries at once in sqlce
Hi i want to run more queries at once. But sqlce raise an exception, how can i do it ...Show All
Visual Studio Express Editions Solution Questions
I have a database that I need to design a GUI and a few database entry functions. I am wondering if VB is the correct rout to go. I am using Access Database for the database, though looking at using SQL Server Express. The GUI will consist of a MDI form with several forms. The main form is a form with a tab container in it. The information shown on that form will come from several tables in the database, but o ...Show All
Visual C++ c parser
i am looking for a c parser that would parse a c header file into xml or a format that will allow me access the strutures defiend in it Does any one know of an api or something that lets you open up a c header file and exposes it's metadata as xml. i was wondering since this is a feature used in code itellisence. I have a need where i need to parse through a c header file which has a whole munch of typedefs i need to be able to find on ...Show All
Visual Studio Team System TFS Backup and cross-database issues
Quick question here: Seeing as how TFS uses several databases (a boatload of them, actually :)), I was wondering if it is safe to backup them all just using SQL Server mantainance plans. In particular, I would like to know if there is a risk that during a backup operation, (a window which will be incrementally larger as the tfs databases grow) you might end with inconsistent data across the TFS databases due to operations being performed on th ...Show All
Windows Forms Databinding to a DateTimePicker control
I'm trying to bind a DataView to several DateTimePicker controls. Problem is the binding is happening on a newly created row so the datetime columns are all null. I transformed the null values to nothing but the DateTimePicker does not allow& ...Show All
Visual Studio Vertical alignment in text or field objects
I am working in Visual Studio 2005. Is there someway to center values vertically in text or field boxes Hi..Under the properties of the text box, go under "Appearance" then go under "TextHAlign" or "TextVAlign". Hope this helps ...Show All
SQL Server Registry to store configuration values ?
I try to store a SSIS-configuration value in the registry. But it's failed. I get a warning, that the registry-key is not found. What is the syntax I have searched in BO,MSDN and Google/Internet ==> nothing. There is no example. In the registry you have this entry: HKEY_LOCAL_MACHINE\SOFTWARE\ProjectName\Connections\ConnectionString1\value In Value you store ...Show All
Visual Studio Using variables for subreport and Main totals
Hello and thank you for any help. I am totally new to Crystal Reports and need to finish this report for the project I'm doing. The problem is: I don't know how to use the variables to pass the totals to the main report, the help file was not that much help for this. I have tried using Formula fields to do this: Global x As Currency formula = SUM({sub-report field name}) x = formula...........(problem with this part) Could someone please gi ...Show All
SQL Server Named Pipes Provider, error: 40 - Could not open a connection to SQL Server
This was originally posted in the SSIS Forum , but a member of the IS team suggested it be moved here. " Most recently I got this error (Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) so does this mean that SQL Server is still trying to use named pipes even if I only have TCP/IP enabled in SQL Server Configuration Manager " I'm having the same issue, and here's our scenario: Installed SQL Server 2005 ...Show All
Visual Studio Team System Recommended Books
Can somebody recommend me books about team system and MSF4 is there is already one. Thanks Hi there at launch we will have an update to the Introducing VSTS book we released at Teched. Following this we have about 5 more publications to hit from AW before March, and 2 more from MSPress also around this timeframe. These are focused on many aspects including MSF, Project Management, QA, etc.&nbs ...Show All
