bdbodger

If you use directx.audiovideoplayback I assume you will have to include the .dll's with your app I am not using clickonce and an app I sent to some one caused an error on thier system but an earlier version didn't the only difference was some sound added using directx.audiovideoplayback .

Re: Visual Basic Express Edition directx.audiovideoplayback

js06

If you are not using clickonce then you may need to build the app and then use those files.

But on the other hand if you take the files (all of them) that are in the bin\debug directory and use them in your installer then you shouldn't have any problems.

What did the error say






Re: Visual Basic Express Edition directx.audiovideoplayback

bdbodger

I was told it was an error about a missing dll but can't be sure now the person says they can't reinstall the .net framwork . To be able to use this on an app you have to download the directx sdk so that is what made me think that you would have to include the directx dll wrappers . The dll in question is in C:\WINDOWS\Microsoft.NET\DirectX for Managed Code\1.0.2902.0 and will show up as a prerequisite in your project if you use it .



Re: Visual Basic Express Edition directx.audiovideoplayback

js06

I just found out what the problem is when i tried to install on another computer

In your project properties - publish tab - click on application files

change the publish status of your directx files to include

That should take care of the problem

i just tried it on my other computer that gave me the same error and it worked perfect






Re: Visual Basic Express Edition directx.audiovideoplayback

bdbodger

So I am right in thinking you need to include the .dll's if you use it . Thanks . I however am not using clickonce .



Re: Visual Basic Express Edition directx.audiovideoplayback

js06

Ok, here is what i did

I cheated but it worked

I installed my app on my computer with clickonce

then i went to the app install directory on my harddrive and copied all the files

i copied them to my third computer that does not have the directx dll files or the sdk

I ran the exe and it worked fine

you can do this and use the installed files that you copy in your installer

The installer programs don't really change your apps they just package them

The directory where your apps will be installed by clickonce will be something like this

C:\Documents and Settings\J\Local Settings\Apps\2.0\Q6WYK18P.L3H\H3NRC1B9.HK0

you need the folder that looks something like this

time..tion_5ce5590dc9d3348d_0001.0000_49e0f403d1842fc0

instead of the word time in front it will have part of your app name