Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


advertisement
Search the Tips
Tip Bank > Enterprise

Enterprise - Page 4

Device Drivers
File Systems
Interoperability
Systems Administration
WMI
61-80 of 318     Previous     Next
Undocumented Encrypt and Decrypt Functions in SQL Server 7.0
by Andrew Holliday
There are two undocumented encryption functions. They are not supported by Microsoft, and I have had problems with some SQL Server service packs when using these functions. That being said, the ...
Rebooting with NT's Schedule Services
by DevX Pro
How can I schedule an automatic reboot? I have the schedule service started and set up to start automatically, and I know how to do the "at" commands. What I don't know is the command to get it to reboot.
GetPrimaryDCName
by DevX Pro
I'm trying to get the PDC name for a domain on my network using the following code. It works fine within the VB IDE, but the moment I compile it and run it as an executable, it errors out with either NERR_DCNotFound(2453): Could not find domain controller for this domain or ERROR_BAD_NETPATH(53): The network path was not found Any idea what's going wrong? Here's my code: Private Declare Function NetGetDCName Lib "NETAPI32.DLL" _ (ServerName As Byte, DomainName As Byte, DCName As Long) As Long Private Declare Function lstrcpyW Lib _ "kernel32.dll" (bRet As Byte, ByVal _ lPtr As Long) As Long Private Declare Function NetApiBufferFree Lib _ "Netapi32" (ByVal pBuffer As Long) As Long Public Function GetPrimaryDCName(ByVal DName As String) As String Dim DCName As String, DCNPtr As Long Dim DNArray() As Byte, DCNArray(100) As Byte Dim result As Long DNArray = DName & vbNullChar result = NetGetDCName(0&, DNArray(0), DCNPtr) If result 0 Then Err.Raise vbObjectError + 4000, "CNetworkInfo", result Exit Function End If lstrcpyW DCNArray(0), DCNPtr result = NetApiBufferFree(DCNPtr) DCName = DCNArray() GetPrimaryDCName = Left(DCName, InStr(DCName, Chr(0)) - 1) End Function
NetUserGetInfo - API Call
by DevX Pro
I am using "NetUserGetInfo" API call to get the NT user profile. I use: typedef struct _USER_INFO_3 How can I parse the "usri3_flags" member in detail?
Reverse DNS
by DevX Pro
If I can use the "InetAddress" class to acquire the IP address of a computer, is there a way to get the computer's name from an IP address?
Exchange Server and Windows 98
by DevX Pro
Can Exchange Server run with Windows 98 or does it require NT? I want to use Outlook as a common pool of contact information within my office. However, when I tried it two years ago Outlook required Exchange Server to share files effectively between users and Exchange Server required the NT platform. Has that changed?
Creating a Numeric-Input JTextField
by David Glasser
Validating user input that is typed into a JTextField can ...
Sharing Contact Folders
by DevX Pro
How do I set up the administrator contact subfolders as an address book on a different mailbox in order to allow other users to add information?
Create a NNTP Offline Server
by Jose Antonio
Here's the code to simulate a simple NNTP server that provides ...
Silent install with VB6 Deployment and Packaging Wizard
by Bruce Kellerman
VB6 Deployment and Packaging Wizard's resulting setup.exe has a command line switch that allows for a silent install.
Client Says Not to Use Joins in VB App?
by DevX Pro
I have a client that used to be an Oracle programmer years ago who tells me I'm designing his SQL 7.0 database all wrong because I'm using joins in the VB app! He says "joins use I/O on the machine...", etc. I've tried explaining that this is no longer an issue—that joins are used effectively between 2–4 tables all the time, but he won't let it go. How can I explain this to him?
Getting Around a Bug in Testing Your Applets
by Reuben Cleetus
If you've tried using the Java Plugin to test your Applets and got a mysterious "Security Exception," then you've run into a known, but unadvertised bug. For a complete description of the bug, see: ...
Layout Manager for Scrolling DIV's
by Chris McCann
A scrolling DIV is a great way to display a large amount of data without ...
Migrating NetFolder Calendar to Exchange
by DevX Pro
Our company uses NetFolders to share the company calendar, which has extensive listings. We are about to install Exchange 5.5. What's the best way to move the calendar intact once Exchange is up and running?
Objects and Sockets
by DevX Pro
Is it possible to send an object over a socket connection in Java?
Use of SocketImpl Class
by DevX Pro
What is the SocketImpl class used for?
Synchronizing Workstation Clocks
by DevX Pro
How do I synchronize all the Workstation clocks of a 100+ user community to the same reference?
Delete a User in NT
by DevX Pro
How do I delete a user in NT with the API's?
VB and WinSock
by DevX Pro
Winsock with VB works fine if I specify a port (e.g., 1001). However when I set the Winsock's port (local and remote) properties to 0 so that they would be dynamically chosen, it doesn't work (The protocol used is TCP). Why?
Viewing Resource in Public Folder
by DevX Pro
I have set up conference rooms as mailboxes in Outlook 2000, which is working well but I have a few questions: Currently, we have to schedule the room as a resource before the "automatically decline conflicting meeting requests" works. Do I have something configured incorrectly? If you invite the "room" as a required attendee, it can be double-booked. Is there a way to display a conference room's mailbox as a public folder that users can access to see room availability, who has booked the room, etc.? I would like to have this happen automatically and I would like it to have a real-time display. Later, I would like to set up resources as a group (e.g., for a video conference meeting between two of our sites, I would like the room for both sites, as well as the video conferencing equipment to be just two selections in Outlook—one for each site.)
61-80 of 318     Previous     Next
Sitemap