Show The Log In User On The Pc User Name On A Lable [2010]
Mar 16, 2012show the log in user on the pc user name on a lable [2010]
View 2 Repliesshow the log in user on the pc user name on a lable [2010]
View 2 RepliesI have a webbrowser and if the user is offline i need to be able to show a text lable that shows the browser / user is offline.
View 4 RepliesCan i use the timer when the user tries to log-in and the user entered a wrong password 3 times.i will give the user 5 mins to log-in again with the correct password and if the user enters the wrong pass. 3 times again i will give another 10mins also this is what i want when the user close the program the timer is also their and running that it will give the user the remaining tym on how much tym left 4 him to log-in again.Can i do this in vb.net??i dont know how 2 do this i dont have a clue if it is possible can someone give me a code??
View 9 RepliesHow can I get text from a Lable to show in the TextBox of an InputBox?
The code below shows the Label text on the InputBox but not in the TextBox.
Dim TitleText As String
TitleText = InputBox(TitleLable.Text)
I have an app where users form up an e-mail by filling out various fields. They give the form the data, then the e-mail is assembled in the background from all the data they put into the form. Pretty straightforward.
I've added a "Preview" button. When they click, I want a box to pop up and show them what their e-mail will look like when they send it.
I can use MessageBox.Show but these e-mails can get pretty long and as best I understand it, there's no way to control the MessageBox.Show size, word-wrap or add a scroller; so this isn't really appropriate to the overall task.
That said, the information IS all concatenated into a single string with CrLf and such in there for most fields. I just need something that I can send this to and have it create the output window at size X with auto-word-wrap and scroller.
Is there a straightforward way to do this in VB.Net 2010?
I have a form in my application, and when I logIn, I make a query to SELECT the username, the password and the level of username.
"SELECT username, password, level FROM TLogin WHERE [username] = @username and [password] = @password and [level] = @level"
So, when I logIn, I go to a form called "Options", I would like to know how to only show the information about the user that I've loggedIn ?
I have this code to show a user their internal IP address. How can I get their external one?
vb.net Dim h As System.Net.IPHostEntry = System.Net.Dns.GetHostEntry(System.Net.Dns.GetHostName)
MsgBox(h.AddressList.GetValue(0).ToString)
I have a combobox and a few user controls, and a panel (attached screenshot) now what i want to do is when i select a specific option in the combobox i want it to display a different user control in the panel.[code],...
View 1 RepliesI want too allow my users to be able to choose wether they SEE VISUALIZATIONS in the player in my app when listening to Audio through the Player. Also, how doo I let them choose different visualizatins for the player?
View 1 RepliesI am trying to show a message box when a user clicks the red cross in the top right hand corner of the screen (to close the current form) and I want to code the OK and Cancel buttons so that when the user clicks OK butto the form closes. This is what I have
[Code]...
I created a usercontrol which has a Textbox and a Label. Setting the (boolean) textvalidity property we can toggle the icons on the label to show if the user has entered a valid input.
Sub New()
' This call is required by the Windows Form Designer.
InitializeComponent()
[Code]......
The problem is... when the control is used... the constructor initializes it to true (According to my code) so the icon is already displayed.
Is it possible to show more than one user interface at a single time in order to show how to show how all relate in real time?
View 1 RepliesI am trying to show or hide tabpages as per user choice. If user selects gender male then form for male in a tabpage "male" should be displayed and if user selects female then similar next form should be displayed in next tab "female" I tried using
tabControl1.TabPages.Remove(...) and
tabControl1.TabPages.Add(...)
It adds and removes the tabpages but doing so will loose my controls on tabpages too... i can't see them back.
how to show to a user the file info of a file programamtically. Can I just use the Properties window that Windows use to show all the detals of a file (e.g. name, type, size, path, date created ect.) I am using the IO namespace
View 3 RepliesDoes vs2010 have this under a windows form?I have a text field that i want to show/hide depending if the user wants to view it. Like vista does "show more information"
View 1 RepliesIs there any way to use a DTP and have nothing but the slashes show until the user enters a date?
View 7 RepliesI can't seem to find a way to accomplish this task - I would like to be able to show a List of usernames with a female or male "icon", depending on the Application Settings the user selects. I have the following properties listed in my Application settings:
[Code]...
I am trying to show message when user didn't enter any data in datagrid and click on save button it should display message please enter the required fields but I am using this code for this purpose.
For Each cell As DataGridViewCell In DataGridView1.Rows(DataGridView1.RowCount - 1).Cells
If cell.Value Is Nothing OrElse cell.Value.ToString = String.Empty Then
MessageBox.Show("Please Enter the Required Field(s)!", "ITPCHR", MessageBoxButtons.OK, MessageBoxIcon.Stop)
Exit Sub
[Code] .....
When I click on save button without entering data it give me message please enter the required fields but when I enter the data in datagrid it didn't save data and gives same message please enter the required fields.
get all the computer user names and passwords to show in a text box? (in VB 2008)
View 6 RepliesI have designed this app with 5 pictureboxes. Each picturebox shows an image of a variation of a particular chord. Now, when a user types in (let's say) Cmajor (and it auto completes) how do I get the 5 pictureboxes to show the 5 different Voicing (Variations) of the Cmajor Chord?
View 15 RepliesHow do i make a form show when a user uses my application for the first time and only shows that time.
View 4 Repliesi've created toolstripmenuitems in design time.I named it to mnuUser,mnuKaryawan and form menu based on it too..I create a table that holds the data like this
position menu
admin mnuUser
admin mnuKaryawan
I'm wondering how to achieve suppose the admin logged in,then the menus will be shown?
How do I show the error icon when the user is editing the cell?
View 2 RepliesI am trying to trigger a tool tip when a user enters a cell in a DataGridView and starts editing it. The idea being that I want the user to know to hit the Return key after they are finished typing in a string in the cell. I only want the tool tip to show when the user is editing a cell in columindex 1.
The following below does note seem to be working.
Private Sub dataGridView14_CellEnter(ByVal sender As Object, _
ByVal e As DataGridViewCellEventArgs) _
Handles DataGridView14.CellEnter
'Only care about columnIndex 1
If e.ColumnIndex = 1 Then
[Code] .....
I need to show two rectangles on a user control which inherits picturebox.For that I have used pictureboxes (so that i can move and resize them), with transparent background. [code]
View 6 RepliesI was asked to create a slide show in Visual Basic 2010 that had to meet certain requirements but I've run into a few difficulties. I have a slide show that works but it doesn't meet my friends standard and I'm not sure how to go about this process.He asked me to meet these requirements: The Slide Show Project requirements of your project are:
1. The use of if statements.
2. The use of arrays.
3. The use of loops.
4. The use of graphics.
5. The use of key/mouse controls.
6. The use of images.
7. Allow user to set delay time for each photo.
8. Transition effects 1: Fade in, fade out
9. Transition effects 2: Fly in, Fly out
10. The use of timers.
11. Borderless, always centered.
12. Introduction Screen, Credit Screen.
13. innovations, special feature.
The code that I had previously came up with was as follows:
Public Class Form1
Private ImageFileNames As New List(Of String)
Private CurrentImage As Integer = -1[code].....
I pre-loaded my own photos into the slide show but I just want to know how to right this code in order to satisfy my friend.
In VB6 i use "Form.Show VbModal" to prevent user to interact with other window than current one.I wanna know how to do this in VB.Net?
View 2 RepliesI have a couple of user controls, which I show in my main form.
So let's say here's what i want:
Sub Show_Control1()
UserControl1.Show
'CODE TO HIDE EVERY OTHER DISPLAYED USER CONTROL ON THE MAIN FORM
End sub
Right now I have to hide them one by one with hide, because I don't know what's the current displayed form.
How to display login failure text if user logging in user role id differ than vendors role ... i m using the following code to authenticate user role during logging in
[Code]....
Windows Application
Front End: Vb.net
Backend: Oracle 10g
I am executing the sql query to fetch values and showing it in my datagrid..and when i do that it works perfectly fine...and problem is that it takes 10 min for my datagrid to fill...so in between i want to show the execution time to the user in another form till my query processing completes..
My
Dim oradb As String = "Data Source=zorb;User Id=baady;Password=zacky;"
Dim conn As New OracleConnection(oradb) ' VB.NET
Try[code]......