Use A Function To Determine Which Card To Pla?

Apr 22, 2011

In my program i use a function to determine which card to play:

Private Sub hogere_kaart(ByVal klr$, ByVal splr, ByVal uitkomer)
(hogere_kaart= higher card, klr$=color, splr= player, uitkomer= the one who started the round)

In a former version of Visual Basic I did not have the problem that splr and uitkomer are not accepted: I get the message "All parameters must be explicitly typed if any of them are explicitly typed". Declaring them at the start of the code in DIm statements does not help.

View 2 Replies


ADVERTISEMENT

Capture Raw Signal From WiFi Card As Would A Sound Card

May 9, 2012

Is it possible to capture the raw signal from a WiFi card in the same way you can capture the signal from a sound card? (I already found code for working with a sound card and for drawing spectrograms) I'm wondering because it would make a cool radio-type project. I'd prefer a solution that integerates well with .net (VB or C#).My basic goal is to capture the ambient radio waves and build a primative "telescope" of sorts. Using the built in computer hardware is just the easiest way to accomplish this. If you have any other suggestions about how to accomplish this goal in a different way please post it as an answer also.

View 1 Replies

Detect Usb Card Reader Device And When Swipe The Card

Nov 23, 2009

I want to create an application that can detect usb card reader device and when i swipe the card it should read.The below code WORKS PERFECTLY IN VB.But when i converted it to vb.net it is showing some problem.Below is the code for that.

[Code]...

View 1 Replies

Read Smart Card Data Using Card Reader?

Dec 23, 2009

i want to read data from smart card using card reader.i need vb.net code help as well as total process that mean what dll/exe will be needed and how can i determine that the card is inserted or ejected from card reader?

View 3 Replies

Application,using A Function To Determine And Return The Letter Grade?

Jun 3, 2011

I have been struggling with my programming class from day one. I still can't seem to grasp the complete logic on how to write code. Anyhow, I have an assignment due that I am stuck on. Here is the assignment:

In this exercise, you code an application that displays a letter grade based on the average of three test scores. Open the Grade Solution (Grade Solution.sln) file, which is contained in the ClearlyVB Chapl8Grade Solution folder. Code the application,using a function to determine and return the letter grade. If the average is at least 90, the grade is A. If the average is at least 80 but less than 90, the grade is B.If the average is at least 70 but less than 80, the grade is C. Tf the average is at least
60 but less than 70, the grade is D. If the average is below 60, the grade is F.

You will be developing the code for the function on your own. Below the Public Class frmMain line, insert this function header:Private Function CalculateGrade(ByVal testScore1 As Decimal, ByVal testScore2 As Decimal, ByVal testscore3 As Decimal) As String

In the function, declare variables for the average score and the letter grade. Calculate the average, use IF/Elself statements to determine the letter grade, and return the letter grade. Create a subprocedure for the Click event for the btnDisplay button. It should call the CalculateGrade function with three arguments ( the three test scores from the text boxes), and display the returned value in the lblGrade box.

[Code]...

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

Implement Smart Card And Private Key Stored In Smart Card

Jul 7, 2009

how can implement smart card and private key stored in smart card by using vb.net

View 1 Replies

Implement Smart Card And Private Key Stored In Smart Card By Using .net?

Mar 19, 2009

how can implement smart card and private key stored in smart card by using vb.net

View 3 Replies

Smart Card App - After The Transaction I Need To Again Enter The Balance In The Smart Card?

Dec 21, 2009

i have to develop a ticketing package for a client...and he wants to use smart cards too...i would need to develop the package on a smart device i.e. a mobile application and will have to read the card on the device itself ...i have zeroed on the instrument from motorola. and an blue tooth connected printer to print the ticket.how to read the smart card ...i have searched a lot but have not found anything good.the smart card would contain the amt. balnce in it...and after the transaction i need to again enter the balance in the smart card...

View 7 Replies

How To Pass A Function To A Function Is Functors/function Objects Avaiable In VB2010

Oct 12, 2011

I want to make an numerical integration method with takes in an analytic function and integrate it over a specific interval. For the numerical integration procedure I want to use some procedures in nr.com. The problem is that these are programmed in C++ and they uses functors to pass a function to the integration method. How can I do this in VB 2010?

I want to initialize the function (i.e. set a=1,b=0 for function y(x)=a*x+b) and then pass the function to the integration method. Then when the integration method call the function it only calls the function with one parameter (i.e. x since a,b is already set)

What is the best way to do this in VB2010?I want to make a general integration method where I can pass any single valued function and integration limits.

I have just started using VB, and from what I have found so far it seems like the tools you have is

- to us a delegate for the function
- to use a lambda expression for the function
- send a pointer/adressOf
- to create a function class/structure and submit this to the function

As for now I am most inclined to create a function-class. But I am not really sure how.F.ex. I make different classes for each "uniqe function" I want to integrate, but how can I pass them to the integration function when I need to specify the argument type in the integration-function-call?This seems like a basic problem which applies to many Math operations, so I think it would be very useful to clarify this.

View 2 Replies

Function Syntax - Call A Function With 2 Arguments When The Function Is Only Defined For One

Apr 1, 2010

I'm trying to undersatnd the syntax of calling a funciton and it seem confusing when I'm using a web service in ASP.net. Maybe this question should be in an ASP forum, but it is a VB question. This simple web service allows you to type in your name and it response with an alert box with you name.

My question is, How can you call a function with 2 arguments when the function is only defined for one. I understand that the second argument is actually a method that handling the respons, but how can you interchange function arguments for methods and how do you know that there are methods for

Here's my call:

<script type="text/javascript">

function HelloWorld()
{

var yourName = $get('txtYourName').value;

[CODE]...

View 7 Replies

Dll For Card Games?

Feb 13, 2012

I have been looking for like 3 hours trying to find a dll or anything to make a simple cards game, but everything I find is oriented to C.

In this page A FreeCell game using Cards.dll - CodeProject� they talk about just what I want, but I cannot make it work in Visual Studio 2008 using Visual Basic.net, I don�t know if that has anything to do with the Vista OS I am using.

In the page I mention the author says "There are many good articles on the net on how to use the Cards dynamic link library" and I am sure the good articles are there, but my good luck has make me looping around the same nonsense results so I end up with nothing after 3 hours search.

The game I want to make is just something for a project we must do in class, how to start making a cards game fast and simple. If someone knows about a cards dll that works fine with vbnet, that someone would be my new hero.

View 2 Replies

Cannot Connect To Capture Card

Jun 22, 2010

I have a multi input capture card (Composit, s-video, ...) and I developed a program with avicap32.dll in vb.net to connect to a webcam. But I can not use this program to connect to composite input of my capture card.It seems the capture card has a default input.

Firstly, How can I change the default input? because I want to connect to compsite input.

Secondly, is there another way to connect to my capture card?

I've been googling but I could not find any code for vb.net or C#.net. They are all in C++ and I could not traslate them to vb.net

View 1 Replies

Card Game Over Internet?

Jul 10, 2009

I am trying to make a card game which can be played over the internet between users. I have already downloaded the cardGame Starter kit for Visual Basic. I plan to modify it to the game I want.I had worked with Sockets (Client-Server App) a long time ago for a small chat program for computers connected in LAN.I had the following questions:How should I start off with this Application, should I first just concentrate on making the game and then progress to trying to figure out how to make it playable over the internet?

Or should I do it the other way round?Can I attain my objective using Sockets? or do I have to use something else?Is there a tutorial available to start me off? (I Googled and "Bing"ed it but to no avail)

View 7 Replies

Change Key Of Mifare Card 1K

Oct 5, 2011

Now I try to change key of Mifare Card 1K with ACR128 reader and I push key with

[Code]...

View 2 Replies

Credit Card Processing With .NET?

Oct 18, 2011

I am looking for a solution to implement Credit Card processing to a POS system I have written. I have been coding VB for about 7 years but never had a need to process credit cards.

View 1 Replies

Disable Network Card With WMI?

Aug 3, 2010

I'm trying to disable/enable a NIC on my local machine.

Here is my code:

Dim
colAdapters As
New ManagementClass("Win32_NetworkAdapter")

[Code]...

it always returns with this error: Invalid methodparameters

View 8 Replies

Get Network Card / Adapter Name?

Oct 6, 2010

I've been using Win32_NetworkAdapterConfiguration & Win32_NetworkAdapter to get my network adapter's name, manufacturer and other descriptions. Code used:

Dim networkdata As ManagementObjectSearcher
Dim network As New ManagementObject

Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick

networkdata = New Management.ManagementObjectSearcher("Select * from Win32_NetworkAdapter")
For Each Me.network In networkdata.Get
Label40.Text = network("Name").ToString
Next
end sub

View 8 Replies

How To Comunicate With The Sound Card

Feb 19, 2007

i am doing a final project in vb.net.i need to know how can i take and receive data from a sound card.

View 2 Replies

How To Get Network Card Address

Aug 14, 2009

How can I get the Network Card Address using VB.Net?

View 2 Replies

Id Card Software Development?

Mar 1, 2010

I want to develop a software that can be used to design and print plastic Id card. The software will consist of toolbox where user can select item for drawing and data entry, i.e. label and picture control. The Label could be linked to database and should give user to save and retrieve the project in the feature.

View 3 Replies

Reading Data From SD CARD?

Jan 25, 2011

I am doing my academic research on ARM MINI 2440 and "i want the code to read the data from sd card and send that data to the serial port.

View 16 Replies

SD Card Is Inserted Into The Computer?

Jun 29, 2009

I need to know when a SD Card is inserted into the computer. I am using VB.net 2005. I have a way to see USB device arrivals and if an SD card is in the adapter read/write data as required but if I insert or remove the SD card from the adapter I do not get any notices of changes.

View 4 Replies

Using Wild Card In Text

Nov 30, 2005

Is there a way to use a "wild card "in text when comparing the constant of the text field? [Code]

View 3 Replies

VS 2010 Sound Card DLL For VB?

Jun 15, 2011

I would like to be able to measure the frequency of a sine wave applied to the input of a "standard" Windows sound card system.I need to do this in near real-time (not by analyzing a wav file after the event) and I need to continuously measure every half-cycle of audio and store the results in some kind of buffer that I can read into a VB app. I have tried googling for this and it seems to be a very popular question but I have not found any really good answers. Does anyone know of a DLL that could do this? I wouldn't mind paying a reasonable sum for a commercial DLL if there is such a thing.

Another related requirement is to generate sine-waves - again this must be done in near real-time and it must be possible to change each half-cylce of the waveform. For example,I might need to generate a few half-cycles of 1500 Hz to be followed (with no break in the waveform) by half-a-cycle of 2300 Hz.

View 7 Replies

Way To Create A Wild Card?

Feb 20, 2010

Is there a way to create a wild card? Like: If TextBox1.text = something & ".com" or Textbox1.text = something & ".net" Then

WebPage = TextBox1.Text
Browser.show()

End If What would i replace "something" with? is there a way to make it so that it doesn't matter if the user types in CAPITAL LETERS or not?

View 2 Replies

Which Process Is Using The Sound Card

Aug 12, 2009

I'm currently trying to get around developing an application that will alert me when process X is using my sound card.

View 2 Replies

Adding A Wild Card For A Directory

Dec 13, 2008

How would i add a wild card for a directory, my code is reader = New IO.StreamReader("C:Program FilesStattrackconfigconfig_misc.txt"). i want the C: to be a wild card this way that if the computers local-disk is Z: then it will adjust to it.

View 2 Replies

Attendance System With Card Swipe?

Aug 24, 2010

designing a attendance management system

View 2 Replies

C# - Find Credit Card Number In XML?

Jan 25, 2012

I have a Credit Card Number in an XML Message and I want to use a regex to find the Credit Card Number and encrypt it. All numbers are 16 characters long and they are not always in the same place in the xml, so basically I think I just need to find a string that is 16 characters and decrypt it, but I am not sure how.

[Code]...

View 2 Replies







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