Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_components thread: Visual Studio question


Message #1 by <wburrough67@y...> on Tue, 5 Jun 2001 17:41:11 +0100
Hi,

I know this is only barely on topic, but please help me.

I've written an active x dll and a standard exe to run it. I grouped

the two projects and all worked well.

Then I "made" my exe and dll. They compiled fine, I registered the dll

and they run OK.



Now when I try to run the project group from visual studio, nothing

happens. Even if I put a lines of garbage in the code, nothing happens.

No errors - I just have to click Stop.



Is there some setting I need to change to get it to work again?

Thanks very much.

Walter





Message #2 by "Balajewicz, Greg" <Greg.Balajewicz@A...> on Tue, 5 Jun 2001 12:30:37 -0500
I am assuming you are using VB currect?



I have never grouped projects together and ran them the way you 

describe so

I cannot tell you what is wrong in your situation but I would suggest 

an

alternative setting which works very well for me: load the dll and exe

projects into separate vb instances and run each one separately. Once 

you

run the DLL you will be able to create objects exposed by that dll 

using

your exe. This should always work.

hope this helps..

Greg



-----Original Message-----

From: Walter Burrough [mailto:wburrough67@y...]

Sent: Tuesday, June 05, 2001 12:41 PM

To: ASP components

Subject: [asp_components] Visual Studio question





Hi,

I know this is only barely on topic, but please help me.

I've written an active x dll and a standard exe to run it. I grouped

the two projects and all worked well.

Then I "made" my exe and dll. They compiled fine, I registered the dll

and they run OK.



Now when I try to run the project group from visual studio, nothing

happens. Even if I put a lines of garbage in the code, nothing happens.

No errors - I just have to click Stop.



Is there some setting I need to change to get it to work again?

Thanks very much.

Walter





Message #3 by "Matt Usher" <two_under@h...> on Tue, 05 Jun 2001 21:36:43 -0000
Greg,



Right click on your exe project in the Project Explorer and click 'Set as 

Startup'.



Matt Usher





----Original Message Follows----

From: "Balajewicz, Greg" <Greg.Balajewicz@A...>

Reply-To: "ASP components" <asp_components@p...>

To: "ASP components" <asp_components@p...>

Subject: [asp_components] RE: Visual Studio question

Date: Tue, 5 Jun 2001 12:30:37 -0500



I am assuming you are using VB currect?



I have never grouped projects together and ran them the way you describe so

I cannot tell you what is wrong in your situation but I would suggest an

alternative setting which works very well for me: load the dll and exe

projects into separate vb instances and run each one separately. Once you

run the DLL you will be able to create objects exposed by that dll using

your exe. This should always work.

hope this helps..

Greg



-----Original Message-----

From: Walter Burrough [mailto:wburrough67@y...]

Sent: Tuesday, June 05, 2001 12:41 PM

To: ASP components

Subject: [asp_components] Visual Studio question





Hi,

I know this is only barely on topic, but please help me.

I've written an active x dll and a standard exe to run it. I grouped

the two projects and all worked well.

Then I "made" my exe and dll. They compiled fine, I registered the dll

and they run OK.



Now when I try to run the project group from visual studio, nothing

happens. Even if I put a lines of garbage in the code, nothing happens.

No errors - I just have to click Stop.



Is there some setting I need to change to get it to work again?

Thanks very much.

Walter





Message #4 by Kyle Burns <kburns@c...> on Tue, 5 Jun 2001 16:31:58 -0500
On thing that might need checked is to set the EXE as the "startup" 

project.

It could be that the DLL is set as the startup project and that it is 

in

effect setting and waiting for its components to be created.



>> -----Original Message-----

>> From: Balajewicz, Greg [mailto:Greg.Balajewicz@A...]

>> Sent: Tuesday, June 05, 2001 12:31 PM

>> To: ASP components

>> Subject: [asp_components] RE: Visual Studio question

>>

>>

>> I am assuming you are using VB currect?

>>

>> I have never grouped projects together and ran them the way

>> you describe so

>> I cannot tell you what is wrong in your situation but I

>> would suggest an

>> alternative setting which works very well for me: load the

>> dll and exe

>> projects into separate vb instances and run each one

>> separately. Once you

>> run the DLL you will be able to create objects exposed by

>> that dll using

>> your exe. This should always work.

>> hope this helps..

>> Greg

>>

>> -----Original Message-----

>> From: Walter Burrough [mailto:wburrough67@y...]

>> Sent: Tuesday, June 05, 2001 12:41 PM

>> To: ASP components

>> Subject: [asp_components] Visual Studio question

>>

>>

>> Hi,

>> I know this is only barely on topic, but please help me.

>> I've written an active x dll and a standard exe to run it. I grouped

>> the two projects and all worked well.

>> Then I "made" my exe and dll. They compiled fine, I

>> registered the dll

>> and they run OK.

>>

>> Now when I try to run the project group from visual studio, nothing

>> happens. Even if I put a lines of garbage in the code,

>> nothing happens.

>> No errors - I just have to click Stop.

>>

>> Is there some setting I need to change to get it to work again?

>> Thanks very much.

>> Walter

>>

>>

Message #5 by <wburrough67@y...> on Wed, 6 Jun 2001 08:35:14 +0100
That's the fella. Thank you everyone - what a relief. I've spent weeks

going back and trying stuff!

walter



> -----Original Message-----

> From: Matt Usher [mailto:two_under@h...]

> Sent: 05 June 2001 22:37

> To: ASP components

> Subject: [asp_components] RE: Visual Studio question

>

>

> Greg,

>

> Right click on your exe project in the Project Explorer and

> click 'Set as Startup'.

>

> Matt Usher

>

>

> ----Original Message Follows----

> From: "Balajewicz, Greg" <Greg.Balajewicz@A...>

> Reply-To: "ASP components" <asp_components@p...>

> To: "ASP components" <asp_components@p...>

> Subject: [asp_components] RE: Visual Studio question

> Date: Tue, 5 Jun 2001 12:30:37 -0500

>

> I am assuming you are using VB currect?

>

> I have never grouped projects together and ran them the way

> you describe so

> I cannot tell you what is wrong in your situation but I

> would suggest an

> alternative setting which works very well for me: load the

> dll and exe

> projects into separate vb instances and run each one

> separately. Once you

> run the DLL you will be able to create objects exposed by

> that dll using

> your exe. This should always work.

> hope this helps..

> Greg

>

> -----Original Message-----

> From: Walter Burrough [mailto:wburrough67@y...]

> Sent: Tuesday, June 05, 2001 12:41 PM

> To: ASP components

> Subject: [asp_components] Visual Studio question

>

>

> Hi,

> I know this is only barely on topic, but please help me.

> I've written an active x dll and a standard exe to run it. I grouped

> the two projects and all worked well.

> Then I "made" my exe and dll. They compiled fine, I

> registered the dll

> and they run OK.

>

> Now when I try to run the project group from visual studio, nothing

> happens. Even if I put a lines of garbage in the code,

> nothing happens.

> No errors - I just have to click Stop.

>

> Is there some setting I need to change to get it to work again?

> Thanks very much.

> Walter

>


  Return to Index