Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Tomeczek
  • Content: Threads
  • Order by date
  1. Tomeczek

    Excel in VB.NET problem

    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...
  2. Tomeczek

    Active Directory structure in TreeView control (VB.Net)

    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...
  3. Tomeczek

    "DateDiff" problem with different dtae formats

    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...
  4. Tomeczek

    Exit program in Form_Load() Sub

    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...
  5. Tomeczek

    WMI in VB.Net

    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...
  6. Tomeczek

    How to kill DOS command called from VB6

    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...
  7. Tomeczek

    Excel - Common Dialog Control missing

    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...
  8. Tomeczek

    Group Membership and Primary Group

    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?
  9. Tomeczek

    Access Deleted Objects container in VB6 via &lt;WKGUID&gt;

    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 =...
  10. Tomeczek

    In my Excel 2010 and 2013 I've been

    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...
  11. Tomeczek

    Err 429 on CreateObject(&quot;GPMGMT.GPM&quot;)

    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!
  12. Tomeczek

    CheckBox name from string

    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 =...
  13. Tomeczek

    Binary array into user defined Type (How to?)

    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...

Part and Inventory Search

Back
Top