Welcome, Guest
You have to register before you can post on our site.

Username/Email:
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 2,807
» Latest member: KarenOrimi
» Forum threads: 856
» Forum posts: 3,643

Full Statistics

Online Users
There are currently 2 online users.
» 0 Member(s) | 1 Guest(s)
Google

Latest Threads
Looking for Adventure? Fi...
Forum: Random Discussion
Last Post: iHOMEz
11-16-2024, 09:18 PM
» Replies: 0
» Views: 512
Prettys Womans in your to...
Forum: Random Discussion
Last Post: iHOMEz
10-30-2024, 07:45 AM
» Replies: 0
» Views: 806
Prettys Womans in your ci...
Forum: Random Discussion
Last Post: iHOMEz
10-26-2024, 10:50 AM
» Replies: 0
» Views: 825
Beautiful Womans from you...
Forum: Random Discussion
Last Post: iHOMEz
10-19-2024, 02:48 PM
» Replies: 0
» Views: 924
Prettys Womans in your ci...
Forum: Random Discussion
Last Post: iHOMEz
10-06-2024, 05:00 PM
» Replies: 0
» Views: 1,082
Womans from your city - V...
Forum: Random Discussion
Last Post: iHOMEz
07-28-2024, 10:26 AM
» Replies: 0
» Views: 1,461
Supreme Сasual Dating - A...
Forum: Random Discussion
Last Post: iHOMEz
06-14-2024, 11:28 AM
» Replies: 0
» Views: 1,884
Beautiful Womans in your ...
Forum: VB.NET
Last Post: iHOMEz
06-09-2024, 09:23 PM
» Replies: 0
» Views: 1,690
Hangman in Rust
Forum: Other
Last Post: brandonio21
02-04-2018, 11:14 AM
» Replies: 2
» Views: 20,706
How to: Search files from...
Forum: VB.NET
Last Post: brandonio21
11-25-2017, 12:55 PM
» Replies: 1
» Views: 16,018

 
  What does your Desktop look like?
Posted by: brandonio21 - 05-28-2012, 11:11 AM - Forum: Computing - Replies (13)

I recently spent about an hour reorganizing my in-computer Desktop, and here is a screenshot of it!

[attachment=0]<!-- ia0 -->darkDesktop.png<!-- ia0 -->[/attachment]

Since I like this new design so much, I was curious as to what other members' desktops looked like, so I setup this thread where we can all share and discuss! Post a screenshot!



Attached Files Thumbnail(s)
   
Print this item

  making a windows login system
Posted by: Bradley - 05-28-2012, 04:47 AM - Forum: Programming Help - Replies (3)

Hi,
Thanks for taking the interest in this post. I am trying to make a system Login using windows username and password I have got the code for the username already which is

Code:
Public Class form1
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        TextBox1.Text = System.Environment.UserName
    End Sub
End Class


What I need is how to confirm the windows password is correct

Example

If John had an account on a windows machine the username will display as John
And then he enters his password the same as he would in windows it then checks Johns permissions and displayers the appropriate form

2 forms

1 Administrator
2 standard users

The code to verify the users rights I have used the following

Code:
Public Class form1
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        If My.User.IsInRole(ApplicationServices.BuiltInRole.Administrator) Then
            TextBox2.Text = "Administrator"
        Else
            TextBox2.Text = "Standard"
        End If
    End Sub
End Class


So the only missing peace to the puzzle is confirming the password

Any help is grateful or if you could give me guidance on where to get this information

Kind Regards

Bradley

Print this item

  Searching in labels
Posted by: brco900033 - 05-25-2012, 09:51 AM - Forum: Programming Help - Replies (3)

Hi all

I have a question about a code on how to search in labels in my windows form and highlights the text then. It has to search in one windows form and only Labels not Textboxes, Richtextboxes...
I don't know if this possible but I hope so.

Thx

Print this item

  Change full row select back colour or list view
Posted by: Bradley - 05-21-2012, 04:23 AM - Forum: Programming Help - Replies (3)

Hi Team Of Programmers,
I need your help of a problem that is frustrating me I have a list view box and I want to change to full row select back colour I have already achieved this for list box but the settings are different this is what I am wanting to do for list view any help will be gratefully taken on board

[Image: untitled.jpg]

Code

Code:
Private Sub listBox1_DrawItem(ByVal sender As Object, ByVal e As System.Windows.Forms.DrawItemEventArgs) Handles ListBox1.DrawItem
        Dim clrSelectedText As Color = Color.Black 'Our color for selected(text)
        Dim clrHighlight As Color = Color.LightGreen 'Our background for selected items
        If e.State = DrawItemState.Selected Then
            'This item is selected
            'e.DrawBackground()
            e.Graphics.FillRectangle(New SolidBrush(clrHighlight),
            e.Bounds) 'Fill the item's rectangle with our highlight
            e.Graphics.DrawString(ListBox1.Items.Item(e.Index),
            e.Font, New SolidBrush(clrSelectedText), e.Bounds) 'Draw the text for the item
        ElseIf e.State = DrawItemState.None Then
            'This item has no state
            e.DrawBackground() 'Draw our regular background
            e.Graphics.DrawString(ListBox1.Items.Item(e.Index),
            e.Font, Brushes.Black, e.Bounds) 'Draw the item text in its regular(color)
        End If
        'Draws a focus rectangle around the item if it has focus
        e.DrawFocusRectangle()
    End Sub


Kind Regards

Bradley

Print this item

  How to exit sub of form1 using form2?
Posted by: Himansh - 05-21-2012, 12:29 AM - Forum: VB.NET (Visual Basic 2010/2008) - Replies (5)

Hi everybody
I have created a software and have added a form2 to it
In form1_closing event i have added the code
form2.showdialog
In form 2 i have added a button "Cancel"
I want that when the user press this cancel button then it exits the form_closing sub which prevents the software from Closing

Can anybody tell me How to Do it

Thanks in Advance!!!!

Print this item

  How to Make button performs keyboard Button Functions?
Posted by: Himansh - 05-18-2012, 10:15 PM - Forum: VB.NET (Visual Basic 2010/2008) - Replies (1)

HI Everybody

I am creating an Application in Visual basic and have put a Button on it
i want that when the button is clicked then it performs the function (which is performed when we press the "END" Key on our Keyboard) without actually
pressing "End" Key.

Any Kind of Help Will be a Booty for ME.

Thanks in Advance!!!!!!!!!!!!!!.

Print this item

  Cool Little Bp Logo/Button i made
Posted by: Gamester699 - 05-17-2012, 04:38 PM - Forum: Computing - Replies (3)

Heres a button/logo i made... anybody guess which program i made it in?



Attached Files Thumbnail(s)
   
Print this item

  How to filter multiple extensions in OPendialog
Posted by: Himansh - 05-16-2012, 11:08 PM - Forum: VB.NET (Visual Basic 2010/2008) - Replies (1)

HI Everybody
I am creating a Software called HTML-Editor inspired from
HTML-IDEx created by brandon

I have also added open button in Menustrips which opens the opendialog1

I have added three extension to it
Webpage(*.html)
Text Files(*.txt)
AllFiles(*.*)

Now you all know that there can be many extension for WEbpage like .html or .htm

Now i want that when user click Webpage extension,
openfiledialog display no only files of extension (.html) but also of extension (.htm)
And i don't want to create a seperate extension for (.htm)

So can anybody tell me add multiple extension to Webpage like
Webpage(*.html,*.htm)
Like you can see in paint
JPED(*.jpeg,*.jpg,*.jpe,*.jpif)

Thanks in Advance !!!!!!!!!

Print this item

  HTML - Editor How to create "Preview in Webbrowser " Button
Posted by: Himansh - 05-16-2012, 10:53 PM - Forum: VB.NET (Visual Basic 2010/2008) - Replies (2)

HI Everybody
Sorry for my Late arrival
Actually i am currently creating a software HTML-Editor in visual basic
I have also added a button "Preview in Browser" in It

But i don't know how to code it so that the computer's default webbrowser opens the Html we have typed in Richtextbox1.text.

So i want to know How to code it

Thanks in ADVANCE!

Print this item

  Calculator i made in vb
Posted by: Gamester699 - 05-12-2012, 03:16 PM - Forum: VB.NET (Visual Basic 2010/2008) - Replies (2)

Heres a cool little calculator i made in vb a long time ago...



Attached Files
.zip   Calculator.zip (Size: 155 KB / Downloads: 632)
Print this item