Hi Ed! Thank you for the reply. I plan to have one computer, one network switch, and then my monitors and cameras all hooked into a network switch. With a video switch, I can sedn a AT command via RS 232. But a network switch, I'm not sure if I can dial into specify what jack to connect with what jack?
rudemusik
Posts
-
Calling an IP address? -
VB.NET SerialPort....What's the exception? I'm ussing the serial port control, you may have to modify it. This came from a program that I used to replace Hyper terminal. If you want, I can supply the whole code. It might give you an idea what to do. let me know. Rudy
-
VB.NET SerialPort....This is what I did to recieve data to my app.
Private Sub SerialPort1_DataReceived(ByVal sender As Object, ByVal e As System.IO.Ports.SerialDataReceivedEventArgs) Handles SerialPort1.DataReceived
'' Threading.Thread.Sleep(500)
TrytxtResults.Invoke(New myDelegate(AddressOf updateTextBox), New Object() {}) Catch ex As Exception MsgBox(ex.ToString) End Try End Sub
Public Delegate Sub myDelegate()
Public Sub updateTextBox()
With txtResults
.Font = New Font("Arial", 10.0, FontStyle.Bold)SerialPort1.ReadExisting()) .AppendText(SerialPort1.ReadExisting()) .ScrollToCaret() End With 'THIS WILL ONLY WORK WHEN CONNECTED SerialPort1.Close() End Sub
Hope this helps! rudy :)
-
Calling an IP address?If I can have somebody point me in the right direction. I have a 2 ip cameras, hooked into a network switch. The I have two decoders that hooked into the switch. Now I have VGA monitors on the other side of the decoder. So I want to write a program that I can press a button click event. And camera 1 will send the video siginal to monitor 1 or 2, depending on what button I click. How would I go about doing this? I was thinking maybe I control this throught the network switch via rs232. Or can I send a command direct to the camere or decoder, which also has an IP address. Where would I start looking for stuff on this? TIA!! Rudy :)
-
Common question with a twist, I think,Thanks Guffa!:)
-
Common question with a twist, I think,Sorry about that. Thanks! Rudy
-
Common question with a twist, I think,Hello All! Working with ASP.net, but this part is HTML. I have this line of code I have been reading how to open a new browser window. But how would I write it so I can open a new window with the above link? Thanks! Rudy
-
Adobe ActiveX questionHello! I have a websote that uses Adobe pro to view pdf documents. But now when I move it into my production enviroment, I get this error. "Cannot create ActiveX component". I'm guessing it's the adobe ActiveX, just not sure which one, or how should I install on the web server, or does it have to go on the client? TIA! Rudy
-
Using a session from a dataview?Hey! I got it! Just had the it backwards. Session("Test") = DetailsView1.DataItem(5) testtext.Text = Session("Test") Genuis;P Thanks!!! Rudy
-
Using a session from a dataview?Hello All! I'm trying to grab a value from a details view, to put in a text box. Here is my attempt
DetailsView1.DataItem(5) = Session("Test") Session("Test") = testtext.Text
I have this at my page load event. The Details view gets filled on the Page load as well. Maybe I need to creat a session afterwards? TIA! Rudy:-D -
Classid for adobe profesional 7.0Hello All! I have adobe professional 7.0 on my computer, and would like to use it for the web site I'm building. Does anybody know where I can find the classid for this, or know what the classid is forthis version. Thanks! Rudy
-
Too many Filewatches!Thanks for the tips Kevin!! Rudy
-
Too many Filewatches!Hi Kevin! It's running as a windows application. Basicly I need the server to control the client software 90% of the time, at will. For example, when a button on the server is pressed, form 1 opens on the client. When button 2 on the server is pressed, a timer starts on the client. The user at the client has very little control. I have tried .Net Remoting, but havent been very successful at it. I thought about creating events that stop and start the filewatches at certain times. Just haven't gone down that road yet. Why would a filewatcher become unstable over time? Thanks! Rudy:)
-
Too many Filewatches!Hello All! I am really stumped on this. So I have a server/client app, with SQL as a backend. The client program has it's forms come up by the server. That where I use the FileWatch process. Works pretty well, and fast. I creat a file from the server on server, the client flewatch see that file, and open up a form. A timer on the form closes after a few some time. The file the server creates, gets deleted. I'm sure this isn't the best way, but it works pretty well, except now. I can only run up to like six or seven at a time. Anyone of them will work, but not all at the same time. My server is created the files just fine, so the problem is with the client side. I don't get a warning or an error. The watch process just doesn't run. So here is a sample of the code. Declaring it,
Public FggWatch As New FileSystemWatcher
I have this in my form load event. I also tried to put it in IntilizedComponet.AddHandler FggWatch.Created, AddressOf FggWatch_Created FggWatch.Path = (TempFileSetting) FggWatch.Filter = "*.fgg" FggWatch.IncludeSubdirectories = False FggWatch.EnableRaisingEvents = True
And then here is what happen after the file gets taggedPrivate Sub FggWatch_Created(ByVal sender As Object, ByVal e As System.IO.FileSystemEventArgs) Dim frmFgg As New frmFggWn Sound.PlayWaveResource("ding.wav") frmFgg.ShowDialog() End Sub
It worked fine for weeks, then all of sudden! You know. Now keep in mind I have 13 of thees little gems, the only difrence in the file names, and a diffrent form get displayed. Thanks!! Rudy -
Open a PDF fileHi A.R.! What do you mean by converting the file into a byte array? Thanks! Rudy
-
Open a PDF fileHello Sabhatti! Thank you for the quick response. That worked great, but I didn't realize it would open adobe. Is there a way to open a pdf file, while still in the webpage? Thanks! Rudy
-
Open a PDF fileHello All! I'm working in VS 2005/VB.NET. There seems to be alot of ways to this. I'm just looking to open up a pdf file from a server. I don't have to modify or save it. I just need to view it in the web page. Can somebody show me or point me to a quick of doing this. Thanks! Rudy
-
Reset an integerThanks Everybody! I finally got it. I actually had to put "mysec = 15" at the end of the countdown. Thanks again! Rudy
-
Reset an integerHi Lucky! What do you ean by inner loop? Thanks! Rudy
-
Reset an integerHi Christian! It's actually counting down from 15. I have mysec = -1 so that a 0 will show. After the 0 shows, I set the label to 15. But it doesn't change my intger, so if it starts again, it will start with -1, -2 and so on. How can I change the 0 to a 15 as if if I were reloading the form to kick off the "Public mysec As Integer = 15" line. Thanks! Rudy