My latest project was a VB.NET program, which gathers information from different machines in the domain and puts collected data into Excel spreadsheet.
The problem I have is the Excel part. I was able to open new or existing Excel file, place data on multiple worksheets and save it.
I realized...
I’m working on a VB.Net project in which I have to use TreeView control filled with the Active Directory structure. The AD is very big, with hundreds of OUs and subOUs. Because of the size of AD I can’t fill the TreeView with the whole AD structure “in one shot” because it would take too long...
I have a VB6 program distributed to the company’s system admins around the world. Recently I found out, that under certain circumstances, the program fails with “Type mismatch” error 13.
The error happens when calculating day difference between the date from some database and actual local date...
Need haelp.
In my Form_load() subroutine I check for certain things and want to start the GUI part (the form) only if the conditions met.
If the condition is not met, I issue the MsgBox and try to exit, something like this:If <condition> then
MsgBox "..."
Unload Me
End If
This doesn't...
I am trying to write VB.Net program, which would connect to remote computers and retrieve specific system information using WMI.
I must admit, that I am not experienced in VB.Net (wrote tons of programs in VB6, though, several of them using WMI). I cannot pass the first phase: connect to remote...
In my VB6 program, I’m running certain DOS command using .Exec call. I also read the command’s standard output – StdOut. In the first stage of testing, I read the entire output into some string variable (using .ReadAll). Then I realized that the information I’m looking for can be found in first...
I have an Excel spreadsheet which uses the form with TreeView Control. It's working fine on my Windows XP / Office 2007, Windows 7 / Office 2013. I copied the spreadsheet into 64 bit Windows 7 machine with Office 2010. I'm getting an error when opening the spreadsheet. I realized, that...
I'm listing members of the "Domain Admins" group in Active Directory and realized, that the AD call objGroup.Members does not return user accounts, whose Primary Group is set to be "Domain Admins".
Is there a way to get these accounts?
I'm trying to open/read AD Deleted object container using "LDAP://<WKGUID=..." but it fails...
I have to use VB6 (not VB.Net or C#).
Can someone help me?
Here is the failing code:
Const GUID_DELETED_OBJECTS_CONTAINER_W = "18E2EA80684F11D2B9AA00C04F79F805"
Set oRootDSE =...
In my Excel 2010 and 2013 I've been using a user form.
On the user form I have 20 text boxes defined as TexBox201, TextBox202, TextBox203, … , TextBox220.
I would like to access all of these text boxes in the loop rather than one by one.
Is there a way to change all these 20 text box individual...
I just realized that one of my VB6 programs stopped to work giving me a Run-time error '429' when executing
Set oGPM = CreateObject("GPMGMT.GPM").
I don't know at what point it stopped to work, but I know it was working without any problems before.
Can anyone help?
Thanks!
I have a spreadsheet with lines generated by macro. Each line has a CheckBox in col. "A" named "CheckBoxNN", where "NN" is a number (CheckBox1, CheckBox2,... CheckBox88, and so on). The number of lines varies.
Is there a way of reading the value of each check box in the loop? Like bCheckValue =...
I have following problem in my VB6 project:
I'm trying to read certain Time Zone information from Registry (HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\<the zone>).
(the zone I'm looking for is not a zone I'm in; potentially, I have to get to every zone)
I use...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.