Light Sensor And Audio Announcement

Nov 6, 2009

I'm new at VB therefore i need some guidance on how to go about doing e current project that i have. Currently doing on Light Sensor and Audio Announcement.

[Code]...

View 5 Replies


ADVERTISEMENT

Audio Announcement Of Voltage?

Nov 28, 2009

I was wondering if will it be possible to do the following :1) When a specific voltage is sense and is displayed on the textbox, is there any codes to allow the audio announcement of the voltage ?(a) As voltage levels will usually be in decimal, like for example, (1.23 V) it may be difficult to allow the audio announcement of exact voltages

View 12 Replies

Audio Management System - Allow User To Add Audio Files Itself Into Database Together With Audio Information

Jan 28, 2010

I'm developing a standslone system for my school project. I'm developing an audio management system which allow user to add audio files itself into database together with the audio information such as artist name and album year. I just started it few days ago and face some problems.. my song in the playlist wont continue to play after 1 finished and i need some idea on how to store the audio files into database ... in blob types may be?

Heres the screenshot and codes

Public Class Form1

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles bt_add.Click

[CODE]............................

View 2 Replies

VB Forums Migration Announcement Addendum (Bug Feedback Pilot Is Closing)

May 13, 2008

Over the past few months weve been running a pilot in these forums allowing you to submit bugs and suggestions to us directly. Weve learned a lot during this pilot and were enthusiastic about, and committed to, expanding our ability to take your feedback, and respond to it thoughtfully. By now you've hopefully seen our announcement about our plans to migrate these forums to our brand new forums platform. As a part of this migration were going to be closing down the bug and suggestion pilot program. Were going to take some time to analyze how well the pilot went, see what we need to tune up, and make sure that we build the right features into the new platform.

[Code]...

View 2 Replies

Audio Converter And Compressor - Audio & Video - Dream.In.Code

Mar 13, 2009

I just want to ask or I need some idea on how to convert wav files to mp3 and compressed the file to make the size smaller. I've search on the internet and find vorbis.dll as a reference object and lame.exe for converter. With regards to the audio compression, i downloaded monkey's audio software but doesnt have an idea on how to incorporate it.

View 2 Replies

VS 2008 Recording Audio - Capture The Audio Played On My Laptop

Jun 11, 2009

Im trying to capture the audio played on my laptop. so i have searched the internet and found a source code for doing exactly that. the problem i have is that my audio device is not listed in the dropdown box (see picture) but it does when its run on windows xp (im running windows 7 x64) the goal of this application would be to capture my friends radio stream and save the individual played mp3's to a loction on my hard drive.(yes i have permission) i have included the source code so perhaps some 1 could have a look at it. (source code)[URL]

View 2 Replies

Make A VU Meter For Audio To Monitor Audio Input?

Feb 26, 2007

make a VU meter for Audio to monitor audio input devices volume level such as microphone and etc?

View 7 Replies

Routing Modem Audio Out To SR Engine Audio Input Under VB / VBA?

May 20, 2009

I have a database application developed around Access with VBA,I have used the Speech SDK and developed an application that in conjunction with MSCOMM 6.0 library calls into a remote IVR system.It sends in the credentials and queries information in response to that IVR's verbal requests. All seems successfull except for one problem;I'm using a shared SR engine and its using the system microphone as its audio input, this in turn gets the sound from the speakers which are routed to the telephone line through the modem. Of course this has a number of disadvantages - noise added to the sound from the environment and sound quality degredation as well as speaker volume dependency.

I would like the SR engine to take its audio input from the modem in paralell with the sound that goes to the speakers (so we can listen in to the call as well). This means that I must route the system audio output to the SR engine audio input. It seems that I must use an InProc SR instance - however in VBA that type is not recognized - since the shared SR uses the microphone as input by default. there is some statement to the effect that it is difficult in Microsoft's Help file. I'm unable to set the SR audio input to the modem output stream in VBA.As needed I can accomplish the C++ interface using an ActiveX object or a DLL to expose the missing API to VBA?

View 7 Replies

Create An Interface For A Sensor?

Dec 7, 2011

How to access VB functions using C#? I am trying to create an interface for a sensor, whose files are given in VB format. How can i access themm and consequently make changes in the same?Ok! sorry for incomplete info. The files i have are .vbp and .frm format. I am trying to create a Form file(interface, with buttons etc.) using Microsoft Visual Studio2008, which has a included wrapper to combine C++ and C# and has console application. Now how do i call the .vbp files and to furthur work on the interface?

View 1 Replies

Getting Control Using Picoscope Sensor

Apr 1, 2009

I am looking to create a VB 2008 Express programme which converts a data stream from a picoscope muscle sensor into a power output board which controls a mechanism.

In simple terms when the Muscle sensor reaches a value of 0.8 V or higher I want the programme to send a text file to the power output control programme, and likewise when the sensor is below 0.2 V I want the power to be zero.[code]...

View 3 Replies

Pull Info From Sensor.dll?

Jan 15, 2010

I'm trying to get my hands on my ThinkPad T500 tilt sensor data.So the (unfinished, but works (i'll get three values, state,x and y)) code is:

Public Class Form1
Private Structure AccelData
Dim stat As Integer
Dim x As Short

[code]....

With debug.print I'll get the correct information, but as soon as I try to insert the outcomes to label.text I'll get error:

Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

So, how can I pull the information from dll to label text?how to use the sensor.dll to extract information?

View 1 Replies

Communications :: Using Telnet To Read A Sensor

Jul 28, 2009

I am using Telnet in VB to read a temperature and RH sensor. I don't know that the data is the exact same length every time. I have pasted the code below. This code does get the data back. I have also pasted the unparsed and parsed data as well.... Sometimes I get more or less data than the time before and I think this is because I am not reading the entire buffer. How can I make this code run a little better so that I can get the proper data every time? Below the code is a sample of several readings. You can see how I get bad data periodically.

Unparsed
" 24.4155 45.2235 11.7921 200.9005 45.2372 45.2235 -42.0242"
Parsed (replaced " " with , and then " " with ,)

[Code].....

View 2 Replies

G-Sensor/Accelerometer, How To Find Values

May 3, 2009

I have been searching everywhere to figure out how to access the G-Sensor/Accelerometer in my HTC Touch Pro and other like devices. I've already created a number of app's for windows mobile but now I'd like to add some more customizations into my app's. I don't mind installing 3rd party app's but I'd like to add the same fuctionality into my own apps with regaurds to the G-Sensor/Accelerometer funtions. I got a hold of some code(Rhaakmeester)...

[code]...

This code helped a bit but only detects the change after a 3rd party app has already changed the screen orientation or if the KB was slid out. How do I access the G-Sensor data myself.

View 2 Replies

Read The Value Of The Sonar-sensor Of NXT Through Bluetooth?

Sep 22, 2011

How is it possible to read the value of the sonar-sensor of my NXT through Bluetooth (and Visual Basic 2010)?

View 3 Replies

How To Add Light

Sep 12, 2009

I have an image of a lamp that the user can move around the form.. I have a button for on and one for off.. Does anyone have any suggestions as to how I would make the light effect? Can you make it programatically? Like a V shape with the bottom of the V being the sides of the lamp shade and everything in the path of the V becomes illuminated?

View 3 Replies

Measure Distance Using Serial Port (sensor)?

Mar 21, 2010

measure distance using serial port (sensor)?

View 1 Replies

Light A Button Up?

Jan 29, 2010

I have a button, When I go with my mouse over it I want that it lights up to a color.

View 1 Replies

Traffic Light Using Tab Key?

Jan 28, 2011

Simulate a traffic light with three small square text boxes on the form. Initially the bottom text box is green, the rest are dark gray. When the tab key is pressed, the middle box turns yellow and the bottom box turns dark gray. The next time the tab is pressed, the top box turns red and the middle box turns dark gray. Subsequent pressing of the tab key cycles through the three colors. Hint: First place the bottom text box on the form, then the middle, then the top. I did all this and dabbled below. Does that look at all correct...minus the timer thing...I got the timer code (which is not needed) but am not sure how to write it so the tab key does the work. This is really confusing to me, but it is a required class.

Dim Counter As Single
Private Sub Timer1_Timer()
Counter = Counter + 1

[Code].....

View 7 Replies

Converts A Data Stream From A Picoscope Muscle Sensor

Apr 1, 2009

I am looking to create a VB 2008 Express program which converts a data stream from a picoscope muscle sensor into a power output board which controls a mechanism. In simple terms when the Muscle sensor reaches a value of 0.8 V or higher I want the programme to send a text file to the power output control programme, and likewise when the sensor is below 0.2 V I want the power to be zero.

So 0.8 V > = send text file (0O=100%)
0.2 V < = send text file (0O=0%)

so when muscles being senced move the device turns on and off. I think I am successfully getting the data stream from the Picoscope which is plugged in the usb. I am using codes and examples that the programming guide for the device provided. [Code] I just need to now how to get the data to be displayed or how to tell the programme to do something with the data. The device also came with an example of how it can record data to an excel sheet if anyone needs the code to gain a better understanding.

View 20 Replies

Visual Basic Hard Disk Acceleration Sensor?

Oct 21, 2011

Is there a way to detect the motion sensor in the hard disk with visual basic .net?I know that hard discs has an acceleration sensor to turn the hard disk off when the computer falls from a height.I have seen one example of this in a game using this sensor.I want to detect the sensor so that my security program can alarm and email me if lets say someone nocks my computer to the floor while im gone.

View 1 Replies

Write An Application That Communicates With A Digi Watchport/D Sensor?

Jul 18, 2009

I am using Visual Basic Express 2008 to write an application that communicates with a Digi Watchport/D sensor. This is an IR sensor and I checked the manual for the commands to send to it. In order to get the distance, it say to send the sensor the command D<CR>. Here is my code so far...

Option Explicit On
Option Strict On
Imports System.IO.Ports
Public Class Form1

[Code]...

Every time when i click the button, I get the timeout exception error message.

View 1 Replies

Play Audio After The Previous Audio

Sep 23, 2009

how can i play the audio after the previous audio play is finish by using directx.

assume i have audio1.wav and audio2.wav.

i play audio1.wav by this code.

audio1 = audio.fromfile("D:audio1.wav", false)

how can i play audio2.wav after audio1.wav is finish? without use any button or signal. just depends on when the audio1.wav is finish, then audio2.wav will play automatically.

View 4 Replies

Creating A Traffic Light?

Nov 11, 2010

Simulate a traffic light with three text boxes placed vertically on a form. initially, the bottom text box is solid green and the other text boxes are dark grey. when the tab key is pressed, the middle text box turns yellow and bottem box turns dark grey. next time the tab key is pressed, the top box turns red and the bottem two turn dark grey. Basically the tab key cycles through the colors.First off let me say im not looking for an entire code. What im looking new to VB (been working on it for only a week) and im haven trouble finding a sourcecode for "tab". I named the bottem text box "Green", middle text box "yellow" and top "Red"....how do i go about finishing the code?

Public Class trafficlight
Private Sub Green_BackColorChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Green.BackColorChanged

[code].....

View 3 Replies

Programming Buttons/Turning Light Off And On?

Jun 10, 2011

I am supposed to be writing a program for my instructor using VB 2008. It is sort of like a quiz program. You build the "light bulb" program but instead of names and colors, it consists of two forms. Question 1 with a "next" button and the second form for Question 2 with a "previous" button. I have no idea how to link the two so that when you click "next" it goes to the second page and vice versa.

View 2 Replies

Wire Up A Light Buld To A Usb Output From VB?

Dec 19, 2009

how to wire up a light buld to a usb output from vb please?Me heads a shed and me lifes a dream, Its all for fun and mostley free.

View 10 Replies

Improve Traffic Light System With Use Of Barrier

Dec 30, 2009

please help me am in need of code for traffic light simulator, wanted to design a simulator with barriers which close a lane when it light red and opens when it lights green.These barriers should be in form of red and black bars on the entrance of any parking area.The reason to barriers is that here in Uganda traffic is controlled mostly by the police men so i wanted to improve the traffic light system with the use of barrier.

View 3 Replies

SkinCrafter Light Has A Couple Of Bugs With RichTextBoxes?

Feb 16, 2009

When I downloaded VB 2005 Express I took advantage of the bundle of goodies on offer and downloaded SkinCrafter Light.I really like the four skins that come with SkinCrafter Light, and I am using one on my current project (example of the skin I am using here). However, SkinCrafter Light has a couple of bugs with RichTextBoxes (these bugs are known to SkinCrafter, as I can see posts about them in their forum, but they have gone unanswered in over two years!)One bug is that any text that is colored in a RichTextBox is turned back to black when the skin is applied, and if you click anywhere in the RTB the application will crash (you can see my RTB on the right bottom of the form in my screenshot above).

I use colored text in my RTB, but, at a pinch,I could make do without (as I really DO like the Skin), but the problem remains of crashing when clicking inside a RTB.I was wondering (can't test at the moment as I am at work) if simply placing a control, such as a Button, Label, Picture box etc, set to transparent, over the top of the RTB, would solve the problem, so a user could not click inside the RTB (but would be clicking on the invisible control over the top instead).

View 1 Replies

VB Power Control - Make The Light Flash On And Off

Apr 17, 2010

I'm trying to make a USB strobe light type thing. I have a cut USB cord with an led attached to the black and red wires. Now I'm trying to write a script to make the light flash on and off really fast. I've tried several different apis but none are doing it.

View 2 Replies

Visual Studio Light Switch Licensing

Jan 23, 2012

I am already using Light Switch. When i am trying to deploy it is asking license information. If i buy a Enterprice license key then how many programs i can deploy with that same license? I am sorry for the noob question but i can not find anything details about Light Switch licensing.

View 2 Replies

Interface And Graphics :: Simulation Of A Light Source And Mirrors

Jan 6, 2011

I am trying to do is to draw a ray of light emitted by a light source and it is going to be reflected mirrors. I rotate the emitter and mirrors and the ray of light shold obey the laws of reflection. The emitter and mirrors are in an opaque room which means light should not go out. Where I am now is that I am able to draw the ray but when the angle is 90 degrees ( +or-) all the drawing disappears. I set some conditions to make up for this situation, but it does not seem to work. Besides if the angle exceeds 90 degrees, the line is drawn in the opposite direction.One other thing that happens is I set the ray to stop when either end_x_emitter_ray or end_y_emitter_ray = 500. It works for the end_x_emitter_ray but not for the end_y_emitter_ray[end_x_emitter_ray and end_y_emitter_ray are the point where the ray end]I have uploaded the my whole code here. Can you guys suggest me what can be done to make it work appropriately?

View 6 Replies







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