Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB How-To
VB How-To Ask your "How do I do this with VB?" questions in this forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old May 5th, 2004, 08:10 AM
Registered User
Join Date: May 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Windows 98 OCX control issues vs Windows XP

Solution 1:
I tried to fix the security problem using "dcomcnfg.exe" in Windows 98, which I installed from Microsoft site.

Solution 2:

Also, it is noticed that in VB.OCX control, I am trying to use a server using the users computer name, which I was using the following functions.

' For finding computer name

Both of the above functions in VB, exactly returns the user computer name in XP,NT etc....But, in Windows'98, it wont.

So, I redesigned the program, which will retrieve computer name from the Windows Kernel32.dll file. The function name used to find the computer name in Kernel32.dll is "getComputerName".

Solution 3:

I edited the registery, using regedit command. The following registry keys has been updated.

1. EnableDCom Y
2. EnableRemoteConnect Y

Notice that these two commands can also update through dcomcnfg.exe utility.

I think this will helps.

If any other suggestions, either post it or let me know. My email id is [email protected]

thank you
Benoyraj ;)

Similar Threads
Thread Thread Starter Forum Replies Last Post
.net on Windows 98 sh.rajkumar C# 2005 1 October 23rd, 2006 03:53 AM
SelectedIndex () in Windows 98!! problem thomaz C# 0 March 21st, 2005 02:29 PM
Using Php4 Apache and windows 98 stephen656 Beginning PHP 4 March 30th, 2004 03:06 PM
Access and windows 98 versus XP Bassamsater Access VBA 11 September 17th, 2003 11:29 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.