Enable Effects On SecondaryBuffer?

May 11, 2012

According to this article, to clone a secondaryBuffer you need to disable the EffectCaps.

"Initially, the duplicate buffer will have the same parameters as the original buffer. However, the application can change the parameters of each buffer independently, and each can be played or stopped without affecting the other."

How can i re-enable the EffectCaps on the cloned SecondaryBuffer?

View 7 Replies


ADVERTISEMENT

Enable The Cool Vista Aero Effects Within Application?

Mar 8, 2008

How can I enable the cool vista aero effects within my vb.net application? I wish to make portions of the form, or prehaps even the whole form, have the transparent glass effect.

View 7 Replies

Microsoft.DirectX.DirectSound.SecondaryBuffer.Clone Not Working?

Apr 29, 2012

how can i create a buffer with BufferCaps.ControlEffects set to false in order to clone it? Here's the documentation

Public AudioData(7, 15) As SecondaryBuffer
Dim dev As New Device
Public Sub LoadAllData(ByVal ph As IntP

[code]....

View 2 Replies

Allow The User To Enable Or Disable A Textbox By Clicking Either A Button (enable) Or The Reverse?

Jun 19, 2009

I want to allow the user to enable or disable a textbox by clicking either a button (enable) or the reverse. (disable) if the user clicks the enable button the textbox should receive the focus.

View 4 Replies

DirectX SecondaryBuffer "Value Does Not Fall Within The Expected Range"?

Jun 30, 2011

I have a big trouble with creating of the SecondaryBuffer, below my

Dim testBuffer As New SecondaryBuffer(testBufferDesc, testDevice)

He says "Value does not fall within the expected range."I have searched on google, but i dont find any solution. I also tried the search engine on this forum, but nothing.I just want to play a sound from a memorystream because my data is stored in a byte array.

View 5 Replies

Transitions Effects On .NET?

May 10, 2012

I'm trying to make an image gallery in VB.net and i want that the image move to the left side of the screen and the next image appear from the right side and move to the center when the user click in the next button. Like a slider in HTML sites.I already make some Sliders but the Picture Box leave a trace.

View 1 Replies

Giving Effects To Buttons

Mar 6, 2011

Image shows the buttons on my UI in vb.net.All these buttons are having background images. Now what i want is these buttons be shown as inactive when actions corresponding to them are not available so I am making them cmd.enable = false but still on UI there is no visual effect of this disabling them on these buttons. They keep looking same as in enabled mode. So how to give effect of disabled state to these buttons.In the same way i want effect to be visible when mouse is hovered over these buttons and buttons are clicked

View 1 Replies

How To Make Lighting Effects

Jun 10, 2010

Is it possible to make simple but good looking lighting effects? I would give a pic but i dont know how. So anyway all i want it to do is light up a object but not have like a square or anything just a lit up area.

View 1 Replies

ItemDrag (effects) Not Working?

Jan 9, 2012

I am trying to implement dragdrop for some of my windows forms. Though the ItemDrag event to begin the process is firing, the desired graphics are not showing. Instead everytime I try to drag an object, the mouse icon becomes the black circle with a slash through it. The subsequent events are also not working, and I assume it is because the drag is not starting up right. Here is my test code:

Public Class DragForm
Sub New()
' This call is required by the Windows Form Designer.

[code]....

View 1 Replies

VS 2008 Simulating The Effects Of Add-On?

Jul 30, 2010

There's an Add-On for FireFox called FireBug, that lets you edit the HTML of the website in Real Time. Is it possible to do that with a WebBrowser is VB .NET? I basically want to edit the HTML of a website I'm browsing in the WebBrowser Control.

View 2 Replies

Asp.net - Gridview PageIndexChanging - Effects Are Not Shown?

Aug 4, 2011

I am trying to to loop through a dataset's value through the rows in a gridview and color in the text if that row matches.The code below works however whenever I change the page through the PageIndexChanging and this function is ran again, the coloring doesn't work anymore. It still loops through the gridview if there is a match but the effects are not shown.

--variable initialization class instantiation--

--code to connect to db here--

mySQLCommand.CommandText = "SELECT ..."[code]....

View 2 Replies

Implement ChecKboard Effects In 6.0 Form?

Mar 6, 2010

How to implement checKboard effects in VB 6.0 form

View 1 Replies

Implement Sound Effects In The SAPI 5?

Nov 28, 2011

how to implement effekt .echo-reverb in tts sapi 5? I work in the vb.net vs2010

View 6 Replies

Negative Effects Of Using A Generic Function

Oct 26, 2011

My question here is, what are the negative effects of using a generic function such as this? Calling this function does work, and in a test console module, it compiles perfectly fine. I do know this is not a strongly typed function, and is %100 bad practice. But it works perfectly. The purpose of a function like this, would be to handle string input that needs to be inserted in a particular format depending on the type. I also read some other questions on this here on stackoverflow, and suggestions pointed to using (Of T) functions, and variations like that. Why not do it this way? or is there another simple way of accomplishing this without creating a whole nothing class or larger amounts of code.[code]

View 1 Replies

Why Load() Event Of One Web Form Effects On The Other

Jul 5, 2009

I have a web form called "AdminHome" in it in the Page_Load() i have added

[Code]...

View 6 Replies

Winforms - Giving Effects To Buttons?

May 5, 2011

All these buttons are having background images. Now what i want is these buttons be shown as inactive when actions corresponding to them are not available so I am making them cmd.enable = false but still on UI there is no visual effect of this disabling them on these buttons.

View 2 Replies

Add Effects To Sounds That Are Playing Using The Mediaplayer Control?

Sep 15, 2009

is it possible to add effects to sounds that are playing using the mediaplayer control?. i have tried using directsound which works good and i can add effects to the sounds playing but it wont play mp3 files and i have looked all over for information on directshow which does play mp3s but all the examples i managed to find all have about 50 lines of code just to play one track and dont show how to add effects.

i need to play several sounds at the same time and add different effects to each track and also be able to play - stop - pause each individual track at will mediaplayer i can do this but dont know how to add effects directsound i can do all of this but cant play mp3s.is there any way to add effects using mediaplayer control? or does anyone please know where i can see a code example in directshow that adds effects to the sounds playing?

View 2 Replies

Play Music And Sound Effects From My.resources

Oct 18, 2009

i'm writing a game in vb 2008 and i want to play music and sound effects from my.resources at the same time,but when a sound effect plays the music stops playing.

View 1 Replies

Bitmap / Image Manipulation Effects / Methods?

Apr 18, 2012

Back when I used to use an 8 bit home computer I dabbled in machine code with an old version of BASIC which allowed you to POKE values into memory and then call the 1st memory location to execute that code. I used the equivalent HEX values for the processor which ran a series of ROR ( ROtate Right ) or ROL ( ROtate Left )commands through the carry bit as each line of the bitmap consisted of a series of bytes which were an 8 bit BYTE followed by the next BYTE in memory. The effects that I manage to create "in assembly language" as it were:

Scroll leftScroll right By manipulating full bytes in memory I created routines to:Flip the image horizontallyFlip the image verticallyTurn the image upside down Anyway, if you were to try this with the BASIC equivalent to GET and SET pixels, obviously the BASIC was a LOT slower. I am also interested in creating animated bitmaps from one or two images such as the following:Page turn effect.Sliding-in of an image in any direction.Ripple effect.Scratch effect.

View 4 Replies

Create Some Effects For The Pictures Provided By The User?

Mar 14, 2011

I am working on a project called "My Digital Diary" and I need to create some effects for the pictures provided by the user.

View 3 Replies

Use A WPF Control In WinForms To Achieve Transparency Effects?

Feb 10, 2011

Is it possible to use WPF in WinForms, to implement the idea used in this question. I am trying to create a semi-transparent panel.

View 3 Replies

VS 2005 CheckForIllegalCrossThreadCalls = False: Side-effects?

Apr 4, 2009

Is there any cause that this property's value isn't false by default?. When you work with threads, you always require to update user interface from the child thread, I think that may be false is not the default value because of its side effects, wich I don't know.

View 3 Replies

.net - Duplicating Effects: Dreamweaver Pong Easter Egg Beep?

Dec 28, 2009

I don't want to actually MAKE the pong easter egg, but for anyone with Dreamweaver, try typing 'dreamweaver' into the color selection box to play a round of pong.The bit that I want to know how it works is the bit at the end once you lose.After your loss, it will immediately play a small tune, whether or not your volume is on. In fact, it plays whether or not you have speakers, which makes me think the sound card itself is playing the tune.How can you achieve a similar effect, playing notes without sound or speakers, in vb.net? I would imagine this requires P/Invoke, seeing as there is no obvious way inside the framework.I don't need a whole song, a simple beep or the ability to change frequency of the beep will suffice.

View 1 Replies

Add Music And Sound Effects To A Windows Form Application?

Apr 22, 2011

I'm trying to make a simple game, and as the title suggests, I'd like to know how to add music to it.

View 5 Replies

Apply Effects Such As DropShadowEffect Class To TextBlock Run Element In WPF?

Jul 7, 2009

How do I apply effects such as a DropShadowEffect class to a TextBlock Run element in WPF?

Think of it as a way of highlighting certain areas of text in a TextBlock where the Run element is located, but applying an individual effect to that area instead.

View 1 Replies

Bitmap Effects (Firmware 2.0) Change The Source Of An Image In WPF

Sep 2, 2009

I think that changing from WinForms to WPF just because the blur effect is easier to do in WPF is the stupiest thing i can do right now it took me time to understand how the windows form application works i dont even how change the source of an image in WPF so here we are again. how to blur a speciefied image using CODE ONLY ?

See what im trying to do:

1. Imagine that you turn on your pc. takes some time to load.
2. Finally for the first time you are on the desktop.
3. Before you do something after every icon is loaded my program
takes a picture of the desktop and blurs it.
4. then it runs fullscreen showing the desktop behind as blurred and
not giving you access to the desktop.
5. a login/register border pops up
6. if you login the program closes if you dont it stays there
waiting for you to login or register.

I wont use it that way im planning to do it on the startup of my program only blur the window not the screen (i mean the content of my window) untill you login or register then it clears again. What i need to learn:

1. How to take a screenshot of my program (only yhe content of the window) [Progress: 1% (cause i know how to take a screenshot of the desktop)]

2. How to blur that image [Progress: 100%]

No need for third party programs or dlls i mean isnt there a default function in vb.net the stupiest way to do it?

View 7 Replies

How To Make Shadow Effects For Image With Transparent Back

Jul 26, 2010

I have a code that takes the pink out of a image and makes it transperent. So its just the image no color around it. How do i make a shadow for that image like below to make it look like it has its own shadow?

View 9 Replies

Make Particle Effects And Effect Generation Without Directx?

Jul 19, 2011

How do I make Particle Effects and Effect Generation without Directx?

Effects I need

- Dust
- Fire
-Rain
-Thunder
- Fog
- Exsplosion

View 8 Replies

Overlay Text, Bitmap With Diff Effects (alpha) Using DX?

Feb 6, 2011

I need to overlay the text, a movie or bitmap over a video.It would be possible to use VMR9 filters, but at playing of a wide video, for limits of a black square, it is impossible to overlay in out of video square range.

View 5 Replies

Side Effects Of Defining A Structure Inside A Class?

Jun 6, 2011

What is the side effects of defining a structure inside a class (name it X), and create a property inside that class of the type X?

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved