Virtual Interfacing Of Input Value
Jun 13, 2010
Is it possible to make a virtual interface represents the value of an input? For example, if we have a program shows the level of a liquid in a tank and we want to represent the level virtually: as the calculated value of the level increases, the level (and color) filled in the tank shown, increases as well. Example: If the value is 100, the tank ( a rectangular ) will be shown full and green. If it is 0, will be shown empty and red.
View 1 Replies
ADVERTISEMENT
Mar 11, 2010
I would like to add a virtual microphone (similar to how you can have a virual CD drive and then mount ISO files on it.) so that it can be selectable in programs like MSN and skype. But have the source of the audio be streamed from over a network(I know how to stream the audio over the network in VB.net) but how do I get that audio which has been streamed as the input to the virtual microphone?
View 3 Replies
Mar 23, 2011
I have a small windows app in vb.net, which reads the file header from the database of table header,I need help to allow it to compare the header of any given file to be read using BinaryReader and then compare the value with the table containing the header's of all filetype's now, i am stuck as how do i create the link between the table to be compared against the selected file. i have two tables currently username, and password only which is for validation?
View 2 Replies
Jul 25, 2011
I'm trying to interface .NET (C# or VB doesn't matter) with a Siemens PLC S7 200. I can't however get a connection set up. I'm working on a Win7 64bit machine but can't seem to get it working on 32bit either. I got two files:
Interop.OPCSiemensDAAutomation.dll
Siemens_s7-200.dll
From another project which I'm trying to migrate to a newer system. However I get a com exception all the time.
Retrieving the COM class factory for component with CLSID {01704EBD- 4B5-11D3-9C09-00105A3DD3AC} failed due to the following error: 80040154.
I've already tried libnodave and can't seem to get that working either.
I couldn't get Siemens PC-Access to install on this machine, will try on a WinXP 32bit later. I read something about I need an OPC server or something on the machine?
View 3 Replies
Apr 8, 2011
I have a 64-bit project(which has to be 64-bit as it is an Outlook 2010/64 bit addin) that needs to interface with another Dll of mine, whose job it is to scrape file metadata out of files using the windows Shell32 dll. Now, as you may of guessed, this is posing compatibility problems as I am crossing that 64/32 bit boundary.
I read an article (ok skimmed it, whatever) and from what I understand, it suggested that I use COM as an intermediary and to bridge this gap. So, My question is, can I build a shim DLL in say VB6 (i know, i know) that would act as my com reference and pass the calls on to my 32-bit dll from my 64-bit addin?
Do I create a VB6 COM Dll, reference my .NET assembly and pass all Public functions out via a similar interface, then reference the VB6 dll in my 64-bit addin? is it just that easy?
View 1 Replies
Apr 7, 2011
I am working on a project I need to connect a USB camera but there is no com port No. on Device Manager the problem i know how to use camera on a serial port but USB ....i don't?
View 3 Replies
Jan 21, 2009
I am trying to interface with a Sylvac Gage over the Serial Port, but I can not get read any information sent by the gage.I am using the IO.Ports.SerialPort Object (called serialPort), and I can successfully write to the device. I can tell it to turn off by: serialPort.Write("off" & vbCrLf)But I can't seem to get any information back from the Gauge when I ask it to send information serialPort.Write("?" & vbCrLf)
[Code]...
View 2 Replies
Oct 17, 2011
im doing a school project, which is to create an interfacing software for the micromouse. one of the task is to list all the calibrated values in the mouse from hyperterminal to the "textbox"s in my vb program. In the hyperterminal, normally when i pressed "3" and "enter", it will wonderfully display all the values that are calibrated in the mouse. But when i try to list values from a button i programmed in VB, only 1 or 2 values are shown.... why? this are the codes for the button to list value
[Code]...
View 3 Replies
Aug 16, 2009
i'm developing a vb application and am intending to offer the functionality of that application on the internet as a service , how do i do that?
View 5 Replies
Jun 22, 2010
I am trying to set up visual basic to work with the wireless usb device below:
[url]
The link contains drivers and support docs. Could someone help steer me in the right direction on how to go about performing something like this?
View 2 Replies
Jun 10, 2012
I'm doing this project with Visual Basic , where in I have an external prototype that needs to transmit data , We will be using a serial to USB cable. I need to build a PC based program in VB that will get the data being thrown by the microcontroller(the project is chess tracking, and we need to get the data tracked.) How will I start the program?
View 10 Replies
Aug 29, 2009
Introduction: Probably a year or more ago I asked if was possible to use the Mathematical functions in Windows Calculator or use any DLL file it may use without a satisfactory answer. As I require the greater accuracy of Windows Calculator in String format. Would it be easy to keep switching between a Vb.Net Form windows based application and Windows Calculator and, using SendKeys, get results back to a Vb.Net application using Copy & Paste via the clipboard but to do this in an automatic fashion at all please?
What I am particularly interested in is getting Log10 or LogN results and also doing ARC or INVerse LOG10 or INVerse LogN calculations. But I require the greater accuracy of windows Calculator. Additionally, would it be possible to assign a keyboard keymap to each key in Windows Calculator so that, for example, the L key would be assigned to clicking the LOG10 button, ALT for the Hyp checkbox, SHIFT for the INV checkbox and so on?So imagine sending key sequences to Windows Calculator to completely automate it. And Windows Calculator has been updated too in WINDOWS 7, would that make it any easier to work with?
View 6 Replies
Jan 14, 2010
i m working on a project which involves webcam interfacing .i need it interface a webcam using visual basic express edition 2008, collect the images and use it for further processing..
View 6 Replies
Aug 6, 2009
I am using the following function to return the primay ip address with out problem until I ran it on a virtual server. It returned the ip of the physical server not the virtual server.
Public Function fnGetIPAddress() As String
Dim IPAddress As String = My.Computer.Name
Try
[code]......
View 3 Replies
Jan 7, 2011
i want to make a custom CMD i can try it to make it in notepad and save it as a .bat file en then say, [Code]
View 1 Replies
Mar 31, 2009
I using 2 virtual PC on may Computer. Can I re-use an existing for a new virtual PC?
Because, A Virtual PC have many space on HDD.
View 2 Replies
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
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
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
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
Sep 4, 2009
I have created a WFA that has 5 projects in it. One of the projects runs against 600 + servers and queries each server for local administrator accounts and then dumps that into an excel file. It will also check to see if the account that is in a local administrator group is disabled in AD. The problem that I have is that when I run the particular project I will run out of virtual memory. I have 4 gig on my computer. Is there a way to control this?[code]...
View 8 Replies
Apr 3, 2009
Does VB.NET supports virtual events?
View 1 Replies
May 26, 2010
I need to define Virtual IP programmatically (Perl or VB or CMD or java).I need it for temporary use, I can't use any actual IP address and I don't care if it will be accessible only from local machine.
View 1 Replies
Oct 4, 2011
I want to create virtual directory using vb.net. But while creating permission denied error occurs.If im manually creating virtual directory no error..
View 1 Replies
Jul 8, 2010
I'm trying to create a custom keyboard for my accounting firm. I have all the buttons and button events sorted out.How can I make it so that when buttons a pressed, the text is input into where the cursor is? Currently i put the cursor for instance in an excel cell, then click the key on the virtual keyboard and nothing is inputted into the cell, i assume because it selects the keyboard window when i click the button. For some keys I'm also simply using:SendKeys.Send("q") for example.
View 11 Replies
Jul 12, 2010
i am trying to make a virtual piano.in that i am also playing music files which is recorded through the above said piano.but how can i understand when this music playback ends.i need to invoke another function when the plyback ends.so how can i understand when the playback end.
View 1 Replies
Jan 28, 2010
I am trying to use fluent nhibernate in a MVC project. It seems the entities should have properties that are virtual and the set should be private for IDs. I use vb language. So tried using overrideable. It gives an error...
Public Overridable Property DesignId() As Integer
Get
End Get
Private Set(ByVal value As Integer)
End Set
End Property
It says property cannot be overrideable because it has a private accessor.
View 3 Replies
Dec 17, 2004
Im creating a Virtual Keyboard for a touchscreen application and I was wondering if there is a way to know whenever a control gets focus, what type of control it is, basically either another thread or a watch function or something that raises an event when a control gets focus.GLOBALLY, not just one control or one form, but any control on any form in the whole program..Basically i want a keyboard icon to appear whenever the control is of Textbox type.
View 4 Replies
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
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