473,520 Members | 2,692 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

BrowserType

Hi all!

I'm having problems with instanciating MSWC.BrowserType in
my VB6 component, i do like this.

Declaration:
Private objBC As BrowserType.BrowserCap

In my public sub:
Set objBC = Server.CreateObject("MSWC.BrowserType")
bcBrowser = objBC.browser

Generates error:
006~ASP 0177~Server.CreateObject Failed~There is no MTS
object context

Works fine when used in an .asp page but not in my COM,
why?
And how should i do it?

Jul 19 '05 #1
0 1546

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

Similar topics

1
1625
by: Thomas Miller | last post by:
Here is my code that works fine. I am wondering if there is a better way to do this. In my xslt transformation it seems I HAVE to reference an XML file even though I am just processing a stylesheet. So as you can see in my code I reference a valid xml file named continents.xml- even though the xsl styleheet does not NEED it! Is there...
6
11947
by: Vladimir | last post by:
Getting 0x80040111 Error on trivial IISHelp - http://localhost/IISHelp/iis/misc/default.asp HTTP 500.100 - Internal Server Error - ASP error Internet Information Services Technical Information (for support personnel) a.. Error Type: Server object, ASP 0177 (0x80040111) ClassFactory cannot supply requested class
20
3523
by: Brian Burgess | last post by:
Hi all, Anyone know if this is possible? If so, on which page would the cookie be? .. On the page calling a function defined in the include file? thanks in advance.. -BB
11
2143
by: Sebastian Schöps | last post by:
Hello all, I have to access a website which does a stupid browser check and only accepts Netscape 4.7. The problem is that I have to access the website with Mozilla or Internet Explorer. Query: if ((browserType.indexOf("etscape") != -1) && (browserVersion.indexOf("4.7") != -1))
13
2063
by: AMC | last post by:
Hi, I have the below code in an asp page. When I run this page in IE or Opera it correctly displays the header info and does not redirect me to 'test.html'. However, when I run this in Netscape it goes straight to the redirect page 'test.html' which indicates that javascript is not enabled and it also does not display the header info. Can...
0
1172
by: puffy | last post by:
hi to all..this is my 1st post in here..hope to get some help..need to use asp.net/ado.net to generate data from access db into xml doc or print it on screen..i only manage to generate it using dataset to xml with writexml function...i need my xml doc to look like: <graph chartType="BAR" xaxisname="Name" yaxisname="Votes" caption="My chart">...
2
9178
by: /.. | last post by:
Hi all, I'm working on a report display page that currently uses 5 checkboxlists with a total of 86 items to display values from 5 different tables in an Access database. The page works fine now. On presenting it to the users they pointed out that their users could change the values in the checkboxes and then print them out, ultimately...
2
1138
by: Ashwini Khanna | last post by:
Hi Everybody! I have a browser compability issue with ASP.NET pages. I have created a small web-site in ASP.NET, tested it with IE - all was well till then. Then my client required me to test on other browsers as well such as Netscape and Mozzila. The page gets displayed ont hem but the formatting goes for a toss! Does anyone know a work...
0
7299
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7201
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7438
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7163
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
5740
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5125
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3279
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1646
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
506
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.