473,386 Members | 1,758 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,386 software developers and data experts.

-2147417848 & Vista

I have an application written in VB.Net which dynamically hosts VB6 ocx
(written in house). The appilcation works fine on XP or Windows 2000. It
also works fine on Vista if run in debug mode with the "Visual Studio hosting
process" selected. But, when run as a compiled application, it will fail
with Automation error -2147417848, The object invoked has disconnected from
its clients. I have found the line the the app chokes on(see below), but not
really sure why? Again, this only occurs on Vista when I run the compiled
version of the app. Any ideas?

Thanks.

'dynamically create the control, with picture box as it's container
Set m_objVBControlExtender(lngTabNumber) = UserControl.Controls.Add _
("MyControl", strInstanceName, pic(lngTabNumber))

m_objVBControlExtender is an aray of VBControlExtender objects.
Sep 29 '08 #1
0 990

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: brett | last post by:
I installed VS.NET 2005 final on Vista Ultimate RTM. I have a web project that I'd like open but receive this message: The project file 'c:\myproj.csproj' cannot be opened. The project type is...
2
by: JODEAN | last post by:
When I try to create an ODBC connection for MS Access Databse on a VISTA 64 I only get to select an SQL connection. The system show the MS Access Database Source but no Access drivers are listed for...
4
by: Brent | last post by:
Ok i just went from XP Professional to Vista Ultimate x64 last night. I installed vs 2005, sp1, and the update for sp1 for vista. I started up VS2005 and still got the warning message that deals...
4
by: Ismo Salonen | last post by:
I've got code that works when started normally (explorer, command whatever) but fails when started from VS2003. It crashes in different place when started with debugging (F5) and other place when...
0
by: ed Childs | last post by:
I got this error on a XP computers when starting to open a program that uses Access 2003 &VB. The full text of the error is: "Security_Error-2147417848 method 'Controls' of object...
1
by: JC | last post by:
I recently installed my Access 2003 app onto my new PC with Vista Business. Now when I close various windows within the program, I see a white block where a particular window was along with the red...
3
by: nzmike | last post by:
Hi, Hoping someone out there can help me... I just built a new Vista Home Premium 64 PC. So far everything has gone well so this morning I decided to install Visual Studio 2005 Professional....
6
by: Timmy! | last post by:
Is Tony still out there? The granite site is down or gone and I've been unable to access usenet for quite some time and am using Google. Here's my problem. Tony's Auto FE Loader has worked...
1
EinToR
by: EinToR | last post by:
I was able to install Adobe's Master Collection but when I run Photoshop, it just hangs. I don't even get the splash screen. I'm running it in compatability mode for "Windows XP (Service Pack 2)"...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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: 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...
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
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.