Mike Mozhaev's Q&A profile
Windows Forms want a button be focused always !
hi i have a windows form , with some text boxes. after enter sth. in them, user should press the button, but if user want to press it by the "enter" button on keyboard, it doesn't work. i mean it isn't focused automatically , would u please give some idea thank u Forms can automatically react to ENTER and ESC by default. You just need to set the AcceptButton and CancelButton to the appropriate butto ...Show All
Visual Basic Learning how to use serial comm. with VB 2005
Hi, I am searching for resources on info about how to get started using serial communications (USB or RS232, etc.). I make embedded devices, simple midi controllers using PIC's. So I am interested in learning how to connect my projects to windows via USB or RS232, etc. I just started to read about VB 2005, and I'm using the express visual studio for now. Any help on where I can go to start learning about this would be appreci ...Show All
SQL Server Using EFS with database files.
It is theoretically possible to use EFS to encrypt database files, both data and log files. Encryption is generally considered a good thing when security is important. But is EFS really a viable option for database files Just because it could be done doesn't mean it should be done. Is EFS even suitable for the high i/o demands of a database Hi John, EFS is in fact "best practice" when running MSSQL. Al ...Show All
Visual Studio Express Editions Starter Kits not Working
hi, i have VB Express & VWD Express install via full images, but the PayPal Starter Kit and Shareware Starter Kit does not apperar in the new project dialog. how can i fix this thanks, AB They are telling you to add your own name > YourMovieList Remove the $ - - - $ and the namespace would be called > safeprojectname, which does not represent much. Name it anything you want. Hope this helps ...Show All
Software Development for Windows Vista Info about DVINFO
Hi everybody, can somebody help me in figuring out how to use the DVINFO structure with the DV Encoder Specifically, I am interested in setting the 16:9-flag which can found in the Video Control Section (VAUX). Is this the right way to create a 16:9 DV avi Well, I am able to set the DVINFO structure to various values by using the appropriate interface on the DV Encoder, but this seems to have no effect on the resultant ...Show All
Windows Forms control, usercontrol, panel
Many times I don't know what control to derive from. For example, if I want a control that will just have two docked panels on it, what's a good choice Also I noticed that TabControl derives from Control even though it has child controls and I thought panel would be a good choice. It depends on which methods and properties you want to write by yourself and which you want the object to hand ...Show All
SQL Server SQL Express - can't change language setting
I've got a problem in Server Management Express CTP - in the SErver properties dialog I can't change any of the properties on the 'General' page. At the moment the Language is set to English(United States), which is giving me a problem with datetime formats, but I can't change it. Am I missing something obvious In order to change the collation on a database open the properties dialog, switch to the "Opti ...Show All
Visual C# Problem in overriding or adding methods in Collections .Can you help?
First of all ,please be patient with me as I am trying to learn c#(moving from vb) + use of generics Collections and I am problems in trying to improve my collections I have created a set of collection all inheriting from the original ones. I would like to extend the collections that MS gives us by either overriding or adding my own methods etc.However I seem to have all sorts of problems 1)Trying to override Contains to give my own im ...Show All
Visual Studio Express Editions using DirectDraw only in window
Hi what may I change in here GraphicsCard.SetCooperativeLevel(Me, CooperativeLevelFlags.FullscreenExclusive) GraphicsCard.SetDisplayMode(800, 600, 16, 0, False) to show graphic in form window, not in fullscreenmode or how to rewrite code sample from http://gpwiki.org/index.php/DirectX:DirectDraw:Tutorials:VBNET:DX9:Basics to make graphics run in some area in window (or possibly to draw output only to some control, like to picturebox) ...Show All
Visual C++ Visual C++ 2005 map<string, string> problem
The following code compiles fine in Visual C++ 2003 but not in 2005 <br> <br> using namespace std;<br> <br> string name, value; <br> name = "foo"; <br> value = "bar"; <br> map<string, string> m; <br> m.insert(pair <string, string> (name, value));<br> <br> <br> Did something change or am I doing something wrong Thank you. ...Show All
Windows Forms click and double click problems on datagrid winform
with a datagrid in a winform single click on the datagrid: my program must do one think(change the color of a single cell) - OK double click on in the datagrid: the program must show a panel the content if the datable "under" the datagrid - OK the datagrid class has 2 method datagrid1.doubleclick end datagrid1.click well when i click two times (doubleclick method) the program executes one time the dobleclikc and two times the single clic ...Show All
Windows Forms Big Problem, I think it's bug
-VS2005 RC -Framework 2.0 release When I close a form with bindining datasource on it, I have this error. An unhandled exception of type 'System.ArgumentException' occurred in System.Windows.Forms.dll Additional information: Sort string contains a property that is not in the IBindingList. Yes,I have the same problem. It only happened on my first table in my DataSet. If I remove the sorting string,the problem disappeared ...Show All
SQL Server How to get a handle of my queries
Does anyone knows of a tool that will help me manage my queries I have 100's of them and all scattered. On my PC at home, some of them on my laptop, some of them at work, some in memory sticks. Then, when I need them I can't find the one I'm looking for so I end up writing the query again. Any ideas You're right, in SQL Management Studio they are called Templates, not Snippets. If you select Template Explore ...Show All
Windows Forms How can I get the Client Sock ID in my VB.NET App?
How can I get the Client Sock ID in my VB.NET App ...Show All
Windows Forms C# 2.0 RTM Textbox Validating event swallows tab key press when AutoCompleteSource set to AutoCompleteSource.CustomSource
Hi all. I have a problem with a custom control in that in a specific case I cannot tab out of the textbox, but I can use the mouse to click out. I have hooked into the Validating event on a textbox, and inside it, if I set the textbox to have an AutoCompleteSource of CustomSource and an AutoCompleteMode of anything other than None, at runtime I am unable to use tab to leave the textbox. It is a simple inherited Textbox that I put on a f ...Show All
