Hello everyone, i need some help!
[VS2010 PRO, 4.0 framework]
I have 2 tables in a dataset1 and they are 1-to-many related. So one record from TableRegions (parent) may have many related records (children) on TableTowns. Yes, there is a ForeignKey constraint.
TableRegions = [ID, region]...
Here is another trickier with regural expressions.
Imports System.Text.RegularExpressions ' Put out of class
Dim sSearch As String = "Lastn ame, Firstname"
Dim sLast As String = Regex.Matches(sSearch, "[A-Za-z]+$").Item(0).Value
Note also that if there is no search pattern, the split wont create the array
Need to rephrase. It was correct in my head but there was an output problem :)
If the search fails (so the split wont actually split anything) then the created array will have one item only - the whole "Lastname...
Hi, there as many ways.
Dim sSearch As String = "Lastname, FirstName"
Dim sLast As String = sSearch.Split(",")(1).Trim
Note: I am searching for the "," only, not including the space, just in case it is omited. If you search for ", " witch is comma+space then you can omit the...
Hello
I will give you some hints and sources. This has nothing o do with C#, but with C and C++. The idea is to create a parser that will check the grammar too. A tool to do that is the Lex or Flex (lexical analyser), and for C++ compiler use Flex++...
jslmvl
Yes, the .Lines[] array has the lines seperated by newline. Just checked it.
javijerome
To get the number as Integer (=32bit wide) use instead the .Length property.
Note that the 'RTB.Lines' is an array itself. Maybe you can use it too. The following will show the second line (what is...
Hello everyone,
(2005 version framework 2.0)
I use a webbrowser control and i have set the url to "c:\". This shows me the contents of C: drive but when the control gets enough width, the common blue column/sections appears at the left. This with the sections "file and folder tasks", "other...
Hi
today, after finding an enabling the tcp/ip, named pipes, shared memory and via (all of them just to be sure haha) and changing the connection string, the error that i get is that i have no access (login failed) for pc-name\guest. It uses the guest account!
Can i grant full access to the...
Hello,
I have a windows application that runs fine. Now i decided to share the application though a lan with other personal computers. I have made the output folder shared and i can access it from an other computers in the network. The application runs but it crashes when it comes to communicate...
Hello Annihilannic and Feherke,
Oh my God. I just saw a huge mistake. The "Handle the most recent (-nt) file of the $file directory" code should be after the last "done" just before the function ends
I was working very very late yesterday and i didnt spot this!
I'll see how this is goind to...
Thank you all for your answers. Hm the abbreviations can be a problem. Well maybe then instead of getting the 1st sentence, i should better get the first 100 words !
I'll think about it, what to do.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.