How To Change Appearance
Sep 5, 2009
i have my program, and i would like to be able to give it a look that doesnt change. What do i mean, i mean like, my programs buttons forms scroll bars etc change with the theme of the pc. How would i stop this? Also, how would i create custom looks for my buttons scroll bars etc.
View 6 Replies
ADVERTISEMENT
Nov 27, 2011
I want to change the order of appearance in which my forms show up.
View 2 Replies
Dec 14, 2011
How do you maintain the appearance of a disabled button in VB.Net? Basically, when I click a button, I want its background colour and font colour to stay exactly the same as before I clicked it.
View 1 Replies
Mar 7, 2012
Ok so I have a trackbar with a min of 0 and a max of 100. i also have another trackbar with a min of 0 and a max of 75. the problem is, i want the two trackbars to look exactly the same, but since the max's are different, they look different
View 3 Replies
Jun 22, 2010
Using the following code btn2 looks different to btn1 and btn3 yet they are using exactly the same image.
Public Class MyToolBar
Inherits ToolBar
Public Sub New()
[Code]....
View 1 Replies
Jun 21, 2011
How to control the font DPI in .NET WinForms app..How to change the Appearance/UI of win-forms in vb.net as per Windows display setting? default windows display setting is 100%, if i change it to 125% then my win-forms in my application doesn't display properly as per display settings.
View 1 Replies
May 30, 2011
i am looking to change the windows colour and colour intensity. These settings are accessable through Control PanelAppearance and PersonalizationPersonalizationWindow Color and Appearance But is there a way that i can remotely change these two settings through functions in my windows form application? Also is there any way of removing the slight blur on the window bars/taskbar when using an aero theme?
View 1 Replies
Feb 2, 2010
Just started using Visual Studio 2008 and was hoping to convert my VBA UserForms to VB.NET with the intent of upgrading my antiquated UserForm controls to newer Windows form controls that match the operating system.The Windows forms I create in Visual Studio look great, but when I load them in PowerPoint or Excel, the form controls look just as ugly as they did before (e.g. plain, rectangular buttons).
View 1 Replies
Dec 25, 2010
I am a beginner who used to use VB5 seven years ago, but am now trying to get up to speed using Visual Basic .NET 2010 Express in XP.
A difference I have noted is that in VB5 my buttons appeared to be three dimensional (raised) due to shading, etc. With VB2010 my buttons are plain 2D. I have not been able to find a property to give them the 3D appearance.Is this a limitation of using VB Essentials? If not, what properties give buttons the appearance of 3D?
View 1 Replies
Feb 25, 2010
I'm trying to create a ComboBox control with a TreeView style. I have been giving a link to an article by MSDN forums which include a sample as a starting point. [url] I downloaded the sample and convert its C# code to VB. The sample is a windows forms application so I moved the controls of the sample to a new Windows control library. I also modify and added some of the code to try to make it the way I want. Now I'm facing a problem with this control and I need your help to understand why it not behaving the right way. I'm trying to learn and build a ComboBox with a TreeView style.
The control inherits from the windows ComboBox control and when I place it on a form for the first time it look exactly as a CompbBox control but once I run the application for the first time the control appearance become deferent and it's not drowning its self as the windows ComboBox do. When I try to expand its width by dragging one of its sides by the mouse it doesn't work properly. I struggled understand why its behaving this way and how I can correct this behavior but unfortunately I couldn't. [Code]
View 1 Replies
Jan 20, 2010
I'm disabling a button in vb.net and when I do, I cannot control the BackColor or ForeColor properties to change the appearance. I set new values for them but they don't get picked up. The disabled button looks almost exactly like my enabled buttons so you can't tell the difference. I'm using Flat Style buttons, but have tried changing this and it still doesn't seem to work. Is there some sort of trick to be able to do this?
View 1 Replies
Jul 22, 2010
am working on my assignment, i wanted to know whether there could be a way in which if i click on sign in on my vb.net button, i could get a pop up or a dialog style message asking me for the username and password. Is there any way or any possibility of carrying out such kind of technique.
View 9 Replies
Feb 17, 2011
Why when I wrote in a xml the char "&" it appears & ??
View 3 Replies
Aug 23, 2011
I'd like to make a GroupBox have a black line as its boarders , just in the old VB6 , but it seems there isn't any such a property . Look , for example in the picture below : First there is GroupBox control but it can only have a line around it without color . Next , there is a Panel control , but the problem with that is that it can't have a caption set . At the far right side there is Panel control with a Label control placed over it . That's the best way I can think of in order to make something that at least will look like with what I have in mind . However , is there any other way I could do that ?
View 11 Replies
Jan 14, 2010
I have a main form which contains a few buttons...some of those buttons open up smaller forms...there is also a button for each of those smaller forms, which should let me bring the chosen form to the front and give it focus...basically like the tabs in your task bar let you switch between which program you are using...but I'm having trouble with this...I need to click the button 2 times before the form I want comes to the front...the first click removes focus from the currently activated form the second click then moves the form I want to the front.I need this to happen in one click..I[code] figured out the exact cause of the problem.it's due to the fact that the first click doesn't actually take effect since the child form has focus...so the first click actually just transfers focus to the main form...the second click does what it should.I knew it was going to be extremely obvious.so the question now becomes...how can I overcome this if that is possible at all...I know I've seen applications where I can still activate functions of the parent form in one click even if I have a child form open and focused.And it's basically what I need...it does what I want and lets me switch between child forms in one click...but it stuffs up the entire look of my parent form...the layout and colors get wacky...the transparency of certain things don't seem to work and my background image is gone..
View 7 Replies
May 24, 2010
I've finished a number of project and feedback has been about the working functionality of them but the general look of .net controls "is aged" in their eyes.For example if I looked a picasa from google. The left meu is a treeview.The main window is a listview and they are seperated by a split container. The buttons look soft and rounded.
View 13 Replies
Mar 3, 2012
Is there to make a button appear as a circle/oval instead of a square/rectangle?
View 1 Replies
Dec 14, 2011
I'm building a game using the traditional form view on VS2010 and I'm trying to change the colour of a label's text depending on its contents. I believe I've coded that fine, but the problem is that the settings for the label in the designer view pane are overriding my code!Is there a way to disable certain options in the designer view so that my code can work?
View 2 Replies
Aug 5, 2011
I am developing desktop application using vb.net and vs2008.I have a DropDownList that I don't want it interact with use when the info is locked. But if I disable it, it is greyed out and the text is not easy to read.Is there any way to make radiobutton like readonly textbox?I want text of the DropDownList looks black and itself is not clickable.The above shows a disabled DropDownList with greyed out text and a readonly textbox
View 3 Replies
Jul 28, 2011
How do I change the appearance of the Code Editor in VB 2008 Express (background colors; font, etc.) from a file that I have ?. I've tried changing the appearance by using the Import & Export Setting in the Options menu, and although it goes to successful completion (or so it says), it doesn't change the appearance at all.
View 1 Replies
Oct 26, 2010
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Dim cr As New Bitmap(4, 4)
[code]......
View 3 Replies
Apr 24, 2011
I want in my bridge program the time between appearance of cards longer. Different suggestions can be found in the forum. I tried "System.Threading.Thread.Sleep(100)" resulting in the card appearing in half and after the delay the rest. Only the following code does as intended:
Dim Timer As DateTime = Now.AddMilliseconds(2000)
Do Until (Now > Timer)
Application.DoEvents()
Loop
I place this just for the code of the next card to be displayed. It is strange that the dim statement should be there. When I place it instead at the beginning of the program the code doesn't function anymore.I can live with that, however, in the forum some contributors write that this code is dangerous as it can slow down the machine considerably..Is that true or and/or only true for older versions of Visual Basic?
View 5 Replies
Dec 18, 2011
I have an ASP.NET Calendar control on my web form.I have defined a date range with a StartDate and an EndDate and now I need to make all the days in between (including the StartDate and EndDate) red.
View 1 Replies
Oct 7, 2010
I've been racking my brain lately to try and come up with an algorithm to set a frequency rate at which an object may appear.
This best way I can think to describe a "for instance" is gonna sound nerdy but here goes.
Say I have a subclass that is just one of many on a Large class, kinda like spades in a deck of cards. However I dont specifically want 13 spades in my deck, I want to randomly generate this deck with a random chance of spade appearances. but beyond that, i want to give each sub-subclass, like a jack of spades, a "Frequency number", that upon generation of this main class (or deck in this example) will use random in combination with this "frequency rating" (0-100) to place the sub-sub class and even the sub classes in place.So as for my example, a 2 of spades might have a high freq like 90 and thus showed up 15 times in my deck, while the jack, with a rate of say 20, only showed up once or twice in my deck.
View 6 Replies
Aug 10, 2011
Problem: I wanted data input text boxes that only accept numerical values between 0 and 999. I could check for this during a later 'save' routine, but instead preferred to warn the user at the input stage; so I chose masked textboxes - setting the mask to "000". However these boxes appear and behave differently. They have a row of 3 underscores - which I don't want - and also seem more difficult to hit with the cursor. How can I get Masked TextBoxes to appear and behave exactly as normal ones?
View 7 Replies
Aug 30, 2011
When I set a control to "enabled = false", I want the textbox backcolor and forecolor to remain clear and distinct (white and back - respectively). Is there a place in VS 08 where I can define default appearnce for disabled controls? Or is there a beter way to lock control values other than using "enabled", that woulddn't affect apperance?
View 4 Replies
Oct 13, 2011
I have a form with a listview on it. Listviews are very versatile beasts with all kinds of odd options to them, so I'm not sure if this is working the only way that it can, or not. The issue is that when I select one of the items in the listview, only one column (of two) is highlighted. I'd prefer a selection appearance similar to using a DataGridView where the whole row is highlighted. Of course, one option would be just to switch to a DGV, but that would require a bit more code to get the column widths right. So my question is whether there is some setting to get what looks like full row selection appearance in a multiselect ListView?
View 3 Replies
Feb 26, 2009
I've a data grid whose source is a data table.The columns in the data table are Serial No.,Item,Description I want the width of each column to be different, like ,the width of serial no. should be very small and that of Description to be lengthier.But, everything is of the same default width.How to adjust the width of each column in a Data Grid so that appearance could be improved?
View 3 Replies
Mar 2, 2010
I'm currently working on my (business) master's thesis... the topic is capital budgeting tools to manage major investments for a European energy supplier.So far the company has used MS Excel for calculating relevant data to make decisions on whether to invest money in new projects or abandon them. There usually is a host of input data, lots of basic calculations and just two or three outputs (such as Net Present Value, Return on Investment etc) .It is my task to develop a new excel template or decide on buying a completely new software license, if excel proves unable to provide the functionality the company needs.
So far I have only very limited programming knowledge, stretching to Java basics, some HTML code and SQL Databases.However, a colleague hinted at the fact that the VB.net programming language can be easily learned and used to improve excel considerably. Ideally I would need excel to be able to:
- make sure people putting data into our template don't mess with it
- be able to communicate with a database
- have an appealing, structured and neat appearance for ease of usage by people with limited IT abilities
- provide all output, including sensitivity analysis charts, in a structured, printable overview
View 6 Replies
Nov 21, 2010
I updated from VB2010 Express and Win7(x64) from VB2008 Standard and Win7(x86) and have been tweaking a programme and some user controls I have been using for some years. In the last three days only whenever I open the programme and run it, I get the error message box "Object Reference not set to an insatnce of an object"" three or four times. The programme then runs correctly. If I stop and restart the programme, the error message not reappear. If I then edit code and rerun (or save) the programme, the error message reappears. The error messages do not appear if I run the programme from the EXE file pinned to my taskbar
I have been unable to trap the error message to find out on the stack a clue to the line in the programme that is causing the problem. I do not add controls at runtime and all have been added to the designer at design time.
View 7 Replies