Search:
Type: Posts; User: Brian Henry
Search:
Search took 0.04 seconds.
-
-
Hi all, I needed a way to filter bad words entered in a textbox.
This is what I came up with.
Code:
Dim WordArray As New ArrayList
Public ReplaceString As String = "*****"
-
Did you try adding the KeyDown event handler then you can use something like this.
I use this in WPF
Private Sub SV_KeyDown(sender As Object, e As Input.KeyEventArgs) Handles SV.KeyDown
...
-
Hi all, Just wanted to share this. I needed a way to grab a snap shoot from an IP camera and show it in an Image Control in WPF.
This may not be the beas way to do this but it worked for.
...
-
Thanks for your help it work now.
-
I'm trying to set the cell color of a WPF datagrid. But I can't get this to work.
Dim firstRow As DataGridRow =...
-
I'm getting an error on DG1.Rows ('Rows' is not a member of datagrid)
-
Hi All
I want to loop through a datagrid and change the row color if a cell has a value is greater then my alarm value
Sum thing like this
Dim Alarm1 as string = "245.00"
-
Have you looked at Shell Function http://msdn.microsoft.com/en-us/library/xe736fyk%28v=vs.90%29.aspx if Shell Function want work for you try this link...
-
Can you just map a network drive from the client computer to remote computer. A mapped network drive will let you save the user name and password win you create it.
EX:
Public con As New...
-
Thanks for your help. I got it to work in WPF.
109681
-
Hi all.
I've been diving in to WPF lately and i need a vertical progress bar with alarm markers see picks. how would I do this or is there a control on the net like this.
The alarm lines are...
-
Thanks, I will mark this thread [RESOLVED].
-
Here's what I got working
s = Regex.Replace(s, "((?<=[\s])and(?=[\s]))", String.Empty)
-
-
Hi I need to replace sum words in a string.
EX: me and amanda are go to town.
When I use this Dim s As String = FileString.Replace("and", "") it removes the and but it also removes the and from...
-
Hi all
I am saving sum Encrypted data to XML, then I'm reading that file in to a dataset. How do I Decrypt it before applying my filter. Only one column is encrypted there are 3 total.
NOTE: I...
-
Hi all.
I am new to WPF and I am trying to change the cell text or background color in the cell.
Example
Cell >= 1.25 change color to red
Cell <= 1.24 change color to green
Here's my xaml
-
Hi all.
Is it possible to drag and drop a drawn image from a PictureBox and save it to file.
EX: If I drag and drop the PictureBox to my desktop I need it to save it as a .bmp
Here's my save...
-
Thanks for the help, I got it to work.
-
Thanks I will check it out.
-
Hi all I'm am trying to do sum custom events in a Class. My class listens for a UDP Broadcast, I want to Raise and Event when a message is received to display the message from a windows form. I am...
-
Hi all, this is probably a dumb question. Is there a shorter way of doing this.
'Establishing SQL connection.
Dim myConnection As SqlConnection
Dim myCommand As...
-
I am trying to round a number but I keep getting an Infinity number. How do I round this.
4000 / 7135 * 100
Here's the code I've tried.
Round(readVals(0) / Scaling1 * 100 +...
-
The only problem is each station gets data from a remote RTU and then save it in an SQL DB, so I need all station running. I am work on hiding stations the user doesn't need and then showing them...
-
The only thing is I did-int want to show the Scroll bars. And I am adding the stations programatically.
-
Hi all.
I have a SCADA program I'm working on, I need to add sum sort of paging when the user hits the page up/down button. I have about 100 station to show. I can fit 28 stations on one screen...
-
Hi all.
I am running sum of my code in a background worker and I need to show sum tooltip text on a label, but nothing shows up. How do i fix this?
Dim ToolTip As New ToolTip...
-
Thanks I'll check it out.
-
I am getting a list of computer on my network. I want to run this code in the background but I keep getting an error. How do I delegate the TreeView.
Error
The action being performed on this...
-
Thanks that did the trick.
-
I'm trying to upgrade sum vb 6 code to vb.net 2008 but I'm getting an error
'AddressOf' expression cannot be converted to 'Integer' because 'Integer' is not a delegate type.
How can I fix this....
-
Sorry if I sound rude. I am work on a different way to freeze the PollTimer1
Here is a screen shot of my app just to show what I'm doing.
-
Yes, I need to allow time for the modbus Protocol to open and close be for polling the next station.
Thanks for the help.
-
OK, I got it working.
Dim x As Integer
For x = 0 To (Me.MdiChildren.Length) - 1
CType(Me.MdiChildren(x), Main).PollTimer1()
Thread.Sleep(300)
-
Hi all, I am trying to enable a timer on multiple MdiChildren and I'm getting an error. What am I doing wrong.
Error
object not set to an instance of an object
Here's my code.
Dim...
-
Thanks for the reply.
I got it to work.
-
Hi, I'm having trouble with my project. When I run MdiParent form and open a Child form it work fine but when I minimize the MdiParent form the child form looses all data EX: labels, text boxes and...
-
Thanks for the help. I found an example on CodeProject.
-
Is there a Vertical progress bar that will step by 0.01
|
Click Here to Expand Forum to Full Width
|