Click here to Skip to main content
15,886,858 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionGreat Forms (GUI) in MAC using Visual studio 2019 Pin
Member 90631385-Oct-20 5:06
Member 90631385-Oct-20 5:06 
AnswerRe: Great Forms (GUI) in MAC using Visual studio 2019 Pin
Gerry Schmitz6-Oct-20 4:29
mveGerry Schmitz6-Oct-20 4:29 
AnswerRe: Great Forms (GUI) in MAC using Visual studio 2019 Pin
Eddy Vluggen6-Oct-20 12:20
professionalEddy Vluggen6-Oct-20 12:20 
AnswerRe: Great Forms (GUI) in MAC using Visual studio 2019 Pin
Richard MacCutchan6-Oct-20 22:05
mveRichard MacCutchan6-Oct-20 22:05 
QuestionWhat minimal self-hosted server options use TcpListener and not HttpListener (to dodge urlacl)? Pin
DT Bullock15-Sep-20 13:25
DT Bullock15-Sep-20 13:25 
AnswerRe: What minimal self-hosted server options use TcpListener and not HttpListener (to dodge urlacl)? Pin
DT Bullock15-Sep-20 15:04
DT Bullock15-Sep-20 15:04 
GeneralRe: What minimal self-hosted server options use TcpListener and not HttpListener (to dodge urlacl)? Pin
DT Bullock15-Sep-20 15:35
DT Bullock15-Sep-20 15:35 
QuestionWord search Pin
Emmery Chrisco15-Sep-20 11:31
Emmery Chrisco15-Sep-20 11:31 
My program is going through each word in a story looking for names. I am using the following function to check against a string full of names (aaron, adam, ...) to see if the word is a name, but it is returning true for partial word matches such as "the" in "Theodore". What am I doing wrong?

VB
Public Function WordExists(ByVal searchString As String, ByVal findString As String) As Boolean
    Dim returnValue As Boolean = False   
 If System.Text.RegularExpressions.Regex.Matches(searchString, "\b" & findString & "\b").Count > 0 Then returnValue = True   
 Return returnValue  
End Function



VB
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
 If WordExists(NameList, TextBox2.Text) = True 
Then    MsgBox("Yep!")   
 Else    MsgBox("Nope!")   
 End If  
End Sub


Thank you for your help!
Amerigo

AnswerRe: Word search Pin
Mycroft Holmes15-Sep-20 12:29
professionalMycroft Holmes15-Sep-20 12:29 
RantOAuth 2.0 when a .NET desktop app is the 'client' Pin
DT Bullock15-Sep-20 4:42
DT Bullock15-Sep-20 4:42 
QuestionHow can a .NET Framework desktop-application gain temporary elevated privileges? Pin
DT Bullock14-Sep-20 20:00
DT Bullock14-Sep-20 20:00 
AnswerRe: How can a .NET Framework desktop-application gain temporary elevated privileges? Pin
Richard Deeming14-Sep-20 21:33
mveRichard Deeming14-Sep-20 21:33 
GeneralRe: How can a .NET Framework desktop-application gain temporary elevated privileges? Pin
DT Bullock15-Sep-20 2:47
DT Bullock15-Sep-20 2:47 
GeneralRe: How can a .NET Framework desktop-application gain temporary elevated privileges? Pin
DT Bullock15-Sep-20 2:50
DT Bullock15-Sep-20 2:50 
QuestionI want to rename a table by using EF 6 Code First approach Pin
simpledeveloper11-Sep-20 8:41
simpledeveloper11-Sep-20 8:41 
AnswerRe: I want to rename a table by using EF 6 Code First approach Pin
Dave Kreskowiak11-Sep-20 8:57
mveDave Kreskowiak11-Sep-20 8:57 
AnswerRe: I want to rename a table by using EF 6 Code First approach Pin
Gerry Schmitz11-Sep-20 9:17
mveGerry Schmitz11-Sep-20 9:17 
GeneralRe: I want to rename a table by using EF 6 Code First approach Pin
simpledeveloper11-Sep-20 9:26
simpledeveloper11-Sep-20 9:26 
QuestionMessage Closed Pin
4-Sep-20 21:14
Bdown “FukthaPolice” Tigs4-Sep-20 21:14 
AnswerRe: Lenovo yoga 2 Pin
OriginalGriff4-Sep-20 21:38
mveOriginalGriff4-Sep-20 21:38 
GeneralRe: Lenovo yoga 2 Pin
Richard Andrew x647-Sep-20 4:08
professionalRichard Andrew x647-Sep-20 4:08 
AnswerRe: Lenovo yoga 2 Pin
Dave Kreskowiak5-Sep-20 5:41
mveDave Kreskowiak5-Sep-20 5:41 
QuestionDisplay temporary data in datagridview Pin
hiruthere1-Sep-20 0:36
hiruthere1-Sep-20 0:36 
AnswerRe: Display temporary data in datagridview Pin
Richard MacCutchan1-Sep-20 2:18
mveRichard MacCutchan1-Sep-20 2:18 
QuestionImplementation of Identity 4 in .net core 3.1 for SSO for multiple projects Pin
Ravikumar Patra14-Aug-20 2:41
professionalRavikumar Patra14-Aug-20 2:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.