Click here to Skip to main content
12,747,719 members (40,948 online)

Visual Basic

 
AnswerRe: How can we read lengthy datas in Win Forms - more height than 780 in single page by scroll? Pin
Eddy Vluggen20-Feb-13 7:39
mvpEddy Vluggen20-Feb-13 7:39 
GeneralRe: How can we read lengthy datas in Win Forms - more height than 780 in single page by scroll? Pin
Paramu197320-Feb-13 19:50
memberParamu197320-Feb-13 19:50 
GeneralRe: How can we read lengthy datas in Win Forms - more height than 780 in single page by scroll? Pin
Eddy Vluggen21-Feb-13 8:03
mvpEddy Vluggen21-Feb-13 8:03 
QuestionMaximize MDIParent and MDIChild control Pin
kurja-kurdoh19-Feb-13 7:41
memberkurja-kurdoh19-Feb-13 7:41 
AnswerRe: Maximize MDIParent and MDIChild control Pin
Simon_Whale19-Feb-13 22:58
memberSimon_Whale19-Feb-13 22:58 
QuestionDisable local accounts Pin
douglas.s.johnson@l-3com.com19-Feb-13 6:57
memberdouglas.s.johnson@l-3com.com19-Feb-13 6:57 
AnswerRe: Disable local accounts Pin
Eddy Vluggen20-Feb-13 1:32
mvpEddy Vluggen20-Feb-13 1:32 
GeneralRe: Disable local accounts Pin
dsj4120-Feb-13 12:22
memberdsj4120-Feb-13 12:22 
Thanks a lot Eddy. I'm not much of a translator, so I kept looking and found this it works great.

***************CODE*******************
Option Explicit
Dim objNetwork, strComputer, objComputer, objUser, dtmLast

' Bind to the local computer.
Set objNetwork = CreateObject("Wscript.Network")
strComputer = objNetwork.ComputerName
Set objComputer = GetObject("WinNT://" & strComputer & ",computer")

' Enumerate all users.
objComputer.Filter = Array("user")
For Each objUser In objComputer
' Trap error if user never logged in.
On Error Resume Next
dtmLast = objUser.lastLogin
If (Err.Number <> 0) Then
dtmLast = #1/1/1970#
End If
On Error GoTo 0
' Check if last logon was more than 30 days in the past.
If (DateDiff("d", dtmLast, Now()) > 60) Then
' Disable the user.
objUser.AccountDisabled = True
objUser.SetInfo
End If
Next
***************CODE*******************
QuestionMenuId saved in Mysql DB and how to set Enable Pin
palur198118-Feb-13 2:31
memberpalur198118-Feb-13 2:31 
AnswerRe: MenuId saved in Mysql DB and how to set Enable Pin
Eddy Vluggen18-Feb-13 23:31
mvpEddy Vluggen18-Feb-13 23:31 
QuestionAnyone have a program where I can enter a username and have it provide info from Active Directory? Pin
anoble115-Feb-13 6:45
memberanoble115-Feb-13 6:45 
AnswerRe: Anyone have a program where I can enter a username and have it provide info from Active Directory? Pin
Dave Kreskowiak15-Feb-13 7:40
mvpDave Kreskowiak15-Feb-13 7:40 
AnswerRe: Anyone have a program where I can enter a username and have it provide info from Active Directory? Pin
Simon_Whale15-Feb-13 15:17
memberSimon_Whale15-Feb-13 15:17 
Questionmathematical expression with custom user input operand separately Pin
arave052114-Feb-13 7:12
memberarave052114-Feb-13 7:12 
AnswerRe: mathematical expression with custom user input operand separately Pin
Jibesh15-Feb-13 8:57
memberJibesh15-Feb-13 8:57 
AnswerRe: mathematical expression with custom user input operand separately Pin
Eddy Vluggen15-Feb-13 11:17
mvpEddy Vluggen15-Feb-13 11:17 
QuestionZoom in / Zoom Out functions Pin
syllar12-Feb-13 22:55
membersyllar12-Feb-13 22:55 
AnswerRe: Zoom in / Zoom Out functions Pin
Dave Kreskowiak13-Feb-13 3:07
mvpDave Kreskowiak13-Feb-13 3:07 
AnswerRe: Zoom in / Zoom Out functions Pin
Simon_Whale13-Feb-13 3:23
memberSimon_Whale13-Feb-13 3:23 
QuestionEditing columns in a CSV File Pin
Mike Prophete12-Feb-13 12:29
memberMike Prophete12-Feb-13 12:29 
AnswerRe: Editing columns in a CSV File Pin
Eddy Vluggen13-Feb-13 10:13
mvpEddy Vluggen13-Feb-13 10:13 
AnswerRe: Editing columns in a CSV File Pin
Michael Haephrati מיכאל האפרתי20-Feb-13 4:57
mvpMichael Haephrati מיכאל האפרתי20-Feb-13 4:57 
QuestionHelp required in grid conditon Pin
siddisagar12-Feb-13 5:09
membersiddisagar12-Feb-13 5:09 
Questionant colony algorithm Pin
showdowngh12-Feb-13 4:20
membershowdowngh12-Feb-13 4:20 
AnswerRe: ant colony algorithm Pin
Simon_Whale12-Feb-13 4:57
memberSimon_Whale12-Feb-13 4:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web01 | 2.8.170215.1 | Last Updated 18 Feb 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid