Forms :: Contents Of TxtPassword Hidden?
Apr 4, 2010how do I make the contents of txtPassword.Text when they type their password in. I need it to be hidden, like dots, when you log into your computer.
View 1 Replieshow do I make the contents of txtPassword.Text when they type their password in. I need it to be hidden, like dots, when you log into your computer.
View 1 Replieshow do you make a statement that sets the focus to the txtPassword control?
View 1 RepliesI have a new application, and for some unknown reason, it's hidden behind other opened applications. It is shown when launched on desktop only if desktop is empty. How do I force my application to be in front of desktop ?
View 1 RepliesIn v2003 setting the form property 'ShowInTaskbar' to FALSE would hide the form from the task bar but also hide the form if I did a 'ALT-TAB'. This is not the case in v2005. WHY and how can I hide the form for 'ALT-TAB'. The form has to be border-less.
View 7 RepliesBeen a long time since my last thread but here we go.I'm using VS.NET 2010 Prof Beta at the moment and I'm trying to list all Nic Cards and their settings into a text box. I succeeded with a script from the web (which had an error in the first place) and some adjustments to it.
It lists all hidden devices too (as to be shown in Device manager: Show hidden devices) I worked my way around it and let it jump to next if it doesn't have a IP address, but I find this a bit clumsy and want to really skip them if they are hidden and not just the way I did this now.
Plus it still does show the same NiC (different name, same MAC#) in the list because it has an IP, but in Device manager this one is hidden.[code...]
I have a windows form that I bind to a datatable via a binding source. The binding is done in code at run time. Eg;Me.txtCode.DataBindings.Add(New System.Windows.Forms.Binding("Text", bsForm, "ToolCode", True)) (bsForm is the binding source)This works well except if the form control is hidden (I have a couple controls on the form that hold Record ID and Version numbers that the user doesn't need to see). Databinding doesn't seem to work reliably for hidden controls.
View 10 RepliesI have a combobox populated from the DB with:
-ID
-State
-Tax
State is the only value that is shown.I'm trying to get the hidden value, Tax, from the combobox based on the selection but can't figure it out.
I am using a Windows Dialog form in my VB 2008 project. I bring up the dialog form no problem with the following
Dim resultNewInc As DialogResult
resultNewInc = frmDialog.ShowDialog()
If resultNewInc = DialogResult.OK Then
...some code here ...
End If
And in the Dialog Form, the OK button has code
Me.DialogResult = System.Windows.Forms.DialogResult.OK
Me.Close()
But there is one problem. If I call up the dialog form again, the form controls have the text values that were typed in during the previous instantiation and a class which is part of the form was not disposed. So it looks like the form is being "hidden" and not closed. I tried to use the code form.dispose but it didn't work.
I want to make 5 attachment options in that 4 out of the 5 are hidden.but when he clicks "more attachment" link it will show the other 4.Im using ASP.NET with VB?
View 2 RepliesI am developing a roster application , where i want to display details of 20 employees on the same form. In the design time, i managed to display 6 employees. But when i try to expand the form , it no more allows it. the" maximum size" is set to ( 0,0). Any ideas how should i go about it ?
View 2 RepliesI have a listbox that acts as a running log, and I need the contents to be emailed to my boss.Currently I can only get the first item that is selected to be sent, but I want all the contents of the listbox to be in the email body.My goal is to have the whole log in the listbox send, without having to select anything.
Dim Log
Try
Dim Mail As New MailMessage[code].....
At work we have a txt file with items recorded in them
The coloms are typical of
Apple, *fruit
Cow, *animal
House, *thing
Tree, *plant
Is it possible too read through this txt file to check if apple aready exists. I namely want to build a preventative for adding double items...
I have a list box that contains an array of ID's in one form. On a seperate form I have a combo box. Basically I want the list of ID's from the list box to be transferred to the combo box in the other form so the user can select an ID from the drop down list.
View 7 RepliesI have a normal form and normal textboxes. When the focus passes to a one-line textbox with text in it, I want to force the text to be selected and highlighted. When the focus passes to a multi-line textbox, I want to force the text to NOT be selected or highlighted, and the cursor to be at the end.I have the code HTML
Private Sub TextBoxMultiLines_Enter(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBoxMultiLine1.Enter, TextBoxMultiLine2.Enter etc. etc.
'Either:
[code]....
After the initial TAB, the code works fine when you use the Enter key. How can I overcome the 'use TAB key first' problem?
Not sure what I am doing wrong here but I have 2 buttons and a rich text box. The issue is when I click the second button to add text to the rich text box and it over writes the current text that is already in the rich text box. How can I code this second button so that the text is added to the rich text box and not replacing the current text?
Here's my
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
RichTextBox1.Text = "This is the first line"
[Code] .....
Also how can I add spaces in a line of text (or in the middle of a sentence) so that I can insert a variable in the line.
Example:
"This is the" variable1 "line of text"
"This is the" variable2 "line of text"
I have a form called 'Bookmarks' that loads a bookmark file that contains a single word on one line. I have put buttons on the form for sorting this list, deleting items and changing the character case to lowercase, uppercase or Sentence Case.Now, deleting and sorting the list works fine, but when I try to change character cases,nothing happens. I started the debugger and found that my case changing code does work, but the listbox doesn't seem to update it's contents.I tried listbox.Update() and listbox.Refresh() but that didn't work either.
Here's my code for 'Set Case':
Private Sub setCase_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles setCase.Click
If bookCase = "default" Then Exit Sub
If bookCase = "lower" Then
[code]....
I started programming in VB2008 couple of weeks ago (I'm using the express version) and I'm getting stumped by this ridiculously simple problem. I am trying to retrieve varying parameters from an external application and display their values in real time on a windows form control e.g. a label or text box. I already know what class and methods to reference for that, however I can only display instantaneous values (unless I use a .click event handler, but thats foolish I want them displayed without my intervention) I tried writing a loop in form load event handler but that prevents the form from loading. I also tried a loop in another module but that doesn't work either.
View 2 RepliesI'm trying to write a program that detects the contents inside a textbox, and if empty displays a warning, and does not input anything into a rich text box. However, if something is detected, it would not display the warning and input the textbox's text into the rtb.
I got everything else, just need help with the textbox detection code.
i have an array of booleans whose current boolean values I want to preserve but add additional length to the array? How can I achieve that? My code looks like this:
Dim Array() As Boolean
Dim ArrayInterimShort() As Boolean
ReDim Array(119)
[code]....
I am trying to create a code where I placed sets of numbers in an array.I'll use a masktextbox to have the user enter the numbers to match what's in the array. If the user enters the number, ex: social, and the data is correct (matches the numbers in the array), something happens if the number entered in the masktextbox does not match any of the number sets in an array then another thing happens.The masktextbox so far only validates format and gets number only, however, I want the number entered to match whats in the array.
View 1 RepliesI have a form where a number of textboxes are programmatically created within a flowLayoutPanel and named by adding together 2 strings.
With the click of another button i hope to have all the values entered into these text boxes stored in a text file. However, i cant seem to find a way to add strings together to allow me to retrieve the values entered within the text boxes created.
Below is the code i have so far: BTW FLP is my flow layout panel and c is my calculated nmber of textboxes that are created.
Private Sub createTB(ByVal c As Integer)
Dim x1 As Integer = 1
Dim y As Integer = 2
[Code]....
I am using VS2008 and creating forms. By default, the underscore of the character in a textbox when using an ampersand is not shown when I run the application. ex. "&Goto Here" is not underlining the G until I press the ALT key.Is there a way to have this underline the text that I put an ampersand in front of when the form/application starts instead of having to have the user press the alt key?
View 1 RepliesI have a little trouble with my code. You'll see. I'm using the developer express ridControl tool. I have a Gridview in it with a table bound to it. The control lets you filter your info. I have a Select all button that works, the only problem is that if you filter the data and press the select button it selects all the rows, not only the ones that are actually shown on the grid, and I need only the shown ones.
View 1 RepliesI have a grid column, of which, row X is hidden. I want to pick the values of each column's row x, perform some calculations at client side and display it in row y(through client side code). I am not able to pick values from hidden field in client side. Is there a way I can put those values in a client side array using javascript code, and use it for my calculations. Also when page posts back, the array should get updated with latest values.
View 2 RepliesI'm trying to find out a way to where you can tell if an HTMLobject is hidden or not. The code for the hidden object is in the document, but how do I tell if its being hidden in the browser or not?
View 7 RepliesI'm trying to find out a way to where you can tell if an HTMLobject is hidden or not. The code for thehidden object is in the document, but how do I tell if its being hidden in the browser or not?The HTML code is here.
<div><spanid="ctl00_cphRoblox_UserNameAlreadyTaken"style="color:Red;">This username is already taken!</span><spanid="ctl00_cphRoblox_SuggestedUserName"style="color:Red;">This username is already taken!</span></div></div>
[code].....
I'm trying to run a console window hidden while using CreateProcess(I can't use the ProcessStartInfo class because I have to run it with some other special settings)I have tried to use the CREATE_NO_WINDOWS flag, but somehow, the console still pops up. This is the code I have:Dim ProzessInfo = New Process_InformationDim StartInfo = New Startup_Information, PS = New Security_Flags, TS = New Security_FlagsIf CreateProcess(Nothing, target, PS, TS, False, PROCESS_CREATION_FLAG.CREATE_NO_WINDOW,othing, Nothing, StartInfo, ProzessInfo) = 0 Then MsgBox("Couln't st
View 1 RepliesI'm using Windows Task Scheduler Wrapper to schedule the tasks (basically to launch an exe console every two minutes or so) in a .net desktop application.However, I don't want it to pop-up the console every 5 minutes or even once. How do I hide it? I understand if I was using vb.net to launch the exe, there are several things I could have done. However, I am using windows task scheduler to launch it.
View 1 Replieson localhost its fine but on the webhost it gets hidden I can't figure it out.
This is the url where its hidden: EDIT: Removed url...
Followed Rob's webcast, did as he did, watched T4 generate the code, went to use the new namespace and oh. No namespace. I can see the namespace Test.Data in each of the generated .cs files, the tt files are included in the project as is subsonic.dll, there are no errors (I managed to get rid of a warning for the duplicate directives) but I just can't see the namespace. To test it out I am building a simple vb.net console application so wondering if there is a conflict there. Using v2.2 against the same db works fine.
View 1 Replies