Set A Timer Going Which Is Set Off By An Output From An External Signal From A Machine Tool?
Nov 17, 2009
What I am trying to do is set a timer going which is set off by an output from an external signal from a machine tool. At present the code is activated through a button on my form. This is the code I am using Public Class Form1 Private CompTime As System.Int32
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
CompTime = Environment.TickCount End Sub Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick Label2.Text = TimeOfDay End Sub
[Code]..
View 6 Replies
ADVERTISEMENT
Jan 28, 2011
I need a walkthrough to :
1. Get a list of available usb ports
2. Send an output signal through the usb (if possible with variable intervals)
3. Close the usb port (so that no signal (current) comes out )
View 1 Replies
May 3, 2009
I am developing a software and i need to make it save a text document, I can make it save it by writing the path of my document on my machine but it wont work on other machines when installed, how can I make it do this?
View 2 Replies
Aug 19, 2010
how to redirect outputs from console to a window form text box,but the console application I'm using is always running real time, thus my .net application hangs until I close the program that is read real time.The code displays the application to a 2nd form with a textbox multi line. Until I close that my entire program hangs and the console application monitored runs.
How do I code it to:
1. Run real time without hanging the entire program.
2. the console app must run at all times. (figured how to hide/ and no window created for it)
Sub Console()
Form2.Show()
Dim myCon As New Process
myCon.StartInfo.UseShellExecute = False
[code].....
View 6 Replies
Jan 5, 2010
I want to make a Tool Bar in my task bar such as windows media player tool bar.
I'm using VS2005.net Windows xp Professional Edition.
View 5 Replies
Oct 17, 2010
how to put the tool tip text in status bar label this in form load event
View 14 Replies
Dec 9, 2010
I develop an application using vb.net.application will run on client server architecture.when we try to execute the program in client side then it will give me an error which is related to sqlclientexception.how can i handle this situation.i used vb.net 3.5 as front end and sql server 2000 as back end.i have done total coding with system.data.sqlclient namespace.
View 6 Replies
Dec 21, 2010
I've inherited a lot of custom made software for an office, and, while managing it, I've found it performs differently from machine to machine.I mean, some controls get painted in weird ways in some machines but well in another, or just work differently, like in some machines clicking something selects it, and in the next machine clicking the same thing makes it editable.I suspect, o course, of the myriad of DLL the software loads
View 2 Replies
Dec 13, 2010
I am trying to capture a tv dvb-s signal via vb.net since a long time now.I have tried to get it work with the Microsoft examples, but no success till yet.I had success with analog tv tuning, but digital tuning is still far away, also I don't find any examples with dvb-s and vb.net or c#.
View 1 Replies
Jan 29, 2012
I have a problem with a Management.ManagementObjectCollection object. I can't use a For Each to go through its items, it tells that is not supported...
[Code]...
View 9 Replies
Mar 11, 2010
I want to get the data coming from a weighing scale (rs232 signal) to a vb.net prgram, to a text box
View 1 Replies
Mar 7, 2011
Is it possible to send information to a BackgroundWorker thread while it is running? Here is my scenario: Parent thread calls background thread to send a data request to a database. If it's a big complicated query it can take a while for the db to respond, so putting the db request on the background worker thread is great. My app can do other stuff while the one thread waits for the db.
Now, db responds with beginning of data. I want my background thread to report back meta data about the result set to the parent thread. No problem there, I can use a custom user state object and the ReportProgress method. But now, how to I send a signal from the parent thread back to the worker thread? I want the background thread to wait while the parent thread does something, and then tells the worker thread to keep going or quit. I know how to cancel a background thread, but I want the parent to be able tell the child some information other than "cancel". Here's one way to think about it:
[Code]....
View 10 Replies
May 15, 2009
I need some advises on showing digital signal indicator at this moment I use radio button...but it's then becoming complicated because I have to make them "true" or "false" anytime.
View 24 Replies
Jan 21, 2008
I want to block a perticular machine from accessing my machine..Both the machines are in LAN..I dont want a perticular machine to access my computer How can i achieve this...I want to do this using VB.NetAny idea....
View 9 Replies
Dec 22, 2011
o I've had to reinstall both the .net and visual studios 2010 to get back to being able to program my game, yet this strange issue is still in existence...all of a sudden, like 4 hours prior to not being able to program anymore, I ran into the issue of my login form FRMlogin.vb not running upon clicking the button that sends you to its page... it will not show up for some unknown reason, and both me and my programming buddy cannot figure out what is going wrong here. I restarted my computer twice now since reinstalling visual studios 2010 express, and the same issue is here...here is the code for the forms
the play_b4.vb code
Public Class play_b4
Private Sub registered_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CMDregistered.Click
FRMlogin.Show()
[code]....
View 1 Replies
Sep 2, 2011
I want to get the wireless signal strength from adapter on Windows CE, VB.Net, Visual studio 2008.I believe opennetcf.net library has to be used.
View 2 Replies
Jan 18, 2009
I was wondering if there is an available script or code in VB that could measure the signal strength of routers. I need an actual number in decibels.
View 4 Replies
Dec 30, 2010
I'm newbie in VB and in my project I need a refresh loop to check an input usb board... everything runs well but I want a 100 ms refresh without button click needed[code]...
View 1 Replies
May 24, 2011
I have been all over this site looking at and trying example code, but none of it seems to work properly on my computer. I just want a simple program in VB.NET 2010 that can record a .wav file from my computer / line-in microphone. I am somewhat familiar with VB, but I still consider myself a novice and I don't really know all of the audio jargin. [URL]..
View 5 Replies
Nov 13, 2009
I would like to write a little application in VB.NET that will detect a baby's cry. How would I get started with such an application?
View 2 Replies
May 17, 2010
I'm trying to build a form with 2 textbox where I can display latitude and longitude taken from serial input from serial port with a gps ($..GGA or $..GLL telegram)
View 1 Replies
Oct 23, 2009
Im connecting a infrared transmitter by serial port, Rs232 to my pc. Anyone know the coding for the comport to detect the signal and auto trigger a sms event(by gsm modem) ??????
View 4 Replies
Mar 6, 2012
i have an input signal that can be time variant.i need a chart that can show sin ,cos , other signal shape such as this picture?
View 3 Replies
Mar 19, 2010
Does anyone know how can we get the currently connected Wi-Fi network's signal strength in VB.NET?
I am using Windows 7 Ultimate & VS 2005, VS 2008 & VS 2010.
View 4 Replies
Jun 30, 2010
I'm just starting build a project that will must acquire digital/analogic signal input, elaborate them troght a software builded by me and depending on signal acquired and conditions put out digital/analog signal output.So I assume I have to buy a PCI signal acquisition card.Now, I'm working from time with vbnet and I feel good, can someone suggest me a kind of pci pcb as above descipted and explain how to programe it in order to keep in communication pci card with vbnet software to pass signal???
View 1 Replies
Feb 1, 2012
How to get the SSID and signal strength of the WI-FI network you are connected on?
View 3 Replies
Sep 22, 2010
I have looked absolutely everywhere for documentation on wifi adapter usage programmatically in any
language, and have found tons of code for Windows Vista and prior. There has not been a single DLL
or code snippet that functioned on my laptop. I suspect it is because I am running Windows7, but
just in case here are my laptop specifications:[code...]
This obviously has some flaws in it, particularly it adds all the values to the same double.
View 3 Replies
Feb 3, 2012
I wanted to know if it is possible to Zip a folder without any external dll nor any external references - just with native features.I've been able to Zip files with System.IO.Packaging, but it does not include folders and I cannot tell it to Zip the parent folder.I know there are external dll and so, but I'd like to know if it's possible to make it from a native way.
View 1 Replies
Nov 22, 2007
I have 3 AP and I want design program to get the SSID & signal strength &BSSID(MAC Adress) for each APi found the some functions to obtain the SSID & signal strength for one AP ,,, i using timer to update every 2 second
SSID
Public Sub SSID()
Try
[code]......
View 7 Replies
Feb 14, 2010
How can i send byte/signal/puls usb port?i want to this
View 3 Replies