PrivateSub cmbcustomer_SelectedIndexChanged(sender As System.Object, e As System.EventArgs) Handles cmbcustomer.SelectedIndexChanged
txtticketnumber.Text = "9" + Format(cmbcustomer.SelectedValue, "0000")
Catch ex As Exception
Hi to all.This Is Lakshmi Dhivya,Iam doing my Engineering on Information Technology(IT),and I have decided to make an editor with all possible formatting options.
I have selected vb.net as a programming language for my project.
I have started designing the Rich Text editor,but Iam unable to change the font size alone with different font text selected.I have added a font comobox and a size combobox,but i need to change font alone and size alone with different font text selected.
You have not really explained what the problem is. If you select a new font from the font combo then the current font size should be used. And if you select a new height then the current font should be used. Alternatively you could use the FontDialog class[^].
You have to create a new Font object, based on the previous font object, with the new FontSize. That's the bad thing with Fonts: they are immutable, and changing a property of a font can only be done be creating a new one with the different property.
I have found that in wordpad if you select a text content typed in different fonts the font combobox will not show any font and if you change the size, only the size of the selected text changes and not the fonts.
How To do this.
This Is my Problem,I think i have told the exact problem.
Bernhard has explained what you need to do. Remember, what you see on the menu of Wordpad does not tell you what is happening internally. Every time you want to display characters in a particular font then you need to create a new one, even if you are only changing the size.
Friends I tried out finding some of the system information
I found out whether it is 32 bit or 64 bit ,cpu name, physical memory,usermame and systemname.
my antivirus blocked it and asking me to provide unlimited access
i gave unlimited access and it shows the information.If i give limited acces the application is not providing the information only empty labels being displayed.
I am using "COMODO" antivirus.
I thought of providing "Full Trusted" to my application through code but i was not able to do so.give me some help
As Pete has already mentioned, the order doesn't really matter. Behind the scenes, they're two different methods, anyway.
On top of it, you can have a get without a set (read-only property) and a set without a get (write-only property). And the access modifiers for the get and set can be different. For example, the get could be public and the set could be private.
Last Visit: 31-Dec-99 18:00 Last Update: 17-Mar-14 4:54