Dr Clocker's Q&A profile
Windows Forms Command Line output from Winform app
Okay, call me slow or something. I'm trying to see my Console.out.WriteLines outside of the IDE. So I open a command prompt and start my application c:\myapp\bin>myapp.exe But no output shows in my command window. Am I missing something here If you're building a Windows Forms app, console output will appear while it's running inside the IDE (courtesy of the debugger...), but not when you're running it as a standalon ...Show All
.NET Development Windows service gives "Error 1053: The service did not respond to the start or control request in a timely fashion" while st
Hi Experts.... I have unique problem while deploying Windows service build on Microsoft Framework 1.1. When i am deploying this service at a particular machine, i am getting error " Error 1053: The service did not respond to the start or control request in a timely fashion. ", but able to deploy the same service at other machines. On other machines i am not getting this error. We are into deployment stage and facing this problem on ...Show All
Windows Forms A Memory problem related to Window size
After my program (a WinForm app) started, it cost about 70MB memory(from statistic of Task Manger). However, after I minimize the main window, it changed to 5MB, then I restore it to maximized state, it cost about 17MB memory. In all situation, the virutal memory cost is the same. Could anyone explains this Thanks! Hi Lei, The behavior you're seeing is actually true for all Windows applications, not just .NET applications. You can fi ...Show All
Visual Basic [vb 2005 expr] Synchronizing folder's content
Hi guys! I must do something really "simple" using Visual Basic 2005 express (on a windows 2000 or xp system): I have 2 folders: hansel (remote folder connected as a net unit) and gretel (local folder) I want, when user clicks on a button, to synchronize gretel folder's content to that of hansel folder (NOT viceversa: I want to add or delete NOTHING in hansel folder). In other words: gretel must be an exact backup copy of hansel. ( ...Show All
Windows Forms custom scrollbar for datagridview
Is there a way to disable vertical scrollbar for datagridview and have a vscrollbarcontrol scroll the datagridview if yes, any suggestions, examples I want to use a custom scrollbar that has gradient paintings for the datagridview. Turns out there is an easier way to deal with these things: through the AutoSizeColumnsMode of the DataGridView. Set that to Fill, then manipulate the individual columns' AutoSizeMode to set which of them will ...Show All
SQL Server sp_send_dbmail & COM errors.
I just started getting these errors on a few (not all) servers the other day. These servers have been running fine for a few months now... Msg 14661, Level 16, State 1, Procedure sp_send_dbmail, Line 476 Query execution failed: Error initializing COM Msg 0, Level 11, State 0, Line 0 A severe error occurred on the current command. The results, if any, should be discarded. I can only find one thread regarding this erro ...Show All
Visual Studio Team System What's new in June CTP of VS 2005?
Where can I find out what's new in the June CTP of Whidbey so that I know whether it is worth downloading and installing compared with Beta 2 There's nothing on the VS2005 front page and the reference on MSDN downloads just says that it isn't as stable as a Beta. Gee, thanks. Now why couldn't that have been in the release notes last month That "etc" feature sounds really cool and I'd like to test it out. :-) I ...Show All
Visual Studio Express Editions compile App_Code-files / "Publish Web Site"
hello, i understand that in beta2 there is an additional option with the "Publish Web Site" step - which is to compile the code-behind, but leave the html still in the .aspx pages for later modification . Where is this feature In Build configuration manager - configuration is set to Debug - how can i change it to release thanks If you choose "Publish [websitename]" from Build menu, the dialog will ...Show All
Visual Basic Deprecated Compilers - VB4
Hi, Can anyone tell me where to go to to download the installer for Visual Basic 4.0 (Don't ask!) Thanks. Within the MSDN Downloads, the only versions that are available are VB6 and newer. This doesn't mean there isn't some other way to receive it though. Have your Microsoft liason contact their rep to determine if there's a way you can get a copy. Otherwise, there's always Ebay. Josh ...Show All
Software Development for Windows Vista GdiPlusEffects.h missing in February 2006 SDK
I downloaded the new Feb CTP Windows SDK and the compiler complains about missing GdiPlusEffects.h. This file is included conditionaly when GDI+ version at least 1.1 is detected. Where can this file be found The workaround is to edit GdiPlus.h and change the GDIPVER from 0x0110 to 0x0100: // Define the Current GDIPlus Version #ifndef GDIPVER #define GDIPVER 0x0100 #endif Hi Benny. Thanks for the ping. I ...Show All
Visual Basic Where to Post Visual Basic 6 questions
Hi, Questions regarding Visual Basic 6 and other COM based languages should be posted on Microsoft Newsgroups . This forum only entertains VB 8 or VB .Net related questions. cheers, Paul June A. Domag Hi Paul, I clicked on your link and it took me to http://www.microsoft.com/communities/default.mspx . I then clicked on the Forums link: http://www.microsoft.com/communities/forums/default.mspx . Then I clicked on the Visual Basic l ...Show All
SQL Server Creating Columns as an array
Hi, Is it possible to create a field in table of type arrays in SQL2k5. For Example, consider a table with two columns Book_Name, Authors. Now a book can have multiple authors and I would like to store the names of the author in a single data field(Authors) which is of type array. Is it possible to implement something like that Thanks Thanks Chad. That clears up things for me. Do you know how can we implement t ...Show All
Visual C# ManagedThreadID doesn't work for interop for SetWindowsHookEx.
I am converting a VB6 program to be C#. Therefore I was looking up how to hook the application for mouse, key activity and I found this article by Microsoft. http://support.microsoft.com/kb/318804/ In the code it uses AppDomain .GetCurrentThreadId() to set a callback thread for Hooking. It uses interop to the user32.dll. I modified/used the code and it works. However, the compiler insists that I should not use this function (GetCur ...Show All
Windows Forms Bound DatagridView not refreshing
I have a DataGridView bound to an array of objects. When I change values in the objects the DatagridView does not show the change. I have to do a .refresh. Also the event CellValueChanged does not get triggered when values are changed by the program to the object values (they are exposed as public properties). Thanks for any help, Luis C. Uribe Are you using a BindingSource() Try this first: private List < ...Show All
Visual C# Unnecessary Namespace in Designer code
I have a C# project which includes a dataset.xsd. I have placed an instance of the dataset on the form design view. The designer code which allocates the instance always qualifies the dataset type name with the namespace, which causes a compile failure as the form's InitialiseComponents is in the same namespace - it looks for a nested name. I can get a clean build by removing the namespace qualification from the assignment obj = new NAME ...Show All
