Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB How-To
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Closed Thread
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old May 5th, 2004, 08:10 AM
Registered User
 
Join Date: May 2004
Location: , , USA.
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
Environ(5)
or
Environ("ComputerName")

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 benoyraj@yahoo.com

thank you
Benoyraj ;)

Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 10:28 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.