VB Application Won't Run on Other Machine

C

cddiller

Hi All,

My office doesn's use VB all that much (mostly embedded systems
development). I adapted a co-workers VB application (from VB 6.0) to
suit my needs using VB 2005 Express. VB 2005 Express auto-updated the
program from the old version.

I can run the published application just fine from my PC and my co-
workers, but I cannot get it to run on any other machine. I've tried
installing the .NET Framework (V 1.1 and 2.0, both the
redistributables and the SDKs) without any luck. I even installed VB
2005 Express on one of them without any luck.

When the program tries to run, I get a typical Windows warning
(<program>.exe has encountered a problem and needs to close. Blah,
blah, blah). When I tried to copy the project files over to the other
computer, I get an error saying "an unhandled exception of the type
system.invalidoperationexception occurred in <program>.exe ...
exception from HRESULT: 0x8007007E."

Any one have any ideas? This is killing me...

Thanks!
Chris Diller
 
C

Cor Ligthert [MVP]

CDDiller,

Maybe a W98, Me or NT4 computer which have not all functionality from Net.

Cor
 
P

PFC Sadr

Cor;

I don't get it.

I don't understand

_WHICH_ operations don't work on these OS?
maybe this is a big piece of why .NET pisses me off so much


I just don't see this advertised anywhere-- maybe I just need to find
the right KB article?

thanks
 
G

Guest

PFC Sadr,

Don't see it advertised anywhere? Virtually every entry in the help system
has a Platforms section.

Kerry Moorman
 
C

cddiller

CDDiller,

Maybe a W98, Me or NT4 computer which have not all functionality from Net.

Cor

"cddiller" <[email protected]> schreef in bericht








- Show quoted text -

The app was developed on a Win XP Pro machine and the client is also
Win XP Pro...
 
C

Chris Dunaway

The app was developed on a Win XP Pro machine and the client is also
Win XP Pro...

In the program's Main sub, you should place a try catch block around
the code or add a handler for the AppDomain.UnhandledException event.
That should tell you what the exception is.

Chris
 
C

cddiller

In the program's Main sub, you should place a try catch block around
the code or add a handler for the AppDomain.UnhandledException event.
That should tell you what the exception is.

Chris- Hide quoted text -

- Show quoted text -

I have the application working on another PC now (Win2K Pro... the
install prompted me to download a new Windows Installer and .NET 2.0),
so I don't think I have an Exception problem...
 
R

RobinS

Cor,

In case you didn't know, that's another one of our neighborhood troll's
aliases.

Robin S.
 
P

PFC Sadr

sorry the help system?

the help system in visual studio DOES NOT WORk

have you ever used it on a laptop?
why does it need to prompt for offline / online-- because even when I
choose offline it still searches online?

MS needs to revert HELP to the old version; I refuse to use help in
visual studio because it mother ****ing sucks, it is slow-- and it
does not work.

hit a keyword hit F1 in visual studio-- does it bring up ANYTHING
resembling the right answer?
it used to work fine in the vb6 world

now it is slow as shit and it gives the wrong answers CONSISTENTLY
 
P

PFC Sadr

I'm sorry guys

http://msdn2.microsoft.com/en-us/library/system.web.mail.smtpmail.aspx

THIS CLASS IS OBSOLETE - this warning only shows up on the .NET 3.0
version of the page
when I click on 1.1 or 2.0 it doesn't say that

now _WHY_ would MS come out with a class that is obsolete in 3.0 but
it's not obsolete in 1.1 and 2.0?

it's obsolete _EVERYWHERE_ but MS can't manage content to save their
lives

100,000 word docs _CAN_ be wrong!!!

KEEP YOUR SHIT IN A DATABASE, MICROSOFT!
 
P

PFC Sadr

robin

shut the **** up bitch

FEMALE PROGRAMMER ALERT


I'm not a troll.. but have you seen 'the sixth sense'

I SEE CRAP PRODUCTS
I SEE CRAP PRODUCTS
I SEE CRAP PRODUCTS
I SEE CRAP PRODUCTS
 
P

PFC Sadr

I'm contributing to this thread; STFU bitch





Cor,

In case you didn't know, that's another one of our neighborhood troll's
aliases.

Robin S.
--------------------------------




- Show quoted text -
 
C

cddiller

when I search for 'what version of the framework'
it doesn't give me ANYTHING close to the results that I need

http://search.msdn.microsoft.com/search/default.aspx?siteId=0&tab=0&q...

mother ****ing dipshits in redmond needed to get into the search
engine race a decade ago




- Show quoted text -

Would you all kindly move your fighting elsewhere? I'm looking for a
solution to my problem... not to get in the middle of some weird VB
User Group Feud...
 
B

Branco Medeiros

cddiller wrote:
Would you all kindly move your fighting elsewhere? I'm looking for a
solution to my problem... not to get in the middle of some weird VB
User Group Feud...
<snip>

Not a fight or Feud battle. Your thread had the misfortune to catch
the attention of the troll-on-hold that pesters this list (and a few
unlucky others, if I'm not mistaken).

This means that you'll see long threads of insults and non-sensical
babbling coming from and between folks such as PFC Sadr, Larry Linson
(Jr.), Susie DBA, Punjab Tom and Aarron Keimpf (I'm certainly
forgetting someone). They're all the same troll.

Don't post them back, if you possibly can.

Regards,

Branco.
 
B

Branco Medeiros

cddiller wrote:
<backposted/>

You say the VB.net app was a conversion from a previously existing VB6
app. Are you using any controls specific to that environment that
couldn't be replaced by a corresponding one in the .Net framework? Are
you using COM technology directly (ADO or DAO, for example)? If you
answered yes to any of these, maybe you have a dependency problem, or
the actual issue is related to the underlying COM technology not being
in synch between your machines...

Anyway, it seems to me it's an installation problem. If it's possible,
build an install package for the original (VB6) application and notice
any dependencies. Verify if those dependencies are still required in
the .Net app.

Oh, and for VB Express, you'll need Net 2.0. The application isntall
will usually take care of downloading that, if I'm not mistaken.

HTH.

Regards,

Branco.
 
C

cddiller

cddiller wrote:

<backposted/>

You say the VB.net app was a conversion from a previously existing VB6
app. Are you using any controls specific to that environment that
couldn't be replaced by a corresponding one in the .Net framework? Are
you using COM technology directly (ADO or DAO, for example)? If you
answered yes to any of these, maybe you have a dependency problem, or
the actual issue is related to the underlying COM technology not being
in synch between your machines...

Anyway, it seems to me it's an installation problem. If it's possible,
build an install package for the original (VB6) application and notice
any dependencies. Verify if those dependencies are still required in
the .Net app.

Oh, and for VB Express, you'll need Net 2.0. The application isntall
will usually take care of downloading that, if I'm not mistaken.

HTH.

Regards,

Branco.









- Show quoted text -

I am using COM interfaces. I'll have to determine if it's using ADO
or DAO...

When I build an install package from VB6, where can I check the
dependencies?

Yes, the install does prompt to download .NET 2.0.

-Chris
 
C

Cor Ligthert [MVP]

Thanks Branco

Branco Medeiros said:
cddiller wrote:

<snip>

Not a fight or Feud battle. Your thread had the misfortune to catch
the attention of the troll-on-hold that pesters this list (and a few
unlucky others, if I'm not mistaken).

This means that you'll see long threads of insults and non-sensical
babbling coming from and between folks such as PFC Sadr, Larry Linson
(Jr.), Susie DBA, Punjab Tom and Aarron Keimpf (I'm certainly
forgetting someone). They're all the same troll.

Don't post them back, if you possibly can.

Regards,

Branco.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top