Msvidctl - Input Is DVB-S Or DVB-T?

Jun 17, 2009

I've got the input-collection with the following code:

Dim impdev As MSVidInputDevice
For Each impdev In vidctl.InputsAvailable(clsidBDATuners)
TextBox1.Text += impdev.ClassID + " - " + impdev.Name + vbCrLf
Next

But in my system I have two DVB-S and one DVB-T tuners.How can I check the kind of each tuner (DVB-S or DVB-T)?Is it possible to get a "FriendlyName" of the tuners?I need this info to select the right tuning-space.

View 2 Replies


ADVERTISEMENT

MSVidCtl - Only Audio And No Video

Apr 28, 2010

I'm trying to use the MSVidCtl to utilize a TV tuner on VS2008, but so far only got Audio but no Video. I've seen some other discussions and some other people having the same issue, probably related to "no encoder found" from the feature list of the tuner? How to make MSVidCtl work?

View 1 Replies

VS 2010 - Input Validation To Verify User Selected Input For 'cb Length Of Stay'

Jan 15, 2011

I need some help with the input validation of my application. Attached is the code that I have written as well as a screenshot of the front end. I specifically need input validation to verify that the user selected input for cbLengthOfStay is a number between 1-10 as well as input validation to verify the user input for txtMedication, txtSurgicalCharges, txtLabFees and txtRehabilitation is a positive numerical number. Please feel free to critique my attached code. [Code]

View 2 Replies

Creating User Input With Textbox.text Input Then Displaying In Messagebox?

Feb 19, 2012

If my Category and Forum selection is incorrect I am sorry and feel free to move it. I'd like to have the users input in the message box that will show. For example: There is a textbox and the user puts in their name as Bob. Then the message box would be: What my main goal is, is being able to include the users input they type inside the textbox inside the message box.

View 6 Replies

VS 2005 - Login Failed - Input Valid Username And Password In Form Textbox To Input Strings In Php

Sep 25, 2010

I have a problem with the code, I have input the valid username and password in the form textbox to input the strings in php, but it keep displaying the messagebox that says login failed.

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
MessageBox.Show("Please enter your username")
ElseIf Textbox2.Text = Nothing Then
MessageBox.Show("Please enter your password")
Else

[CODE]...

I don't really know why it keep displaying the messagebox that says it failed when I have input the valid strings in the first place.

View 1 Replies

Get The App To Accept Numeric And Operator Input While Ignoring All The Alpha Input?

May 10, 2010

I am writing a calculator app in VB Express 2008. I'm trying to get the app to accept numeric and operator input while ignoring all the alpha input. In other words taking input from the numeric keypad and the top of the keyboard and ignoring all the letters.

Here's the block of code I have so far:

Private Sub TextBox1_KeyDown(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles TextBox1.KeyDown
If (e.KeyCode >= Keys.D0 OrElse e.KeyCode >= Keys.NumPad0) And (e.KeyCode <= Keys.D9 OrElse e.KeyCode <= Keys.NumPad9) Then
Select Case e.KeyCode

[code]....

I can't get vb to recognize the above code it seems to skip right over it. BTW, is 'Keys.Crsel' the same as the caret '^' symbol?

View 7 Replies

Input - DataGridViewTextBoxColumn - Column Should Not Accept Input Of Data

Jul 29, 2009

On geting input into DataGridViewTextBoxColumn but the column should not accept input of data that is not integer like; 10003, 2.00, 1500.00

View 3 Replies

Read File Input Instead Of Manual Textbox Input?

Sep 28, 2011

My objective is to, instead of entering in the data manually into the text boxes, I want to read in a textfile. The Calculate button will contain the code to read in the file and assign it to the appropriate textboxes. Save the separate file in the \bin\Debug folder.

The text file just needs to have 3 integers on 3 separate lines.The code I posted works without and errors, but.I am having some trouble integrating the Stream Reader.

[Code]...

View 14 Replies

Apply An Input-mask Or A Format On An Input Box ?

Jun 26, 2010

i wish to apply an input-mask or a format on an input box so it can check if the input data is an email or not.the inputmask/ format would be as folowing &&&&&&&&&&&& "@" &&&&&&&& ".com ".That is in Access but how to do it on VB.net and an input mask. Here is a part of the code which I use

Dim x As String = InputBox("please enter new E-mail" + vbNewLine + "eg.(username@domain.com)", "Change Email", My.Settings.Email)
If x <> "" Then[code].....

View 4 Replies

Get User Input Data Into The Loop Of The Input Box?

Nov 3, 2011

Option Strict On Public Class Form1 Private Sub btnDistance_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnDistance.Click 'The btnEnterSpeed click event accepts and displays up to ten speeds from the user'and then calculates and displays average speed

[Code]...

I cannot figure out how to incorporate the number of days into the input box then get it to loop and count the number of times the User inputs in the number of days. Then I have to incorporate it into the equation to get the total distance D = MPH * Hours. What I have right now wil not count up the number of days and locks up after I input one number and will not add anything to the listbox. Because I also have to make sure that they cant add nonnumaric values and the number of hours per day cannot exceed 20. I have put things in and taken them out but it has been 2 days and I am lost now

View 1 Replies

Input A Data/value To Excel Through An Input Form?

Mar 16, 2009

how to input a data/value to excel through vb input form and get the data/value from excel back to the input form?? (For example: put a number into exel A1 from input form and get another number from ecel B1 bact to the input form)

View 1 Replies

Check If Input To Group Number And Number Of Units Are Correct Input By Making Error Handling Exceptions

Sep 23, 2010

Part of my assignment is to check if input to Group Number and Number of Units are correct input by making error handling exceptions...

I have to check the following:
a) group number is neither 501 nor 062
b) number of units are NOT numbers
c) number of units is NOT a positive number

So my first question is, am I checking correctly? 2nd question is, How do I make sure my Exceptions will pertain to their correct respective things (a, b, and c.. above)?

[Code]...

View 6 Replies

Adding Together Input From Input Box Data?

May 2, 2009

I've been working on some code to add together input from an input box to make a string and display it in a message box. I've put the code in a loop so that it will add all input into the string until nothing is entered in the input box.

Dim stringInput As String
Dim message As String
Do Until stringInput = String.Empty

[Code].....

All I get is just the last input entered to show up in the message box and none of the previous entries. How do I get all the input to be added together and show up in the message box?

View 10 Replies

Input Any Words In Textbox - The Program Will Reply By Sound Of What Input In The Textbox

Jul 7, 2009

i use visual basic 6 i already try making a button to play sounds. by clicking the button and the sound will out. so that i want to know were could i start, when you input words in textbox the program will speak what you have type in the textbox.
_

View 5 Replies

<asp: > Vs <input> Sending An Email To User Input Email. VB?

Feb 24, 2011

I have 2 pages, one is HTML and the other is ASPX. In the HTML I am able to get input from a user and then process a return email to them.The HTML looks like this:

<input type="text" class="input" value="e-mail" id="txtEmail" name="contactEmail" onclick="SelectAll('txtEmail');" >

[code]....

View 2 Replies

Add Input In A InputBox?

May 22, 2010

i'm making a multi-line text box, i need somone to add input in a InputBox, and it to write it to a setting (My.settings) but, i need each input to start with a new line, i've tried chr(10) + chr(13), but nothing works!

View 3 Replies

Cannot Input CMD Commands?

Feb 15, 2012

I'm fairly new here and based on the help that i've seen people give I though this would be a great place to ask! Basically, I'm new with coding, so I decided to work with Minecraft - specific a Minecraft Server Starter. It has a built in text box to display all the stuff that the console would normally display and an input tetbox to use commands.I have it so you can either use the Normal Minecraft Server or a Bukkit server. Basically, when I run minecraft.jar it works perfectly, I get the Output from the console and I can input commands.When I use craftbukkit.jar (bukkit) I get the Output of the console fine, but I can't input any commands... I can't figure out why it's doing this!

[Code]...

View 1 Replies

Capture Input From USB?

Aug 27, 2010

Searching found many answers along the lines of it depends on the device driver", but I don't think that it's that way here.

I have a cheap & nasty RFID tag reader. You just have to open notepad, touch a tag to the read and its serial number appears in notepad (I have not tried it in Linux).

Anyhoo, how can I programatically capture this serial number in VB.net (20088 express)?

View 2 Replies

Doing A Lot Of Input Validation In .NET?

Jan 12, 2010

I have a form set up where users can enter their booking for a room at my college. I want to validate the user input to avoid SQL injection (my program uses a MS Access database) and also stop numbers and synbols in their name, etc.I can do the validation fine, but there is to be a lot of validation and then methods executed only if all validation tests come back as true. I did have something like this:

If txtName.Text = "" Then
frmBookErr.SetError(txtName, "Name field cannot be left blank.")
fail = 1
Else

[code]....

And then check the fail variable, but it obviously gets overridden later in the form if one of the validation tests come back as true.

View 3 Replies

Get Input Value In Code Behind

Jun 12, 2009

In my asp.net page, I have the following line inside an UpdatePanel: Is there a way to retrieve the input value in the code behind (VB.NET)?

View 3 Replies

Get Microphone Input In Vb?

May 25, 2009

ACTUALLY I Am try To develop a program that have voice recognition..How CAN I do THat

View 2 Replies

Getting The Joystick Input?

Aug 9, 2009

I am writing a program in VB express 2008 which I want to be able to receive input from an xbox controller as well as activate the rumble on the controller. I am using the XBCD drivers for the controller [URL].Basically I want to say "the further forward the thumbstick is pushed the more the controller should vibrate".

View 6 Replies

How To Handle Input

Nov 23, 2009

Ok, I'm not sure how to explain this, but I'll give it my best shot.I want my console application to be able to do one function I have when you click one option on the windows context menu, and another function when you click another option.

View 2 Replies

How To Use Input Box Data

Jan 8, 2011

I have recorded a macro that will use a web query to obtain the latest price of the microsoft (msft) stock. I want to use this macro to get data on other stocks. My thought is to use an input box that asks me to type in the ticker name. The macro will then use this input to obtain the latest price of whatever ticker i type in. I can't figure out how to put the input box data into the macro. In the macro below, I want to put X wherever the web query uses the ticker msft. My plan is to add a bunch of web queries to the macro so when I type in the ticker name into the input box, the macro will return financial sheets, rations, etc:

[Code]...

View 1 Replies

Input Box And Do Until Loop

Jul 19, 2011

Private Sub btnVE_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnVE.Click
Dim Displacment As Single
Dim RPM As Single
txtDisplacment.Text = Displacment
txtRPM.Text = RPM
Do Until "N" Or "n"
Loop
End Sub

That is my code so far. I am confused on how to do a do until loop withna input box that will onyl have "N""n" or "Y""y" in it. The text for the input box is "Do you wish to continue?" Then you enter Y for example which then has to make the textboxs blank and put the focus on the first one and then repate the process until the user enters N.

View 1 Replies

Input In Another Language?

Mar 22, 2007

I have developed a library mangement system in VB 6.0 and haven't been able to fulfill the aim of being able to input data in another language (hindi).I've now newly switched to VB.NET 2003.

View 5 Replies

Input Value Into An Array

Sep 14, 2009

Do anybody know how to input value to array? I know how to input the value by editing the code but I want to let users to enter value by themselves (such as using a input box). Plz help!

View 3 Replies

MP3 To Microphone Input

Jul 26, 2011

I have no idea how to tackle this project. I need to write an MP3 file to the microphone in. So when i'm using VOIP, the mp3 file get played. I tried to write an mp3 to the default CAPTURE DRIVE with directsound out (with Naudio): this doesnt work (it does compile, execute, but the microphone in does not seem to get input:

[Code]...

View 1 Replies

Put An Input Box To Sum Numbers?

Mar 3, 2009

What was the command for a input box?

To get this app right if I enter 5, the sum should be 15.

View 16 Replies

Setting Min And Max Input?

Oct 13, 2010

So I am working on a small program to take a given password and mess with it etc. I have coded everything to make it work the way I want except I can't figure out what I am missing to limit the input from 5 to 7 characters only. I have attached the entire solution in case anyone wants that.

'Variables
Dim oldPassword As String = String.Empty
Dim newPassword As String = String.Empty

[Code].....

View 4 Replies







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