Set The Font For The Entire Application?
Sep 19, 2011
I 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 Replies
ADVERTISEMENT
May 10, 2010
I use a fontdialog box in my application allowing users to change the font details within my application. This works fine but unfortunatly I don't seem to be able to set the values in the dialogbox as they are read only.
Basically if the user has Bold Wingdings set and wishes to change it to something else then when they open up the fontdialog box I would like to be able to set the font to wingdings and bold so the user can see what they previously selected. Word seems to do this so why cant I?
View 1 Replies
Apr 17, 2012
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 Replies
Mar 7, 2009
How to list all font in combobox, and how to change selected font in list accordin font in combobox?
View 3 Replies
Apr 17, 2010
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.
View 2 Replies
Sep 1, 2009
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 Replies
Jul 28, 2009
I've recently began to use OOP in my application and now I'm stuck on how to use it properly.
View 2 Replies
Jun 7, 2012
I 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 Replies
Jan 25, 2011
This 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 Replies
Jan 12, 2012
Basically 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 Replies
Jun 14, 2010
Is there any code to download entire website to my start path of application?
View 14 Replies
Apr 30, 2010
I 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 Replies
Jul 5, 2011
I am creating an app that uses a special font (a font that does not come by default with Windows). I want to embed the font so that users will not see anysort of design flaws if the font is not installed on their computers. I want to embed the font in the application. How can I do it?
View 3 Replies
Jun 12, 2010
How can I embed font in Visual Basic .Net application? which should valid at every operating system.
View 2 Replies
Nov 11, 2011
I'm making application (Windows Form) that has font installed only in my system (not windows default fonts), and i want it to be embedded into my visual basic form application.
How to make that??
View 1 Replies
Dec 29, 2007
how to embed font to vb application. i want to embed special font to my application so that if user computer doesnt have the font , they will use the embedded font. i know how to embed file like image , icon but how do you get it back at runtime
View 6 Replies
Mar 8, 2012
how i can use an not-installed font in my vb application?
View 5 Replies
Aug 5, 2011
Im wondering if anyone would be able to point me to a very well detailed tutorial as to how to Embed a font into my deployed application , So when its installed on an end user,s computer, they can see the font.
I currently have this code and have embedded the font.ttf into the resource under the files option.
newPDF.addTrueTypeFont("..
esources" & fontName & ".ttf", fontName)
View 11 Replies
Dec 1, 2011
I want to create a VB.NET application, that is capable of accepting hindi/marathi fonts in the textbox
View 2 Replies
Jun 3, 2010
Is there any way to make my application to use a predefine font type and size so if in Windows the fonts are set to be large it will not effect my application fonts in the controls?
View 2 Replies
Jan 14, 2012
I'm making a VB .net program to build a word document, depending on some parameters.Now I want to do an input of a text in a table, where a part of the text is in bold and an other part not. In this case "This is my text andthis is my bold text".How can I do that?
Simple code:
oWord = CreateObject("Word.Application")
oDoc
[code].....
View 1 Replies
Aug 25, 2010
I can't change change the font size or font name or color of the text in the DHTML Editing Control. I have 2 listbox controls FontNameList containing all of the installed fonts on my PC and FontSizeList containing some numbers to be used as fontsize and I use the execommand and build my App but the font did not change instead it grew bigger but when I tryed to change it back it stayed the same. The Code for that was:
Design.ExecCommand(5044, False, Font.Name)
View 8 Replies
Feb 10, 2009
printing barcode 39 truetype from idautomation i already try their integration guide but it didnt work....i want my project to
1. Label1 changes to what i type in the textbox1(the label1 is a barcode i change the font of the label1 into IDAutomationHC39M font from IDAutomation)...ive already done that...
2. print the barcode(which is the label1) when i click my button named btnprint..but it doesnt print...
View 11 Replies
Jun 2, 2011
I am creating an excel report from vb.net. Now it works. But i realize that the apparent does not make sense. I just want enlarge some font size and change font name plus setting up the page to fit my receipt printer (Epson TM-T88IV).
View 1 Replies
Sep 29, 2011
I've developed a database application in VB.Net 2010 Express and published a ClickOnce deployment package, the only choice in the Express version. The installation is supposed to create a listing on the Start menu but this isn't happening. Also, I'm using a specialized Hebrew font in the application that is not carrying over to the installation. what I'm doing wrong or if the ClickOnce publishing method is not capable of working in this way?
View 2 Replies
Nov 16, 2009
How do i amend the read only properteis like font.underline, font.height etc I know its read only but there must be a way to amnd these.
View 4 Replies
Jul 27, 2010
everything tests well but when I evoke the function the dialog values default to selections other than what the text was originally/last set to (e.g., color, font, size, etc. in the dialog/menu is not what is shown in my rich text box).how I can set the above values per the text being recalled in the RTB? That is, in the above scenario if I hit the cancel button I lose the original text formatting.
Public Class frmComment
Private Sub FontDialog1_Apply(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles FontDialog1.Apply
If Not RichTextBoxPrintCtrl1.SelectionFont Is Nothing Then
[code]....
View 4 Replies
Jun 8, 2011
I am trying to make a program that basicly, on the click of a button, removes a font from the windows font list (Un-installs it) Is there a way to do this using VB.NET (2010)The reason I want to do this is to make a program to remove the 'Comic Sans MC' font from all computers I use my pendrive on?
View 9 Replies
Feb 2, 2009
how will I set the font style and font size of my textbox in a programmatic way? Also, if possible, a code that displays the different font style on a combo box.
View 3 Replies
Mar 3, 2011
I have a scenario to resolve using the font dialog code below. In brief, everything tests well but when I evoke the function the dialog values default to selections other than what the text was originally/last set to (e.g., color, font, size, etc. in the dialog/menu is not what is shown in my rich text box). [code]...
View 3 Replies