Search:
Type: Posts; User: dday9
Search:
Search took 1.50 seconds.
-
Moderator Actions: Moved from VB.NET forum to Games and Demos
-
Ah, I believe that was the last post.
-
In that case, let me rewrite my LINQ example in a manner that uses traditional looping techniques. I think you'd be able to understand the .NET code a little bit better that way:
' declare a new...
-
Correct. The title of your thread stated Integers and so I assumed that was the data type you were actually targeting.
Number matching in Regular Expressions can range from extremely simple (like...
-
More to Delaney's suggestion, since the Visible property returns a Boolean, you can toggle the visibility by using the Not keyword:
TextBox1.Visible = Not TextBox1.Visible
-
Those are Regular Expression constants. This is the RegEx explained more in detail:
Wages Paid £: Literally match those characters
\d: Match any character between 1- 9
*: Match the prior...
-
My apologies, I forgot to include the RegEx pattern:
Dim pattern = New Regex("Wages Paid £\d*")
-
The RichTextBox control has a Lines property, which returns every line in a String array. What I would do is:
Get the lines
Use RegEx to select just the wages paid
Sum the values
Here...
-
If you want to get spicy you could use LINQ:
Dim duplicates = From cbo In COMMbobox
Group By cboText = cbo.Text
Into cboTexts = Group
Where...
-
You have two declarations of dtt, one is a globally declared read-only variable whereas the other is (presumably) a locally scoped variable declared prior to calling RunWorkerAsync.
So what is...
-
-
Moved from codebank and added
tags.
-
Shoot, the wedding I officiate there were probably 125 people. I know that 175 were invited, but not everyone showed.
-
Move to other basic forum.
-
Something to consider is the following statement from the Like operator's documentation: https://docs.microsoft.com/en-us/dotnet/visual-basic/language-reference/operators/like-operator
Something...
-
I officiated a wedding tonight and I don’t think I’ve ever seen so many mullets in one place before.
-
You should think about this problem in a language agnostic manner. The steps that you need to take are:
Read the CSV file into a collection
Convert the columns into their appropriate data...
-
-Moderator Actions: Spun off onto its own thread from here: https://www.vbforums.com/showthread.php?616021-
-
Make sure that you have System.Linq namespace imported. This is the documentation on the specific method: https://docs.microsoft.com/en-us/dotnet/api/system.linq.enumerable.contains
-
Visual Studio 2019, Visual Studio 2016, etc.?
-
If you place your cursor on the line you want to setup the breakpoint and hit F9, it will add it for you (the line will be highlighted red). F9 is how you toggle breakpoints.
Once you're running...
-
There are a couple of things that come to mind:
The data has changed. Perhaps there is an unescaped comma (which aren't being handled) or less columns and it is causing some sort of indexing...
-
What version of Visual Studio are you using?
-
You replace ' do something with price with assigning the Label's text to the variable named price.
-
Oddly enough the HTML that I inspect is drastically different from the HTML you provided in post #1. This is what I get:
<div class="game_purchase_price price" data-price-final="99">$0.99</div>
...
-
I have edited your post to remove the unnecessary size 7 BB tag. Don't do that again.
JMcIlhinney's point is still valid, you need a way to uniquely identify the HTML tag in order to get the right...
-
Ahh! That’s what I get for I freetyping it.
-
I want to take the opportunity to address some issues from your updated code.
The first issue is that you declare a variable named Radio_Button that is scoped at the form level and then another...
-
This Stack Overflow answer seems to explain it pretty well: https://stackoverflow.com/a/51349305/1920035
-
In that case, you could still use LINQ. What you would be doing is querying items where the current item's list contains the abbreviation. Maybe something like this:
Dim bookAbbrList = New List(Of...
-
I would personally use a Dictionary(Of String, String) and not use LINQ at all for this situation:
Dim bookAbbrList = New Dictionary(Of String, String)() From {
{ "gen", "Genesis" },
{...
-
-
You put the queen on your money, you're British.
I think you should be fine with that.
-
I've go to say that this task was pretty ridiculous. Ultimately I wound up implementing something similar to this:...
-
I'm not exactly sure if this is a VB.NET question, a PHP question, or both.
I have the following PHP web API that uploads a file to the server and then creates a record in the database that...
-
There's no real documentation in that PDF (included in ZIP). I can't offer much help other than to say that you to need to find better documentation or maybe get lucky and they included help files.
-
I'm not familiar with teh Ivi.Visa.Interop library. Do you have a link to the documentation?
Also, On Error Resume Next has been depreciated since 2005ish. Please use Try/Catch statements.
-
Moderator Actions: Moved thread to the CSS codebank.
-
To elaborate on what JMcIlhinney suggested, the Or operator will evaluate the right-hand conditional check regardless of if the left-hand evaluated to True. Contrast this to the OrElse statement...
-
ColumnIndex stays the same regardless of if the DataGridViewColumn is visible. What you should have done is setup a breakpoint on the line where you check the ColumnIndex and add a watch to your...
|
Click Here to Expand Forum to Full Width
|