Hi,
My C# application used a COM. When I deploy my application, how to detect if
the target machine has installed the COM?
Thanks,
Max 2 1209
You could either try to detect it before you attempt to use the object, e.g.
by using Type.GetTypeFromProgID(), or you could simply try to instantiate
the COM object and see if you get an exception.
Ken
"msnews.microsoft.com" <zH***@yahoo.com> wrote in message
news:%2******************@TK2MSFTNGP09.phx.gbl... Hi,
My C# application used a COM. When I deploy my application, how to detect
if the target machine has installed the COM?
Thanks, Max
thank you very much,
"Ken Kolda" <ke*******@elliemae-nospamplease.com> wrote in message
news:Od****************@TK2MSFTNGP12.phx.gbl... You could either try to detect it before you attempt to use the object,
e.g. by using Type.GetTypeFromProgID(), or you could simply try to instantiate the COM object and see if you get an exception.
Ken
"msnews.microsoft.com" <zH***@yahoo.com> wrote in message news:%2******************@TK2MSFTNGP09.phx.gbl... Hi,
My C# application used a COM. When I deploy my application, how to
detect if the target machine has installed the COM?
Thanks, Max
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Google Mike |
last post by:
Had to write something similar to this for my office. You can adapt to
your use. I just put it on a chron job for every 15 minutes. My bash
script did:
#!/bin/bash
php -d...
|
by: martijn |
last post by:
Hi There,
my vb app can open files. Well, actually my vb app launches word or excell
to open them.
These files are shared in a network.
If somebody else has allready opened that file, you...
|
by: Andreas Klemt |
last post by:
Hello,
I have this
Dim myDate As Date
...
...
How can I check if this date is empty (value #12.00.00 AM# is in there) ?
Thanks,
|
by: Richard Meister |
last post by:
Hi,
I'd like to define several constants and make sure that all of them are
smaller than a given other constant. I thought this could be done by a
simple macro. Something like this:
#define...
|
by: CMan |
last post by:
Hi,
I need to check emails from a web application. Is there a simple way for the
application to check whether an email arrived?
Thanks
C
|
by: Mike-deerenews |
last post by:
I would like to check for the existence of an attribute in order to prevent
an exception from firing.
Could someone provide an example?
tia
Mike
|
by: dmitrey |
last post by:
hi all,
howto check is object Arg1
- a func, lambda-func
- something else?
I tried callable(Arg1), but callable(lambda-func) returnes False
Thx, D.
|
by: dmitrey |
last post by:
howto check does module 'asdf' exist (is available for import) or no?
(without try/cache of course)
Thx in advance, D.
|
by: dmitrey |
last post by:
hi all,
howto check is function capable of obtaining **kwargs?
i.e. I have some funcs like
def myfunc(a,b,c,...):...
some like
def myfunc(a,b,c,...,*args):...
some like
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
|
by: ryjfgjl |
last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
|
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,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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$) {
}
...
|
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...
|
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
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
| |