Change Default LookAndFeel For Entire Application?
Jan 25, 2011This page lists a way to change the default LookandFeel for a .net application using DevExpress 10.2. It's not working for me.[code]...
View 3 RepliesThis page lists a way to change the default LookandFeel for a .net application using DevExpress 10.2. It's not working for me.[code]...
View 3 Replieshow to change the default path of settings file for the application when installing??and where I need to change in application so that the application takes this file as setting file for itself (means it do not search in default location )
View 4 RepliesI'm using SharpDevelop and .NET 4.0.
My question is this: If you start a new project with a "Windows Application" template, it generates a Program.vb with the following contents[code]...
I am looking for a VB.net book that strings me through the entire development process of an application (Prefered: WPF ,LINQ ,ADO). I have read a few books on OOP and VB.net with small code samples demonstrating the specific idea of the chapter.I think it would be really helpful if there was a book that programmed an entire application that uses a sql database (Northwind , Adventureworks).
View 1 RepliesI need to pull data from a database into a DataGridView, problem is the status field is stored as a 0 or 1. Not very useful to the end user.ere is my datagridview;
Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
Try
[code].....
If i have a DGV where i change the color of some of the cells like this...
DataGridView3(0, 1).Style.BackColor = Color.DimGray
DataGridView3(5, 3).Style.BackColor = Color.DimGray
DataGridView3(6, 0).Style.BackColor = Color.DimGray
is there a way i can change the entire DGV back color to something else (including those cells)i tried DataGridView3.DefaultCellStyle.BackColor = Color.Indigo but that does not seem to work on the cells already colored. Im guessing this is because im only changing the default cell color?
how I can change the back color of a row based on a cell value using CellFormating event. The cell visible property is set to false.
View 10 RepliesI have an application with roughly a dozen forms and I am attempting to change the font property for each form when a button is clicked on the main form.I have found the my.forms namespace and I am able to change the font there. But I need to be able to add more forms later without having to change the code each time Is there a way to iterate through a namespace and manipulate a subclasses properties?
View 3 RepliesI recently made an application which have some settings one of them a saving path
I want to make check if the saving path settings is available or not (drive)
If not so it got a default value which is application path
I tried to Change the default settings in the My.Settings by writing "Application.startuppath"But the application accept it as a string is there any way do dodge this problem?
Ever since upgrading to Visual Studio 2010, I'm running into an issue where the first web request of any type (WebRequest, WebClient, etc.) hangs for about 20 seconds before completing. Subsequent calls work quickly. I've narrowed down the problem to a proxy issue.If I manually disable proxy settings, I don't experience this delay:
Dim wrq As WebRequest = WebRequest.Create(Url)
wrq.Proxy = Nothing
What's strange is that there are no proxy settings enabled on this machine in Internet Options. What I'm wondering is if there is a way to disable proxy settings for my entire project in one shot without explicitly disabling as above for every web object.
The main reason I want to be able to do this is that I'm trying to use an API [URL] which uses web requests, but does not provide any way to manually disable proxy settings.I have found some information suggesting that I need to add some proxy information to the app.config file, but I get errors building my program if I make an edits to that file.
I want to make it so that no matter which control has focus, it will do my event. So that I dont have to write a keydown event for all 137 of my objects. Is this possible?
View 2 RepliesI've recently began to use OOP in my application and now I'm stuck on how to use it properly.
View 2 RepliesI have an application that performs several network tasks like query AD, add pc to domain, execute netowrk programs and scripts, etc. I need all tasks to run using credentials I provide in text boxes in the application can someone teel me what method or class or anything to get me pointed in the right direction? I have been searching Google forever but nothing
View 2 RepliesBasically i am creating a vbnet system software. I want to create a shortcut key to lock the system with out affecting the windows explorer (just my system only). Is it possible to create one for that? Or let's say create a procedure that triggers anywhere whether the focus is on a control, on a form (whether shown as normal or modal), or on any other that has the focus on it.
View 1 RepliesIs there any code to download entire website to my start path of application?
View 14 RepliesI have 2 forms. I want to close Form1 without closing the entire application but it doesnt work. It closes the whole application even though i say Form2.show()[code]When it reaches the End Sub then it closes the application.
View 6 RepliesThe MaskedEditExtender control that I am using is set up for a MaskType="DateTime" and the AcceptAMPM="true" but I need to know how a user can change the am/pm without having to type in A for AM and P for PM? Is there a way I can add arrows or something to this control so that it is more user-friendly when changing from AM to PM? My users aren't going to know that they need to type out the value for it to change.
[Code]...
I have a vb.net app that uses PrintPreviewDialog to print a document. Now I want the user to be able to print to any printer on the network. So, I created a listbox of available printers which works fine. Now, I need to either change the windows default printer to the one selected, or make the PrintPreviewDialog use that printer name.
View 6 RepliesI am using VB 2010. The default font for forms is Sans with a size of 7.8. Is there a way I can change the default font to something else. I do not see this choice in the options section of the tools menu.
View 3 RepliesIs there any way to change the default value(s) of controls? How about setting the default value of Textbox.Multiline to True which would make it easier to arrange on the form.
View 2 Replieshow to change calender default value to null?
View 1 RepliesCan we change default vb.net form skins . I mean to make it better?I am not saying to change background colour or image . I am saying to change style,design etc?
View 1 RepliesI don't know what this is called or I'd search for it since I'm sure it's been discussed. How do you pick a form as the default form that opens when you start debugging? As in, I have a form I want to debug but when I click debug, a different one opens with no means of getting to the other forms.
View 6 RepliesI'm using this to write to a text file[code]..
but i need to change the encoding from the default. how do i change the default encoding to ASCII?
system.text.encoding?
everything in outputText is written as a string and then concatenated into outputText.
I have Excel 2003 and 2007 loaded on my computer. When I open an Excel file, it is defaulting to 2003. How do I check to see what the default program is for opening xls files and change this to 2007 in my code? I have already done the following manually:
1-Open My Computer
2-Go to Tools --Folder options
3-Click the File Types tab
4-Scroll down to the XLS file type and highlight it
[code]....
However I am not convince that its defaulting to Excel 2007 when I run projects in VB as I am seeing the "File Conversion" prompt when file are open.
I'm developing an application and when the application is open, I need to handle the mailto protocol. I'm thinking the best way is have the app change the HKEY_CLASSES_ROOTmailtoshellopencommand registry key when it opens and change it back when it closes.
View 2 RepliesHow do I change the default taskbar Icon? I can change the application Icon but how do I change the "boxes" icon that appears in the taskbar? I found this but how do I change it to use a icon from file?[url]...
View 7 RepliesWhat I want to do is change the default Try Catch template so that includes the basic error handling code that is required by my company. I have tried to find the place where we can change this, but I only appear to be able to find out how to do things like change the class template and things like that rather than bits of code.
View 2 RepliesI was wondering if it was possible to change the default variable name that shows up in the auto-complete for a Try-Catch block. It populates as:
Try
Catch ex As Exception
End Try
I want it so it populates as:
Try
Catch excError As Exception
End Try
I am inheriting my own DataGridView (say MyDataGridView) from the standard DataGridView control. What I want is that certain properties of MyDataGridView should have a different default value than what its base have. For example, AllowUserToAddRows, AllowUserToDeleteRows, AllowUserToResizeRows properties should have the default values of False; so that when I drag MyDataGridView into a form in the IDE, the default values shown in the properties grid should be False. Later on, if I want to change them to True from the grid, they will be set accordingly.
View 1 Replies