Showing results 1 to 31 of 31
Search took 0.01 seconds.
Posts Made By: AlanC
Forum: Visual Basic 4 / 5 / 6 Feb 22nd, 2006
Replies: 32
Views: 19,196
Posted By AlanC
Re: audio level detection

Hi Soorya

This thread just lives on and on!

This is maybe possible but its difficult to do. I've been able to programmatically adjust the master volume but not much else. The fundamental issue is...
Forum: Visual Basic 4 / 5 / 6 Feb 7th, 2006
Replies: 2
Views: 4,803
Posted By AlanC
Re: sms through pc

Hi

SMS modems (and some mobile phones) connect to the COM port on the PC and support 'AT' commands. These are simple text strings that form a standard 'language' that modems support. To make your VB...
Forum: Visual Basic 4 / 5 / 6 Feb 7th, 2006
Replies: 6
Views: 1,850
Posted By AlanC
Re: not understanding reg read ! :(

Thanks, Comatose
Rgds
AlanC
Forum: Visual Basic 4 / 5 / 6 Feb 6th, 2006
Replies: 6
Views: 1,850
Posted By AlanC
Re: not understanding reg read ! :(

OK moderator, what did I do wrong with the code?
How can I get the image to be embedded?
Forum: Visual Basic 4 / 5 / 6 Feb 6th, 2006
Replies: 6
Views: 1,850
Posted By AlanC
Re: not understanding reg read ! :(

I honestly don't know. It rattled my cage when I tried all of the registry access methods I knew! I then tried the sRegistry class from:
...
Forum: Visual Basic 4 / 5 / 6 Feb 6th, 2006
Replies: 7
Views: 1,488
Posted By AlanC
Re: Need Help with a function...

Go for it!!

I never won any game I played against my wife. She's obviously far more logical than I am (and she's watching me write this too)! Sorry, going off topic.

AlanC
Forum: Visual Basic 4 / 5 / 6 Feb 6th, 2006
Replies: 5
Views: 2,316
Posted By AlanC
Re: Help with programming a chat program. (Urgent)

Hi

You probably know all this already and forgive me if so but normally a central server manages the clients and connections; it's IP could be distributed with the clients and they then connect to...
Forum: Visual Basic 4 / 5 / 6 Feb 3rd, 2006
Replies: 32
Views: 19,196
Posted By AlanC
Re: audio level detection

Cool. I was aware of the potential performance issues with this approach, good to know you sorted it. How does the double buffer work?
Rgds
AlanC
Forum: Visual Basic 4 / 5 / 6 Jan 26th, 2006
Replies: 7
Views: 1,488
Posted By AlanC
Re: Need Help with a function...

Hi

You might want to use a control array for your picture boxes. In effect, they all have the same name 'pictBoard' or whatever name you choose, however each has an index number that is unique. When...
Forum: Visual Basic 4 / 5 / 6 Jan 25th, 2006
Replies: 32
Views: 19,196
Posted By AlanC
Re: audio level detection

Hi nsliep
You get this error when you open a VB6 project in VB5. To correct it, open the project .vbp file in Notepad, and about 3 lines up fro the bottom you'll see the line 'Retained = 0'. Just...
Forum: Visual Basic 4 / 5 / 6 Jan 1st, 2006
Replies: 1
Views: 3,067
Posted By AlanC
Re: using the clipboard

Hi Complete

To do simple stuff with text is easy. There are 3 methods for use with the clipboard, Clipboard.Clear , Clipboard.SetText and Clipboard.GetText().

The SetText method writes to the...
Forum: Visual Basic 4 / 5 / 6 Dec 23rd, 2005
Replies: 32
Views: 19,196
Posted By AlanC
Re: audio level detection

Hi Soorya

I'll check it. What you describe sounds very like the vu meter is working OK though, particularly the 20% bit. You can get rid of this by changing the code in the sub LevelMeters() to...
Forum: Visual Basic 4 / 5 / 6 Dec 22nd, 2005
Replies: 2
Views: 3,423
Posted By AlanC
Re: timer countdown help

Hi

You could have a series of picture controls (or image controls), and load pictures into them using the load picture method. For each digit, (having done the maths to get separate variables for...
Forum: Visual Basic 4 / 5 / 6 Dec 22nd, 2005
Replies: 32
Views: 19,196
Posted By AlanC
Re: audio level detection

Soorya,

Please try the project attached below. It's a VU meter using the principle I worked on for level detection, i.e. it puts the sound card in record, grabs samples, and measures them. Its all...
Forum: Visual Basic 4 / 5 / 6 Dec 20th, 2005
Replies: 32
Views: 19,196
Posted By AlanC
Re: audio level detection

Hi Soorya!

I did some work on this myself because I needed an 'automatic level control' for an mp3 based disco application I was writing, and wanted to to equalise the level at which different mp3...
Forum: Visual Basic 4 / 5 / 6 Nov 23rd, 2005
Replies: 32
Views: 19,196
Posted By AlanC
Re: audio level detection

Hi Hardkraft

Umm, I guess it will do this...:-(

Timer may be fine as you're not interested in precision timing, only killing time until the buffer's full. Let me know how you get on!

Alan
Forum: Visual Basic 4 / 5 / 6 Nov 10th, 2005
Replies: 32
Views: 19,196
Posted By AlanC
Re: audio level detection

Just as I was about to reply...

Glad you're sorted with the code... I thought about the mic gain problem though,

Check in Control Panel to see if you've got a setup utility for your sound card, or...
Forum: Visual Basic 4 / 5 / 6 Nov 7th, 2005
Replies: 2
Views: 1,214
Posted By AlanC
Re: Database question

Jon

Don't see why not. To make referencing the labels easier, consider creating a control array. Also, I'd consider handling the data between the whatever DB access method you use and the controls,...
Forum: Visual Basic 4 / 5 / 6 Sep 18th, 2005
Replies: 2
Views: 1,192
Posted By AlanC
Re: Reposition Event??

Never having had to do this in VB, I was surprised at how hard it is!

The only way I can think of is to have a timer fire every second or so and compare the current form.left and form.top with the...
Forum: Visual Basic 4 / 5 / 6 Sep 15th, 2005
Replies: 10
Views: 3,734
Posted By AlanC
Re: Adding pictures

Right. Sounds like you're using the 'wrong' mediaplayer. That explains the previous error you got as well! That's why I went on about msdxm.ocx; if you followed what I said in the very first reply...
Forum: Visual Basic 4 / 5 / 6 Sep 13th, 2005
Replies: 10
Views: 3,734
Posted By AlanC
Re: Adding pictures

Or, do you want to be able to select a file at runtime using the standard Windows 'open file' dialog?
Forum: Visual Basic 4 / 5 / 6 Sep 13th, 2005
Replies: 10
Views: 3,734
Posted By AlanC
Re: Adding pictures

OK so if I'd read your original post properly... for loading a still image into an image control jwshepherds code will work fine. But back to the movies!

Now if you had to change the object name,...
Forum: Visual Basic 4 / 5 / 6 Sep 12th, 2005
Replies: 10
Views: 3,734
Posted By AlanC
Re: Adding pictures

Hi again..

Sounds like you want to play a video or animation - such as an mpeg or avi or so on.. the trigger event isn't the difficult bit, it's how to play it that might be...

There's several ways...
Forum: Visual Basic 4 / 5 / 6 Sep 12th, 2005
Replies: 2
Views: 2,020
Posted By AlanC
Re: Text Box Newbie help

Hi
To select text in a textbox control, you just need to specify the start and length of the selection, in characters. Paste this code into the form.load event handler, or wherever you want...
Forum: C++ Aug 8th, 2005
Replies: 1
Views: 2,162
Posted By AlanC
CSocket: How do I do this?

Hi I am from a Visual Basic background, and if you're still reading this after that admission I could use your help..

I'm trying to learn VC++ and MFC and I'm just trying to work this out. In VB,...
Forum: Visual Basic 4 / 5 / 6 Jul 19th, 2005
Replies: 32
Views: 19,196
Posted By AlanC
Re: audio level detection

Joe

Thanks! Glad to have been of assistance.

Alan
Forum: Visual Basic 4 / 5 / 6 Jul 18th, 2005
Replies: 2
Views: 2,519
Posted By AlanC
Re: how to get a printer button on a form please

There isn't a 'printer button' as such. You can make one, by using a standard command button to launch the common dialog control and make it display the printer dialog. You have to manage the actual...
Forum: Visual Basic 4 / 5 / 6 Jul 17th, 2005
Replies: 32
Views: 19,196
Posted By AlanC
Re: audio level detection

Larmit..

Please see the attached zipped VB6 project. The code is thoroughly commented so hopefully should be easy to use...

The pre-compiled exe was compiled on a Win98SE system and because of the...
Forum: Visual Basic 4 / 5 / 6 Jul 15th, 2005
Replies: 32
Views: 19,196
Posted By AlanC
Re: audio level detection

Larmit,

Many sound cards don't have vu meters.

Have you considered putting the card in recording mode and grabbing some samples? You could loop round until an input is detected, or just use it as...
Forum: Community Introductions Jul 15th, 2005
Replies: 3
Views: 1,089
Posted By AlanC
Re: Hi I'm new...

Thanks, you two. What a nice friendly forum!
Alan
Forum: Community Introductions Jul 10th, 2005
Replies: 3
Views: 1,089
Posted By AlanC
Hi I'm new...

Hi

My names Alan, I'm a competent VB6 person with special interests in networking and audio. I live in Sheffield, England.

Alan
Showing results 1 to 31 of 31

 
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 4:10 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC