Answer Questions
Heem Popping sounds using Windows Media Player to play mp3 files
When using Windows Media Player (winmm.dll) to play mp3 files, I sometimes notice 'popping' sounds whereas I have not noticed this in quality applications such as Winamp. Can anyone please shed any light on this phenomenum Basically, yes cgraus. MP3s that I know sound good using my normal player can sound bad in my software player. Wether it sounds bad in Windows Media Player I am unsure. I am not always aware of what player I am play ...Show All
Lee Minett How to create entry point on dll?
Hi I have a dll from Visual Vasic 6.0 and have following entry point c:\dumpbin /exports s.dll . . ordial hint RVA name 1 0 00002C46 DllCanUnloadNow 2 1 00002C1A DllGetClassObject 3 2 00002C30 DllRegisterServer &nbs ...Show All
sergio_dxi Where is the Immediate Window in VB 2005?
I just started using VB 2005. I cannot seem to find the Immediate Window to use while debugging. The documentation says it is under Debug | Windows | Immediate, but it is not there, even when I am in Break Mode. Ctrl+G should also bring up the immediate window. Do you know what profile you are using You could try resetting the profile to VB profile and that should cause it to appear in t ...Show All
JohnReam Overwriting Data in Text Files
Hi all, I have an application that writes sets of data to text files when you click the save button. The each set of data has a heading and the data im saving gets placed under this heading. Everytime you click the save button, my code will check through the existing file to see if the current heading exists. If it does it will attempt to overwrite the old data with the newly saved data under that heading. Problem is.. it appends the ...Show All
Venkataramana Execution Engine Error
Has anyone else out there had this error I get it when I exit the application that I wrote. An unhandled exception of type 'System.ExecutionEngineException' occurred in mscorlib.dll According the wise ones in Redmond, this error should never happen. Unfortunately, I am getting about 70% of the time when I close the application. I've found that if I comment out a certain line, the error goes away. Unfortunately, the line is one that I need ...Show All
bshammer Get system uptime without GetTickCounter
Hey! How do i get the system uptime for Windows, without using GetTickCounter I'm running Windows XP and Visual Studio 2005. Would be nice if anyone could help me with this! - TankVB The category is System. Could you tell me where to find some information about this counter I have this code, but i don't know the category: Dim UptimeCount As PerformanceCounter UptimeCount = New PerformanceCoun ...Show All
madwinchester Multiple threads executing the same procedure.
I am new to Threading in VB.NET and need help with the following questions. 1. Can we have multiple threads executing the same procedure 2. Will there be race condition if we code it that way 3. Lets say for example I have a procedure like this: Public sr as StreamReader 'A Global StreamReader Sub DoProcess() sr.ReadLine(); End Sub I would like to Create (10 or 15) threads based on the user entry. 3.1 ...Show All
saurabh p Strange ReadByte results
I am trying to read a binary (midi) file. This image shows the first few bytes in a hex editor (Ultra Edit, xvi32 gives the same result). Notice that the last 4 highlighted bytes are 00 00 01 B9. I Read this file with the following code: Private Function hexify( ByVal b As Byte ) As String Dim retval As String = b.ToString("X") If retval.Length = 1 Then Return "0" + retval Else Return retval End Function ...Show All
Nasir_khan_persistent Serial Communication using VB MSComm
Problem regarding the ErrorHandling of MSComm Component... Help Me how can i know about the communication break and other types of errors that may be generated during the communication.. if you cannot use System.IO.Ports you can still trap your usage of the MSComm Compentent and check for systemexception, ioexception, and the global Err object. ...Show All
Brian Newtz setup project can not build
Hi, I am using vs 2003 to build a setup project but got this error message "Could not find file ..., Not enough storage is available to complete this operation." I checked the path of the file, it is correct. After I remove this file from the setup project, I can build it successfully and the result msi file is about 250MB, the file I removed is about 260MB, is there any limitation about the size of the file in setup project or the tot ...Show All
oaix Visual Basic 2005 PopUpMenu
Hi All, I am migrating to VB2005 Express from VB6. My learning curve has, at best, become a circle at points. Luckily I have managed to figure out 95% of my issues & this is just my 2nd question I need to ask. In VB6, we had a command called "PopUpMenu (Object)" In trying to upgrade my VB6 projects, VB2005 has a fit over that command. What is the VB2005 Express equivilant to the "PopUpMenu" Many of my VB6 project ...Show All
Markusx1a Using VB.NET to get audio file extended attributes?
Hi everyone... I'm an intermediate VB.NET user. I have a couple of applications that finds all the .WAV and .MP3 files in a folder (and its subfolders), reads their headers, and reports their sample rates, lengths, and number of channels. They run on XP and 2003 Server. I'd like to extend this to .WMA and .AIF files, and I'm starting to think that an easier way of accomplishing this task is to leverage some sort of Windows API. ...Show All
estoniaman Reading text from a file
Hi, I am trying to read a text file and pull out each line from the file in a do...loop procedure. According to the help file, i should use stream reader, however i can't seem to get this to work. Using this, instead of reading a line and waiting, every time i hover over the variable, it changes, so it seems that is is constantly moving on and on. My text file is just a simple list.... TEST1 TEST2 TEST3 I have corresponding folders created ...Show All
Raul Rodriguez checking properties of folders
Hi all, I am trying to run some processes to tidy up our SAN storage. A couple of the things I am struggling with are : 1) Checking the security of the folder properties to check who the owner is 2) Checking the security of the folder to check if "Inherit" is ticked 3) Search a text file for specific text I already have a process to run SETACL to fix ownership and permissions, however this ...Show All
ydt Validating within a User Class
I need to populate a container with an indeterminate number of label/textbox pairs for input. Since it is indeterminate at design time, I thought I'd create a user class with both a label and at text box in a pair so I could create them at run time and populate the labels appropriately from a data file. I need to validate each text box for numeric value. Then, I need to use that value to build up a subtotal on the form...sort of like this: ...Show All
