|
Write to the registry using WMI
My procedures to access the registry with simple WMI referencing. The project is made to enhance the VB registry functions SaveSetting, GetSetting and DeleteSetting while maintaining to a certain extent their simplicity in passing arguments. |
526 |
|
0x80070005 on Remote WMI/DCOM Calls
I'm pulling my hair out and I'm hoping someone could help me out with a bit of a WMI/DCOM error that I'm running into. I have a script that does a number of WMI operations on remote computers and every time that I run it, I'm being given a "0x8007000 |
400 |
|
Remote Registry Access using VB.NET to enumerate Installed Software Applications
Having difficulty getting the syntax correct for VB.NET to produce a
listing of all software applications on a remote PC listed in the registry installed programs? |
569 |
|
WMI Security Settings
The second, and typically optional, part of WMI monikers is the security settings component. The security settings component has been a source of confusion for many system administrators. This is primarily because of the impersonationLevel setting, w |
376 |
|
WMI Filters
WMI Filters are a way to fine tune the application of GPOs. Evaluated at the time of a Group Policy refresh at the client, a WMI Filter includes one or more WMI Query Language (WQL) queries. If any of these queries return a result (essentially meanin |
347 |
|
George Shepherd's Windows Forms FAQ
Deployment
Controls
Books
Data Binding
Datagrid
Docking
Keyboard Handling
Layout
Licensing
Menus
Mouse Handling
from MFC
from VB6
Patterns
Printing
Resources
Scrolling
Tips
Common Dialogs
ListBox
ComboBox
RichTextBox
ListV |
302 |
|
Visual Basic and Visual C# Concepts: Walkthrough: Adding Active Directory Objects
The procedures in this topic demonstrate the process of using the DirectoryEntry component to list the users, groups, and services on your local computer. The DirectoryEntry component uses Active Directory technology to do this work. Each entry creat |
391 |
|
Validating Edit Controls
Textbox controls are often used to enter dates, times, currency values or preformatted numeric data such as phone numbers. A control that allows its user to only enter a specific type of data is useful for several reasons:
The user may do less typ |
408 |
|
The Windows Access Control Model Part 2
In this second article we will start programming with security identifiers, access control lists and security descriptors. We will solve trivial problems using the SID, obtain information from an access token, enable a privilege, fill up an access co |
419 |
|
SetACL: Windows ACL manipulation
SetACL: manage permissions (ACLs) on Win32 systems from the command line or your programs/scripts. Supports all options available in Explorer, and more. |
426 |
|
Scripting Exchange Using VBScript and ADSI (Part 3)
The first two parts of my scripting series discussed Exchange users in almost every possible angle. This third part of the series will go over ways for accessing Exchange objects, such as servers, storage groups and databases. |
369 |
|
Scheduling tasks with VB.NET as Windows services
After the introduction of .NET, writing services using VB.NET has become very simple and easy. But still beginners need a start from somewhere to know how to achieve this. Attached is a sample application which demonstrates this concept. |
418 |
|
Obtain the Owner of a File on Windows NT/2000
Version Compatibility: Visual Basic 5 & Visual Basic 6 |
379 |
|
Managing Exchange 2003 with WMI, Part 2
Exchange Server 2003 provides five new Windows Management Instrumentation (WMI) providers and 15 new WMI classes. As I showed you in "Managing Exchange 2003 with WMI, Part 1," January 2004, http://www.winnetmag.com/microsoftexchangeoutlook, InstantDo |
341 |
|
ListNanny.NET - NDR Parser component for .NET
Do you have an email or newsletter list you need to maintain? Are you constantly plagued by bounce-back or NDR emails? You know, those bad emails you get after every mailing that claim an "unknown user" or "unknown mailbox". Well, it's ListNanny.NET |
415 |
|
Implement POP3 and SMTP in .NET
This article shows how to use VB.NET to implement POP3 and SMTP protocol. There is a DLL file included in the source files, this DLL contains two classes to implement POP3 and SMTP and an extra class for e-mail's codec (base 64 only, not included in |
388 |
|
IIS Status Codes
When users try to access content on a server that is running Internet Information Services (IIS) through HTTP or File Transfer Protocol (FTP), IIS returns a numeric code that indicates the status of the request. This status code is recorded in the II |
410 |
|
How to programmatically get the size of mailboxes in Exchange
This article describes how to programmatically retrieve information about the size of mailboxes on a server that is running Microsoft Exchange by using Microsoft Visual C, Microsoft Visual C++, Microsoft Visual Basic, and Microsoft Visual Basic Scrip |
407 |
|
How To Obtain the Owner of a File on Windows NT
Retrieving the owner of a file requires obtaining the security descriptor for the file, then using the security descriptor to get a pointer to the owner's Security Identifier (SID). Finally, you use the owner's SID to obtain the owner and domain name |
352 |
|
How to get Windows NT DOMAIN\UserName of Exchange mailbox using CDO
This article provides CDO (1.2, 1.21) sample code written in Microsoft Visual Basic demonstrating how to obtain the Windows NT Account associated with an Exchange mailbox in the form DOMAIN\UserName. |
349 |
|
Getting the Size of a Mailbox (WebDAV)
There is no mailbox property that contains the total size of the mailbox. However, each folder in a user mailbox has its size stored in the http://schemas.microsoft.com/mapi/proptag/x0e080003 field, which corresponds to the PR_MESSAGE_SIZE MAPI prope |
411 |
|
Getting Item Property Values (WebDAV)
This example shows how you can construct the XML body of a WebDAVPROPFIND Method manually. The request is for the displayname Field for a folder. After the request has been constructed, the code passes the XML string to an XMLHTTP Component Object Mo |
364 |
|
Getting a List of Folders (WebDAV)
This topic demonstrates how to use the SEARCH Method to get a list of folders within a folder using a hierarchical search. For more information about hierarchical searches, see Search Scope.
|
352 |
|
Gathering computer information using WMI
After a ton of questions regarding the the DriveInfo examples (Determine Hard Drive Serial Numbers and Revenge of DriveInfo) asking how to determine other information such as CPU identification, motherboard serial number and BIOS serial numbers I'm u |
458 |
|
Finding the Owner of a File Object in C++
The following example uses the GetSecurityInfo and LookupAccountSid functions to find and print the name of the owner of a file. The file exists in the current working directory on the local server. |
377 |
|
Export to Excel from Datagrid?
The best way to export data in a datagrid or dataset from a VB.NET Windows Form application directly into Excel. |
392 |
|
Configuration Settings File for providing application configuration data
.NET gives an easy way to store configuration information in an Application Configuration File. In the simple implementation, you can store information as Key-Value pairs. |
358 |
|
Find the owner of a file or folder on the network (Windows 2000 Server) using VB.Net and/or API.
I am trying to find the owner of a file or folder on our network (Windows 2000 Server) using VB.Net and/or API. so I can search for Folders that don't follow our company's specified folder structure and naming conventions and then send a Net send mes |
336 |
|
Accessing LDAP User list using VB.NET
Compared to VB 6.0, .NET framework has given very easy access to the network solutions like LDAP. I have seen lots of people asking questions on LDAP access using .NET. In this article, I will try to explain how to retrieve list of all LDAP users. |
451 |
|
A ComboBox in a DataGrid
This is a descendant from DataGridColumnStyle and is used to have a ComboBox in a DataGrid column. It is based on an article by Sudhakar Jalli but I found the code not working. I repaired the code and cleaned it up a little. |
364 |
|
The Zip, GZip, BZip2 and Tar Implementation For .NET
#ziplib (SharpZipLib, formerly NZipLib) is a Zip, GZip, Tar and BZip2 library written entirely in C# for the .NET platform. It is implemented as an assembly (installable in the GAC), and thus can easily be incorporated into other projects (in any .NE |
319 |
|
SQL Crib Sheet
These notes are intended to provide a simplified crib sheet (or reminder) on SQL. It is not a tutorial. A number of examples for common types of tasks are provided - but little or no explanation. |
308 |
|
WinSock Programming
This article is my understanding of how to use the WinSock API. It explains how to create a socket, listen on a socket as a server, connect to a socket as a client, and how to pass information from the client to the server. |
369 |
|
Beginning Winsock Programming - Simple TCP server
In this article I introduce you to WinSock through a simple TCP server, which we shall create step by step. But before we begin, there are a few things that you must do, so that we are truly ready for starting our WinSock program. |
391 |
|
Mfcsocs.exe sample demonstrates how to communicate in a TCP connection in Visual C++
The MFCSocs sample is a minimal MFC application that demonstrates how to use the CSocket and CAsyncSocket classes to communicate in a Transmission Control Protocol (TCP) connection. This sample is a dialog-based application. Depending on the selectio |
345 |
|
Tsearch2 - full text extension for PostgreSQL
Tsearch2 - is the full text engine, fully integrated into PostgreSQL RDBMS. |
277 |
|
Silent install of PostgreSQL on Windows
As the PostgreSQL installer for Windows uses Windows Installer (MSI) technology, performing a silent or semi-silent install works the same way as with any MSI installer. It is all done using commandline options to msiexec, which are used to:
Speci |
323 |
|
Migrate your PHP site from MySQL to PostgreSQL -- Part 2
PHP's Postgres result set handlers can do everything their MySQL counterparts can; they're just slightly different. These small differences may require nothing more than a little modification to code, but they might also require some involved program |
378 |
|
PostgreSQL: Mirroring MySQL's GROUP_CONCAT in PostgreSQL
MySQL's GROUP_CONCAT command is a phantastic thing, it can simplify big efforts to a small piece of work that would not even be worth mentioning - if the way that the problem is being solved wouldn't be so nice ;-). |
371 |
|
Methods for transferring data to Excel from Visual Basic
This article discusses numerous methods for transferring data to Microsoft Excel from your Microsoft Visual Basic application. This article also presents the advantages and the disadvantages for each method so that you can choose the solution that wo |
328 |
|
Find Memory Leaks and Optimize Memory Usage in Programs Written in C#, VB.NET or any other .NET Language
.NET Memory Profiler is a powerful tool for finding memory leaks and optimizing the memory usage in programs written in C#, VB.NET or any other .NET Language. |
320 |
|
Log Parser Resources
Extensive list of log parser utilities. |
341 |
|
Creating More Efficient Microsoft Active Directory-Enabled Applications
Summary: This article discusses how to create efficient queries, determine query timing, and track expensive and inefficient searches using Microsoft Active Directory. |
293 |
|
Active Directory and LDAP
LDAP tricks for Active Directory |
332 |
|
LDAP Search Samples for Windows Server 2003 and Exchange 2000-2003
These LDAP search strings are good for Saved Queries in Windows Server 2003 AD Users and Computers, Query-based Distribution Groups and Exchange 2000/2003 Recipient Policies and Address Lists. |
405 |
|
Active Directory Last Logon Dates
VBScript program to output all users in the domain with the date and time each last logged onto the domain. This program can be useful to identify old unused accounts that can be disabled and eventually deleted. |
345 |
|
Creating a list of Users and their e-mail addresses in Exchange 2000 (2)
In my previous article I presented a script that iterated through all the OUs to export mail enabled users' mail addresses to a CSV file. Active Directory allows you, instead of going through each and evey the OUs, to perform directory wide searches |
317 |
|
.NET FTP Client library written in C#
Operating System: 32-bit MS Windows (95/98), 32-bit MS Windows (NT/2000/XP), All 32-bit MS Windows (95/98/NT/2000/XP), Win2K, WinXP
License: GNU Library or Lesser General Public License (LGPL)
Category: File Transfer Protocol (FTP) |
405 |
|
An FTP client library for .NET 2.0
One annoying omission from the 1.x framework for .NET was support for FTP. This could be rectified by various libraries (some free, others commercial) that filled this gap. However, with Visual Studio 2005 and 2.0 of the .NET framework, FTP makes a w |
433 |
|
Attachment Archiving to a File Server Script
The following script builds on the concepts I introduced in my other article but uses them in a slightly different way. This script loops though a folder (or multiple folders) in your mailbox for emails with attachments and then saves the attachment |
324 |
|
How to use the Rule.dll sample to create an inbox rule in Visual Basic
This article describes how to use the Rule.dll sample to add a set of rules to the Inbox of a mailbox. Rules are a powerful technique that can be applied to many mailboxes without the drawbacks associated with server event scripts. |
336 |
|
Map Files And DLL Rebasing
Have you ever noticed that when one of your programs crashes, like when you get a Dr. Watson error, it displays an address where the crash occurred? Did you know that there is a way to locate the place in the code where that error occurred without th |
285 |
|
A Crash Course In Exporting From A DLL
When creating a new DLL, an Import Library (with a ".LIB" extension) is created.
This Import Library has to remain consistent with the DLL used to create the library -- at least for the
code utilized by the client. Occasionally, you may find yo |
313 |
|
Calling an Exported Function in an EXE from Within a DLL
Environment: VC6, SP4, 2K, SP2
This article explains a better way of calling a function in an EXE file from a dependent DLL of the same EXE. In other words, calling a DLL's function from an EXE is the normal way; this is the reverse of the same.
|
339 |
|
Binary File Reader for ASP
Binarysendfile component implements simple file read and access to the binary data read from file through property. It can be used to construct ASP pages that must send pictures or other files not modified to the client. |
387 |