Hide Form Label Text Like "password" Etc?

Jun 6, 2011

this is an exercise only but using VB2010 and trying to hide form label text like "password" etc. using the following functions ...

Public Function Encrypt(Value as String, nTip As Long) as String
Dim szTiped as String = ""
Dim nLen as Long, nInd as Long

[Code].....

View 1 Replies


ADVERTISEMENT

Hide/Show Items - Possible To Hide A Group Of Text Boxes From View In A Form

May 5, 2012

I'm curious if it is possible to hide a group of text boxes from view in a form until a particular condition is met, and to have a custom set of text boxes for that condition. To give an example; I want radio buttons offering choices for a manner of searching records, the user selects one and then a specific set of text boxes are displayed for the user to utilize, if a different option is chosen a different set of text boxes will be shown. Is this something that can be done?

View 7 Replies

VS 2010 Hide Label Text Behind Character?

Jul 10, 2011

I want to display the text of a label as a underscore character until specified otherwise. Kind of like how you can show text in a textbox as any character using passwordchar

View 3 Replies

Auto-hide Label After 10 Sec And After Label Hide Redirect

Jan 15, 2011

I have a label and button on label in my asp.net webform.i want when i click on button then label1 will be visible with text "Success" and then it will hide automatically after some time say 10 seconds.I M using asp.net (VB)How to auto hide label after 10 sec and after label hide redirect to the ~/Default.aspx ?

View 1 Replies

Use A Label And A Button - Label Should Have The Name Of The Programmer And The Button Should Hide The About Us Form?

Jun 30, 2011

In the about use should be a label and a button. The label should tell about the program and have the name of the programmer and the button should hide the about us form.Here's my code:

Public Class Form1
Private Sub ExitToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ExitToolStripMenuItem.Click[code].....

View 5 Replies

How To Hide Text Of Form Generator

May 4, 2010

I translated a vendor generated .NET program and started modifying.Later I realized it has most of the Form design text mixed with the rest of the code.How can i separate them or make it invisible without loosing the Form or my code.[code]

View 2 Replies

Hide Text In Word Using Form Input?

Sep 23, 2009

I have a word document (word 2000) and a drop down form field with options A, B and C.If the user pics A, I wants to hide some text and show some other text. If they pick B, then hide something else, show something else, and so on.How does one do this?I assume I need to pass the form field contents to a procedure or macro and then go into If >Then font.hidden = true or something? I've identified the text to hide/show with bookmarks, so I think I can use the bookmark as a range to hide or show?

How do I pass the form field content to the procedure? Also, can I trigger the procedure once the user selects something in the drop down? Like kick a macro off I'm thinking?

View 3 Replies

Winforms - How To Hide Password

Dec 26, 2009

I dont have any idea on how to make the password like this--> How can I do that in vb.net? so that the user will be more secured.

View 4 Replies

How To Change Label Text Using Textbox Text From Another Form In VB 2008 Express

Sep 17, 2010

I cant seem to find any link or topic regarding my problem. I have 2 forms in a project, form one has labels and adjacent combobox while the other form (form 2)has textboxes with adjacent combobox. I am supposed to change the text property of the labels using textbox entry from form 2 and add/delete/change combobox contents in fom 1 using entries combobox at form 2.

View 13 Replies

Way To Hide Password Of Database Inside Source Code?

Feb 15, 2012

Is there a way to hide the password of your database inside the source code? [code] As you can see the password is exposed, increasing the risk for the database to be compromise. Is there anything you can suggest how can I work around this one?

View 5 Replies

Place Text On Form Without Using Text Box/label?

May 9, 2012

I am new to the forums and just started to learn vb.net. Currently I am making a project that require a lot of text. Since I would need over 20 labels and do not want to hide every single one, is there a way to place text on a specific place on form through coding. Then, I could just make it a sub and easily hide the text and reveal it

View 2 Replies

Get Label's Text From Another Form?

Apr 5, 2011

I want to get label's text on one form from another from,i'm working on visual basic.

label's modifiers propert is public and
lblControl.Text = "1"

another form's code is:

Public frm
As
New
Form1()

[Code]....

View 3 Replies

Label Text - When Run The Code Form1 Load Together With Form2, Label.Text Flicker Or Blinking?

May 5, 2011

I have question about Label.Text.

When run the code Form1 load together with Form2.On Form2 I have Label1.I need that Label.Text flicker or blinking.

View 5 Replies

Checking AD Password - Create A Password Change Form For My Company's Vendors

Jan 15, 2012

I'm trying to create a password change form for my company's vendors. There are a couple of scenarios I could encounter doing this:

1 - User enters invalid current password
2 - New passwords do not match
3 - User's account is locked
4 - User cannot authenticate because password is expired

It's case 4 that I'm struggling with, because their is no way for me to take the password the user entered and verify it against active directory without getting an error.

View 5 Replies

Allignment Of Label Text On Form?

Jul 3, 2010

I have a label. Whenever i change the text, the text allows extends to the right. How do i get it so that the text extends to the left.Right now, the text covers up the control to the right of the label depending upon the lable text. i want to prevent this from happening.

View 8 Replies

Display New Text On A Label Or New Form?

Oct 7, 2009

I am developing a testing application consisting of 50 multiple choice questions each with 3 radio buttons to select the answer choices for my workplace and I just had a couple of questions concerning storing user input for review and displaying the next and previous questions. First - Would it be more practical to display each new question and the answer choices on a completely new form or in labels and just have the click event procedure of the Next button change the text properties of the labels and display the new text? Second - I want the application to store the user's answer choices so that at the end of the exam they can see how many they missed, which ones they got wrong, and then print the graded result. I have no idea how to store the input for later review and printing. Lastly - I would like the user to be able to mark questions for later review as they are taking the exam. For example, if the user selects an answer that they are not 100% sure of, the can mark a checkbox so that at the end of the exam they can review the answers they were unsure of. I guess I am just looking for some direction in developing this type of application. As of yet I have only done simple projects for school and this to me seems a bit out of my league. I have already designed the user interface and created a TOE chart but I would like some input on how to actually code the application.

View 2 Replies

Displays Text Into Label At Next Form?

Feb 24, 2011

I have two forms (form1,form2). Now I have button in form1 that executes to display text into label1 at form2. How to call it? Do I need to have module for this?

View 5 Replies

Print The Text To A Label Instead Of The Form?

Feb 26, 2010

Just a little help needed. How would I print the text to a label instead of the form. And how would I change the font size. Then how do I hide the form?This will then allow just the text to be shown,

[Code]...

View 12 Replies

Allow To Change The Password - Look For A Text File In The Same Directory Called "password.text"

May 25, 2009

i have made a program that needs a password to activate it but i would like it to look for a text file in the same directory called "password.text" as it will alow me to change the password.

[Code]...

View 5 Replies

VS 2010 Turn Only Selected Characters Into Password Characters And Still Be Able To Get The Password Text From The Text Property?

Apr 13, 2011

I'm making a custom control suited for handling passwords. I have created a control that inherits from a text box and I have implemented a lot of things so far. But what i want to do now is create a system so that when a user types It will display his last character typed for a X amount of time.Is there a way to turn only selected characters into password characters and still be able to get the password text from the Text property ?

View 3 Replies

For Each Label In WebForm Hide Panel

Oct 21, 2011

I am brand new to Vb.Net and was wondering how I could loop through each label and say if the label.text = 0 then Hide panel1. How would I get that accomplished?

[Code]...

View 3 Replies

Forms :: ComboBox - How To Hide Label

Jan 13, 2012

I am successfully hiding a combobox, based on the selection of another combobox. However, I can not get the label of the combobox to hide as well. The code I am using, which is basically the same code for hiding the combobox itself returns the following error:
Error 1 'DOCUMENT_EVALLabel' is not a member of 'WindowsApplication1.Form1'
Here is the code I am using for the label:
Me.DOCUMENT_EVALLabel.Visible = (EVALUATIONComboBox.Text = "Text")

View 1 Replies

Loop Won't Display Text In A Form Label

Nov 8, 2010

I am having trouble changing the text in a label. Can someone show me where the problem is?

Public Class Form1
Dim Tracker As Integer = 0
Dim Questions(10) As String

[code]....

View 1 Replies

Using Thread To Update Label Text On Form

Jun 8, 2010

I run a thread from my main form that do some stuff i want that each action that the thread do will be written on a lable on the main form. How can i do that? I try to give it a pointer of the form but with no luck since its not allowed by the compiler. here is how i create the thread object in my form:

[Code]...

View 2 Replies

Construct A Login Form With Text Box Control To Perform UserID Validation And Self Service Password Recovery

Feb 14, 2011

Design a form, which contain a TEXTBOX control that accept a UserID input, with a CommandButton control to perform a validation based on the criteria listed below. Display a Message on whether the UserID is Valid.

Criteria:

The UserID must contains SIX digits follow by a single character, limit the entry to a maximum of seven characters only.

The postfix character of the UserID is derived from the summation of all the six digits divided by seven and using the remain as followed:

Remain
Character
0
A

[Code].....

View 2 Replies

Hide Label For Marker Points In Mscharts?

Dec 16, 2011

In mscharts i m able to give label to the marker points using the function atabindcrosstable using the code

Chart1.DataBindCrossTable(dr, "something", "anything", "a_data", "label=c_score")

now i want to hide the c_score label for the marker points.

I m showing the label in the tooltip on mouse hover using the [code]....

View 1 Replies

Tabcontrol Click To View/hide Label?

May 13, 2009

i have a form with a tab control and two tabs and a label below the tabcontrol.. in tab one i'm editing files and such and the label below the tabcontrol shows the directory of the file i am working on.. what i would like, is to have that label not be visible when i click on tabpage 2..

so basically, i need the code for the tabpage select. like when when you click a different tab, a different command applies..

View 4 Replies

Change The Text Of A Label In My Form Based On A Timer?

Aug 10, 2011

In a piece of code I am writing I am trying to change the text of a label in my form based on a timer. I have MANY other labels that are all updating in their own subs and when I try to add any new labels(in any sub) to update it wont. I am using Label.Text = counter where counter is a string that is changing. I have tried refreshing the form, Label.refresh() Label1.Update()....The only thing I think it could be is that the redraw is being held up by other calculations on the cpu. How can I make the label text change and update properly?

View 1 Replies

Display Label Text On Form Load With Condition?

Feb 23, 2012

It didnt work for me and i dont know why. i want to display text on label when the form load.the text to display is according to the enable or disable state of some custom button .

[code]...

View 3 Replies

Form Label Text Is Not Displayed When Application Is Minimized

Jul 18, 2012

I have designed a windows form(to act as a messagebox) with Label and OK, Cancel buttons. I'm on form1 and call this messagebox form in the closing event. If I debug the showdialog of the messagebox form the custom text is displayed on the Label, however if the application is minimized and when i right click on the application in taskbar and select close window then the messagebox form is poped up however the label doesn't show the custom text.

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved