Superscripting Not Working - Disappears And The Text Becomes In Its Original Form
Nov 14, 2009
I am making a program for easily entering maths symbols. For entering the powers, I superscipted the text in richtext box, but whenver I use another symbol, the effect of superscripting disappears and the text becomes in its original form
[Code]...
View 6 Replies
ADVERTISEMENT
Nov 14, 2009
I want enable superscripting when a button is clicked in windows form. I know there is a hot key for that but I want this to be done by the click of a button.
View 1 Replies
Jul 29, 2009
My application uses several checkedlistbox controls, datagridviews, and textboxes.I'm using the checked list box to provide a more intuitive interface for the users -- they know what they selected by the check mark.I have a binding source for all the individual textboxes (they are in one table) and a binding source for the datagridviews.I use the insertonsubmit and deleteonsubmit for changes made in the listboxes.I can then use the getchangeset to determine if any changes were made to the record.My problem is that sometimes a user only wants to "test" inputs to a record but may not want to have those changes actually made to the database -- or an error was made and they want to "undo" the inputs.How do I remove the unwanted changes and allow the user to continue working with the original data?
View 7 Replies
Apr 4, 2011
For a while i have been playing a guessing game with this line of code.
If Sdown = True And Shooter.Top >= Me.ClientRectangle.Height Then
Shooter.top += Shooterspeed
End If
Basically i have a shooter on the form and whenever i press the down key the shooter moves down the form and disappears off of the bottom of the form. I have been trying to get this to stop for some while.
View 5 Replies
Mar 14, 2012
I have a Windows Forms application which uses a tabpage control. On one of the tabpages (TabPage4) there is a checkbox (CompleteCheckBox), and when anybody checks that checkbox, two textboxes next to it have text put into them, and a checkbox[code]...
View 11 Replies
Feb 24, 2009
I have a form that I am using to search for records in a dataset, it has a text box for entry of the search criteria and a 'Search' button to initiate the editing of the entry and .Filter on the BindingSource. This is one form in a project with many, when I show it using .ShowDialog it always disappears, (not visible and not loaded) after the 'Search' button is clicked, I have stepped through and there is no .Hide or .Close that it encounters, it performs all of the logic correctly but control is returned to the main form it was shown from. When I use the .Show method, I do not have this problem.
View 5 Replies
Jul 30, 2010
I am working on a web browser with the url bar in a tool strip.I have noticed that whenever I resized it, the textbox stayed the same.
[code]...
View 1 Replies
Jun 18, 2009
This happened to be once awhile ago and I thought I had the solution, but apparently I don't. Very rare, but what happens is, I'll start a new project, build my controls on the form, go into the code window and write some code. I'll save this all out, but when I reload the project, the code window comes up OK, but the design window is just gone. The code for the form and all the controls is still there in the form.designer window, but the form itself just will not appear, and there is no icon for it over in the Solution Explorer to click on
View 1 Replies
Aug 5, 2010
want to make the text in the textbox control disappear when clicked
View 6 Replies
Jul 24, 2009
I have a custom UserControl that I am hosting inside a FlowLayoutPanel. Each time that I run the application the control will disappear off the hosting form's design view. I have to close the form's design view and then reopen it each time. The control is not getting removed in any way, just isn't being shown.
Edit, alright this got a bit weirder. Only the first usercontrol that I put into the FlowLayoutPanel disappears. This problem also happens on a project Build and Rebuild.
View 8 Replies
Dec 8, 2011
I have a report (vb.net - rdlc) and I have two buttons - preview (which brings up a preview window) and print which allows me to print the report directly to my default printer with no interface whatso ever.When I call the print the calling form disappears or at least goes behind any other open windows - ie if I have MS word open my whole programme would go behind word and I loose focus)I found the code on the net to print directly and it is basically creating a stream to do the printing. [code]
View 3 Replies
Apr 15, 2009
Is there any way to get the original text from a Asp:Label on a page, after the text has been altered?
with the orginal text i mean the text that is hard coded into the asp.net markup.
View 2 Replies
May 16, 2011
This is a big idea and I'm unsure of how easy or difficult this really is. I do not know how I would get this even started. What I am trying to accomplish is "docking" so to speak, a sub form into the original. Basically, there are 2 forms open, but one is like a helper so to speak. This concept is not new as many programs use it. An example is a program widely used call Teamviewer. If you use Teamviewer, open the "Partner List" Pane at the bottom to see exactly what I am talking about. Basically, it opens a new form that is next to it.
[Code]...
View 4 Replies
May 20, 2010
I have 2 forms. Form1 and Form2. When Form2 is closing, how do I make Form2 to inform Form1 that Form2 is closed.
View 2 Replies
Feb 15, 2009
possible to reload a form to its original state?i.e all pictureboxes, labels, functions are back the way they were when the form loaded.
View 1 Replies
Aug 22, 2010
Can anyone please explain with the easy coding how to reverse this algorithm so that I get back the original text string?
Public Function CreateIntChecksum(ByVal s As String) As Integer
Dim r As Integer = 0
For i As Integer = 0 To (s.Length() - 1)
[code].....
View 6 Replies
Jun 15, 2012
I have settings called set1 and what I want this to do is when I open up a form and I then click close is doesn't show it anymore it shows the original one.
View 11 Replies
Feb 11, 2012
I have a simple translating program i working on in vb 2010.I have a combobox and a textbox and a button. What i have so far is when you select the option in the combobox the textbox and button will appear. then when you type something it replaces each letter with something new, in the same textbox.what i cant figure out is how to make it so where if i click the button again it translates the replaced letters back to the original ones.
View 2 Replies
Sep 16, 2010
I'm receiving some Strange Characters in my chat application , If anyone tries to send NON ENGLISH text then instead of showing the original text it display some Strange Characters like below :
�نبه
I'm not sure what's that and why i am getting it , Is there any way to convert these characters to normal text lol
View 5 Replies
May 6, 2009
i want to resume layout of form . how can i do that. every i run program. the location of controls change i want to get original location of controls.
View 5 Replies
Oct 25, 2010
This might seem like an odd question, but is there a way to make it so that any form that is created based on another, would have some comments in the code behind of the new form?
For example, i create a form called frmONE, and i put in code like this:
Overridable Sub frmONE_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'Make sure you call these functions, in this order:
[Code]....
View 4 Replies
Mar 30, 2011
I have a form that I want to have a control box so you can close it at any time but I don't want it to be movable from its origainal position. It opens maximized and I want it to stay maximized. I've tried all the different FromBorderStyle options in properties and I've tried all the SizeGripStyle properties though I can't say I've tried all the combinations possible between those two but whatever I've tried I can always click on the border at the top and then the form breaks free from its starting position and when it does the vertical scroll bar disappears.
How can I have this form stay in place with the vertical scroll bar and the control box and not break free from its starting position if someone clicks on the border at the top? If I try FromBorderStyle None then I don't have control box to close it. I was looking at the form events list and I noticed when I break the form free by clicking on the border that that is a ClientSizeChanged event.
View 2 Replies
Jul 13, 2009
Public objword As New Word.Application
objword.Documents.Open(FileName:=ofilename)
^ Showing the declaration of the word document that i wish to edit.
Dim oDoc As Word.Document
objword.Visible = True
oDoc = objword.ActiveDocument
oDoc.Range.Text = codes(j, 1) & " " & codes(j, 2)
This gets the document and adds text into it, exactly what i want it to do. But it replaces the whole document. I just want it to add text at the start of the document. Not replace the whole document.
View 3 Replies
Apr 12, 2011
how to bring the search window back to its original form when it has filled the whole screen? Usually there are at the right upper corner small buttons to resize or to close, but I don't see them (visual basic 10 express edition)
View 3 Replies
Jul 16, 2009
How do I revert a form including the controls back to a original state without closing the app? For example I got a picture box and 2 buttons in a form..
[Code]...
View 7 Replies
May 24, 2012
In a large old application I have to fix, I have two forms, like in the image (that is a Notepad example)
When I leave (with mouse cursor) my small(Y) form's area, that form will "disappear", some like I'd clicked on the big form and activated it.
But I didn't click on X, neither the X caption is active, however the small Y form goes backward and is not visible anymore.
How to track the problem?
Any of Resize, Activated, Deactivate, LostFocus, GotFocus, GiveFeedback, MdiChildActivate is not tracked on any of both forms when I leave the Y area...
View 4 Replies
Feb 25, 2010
I am creating a Pizza Order program as part of my coursework college. why something isn't working.
Quote:
lblTotal.Text = Val(Form2.lblPizzaTotal.Text) + Val(Form3.lblDrinksTotal.Text)
The code above is what I am using to add the Value of Label 1 (Pizza Total) and Label 2 (Drinks Total), however it seems that in the final total it doesn't appear to add the value of Label 2.
View 8 Replies
Aug 20, 2010
I try to add text strings to an image but keep the metadata of the original image. The problem is How can I save ImgMetaData (from the original image) to the new image?
Here are the codes:
Public ImgMetaData As BitmapMetadata
Public myImageCodecInfo As ImageCodecInfo
Public myEncoder As Encoder
[Code]....
View 12 Replies
Aug 22, 2011
my goal is to
1.Take an file(exe,dll,etc)
2.Convert it into hex
3.place that hex values in a stack
4.Execute the values inside the stack to its original form(i.e. take the elements out of stack and then convert it to a compile format)
Imports System.IO
Sub Main()
Dim fileName As String = "ABC.exe"
[code]....
View 1 Replies
Jun 19, 2009
I have a combobox..... When a user clicks on the list inside the combobox my webbrowser opens to the selected items website.how to make the combobox go back to the original text of the combobox?
Example: Combobox list
---- Select Item ----
Royals
Mets
[code]....
When the user see's the screen the ---- Select Item ---- is visible. When a user clicks a teams name it opens the teams website and the name stays in the box. I want it to go back to ---- Select Item ---- immediately after they click a list item.
View 15 Replies