473,394 Members | 1,806 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Killbit killed my VBA Winsck object

1,271 Expert 1GB
Getting very fed up trying to implement Winsock. A few environment notes before I begin. My home office system is a Vista 64-bit OS, development machine at client site is XP-64bit OS and client workstations are Win7 or XP-32bit. Working in Access 2003.

Working at home, I made a form with a Winsock (MSWinsck.ocx) object and successfully transmitted data to a listening server.

At the client site with my form from home, the Winsock object was not recognized. So I deleted the object from my form and then registered MSWinsck.ocx. But when I tried to add the Winsock object to the form again, Access said "(Project Name) does not support that Active/X control".

Research indicated a Microsoft hacker defense called Killbit caused that. After downloading a new MSWinsck.ocx and registering it, I get a new error message when I try to add the Winsock object to a form. The message is "You don't have the license required to use this ActiveX control."

MS says to recompile the project to make this problem go away, which didn't change anything for me. But their target audience when they said that was VB6 developers, and I'm in VBA. And I sort of thought they were talking about recompiling the ActiveX control, not the project using the control

Anyone know how to get around this? Here's a link to the Microsoft blog where I got my fix procedure from.
http://blogs.msdn.com/b/vsod/archive/2009/06/05/visual-basic-6-controls-stop-working-after-security-advisory-960715.aspx

Thanks,
Jim
Jun 16 '10 #1
5 4458
NeoPa
32,556 Expert Mod 16PB
I'll keep an eye on this Jim, but I can't help here I'm afraid :(
Jun 16 '10 #2
jimatqsi
1,271 Expert 1GB
I have a copy of MS VB 2005 Express, so I installed that. It magically made my problem go away. But, this nagging fear says it could show up again with the next udpate from MS.

Jim
Jun 17 '10 #3
Denburt
1,356 Expert 1GB
@jimatqsi
I did a little digging and found out that you can remove the killbit for the winsock control although I wouldn't recommend it. From what I read upgrading to the latest winsock control should resolve the issue.
Just as an FYI here is the registry key I found that should kill the Killbit for this control:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\{248DD896-BB45-11CF-9ABC-0080C7E7B78D}
"Compatibility Flags"=dword:00000000
Jun 17 '10 #4
jimatqsi
1,271 Expert 1GB
Wow, thanks very much. I might have to use that. The darned thing was working fine one day, after I installed VB, and then the next day it's broken again.

It just does not make the connection. I'm going to delete the Winsock object from the form and make a new one, maybe that will do something. But even if that works, or some other fix works, I don't have any confidence the use of that object is safe.

I'd much rather use the API. I'm wondering where I can find a guide to write my own Winsock control.

Thanks very much,
Jim
Jun 19 '10 #5
Denburt
1,356 Expert 1GB
@jimatqsi
I have done some looking and there is a windows update that can break the winsock control and another that fixes it. Forgive me for not providing more info, this is an FYI.

I have also looked a little about using the API and although it can be done I have not found enough info to provide you with any coding that can be of help. If I do find anything worth mentioning I will be back and if you would please post any relevant information that may help other posters we would all thank you.
Jun 29 '10 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Christian Seberino | last post by:
I wrote some C functions and successfully imported them into Python. All is apparently well but there is one question about the object returned by the C function that is bugging me... Take for...
54
by: tshad | last post by:
I have a function: function SalaryDisplay(me) { var salaryMinLabel = document.getElementById("SalaryMin"); salaryMinLabel.value = 200; alert("after setting salaryMinLabel = " +...
4
by: Steve | last post by:
We are using ODP.net (version 9.2.0.4.01) as data provider for Oracle in our dotnet app. Currently we are using Microsoft.NET Framework 1.1 (VS.net IDE 2003) in our project. One thing I feel...
2
by: Steve Foo | last post by:
I have been posting this question in google group, EE, and Oracle OTN forum and still no cannot find a suitable solution for it. I have contacted Singapore Microsoft support regarding the problem...
2
by: Praveen K | last post by:
I have a problem in communicating between the C# and the Excel Interop objects. The problem is something as described below. I use Microsoft Office-XP PIA dll’s as these dll’s were been...
1
by: Diffident | last post by:
Hello All, I have been caching an object in a web app and I am running the web app on my localhost i.e., local machine which has its own IIS web server. Now my question is if I access web...
2
by: James | last post by:
Hi. I just had success doing something that I thought should fail. Well maybe I did. I'm not sure. In short, I assigned a locally declared object to a module level object and the module...
44
by: petermichaux | last post by:
Hi, I have been using the following line of code to create an object called "Serious" if it doesn't already exist. if (Serious == null) {var Serious = {};} This works in the scripts I use...
7
by: dieter | last post by:
Hi, Overview ======= I'm doing some simple file manipulation work and the process gets "Killed" everytime I run it. No traceback, no segfault... just the word "Killed" in the bash shell and...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.