TYoung's Q&A profile
Windows Forms Easiest way to work with the KeyBoard??
Hy! First, sorry, if i'm at the false category.. And now my problem... I have a MainWindow...and on it i put at Runtime...some UserControls. Now i have 4 user controls on it, and want to catch the KeyPress-Event... For Example...if the User press ESC that&nbs ...Show All
Smart Device Development Webbrowser Control - .net cf 2.0
Hello, I’m having a problem with an application i’ve been developing with VS.NET 2005 beta 2 and currently being developed under VS.NET 2005 Professional Edition (both with Windows Mobile 5.0 SDK). Compact framework 2.0 seems to have some differences between its beta 2. Now, links ("<a>") on the webbrowser control don’t work anymore with my pocket pc 2003 device. I don’t even get the navigating event (it does work on emulator on windows mo ...Show All
Visual Studio Team System how can I run a unit test on difirent threat?
Hi, How can I run a unit test on different threats I have Visual Studio team System for Software developer. I do not have the load test functionality on this version.... Please advice! Thanks Hi, Could you give us more information about the scenario you want to achieve (And I assume you meant "threads"). Thanks, Boris ...Show All
Visual C# How do I check connection to IP address and valid permissions for writing to directory?
Hi. I have a service that moves files from one location to another across a network. I am trying to add a utility that will check the connection to the various machines and check if the service can write to the folder the user is requesting - prior to actually trying to move the file. Right now I do not know if the connection is valid nor the permissions for the directory until I try the move/copy of the file to the destination.  ...Show All
SQL Server SQLServer ERRORLOG is growing everyday
Hi, I just discovered that my production sql server(MSSQl.1\Log\ERRORLOG) is keep growing and i really don't know how to resolve this issue. I hope someone can suggest me or guide me how to resolve this issue. I searched on google but I could not find anything. This is production live sql server and I would like to delete the errorlog and can someone please tell me how.. Look at sp_cycle_errorlog() ...Show All
Software Development for Windows Vista SqlStatePersistenceService troubles
Hi, Adding a SqlPersistanceService to my workflow host causes the workfow to abort when it tries to persist. Unfortunatly the WorkflowAbort events arguments don't realy tell me anything usefull. The database is SQl Server 2000 sp3a and the persistance setup scripts have been executed creating the required tables and sp's. Initialising the SqlPersistanceService instance with a valid connections string causes no errors (indic ...Show All
.NET Development List tables in SQL database
Previously (VB2003) with Access I've referenced the ADOX namespace and used something like follows to list all of the tables and indicate which were system tables; tTables = cn.GetOleDbSchemaTable(OleDbSchemaGuid.Tables, Nothing ) In a similar manner I could list the fields in each table to include datatype. Can someone point me in the direction to accomplish this is SQLExpress and possibly indicate PK's also. Thanks ...Show All
Visual C++ Problem compiling a program
Hi all, recently i had to work on a program which was running ok on VC++ 6. Due to certain restrictions i only can work with visual studio 2005 express beta 2. When i tried to compile the program in VS 2005 express beta 2, i got these errors which never occurred in VC++ 6: Compiling... STDAFX.CPP Compiling... Database.cpp DatabaseMarpos.cpp DataCom.CPP DBMarpos.cpp EBlockEntry.cpp EBlockLabel.cpp EdcsSettings.cpp EDCSSetupDialog ...Show All
Windows Forms n-Tier Application Development
What are the best practices to create n-tier application in Windows Forms Links to white papers/articles are welcome. We have a medium-size accounting and stock application that are planning to develop using .NET Architecture. In our solution, we have created three&nbs ...Show All
Visual Basic Expression evaluating to -1.#IND ?
I am performing following calc, where result if declared as double result = (a - b) / b Now (1-0)/0 results in 1.#INF, which i can check using Double.IsInfinity method, but (0-0)/0 results in -1.#IND, what does IND means, how can i check for expr evaluating to -1.#IND there is no Double.IsIND method. Please help. Thanks Hi, Use the double.IsNaN() function, IsNaN stands for Is N ot a N umber... double a = 1, ...Show All
Visual Studio Team System Code coverage - unit testing web service - VSEnterpriseHelper.axd
When running our unit tests for a web service with code coverage enabled the following error is displayed... (with no code coverage generated). Exception was thrown: The web site could not be configured correctly; getting ASP.NET process information failed. Requesting 'http://localhost:22888/AppTier/VSEnterpriseHelper.axd' returned an error: The remote server returned an error: (500) Internal Server Error.. Cannot initialize post instrumentation ...Show All
Windows Forms How do I dynamically create a new control on a form?
I have a form with a checkbox. In my application, I need to set the checkbox on the form equal to one that I create from scratch. When I do this, I find that I do not have control over the checkbox anymore. What's going on TestForm1 test = new TestForm1 (); //test.CheckBox = new CheckBox(); test.CheckBox.Checked = true ; test.Show(); When test.CheckBox = new CheckBox(); is not commented out, the CheckBox is shown unchec ...Show All
Visual Studio Team System New System definition using SDM SDK
Hi, I'm trying to create a new SDM system definition using the SDM SDK. I'm using Visual Studio TS Beta2. I successfully compile my .sdm file, I'm able to create manager dll using SdmG and CSC and I also create a prototype for toolbox using protogen tool. When I install my sdmDocument into VS (by adding required entries into registry - EnterpriseTools\Sdm\InitializationFiles and EnterpriseTools\DesignerPrototypeFolders) I see an entry ...Show All
Visual Studio Express Editions How can I Call the GetVolumeInformation API ?
Hello, I try to call the GetVolumeInformation API but the function returns zero and the GetLastError function returns the 1450 error code (Insufficient system resources exist to complete the requested service). What does it mean I think I can't use another solution because the GetVolumeInformation API is the only one which returns the serial number of a volume. My code is the following : Imports System.Runtime.InteropServices ...Show All
Windows Forms DataGrid headers
How can I get the TEXT of the DataGrid HEADERS If you mean the data grid column headers, then the DataGridColumnStyle::HeaderText property contains the column headers. you would need to create a data grid table style, add data grid column&n ...Show All
