IDE :: Doesn't Detect Any Dublicate Patterns
Sep 25, 2009
The following code works fine when it doesn't detect any dublicate patterns. Is it possible to somehow alter to to also work with dublicate patterns? (i.e. to color duplicate patterns as well and nto just unique ones) Any ideas? [code]
View 1 Replies
ADVERTISEMENT
May 17, 2005
I'm using the chat program provided in the 101 examples kit, and have modified it a bit to suit an app i'm fooling around with. I have come across a problem...
When the client side crashes, the server side doesnt realize that the connection has been lost. Is there any way for the server to poll its clients table to figure out which streams are still open?
View 1 Replies
Mar 6, 2011
[code]...
When I start the program, the program uses about 10k Memory. When I call Sub One, the program goes up to 800k Memory (roughly the size of the file). Why doesn't the memory usage go back to 10k when I call Sub Two?
View 2 Replies
Nov 11, 2010
How can I Avioed Dublicate values In datagrideview. IF find dublicate values row back colour will change
View 4 Replies
Sep 23, 2009
I'm supposed to write a program that displays the following patterns, one below the other:
(1)
*
**
***
****
[code]....
I get the first pattern using this code.
For i As Integer = 1 To 10 'number of row
For j As Integer = 1 To i 'number of *
Console.Write("*")
[code]....
When I try to do the 2nd pattern I get a square of 10 asterisks.Here's what I have:
For l As Integer = 1 To 10 'number of new rows
For k As Integer = 10 To 1 Step -1
Console.Write("*")
[code]....
View 4 Replies
Nov 10, 2009
I'd like to tell a regex statement to get the text between two patterns IE: find /* and */ and get all text between it.
I can do Dim rRegex As New Regex("/*|*/"), which will find all matches of /* and */ in order, but what can I do to get the text between them?
(I think that regex is correct, I might be wrong though)
I want each Match from my rRegex variable to return the text between the two patterns in the regex, if that makes sense.
View 4 Replies
Apr 20, 2009
This program would allow users to click a button and display three different types of patterns (shown below). The user could also enter the number of rows they wanted to display and a character that they wanted to use for the pattern (*, &, etc).[code]...
View 3 Replies
Jan 14, 2005
When you do GetFiles() you can specify a search pattern such as *.txt. How can I specify multiple patterns. For example, in windows search you do *.jpg;*.bmp;*.gif. I tried that but no luck and the msdn not work. Is this possible?
View 11 Replies
Jul 22, 2011
I need to read a text file like this
MyItemName = Description @ MoreInfo
Now I need to convert this 3 fields in to a table. using the '=' and '@' as pattern.
View 2 Replies
Apr 21, 2009
Recently I needed to compare a suggested pattern for IDisposable and object finalization with the auto-generated one we which VS2005/VB.NET provide. We have used the auto-generated one a fair bit, but after looking it the two side by side I had a number of questions about the VB.NET implementation..
[Code]...
Overall I am confused by the supposed added value of having an extended code-path that executes when Dispose() is called explicitly(as opposed to having a common path that is executed regardless of whether or not Dispose() was called explicitly). how it does anything other than delay the actual release of managed resources if Dispose() isn't called directly. In essence it seems to only work to make the managed resources unreachable in the object graph, orphaning them until the 2nd GC run rather than freeing them at a point where they are known to be no longer needed.
View 3 Replies
Aug 29, 2009
Who started the pattern making in AVATAR pictures??I've seen none with circles, ovals or any curves in yet either.
View 11 Replies
Nov 28, 2011
As a continuation of my other thread, "Finding A Pattern without a string Array (http:[url]....)", I would like to continue asking questions about enhancing a scanner with a few things:
1. Here is my code for finding signatures in a file:
'First the Signature Class:
Interface Signature
End Interface[code]......
View 2 Replies
Aug 8, 2011
Background:I have a base class and several inherited derived classes. The derived classes don't always need to have the same properties. If any properties are shared among the derived classes, those properties would live at the base class level ('Contents', for example).Similarly, GoodDocument below has 'GoodThings' but would not want/need to have 'BadThings'.I want to treat instances of both 'GoodDocument' and 'BadDocument' as type 'Document'
public mustinherit class Document
public property Contents as string
public sub new()...
[code]....
View 3 Replies
Jun 25, 2012
I want to find a way to speed up this code.if you look at the condition of If calculated Then in the code below, this is what slowing down the code.While the code provided seem fast with Const initBit = 4 try it with something over 12.
I want to be able to use this code (with calculated param as True) with initBit of 20 or more.
Beware that 20 or more might require a gig or more of ram and/or compiled as x64.
C# code (converted with an online tool from VB.NET):
[Code]...
View 2 Replies
Jun 12, 2011
I am trying to change the background color of a tooltip
I am using tooltip.backgroundcolor = color.colr
No errors but thecolor doesn't change
View 5 Replies
Oct 13, 2010
I use Visual Studio 2003, VB.net, NetFramework 1.4 and Windows XP I have been using the following Code Snippet for a number of years in both Web Services and Windows Applications. However suddenly around the 29th September 2010 it has stopped sending E-Mails from both Web Services and Windows Applications. The same problem has happened not only to my own Network but on two other Networks, one using XP as its Server and the other using Server 2003. All 3 of these are using different ISPs.
[Code]...
View 1 Replies
Apr 16, 2009
The form is an About Us form so has nothing on it only a text box and a OK button.
[Code]...
Why won't the button close the form? I'm puzzled, I tried another button just in case with the same result. UPDATE: I set a break point on Me.Close() and it isn't reaching it when I click the button, I created a new button and the same thing happened.
View 4 Replies
Jun 21, 2010
I want to write an application that can detect whether a value in CSS file has changed or not
View 3 Replies
Apr 29, 2010
Why there's no built-in function to detect platform, I need to know I am running on x64 or x86?[code]...
View 4 Replies
Jun 3, 2011
My table gets its information from a Mysql database online. I'm not sure which would be quicker to retrieve the row that contains the information specified.[code]...
View 5 Replies
Dec 7, 2011
I have a dataGridView control with a DataGridViewComboBoxColumn column, the question is Which event of the dataGridView I must use to detect when the user change the selected value of a particular DataGridViewComboBoxColumn?
View 1 Replies
Jan 30, 2010
How to detect whether Caps Lock/Num Lock is on/off on a keyboard?
View 2 Replies
Apr 26, 2010
I have a text file, about 30mb's in size which gets modified regularly (lines are appended - logfile), but what I would like to do is only read the contents that have been added since the file was last modified.
View 4 Replies
Feb 24, 2010
How can I detect when the WMP has reached the end of the current song? I'm making a media player, and have my songs in a list box. Here is my code for playing a song.
CurrentSong = SongPaths.SelectedItem
WMP.URL = CurrentSong
Label2.Text = "Now Playing: " & Songs.SelectedItem
Songs and SongPaths are both listboxes (SongPaths is hidden) As you might have guess, Songs has the song names in it, and SongPaths has their directory path, the two listboxes are in-sync (Choosing "SongA" in Songs, will select the directory of it in SongPaths)What I need to do, is detect when a song is over, so I can call this code:
i = i + 1
Songs.SelectedIndex = i
'Will select the corresponding item in SongPaths as well.
[code]....
View 5 Replies
Aug 31, 2009
How can i detect how much memory each tab is using
View 4 Replies
Mar 30, 2011
With active i meant for example you are using browser now, so its active when you skip to another window, its not active anymore
View 1 Replies
Feb 3, 2012
If I have a path, eg "C:emp", how can I detect if it is a directory or not?
View 3 Replies
Mar 30, 2012
I need to find an easy way to know if the local machine's 'automatically adjust clock for Daylight Saving Time' option is enabled.
View 3 Replies
May 31, 2009
I guess no need for further description... here's my other post for app that i'm makeing
View 1 Replies
Nov 16, 2008
iam need 1 program detect sound on computer if have sound it will alert " currently have sound"if not" currently no sound"
View 2 Replies