Fitch Cheney's 5 Card Trick?
Apr 2, 2012
My program is a card trick based off Fitch Cheney's 5 card trick. There will be 5 cards. I would like the computer to randomly generate 4 cards to show to the user. The user has to guess what the last card is based off Fitch Cheney's rules. It might be easier to google Fitch Cheney's 5 card trick because it is very complicated to explain. If someone could help me figure out a formula, I would be grateful. Right now, I have organized the cards into an array where card(1,1) = "ace of hearts" and so on. But I would like to get the formula figured out first before I move too far ahead .
View 7 Replies
ADVERTISEMENT
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
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
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
May 8, 2009
I know in VB Lambda expressions must return a value and can only have one statement. But in my case I just need to execute a Sub that does not return a value. Is there a way to trick it by somehow returning a dummy value yet still call my Sub? If possible what would the syntax be like?
View 3 Replies
Sep 21, 2009
I need to Clear My Concept of Save&Open FileDialog Option How many Ways to use it , means This Option Drop from Toolbox and Declare my Own Without Tools.
1. How to Import Files and save File . Suppose I have Listbox or PictureBox I want to Import Files & save file from Listbox and PictureBox By using Save&Open Dialog tools.
2. How to make Extension (File type) Filter For opening and Saving File.
View 9 Replies
Jan 21, 2010
I have a datagridview that has 3 columns I want when i am on first column in datagridview if i press ENTER, TAB or RIGHT CLICK for the focus to skip column 2 & go directly to column 3 any ideas
View 8 Replies
May 10, 2010
I'm trying to find a way to trick the compiler into exposing lines of code where the default "ToString" method of Integers, Longs, Doubles, DateTimes, etc. is being used. These are lines of code that must be reviewd for culture specifics. FxCop does not expose these areas when .ToString is not used explicity in the code.Putting a class in with something like the following freaks it out
Namespace system
Public Class Int32
Public Overrides Function ToSt
[code].....
View 1 Replies
Jan 22, 2009
Is there any keyboard combination out there that I could just press to show the Design of the form while viewing its code? I just find it a pain to right click then pressing the icon.
View 2 Replies
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
Jul 7, 2009
how can implement smart card and private key stored in smart card by using vb.net
View 1 Replies
Mar 19, 2009
how can implement smart card and private key stored in smart card by using vb.net
View 3 Replies
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
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
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
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
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
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
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
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
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
Aug 14, 2009
How can I get the Network Card Address using VB.Net?
View 2 Replies
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
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
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
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
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
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
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
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