I am compiling and deplying my program on CD. I am using the PAINTSTROKE font in my program. This font is not on everyone's computer. How do I tell VB 2005 IDE to include it? I assume this would work with any font that may not be on another computer.
I'm making an editor for my app. which allows the user to change properties of the controls including the font.I'm storing the values in a collection but I'm having trouble re-setting the fontstyle from the stored value. I'm storing the font information like so...
Is there anywhere I can add folders to my project, so when someone downloads my project/program they automatically get the files I added into it. Say I want to include a data file, and my program automatically uses that file for my RichTextBox1 - And everytime they save, it saves to that file - And when they open up the program again, it opens that automatically preloaded file that came with the program?
I have created a windows exe project called MyCalculator,I have added setup deployment project.I have also added a class project and added a class called Sqlclass, code in this class is stated below
Public Class Sqlclass Public Sub New() Dim myProcess As New Process Dim SqlArguments As String
where to call the above class in deployment project so sql server installed automatically using the above parameter.check the above weather it is correct. After installation will the folder sqlexpress2005 remains?
I have a web service that I'd like to include as a project reference inside a windows forms application. (The application will be running on non-networked hardware.) I could simply copy the *.vb files I need into my forms project, but I'd rather not fork the code base.It wasn't hard to include the ASP project in the windows forms solution. However, I can't figure out how to reference it in my forms code.
I want to be able to add a folder (and inturn, all of it's contents including subfolders) to a setup project. I can manually add a folder, then manually add all of the files for that folder; but this is a NetHelp folder with lots of subfolders and files.
Is there a way to tell the setup to add everything in a folder to the setup files to be distributed??
I'm trying to find out how to ensure a font is found by a project.I would expect to be able to add it (Them) to the recourses but can't find how to do that.When I get to 'Add item' I've tried 'New' and 'Existing' but can't find a template for fonts, so I'm lost (again).
I have created a program using VS2008 with Windows 7. The font I have used is Segoe Marker. This looks great when I develop it but when installed on another machine that does not have this font looks pretty awful.How do I include the Segoe Marker font in my project so that whatever machine it is installed on it will show as it is when I developed it.
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:
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...
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).
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
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?
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.
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]...
I'm creating a basic text editor and I wish to include the option to change the font, font colour and background colour of the text box. Is there a way I can ask VB to display a font/font colour selection box or do I have to populate a combo box and code it all myself?
Is it possible to apply two font effects to a New Font?
Like this:
Dim fnt As Font = New Font(Me.Font.FontFamily, 10, FontStyle.Bold, FontStyle.Underline).Obviously, this is too many arguments, but what is the correct way to apply both the Bold and Underline font effects?
I'm trying to use Linq to loop through all fonts in the %windir%Fonts folder and find the one that has a property title of "Arial" (or any Font Family name supplied), but I can't seem to access the font properties (things like "Title", "Font style", "Designed for", etc.).
The following is only giving me the basic file info: Dim fontDir = Environment.GetEnvironmentVariable("windir") & "Fonts" Dim fontFiles = From file In My.Computer.FileSystem.GetFiles(fontDir)
I need to search a term in pdf file to get font of all occurrences of the term with its corresponding font information and next 5 words of each occurrence.
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?
For reasons that are beyond my control, I have three Projects. Projects A and B reference project C. Project A references project B so that it can open a large form in project B. I now need to open that large form from project C, but VB won't allow me to add a reference from C to B because that would create a circular dependency. I found a way around it, though. I created a Timer in A, and when I opened C from A, I passed in that timer. When the user performs a certain action, I enable the Timer from A, and this causes C to open B for me.
I have a project that I have created, it something like a contact database.It is complete with its own sql server database, and controls and forms.I kinda of understand that I can include this project into another project.This is the tricky part,Can I include my contact project into another project and add more items to the database and forms in a new project?What I'm after is like using classes.My contact database would be like the base class, and the new project would be adding more features to that project.
If RichTextBox1.Text = "" Then MsgBox("No text selected!", , "Warning!") Else
[CODE]...
I created a button , i have a richtextbox , i want to do this : i will right something in the richtextbox , and when i will select what i wrote and click on the button it will replace it with <font color="">something</font>. but instead it rights next of what i selected .. any clues how to replace it and not right next to it ?