List Info

Thread: Re: Need Help, Kinda Urgent




Re: Need Help, Kinda Urgent
country flaguser name
United States
2007-03-28 16:03:36

Hey all,

Anyone have a clue on this?
I've tracked down several ways that the error 429 can be generated,
but I haven't found anywhere that shows a solution on how to resolve
it when using the sound objects.
Again, this code works perfect on XP and 98 and others, but when run
on "some" VISTA computers, it works, and on "some other"; VISTA
computers, I am getting the error code 429 when trying to load the
sound objects.
The associated code is:

Set ds = dx.DirectSoundCreate(vbNullString) 'DirectSound
object
Set dsc = dx.DirectSoundCaptureCreate(vbNullString) 'DirectSound
Capture

'Check to see if Sound Card is properly installed
If Err.Number <> 0 Then
MsgBox "Unable to start DirectSound. Check proper sound card
installation&quot; & vbCrLf & _
"Error Number occurred when trying to create the
DirectSound capture&quot; & vbCrLf & _
"Error Number = " & Err.Number & vbCrLf & _
"Desription: " & Err.Description & vbCrLf & _
"Source: " & Err.Source
End
End If

On some computers,it shows error number is = 429, and on another it
shows 0x80004005.

Anyone have a clue?
The 429s are occurring on VISTA, yet most VISTAs work perfect.

Help, need to find an answer quick,

Thanks in advance,
John

--- In visualbasic6programming%40yahoogroups.com">visualbasic6programmingyahoogroups.com, "John Henry";
<jshenry1963...> wrote:
&gt;
> Hello Everyone,
>
> I have a problem with a VB6App that I wrote, works on everything,
> except VISTA.
&gt;
> It was compiled in Visual Basic 6.0, with DirectX Version 8.
> Runs perfectly on all Windows operating systems and DirectX Versions
> through 9.
>
> Doesn't run on "some" VISTA machines.
>
> On some, it is fine, different machines, and different installations
> of VISTA.
&gt;
> On two so far, it gives me a err.number = 429.
>; I researched the web, and it says this is a scripting error, ActiveX
> Component Can't Create Object. This is usually due to scrrun.dll not
> present in system32. So I put scrrun.dll into system32, no luck. I
> register it, no luck.
&gt;
> Any clues? Is this a security issue that is blocking it?
>
> When I do:
> Set ds = dx.DirectSoundCreate(vbNullString) 'DirectSound object
&gt; it is fine.
&gt;
> I get it when I try to do the line that follows it:
> Set dsc = dx.DirectSoundCaptureCreate(vbNullString) 'DirectSound Capture
>
> Any clues?
&gt;
> I tracked it into the microsft support site and found the following
> link, but it only shows patches for nt, 98, me, and a link can get
> patches for xp and others, but not xp.
>
> http://support.microsoft.com/kb/247979
>
>
> Thanks
&gt; John
>;

__._,_.___
.

__,_._,___
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )