Slow Application And Distorted Sound?

Jun 11, 2011

I've read around that playing WAV files from resources using My.Computer.Audio.Play causes horrid distortion when playing the sound, and I've experienced this myself. I cannot,however, use WaitToComplete, because the sounds are associated with a timer that cannot stop for anything, as it is an official competition timer.Also, I'm having an issue with the application being extremely slow when loading data from an Excel file. Essentially, the program has a grid of labels with transparent backgrounds (which seems to make the speed issue worse). The program uses the MS Office library to pull data from a spreadsheet, then output cells to one label at a time. This unfortunately, causes the application to nearly freeze, which also stops the timer, which as I said above, cannot happen

View 8 Replies


ADVERTISEMENT

DataGridView Distorted When App Installed On Different Resolution Computers

Aug 10, 2010

I have following problem. In high resolution (1920x1200) computer I see in the application the datagridview correctly. column with are frozen. But if the application is installed to lower resolution (1024x786) computer the the datagridview in a form is distorted. Text does not fit properly anymore to columns and columns somehow have got wider so you need to look at right most column.

View 1 Replies

Application Runs Slow

Jul 22, 2009

I have designed an application just like it is an Excel table. By changing each textbox the application runs a huge amount of vb code and it takes time.

E.g. you want to enter a three digits number it takes from two to four and sometimes more seconds for ech digit to enter. That`s really embarrassing.

View 11 Replies

Application Very Slow After 1 Hour Of Use

Jan 23, 2009

I have a problem with a application, when i start the program the speed is ok.after 1 hour of use the prohram go very slow.

View 7 Replies

VS 2008 Application So Slow?

Aug 24, 2009

I have been developing an application using Visual Studio/VB and access 07 for my db. On the system I am developing my app. the db is local and the speed of the application is very good when I debug it. As I publish my application the db goes on a network server and the application is installed/used by 5-6 pc. The speed of the program drops alot as time passes and as is used, speed goes even more down. My problem is that I do not know what is making this change. Is it the server fault, the other pc, the many users, the lack of garbage collector ( other than the one vb does alone ), the existense of the db on the server? Based on the information I give does anyone has a tip on how to increase speed. I dont know how to begun to start fixing it as I do not know where the problem resides. One example of poor performance is the search I do on the program. For the first search I do they are ok then the more I make the slower they get.

View 16 Replies

Application Is Slow After Bitmap.Clone

Jan 10, 2012

The following code loads a large 1 bit depth bitmap (10800x7226) on a PictureBox docked and with auto scroll bars.

After loading the bitmap I can drag the scrollbars, and it's very responsive.

After clicking the PictureBox and executing the Bitmap.Clone, dragging the scrollbars becomes very sluggish.[code]...

View 7 Replies

ResGen Causes VERY Slow Build Of .Net Application?

Sep 13, 2010

I have a Vb.Net 2010 solution with two projects and a total of around 500 forms. Until last week compilation of these projects occured in about 30 seconds. Starting a few days ago (without any noticiable change) compilation now takes around 15 minutes! The «culprit» seems to be ResGen.exe: looking at Task Manager this program is using 25% of CPU time while devenv.exe stays idle - no other programs are active. Target CPU is x86 and target Framework is 3.5. The development machine runs Windows 7 Professional and is updated with all regular updates and SPs.

View 2 Replies

VS 2008 Pause Or Slow Application?

Oct 14, 2010

I am moving a lot of data to MS Excel from my application. I use a conditional statement to choose which Excel page the data is transferred into. Then a For Next statement to divide the data into various areas on the Excel sheet.The first sheet will always work correctly, but on the next conditional statement to chose the next Excel sheet no data transfers when running the program. If I step the program by hand all data all code works fine. I believe I need to pause between the conditional statements but I have been unable to get one to work.In the following code I have been trying to get a pause between to conditional statement to no avail.

[Code]...

View 7 Replies

API To Mute Sound In Application?

Apr 14, 2009

I had a source code along time ago but can't find it anymore. When the Browser control refreshes a page - it plays the audio from the video it's viewing. I don't think the user that using the program will like that. Is there any way I can mute the audio inside the program without effecting other windows audio like when the user has music playing?

View 1 Replies

Mute Sound Of Application Only?

Jan 14, 2012

Basically I want to mute the sound for my program only.

As you see one of the sound channels are form1 - I wish to mute this channel only.

How would I do this?

By the way, the reason why I need to mute my application is because I want to mute the webbrowser in the application.

View 2 Replies

Dot Matrix Printing Speed Is Very Slow In Application

Jul 5, 2010

I'm asking this question here, in this forum, as I couldn't find MSDN Managed forum for Crystal Reports. And the previously asked questions are unanswered. I've developed an application using VB.NET and Crystal Reports in VS2008. The report generated gets printed correctly on modern laser or inkjet printers. However, the entire formatting gets affected when I print these reports on dot matrix printer. Apart from that. the print speed is very slow. I tried exporting the report to PDF, XLS, DOC and other formats - but no solution. There was Export to Text function, which is not working in Crystal Reports now.

[Code]...

View 1 Replies

Paint Application Writing Very Slow - Needs To Be Quicker

Jun 29, 2009

I found some code online for a vb paint application and I modified it for my use, which is a signature application. It uses a tablet connected to the pc to write the signature on the screen and then save it as a bitmap for later retrieval.The only issue i am having right now is that if you write on the tablet too fast, the signature gets broken up alot, any way to quicken the paint process in the code so that I can get a smoother signature?

Here is my code:
Imports System
Imports System.Collections
Imports System.Data
Imports System.IO
Imports System.Xml.Serialization
[Code] .....

View 1 Replies

Application - Playing WIndows Sound

Sep 11, 2009

I want to have a applacation then wehen somthing happens (like, uhh a error message but without the message box.) what would be the code that plays the windows alert sounds, and one that applies to the current sound scheme i have running.

View 1 Replies

Creating Sound Shop Application?

Apr 25, 2012

I am creating a sound shop application. The user will first select an album from album list box and then from there a list of songs from that specific artist will end up in the song list box. The user will then be able to add that song to the shopping cart. After confirming the purchase, the songs that were bought will appear in the play list box so the user can listen. I am confused on how to get this to work properly.

View 1 Replies

Application Slow Is DB Access/text File Code Ok?

Jan 26, 2012

I noticed that my application is running a bit slow. This is a Windows Service built using VB2010 with SQL Server as a back end. Its main function is to poll a folder looking for a text file. If found it reads the text file and imports the data into SQL Server.

While the slowness could be caused by a number of reasons, I am looking at my code to determine if it could be more efficient. Below I've pasted snippets of code where I initialize the DB connection and execute SQL statements. I've also included a snippet that illustrates how I am processing the text file.

I'd appreciate if the group could have a look at these and let me know if the method that I am using is the most efficient possible. At this time I am also focusing on other probable issues, but I can't rule out the possibility that the code that is in place might be a contributing factor.

[Code]...

View 4 Replies

Application That Consists Of About 4 Screens - Slow Launch Time

Aug 23, 2010

I have an application that consists of about 4 screens. Screens can be changed by clicking on buttons or via menu item. I use about 16 to 17 tables in all for all 4 screens. I've publised the application and it works fine except that it takes about 1 1/2 to 2 minutes to launch the application using the setup file that I save onto my PC. If I get lucky, a little over a minute is already fast for me. What can I do to help speed up the launch time?

View 12 Replies

VS 2008 : Application To Get Any Sound Playing From Pc And Play It?

Dec 6, 2009

Is their a way for my application to get any sound playing from my pc and play it?

View 6 Replies

Capture Sound - Using Mcisendstring Function But The Sound Quality, Is Poor?

Jun 20, 2011

I have a question about of capture sound function, someone have a code example for visual basic 2010 in windows 7?, I tried using mcisendstring function but the sound quality, is poor.

View 5 Replies

Play Another Sound (like A Beep) When Desired Without Stopping The Background Sound?

Apr 19, 2009

I have background sound loop with the My.Computer.Audio and it works fine. I want to play another sound (like a beep) when desired without stopping the background sound. Several examples I have found don't seem to work. I am in VB.NET 2008 Professional.

View 8 Replies

VS 2010 Adding Sound To A 3D Game / Finding A Sound Library?

Aug 24, 2011

I'm ready to start adding sound to a 3D game and I'm looking for a decent Free library.it would not require DX and be something like:

dim MySound as SoundLib.Sound
MySound = SoundLib.LoadSound("soundfile.wav")

SoundLib.Play3DWorld(Location.X, Location.Y, Location.Z, VolumeModifier, MySound)so far all Im finding is expensive, C#, old, or not .NET compatible.

View 9 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

How To Save Sound They Make And Catshing A Sound Recorder

Aug 14, 2009

im making a techno progam in visual basic 2008 and after 3 hour im think how to save the sound they make and catshing a sound recorder but what the code im try to find on internet but find 0 pleas give me the code im try to find

View 1 Replies

VS 2010 Using 3 Or More Sound Outputs Or Multiple Sound Devices

Jul 21, 2011

I'm creating an application that will have 3 streams of audio. I can get 2 streams playing easy enough using DirectX AudioVideoPlayback and setting the balance for each Audio Instance. However, I need a 3rd Audio instance to play out of another output such as the Rear or Centre. An alternative would be to be able to select a different sound device in the machine to play the 3rd audio stream.

[Code]...

View 1 Replies

Background Worker In Excel VSTO Application, Modal Dialog Makes BGW Cancellation Slow

Nov 25, 2011

I'm using a background worker to in an Excel VSTO application to throw up a progress dialog box with a status bar and a cancel button to escape from long running calculations. It's working really well, except for one issue. I'd like to use a Modal Dialog, so that the UI behind the dialog gets locked up, instead of a Modeless Dialog. If I use .ShowDialog() instead of .Show(), everything is great until you hit the Cancel button on the form. Following things in the debugger, the cancellation happens, it just takes somewhere in range of 30 seconds. If I use .Show() on my form, then the cancellation occurs immediately as it should.

[Code]...

View 2 Replies

Get The Decibel Level Of Sound Being Sent To The Sound Card?

Apr 15, 2010

I need to get the decibel level of sound being sent to the sound card (not the actual sound level the speakers are instructed to emit via volume level)There is next to no information i can find on the net to even access sound data. Could anyone point me in a direction for this? The OS will be vista/7.

View 2 Replies

Using 3 Or More Sound Outputs Or Multiple Sound Devices

Jul 21, 2011

I'm creating an application that will have 3 streams of audio.I can get 2 streams playing easy enough using DirectX AudioVideoPlayback and setting the balance for each Audio Instance.However, I need a 3rd Audio instance to play out of another output such as the Rear or Centre.An alternative would be to be able to select a different sound device in the machine to play the 3rd audio stream.I've been searching the net for 2 days now trying to find a solution, but have so far been unsuccessful. I've tried a few alternative libs such as DirectShow.Net, DirectSound, BASS.Net, QuickTime and OpenTK.Some of them do what I need to do, but they are either too difficult to use and therefore impractical or they are missing some other essential features such as Events which are required to make the rest of the application work. Would anyone oppose to me posting this same thread on other forums?I will of course post a solution if one is found elsewhere without advertising external websites.

View 4 Replies

Build A Small Program Which Will Allow Some One To Click On The Exit Button And The Sound Will Play And At The End Of The Sound The Program Will Then Close?

Apr 17, 2009

I am trying to build a small program which will allow some one to click on the exit button and the sound will play and at the end of the sound the program will then close. The sound clip is about 3 seconds long Here is what I have:

Imports Microsoft.DirectX
Imports Microsoft.DirectX.DirectSound
Public Class Form1
Private Dsound As CSoundDevice

[code]....

View 14 Replies

Direction For Sound Through Sound Card?

May 27, 2011

Is there a way to generate a pure tone (e.g. 440 Hz) for a specified period of time through the sound card without using having to find or make a separate .wav file for each tone.I tried using the "Beep" function, but while it produces the tone for a specified period, it sounds broken up into a (probably 500ms) time frame which repeats with an audible space between the repetitions.

View 2 Replies

How To Record Sound From Sound Card

Dec 18, 2011

how to record sound from sound card ?

View 1 Replies

VS 2005 Disable The Sound Card And Enable The Sound Card By Using Command Button?

Jun 27, 2011

i have windows app i want to disable the sound card and enable the sound card by using command button

View 2 Replies







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