NET - Which Control Has Focus - Visual Studio 2008
Nov 16, 2010
I am currently translating a windows form application, written in VB6, to a webpage written in Visual Studio 2010. In VB6 it is easy to find out which control has focus on the form using '.getFocus()'. I have come to the conclusion it is not that easy, if at all possible, in vb2008.
View 2 Replies
ADVERTISEMENT
Apr 20, 2011
Visual Studio 2008 Web Browser Control
View 6 Replies
Aug 24, 2009
How to apply drag and drop control like visual studio...after start dragging, the control still there, and make a rectangular image and drop to local form or other form...
View 3 Replies
Feb 29, 2012
i have this database format in SQL:
ID name add num
1 fel mn 201
2 john kaye 23
3 Kate mani 25
I used databinding to call the values on (SQL) to textboxes in visual studio 2010 and i have this code in NEXT command:
Inter is the name of the databinding
With inter1
If .Position = .Count - 1 Then
[code]....
The code above display the information not on Random. How can i display those information in Random mode? And i need a msgbox when all the data has been already seen by the user. I mean no redundant data will be seen by the user upon random mode has been done.
View 8 Replies
Oct 12, 2009
I have a datagridview(dgv) with a DataGridViewComboBoxColumn(colLocation)
colLocation.AutoComplete = False
colLocation.HeaderText = "Stored to"
colLocation.DataSource = DB.getLocation()
[code]....
I added the colLocation to dgv."descirption" contains Unicode characters. I can see the comboBox correctly and choose the item.The problem is when the comboBox lost the focus, the value is changed to first item of the comboBox.
Updated:I found out that the ComboBox doesn't change the data when the DisplayMember is in English characters. It changes only when the DisplayMember is in Unicode chracter.
View 3 Replies
Oct 11, 2010
i am trying to figure out how to go about finding this window's label when the control name is the same as all the other labels on the program.
WindowsForms10.STATIC.app.0.378734a
WindowsForms10.STATIC.app.0.378734a
WindowsForms10.STATIC.app.0.378734a
All 3 labels are named the same. The one i am most interested in is a progress % counter (1%, 2%, 3%, etc..)How can i get the value (using a timer of course) from that label without knowing the caption of it at any given time?
View 2 Replies
Feb 17, 2010
Will i be able to successfully install 2010 beta 2 side by side 2008? because i want to test 2010 features and some development toolkits such as silverlight while i don't want to uninstall my visual studio 2008 professional.
View 2 Replies
Mar 20, 2009
I have a Visual Basic project and when working and modifying code, the compiler will crash and then a message will say something like "Microsoft visual studio encountered a problem and was shut down." I've tried editing code from the solution and the project. Both produce the error. Usually occurs when adding an "IF...Then..." condition. May work for hours but then crash. Solution will compile and build.
View 3 Replies
Jun 27, 2011
Just a quick question my textbox1.text seems to get focus when I run the APP.how do I cancel any focus to any textbox?I just don't want to select it or anything when I work with it only when the user select or uses it.
View 1 Replies
Aug 10, 2009
I want to programmatically set the focus to the last row (bottommost, its only one column wide) in the DataGridView control for Visual Basic. How can I do so?
So far, I have tried DGV.Rows.GetLastRow(DataGridViewElementStates.Selected)
without success, though I did not expect that to work. It absolutely must select that last cell. Otherwise, the application is nearly impossible to use!
Here is a screenshot of what I am making with this: [URL]..The "Paste Clipboard Contents" button only pastes into the selected cell, though I guess I could find a workaround.
View 2 Replies
Jan 17, 2011
In a while loop, I am writing a progressively increasing integer value (between 0 and 100) to the Value attribute of a ProgressBar control, when it disappears from the window in which it resides. I have verified at the time that it disappears that the Min is 0, Max is 100, and Value is a valid integer in range.
View 9 Replies
Mar 20, 2009
How do I disable the background compiler for Visual Basic in Visual Studio 2008?
For my sins, I have to work on a large VB.NET project and it often locks up for 20 seconds at a time whilst doing the very helpful background compilation
I'd rather work blind between compiles and be able to do some work.
View 1 Replies
Jan 22, 2010
I am trying to make a console program in Visual Basic on Visual Studio 2008. I want to ask the user of the program if he wants the premium version or the standard version. If he chooses the premium version, then I want it to say premium in his "receipt" later on and if he chooses standard, then standard in the receipt.
[code]...
View 1 Replies
Mar 28, 2009
Visual web developer 2008's .sln file is not working in Visual Studio 2008
View 2 Replies
Sep 26, 2009
I have Visual Studio 2008 Professional and I'm trying to make it so I can click a button to send the application to the System Tray and then click the icon in the System Tray to make the application come back.
Can anyone provide me a method or sample code to do this?
View 8 Replies
Jan 13, 2012
I am very new to Visual Studio Application Development. I'm mostly a DB guy. I used Visual Studio as a Report Designer, not much of an .Net guy though I can understand it. I am now asked to create a .net application and I'm trying to create a "Hello World" starter app. I opened my Visual Studio, click File-New Project and all I see is Business Intelligence Projects and Other Project Types. My step-by-step guide says choose Visual Basic, Windows Forms Application. But I can't see it as an option.
View 2 Replies
May 22, 2012
I recently loaded my copy of MS Visual Studio 2008 Standard Edition, with Visual Basic, on to my new laptop, one with a Windows 7 operating system. This version of Visual Studio had been on my other laptop, a Windows Vista machine. When I attempt to run any of my Visual Basic applications which has a MSFlexGrid container on it, I get this error message "Unhandled exception has occurred in your application... The error is: Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG). Also,
View 2 Replies
Dec 19, 2009
whilst trying to debug a sample program, get error code bc 32400. Also error code Class 'CLSID_CorSymWriter' could not be created system error &H80040154&
View 3 Replies
Dec 23, 2011
I want to add ImageListView Control which I found from here and here in myVB.net application. I tried adding the dll file to my project references (and rebuild-ed the project) but it is not showing up in my toolbox.
View 1 Replies
Oct 12, 2011
WebMatrix is a web development and deployment tool by Microsoft so how is this compared to Visual Studio? which Use C# Razor Syntax is that more better coding.
[Code]...
View 2 Replies
Aug 22, 2011
I have been working on a game development program for a few days now. And have come to a halt on one part, and thats adding a 3D space in the program. I do not know the code for this, would some one please provide something i could use for adding 3D space in my project? for example, i have a panel set up to be the view port in to the 3D space. Now i need to figure out how to program it so you can see a 3D space, click on the mouse and drag and the grid will follow the mouse.Likecreate a grid, i wish to give it a grid of 150 x 150 grid pixles.
View 2 Replies
Jan 15, 2012
I'm quite difficult to understand how could I control DataGridView in MS Visual Studio.
View 6 Replies
Dec 10, 2009
I have a problem that is stopping me from creating my interface properly in Visual Studio. I have a listbox and beside that I have a button. I want the button to be on the right side of the control, level with the top of the listbox, but it is remaining at the bottom of the listbox.
View 2 Replies
Aug 15, 2006
im doing a project in Visual Studio 2005, how do i add the Winsock control?
View 12 Replies
Sep 15, 2009
I have to compile projects which was compiled in Visual Studio 6 in Visual Studio 2005. When i compiled i got a set of same error. I opened the project for VS6 by selecting File->open->project/solution and tried to build a solution by Build option but i am getting the following error.
[Code]...
View 7 Replies
Apr 11, 2011
Is it possible to open visual studio express files with normal visual studio?
View 2 Replies
Feb 18, 2012
I am trying to implement a Web User Control into one of my APSX pages but keep getting the following warning:
Element 'IntFilter' is not a known element. This can occur if there is a compilation error in the Web site, or the web.config file is missing.
The user control is defined in the same web project as the aspx page.
Question: How do I resolve this warning (I do not want to move the control to a separate project)? Also, what do I need to do to enable IntelliSense for this control so I can set its FilterTypeSelection property from ASPX?
Code for "~/FilterControls/IntFilter.ascx"
<%@ Control Language="vb" AutoEventWireup="false" CodeBehind="IntFilter.ascx.vb" Inherits="StaffSupport.Filters.IntegerFilter" %>
[Code]....
Also of note, if you drag the control from the Solution Explorer to the page in Design view it will add the references you need (though it was still generating the warning for me). If you drag it to the page in source view it will add an a tag with a href to the element.
Update 2012/02/21 b:
View 3 Replies
Jun 6, 2009
How can I congigure Source Control to work with VS.NET
View 3 Replies
Apr 6, 2012
I am designing a settings form for my application as shown below: A tree view with multiple nodes at the left and I want to have one GroupBox for each node to be displayed at the right whenever a node is selected. I have designed my group box with necessary controls for the first node. The question is, how do I design an another group box in the same place when another item is already there. Is there a way to hide a control from a form during design time?
View 2 Replies
Aug 5, 2011
I need to add attributes to certain controls in a Windows Forms project. It needs to look something like this: [code] I can go in and edit the designer file to get more-or-less the desired effect, but those designer files sometimes come with the caveat that they are automatically-generated files. I'm worried that the designer might overwrite any changes that I make to the file. That said, is there a way to add attributes to controls using the designer or is there some way that I can add the attributes in a separate file?
View 1 Replies