No announcements
Found 970845 threads
-
9 Votes
Option Strict On, Option Strict Off
If you say it can`t be done then i`ll try it Ok, you asked about LINQ so let's do LINQ. ;-) Compare these ...Answered | 23 Replies | 1315 Views | Created by gwboolean - Sunday, July 5, 2015 1:01 AM | Last reply by Frank L. Smith - Sunday, July 5, 2015 1:18 PM -
1 Votes
Option Strict Off
Option Explicit On Option Strict On Option Infer Off I will leave you to discover what ...Answered | 12 Replies | 3750 Views | Created by adilahmed - Sunday, November 9, 2008 9:41 AM | Last reply by John Anthony Oliver - Monday, November 10, 2008 7:16 AM -
0 Votes
How to turn Option Strict Off?
" It's Option STRICT On.Answered | 27 Replies | 18888 Views | Created by dr_doose - Saturday, June 27, 2009 5:27 AM | Last reply by Carsten Kanstrup - Monday, June 29, 2009 8:36 AM -
8 Votes
Option Strict On
I was not using As and apparently Option Strict On is very Strict about that.Answered | 45 Replies | 914 Views | Created by gwboolean - Friday, July 17, 2015 5:48 PM | Last reply by Quanta - Monday, July 20, 2015 9:17 PM -
0 Votes
Option Strict Off in VB induces sloth?
User759549661 posted Thanks PatriceSc, Intellisense likes your solution: no red marks with Option Strict On!Answered | 2 Replies | 179 Views | Created by Anonymous - Monday, May 11, 2020 4:22 PM | Last reply by Anonymous - Monday, May 11, 2020 7:24 PM -
2 Votes
option strict on - is better?
But I disagree with Strict ON and Infer OFF.Answered | 13 Replies | 5245 Views | Created by emil_tr - Monday, June 28, 2010 7:43 PM | Last reply by John Anthony Oliver - Tuesday, June 29, 2010 5:32 PM -
4 Votes
Option Strict On improves performance?
I just like Option Strict On because it is good for dummies like me.Answered | 12 Replies | 1138 Views | Created by YS L - Monday, August 29, 2016 9:29 AM | Last reply by LeonCS - Friday, September 2, 2016 7:26 AM -
1 Votes
please explain Option Explicit On and Option Strict On
In general, turning both option explicit and option strict on is hightly recommended.Answered | 4 Replies | 2602 Views | Created by Kumar Jalli - Saturday, August 25, 2012 1:27 PM | Last reply by BGQQ - Sunday, August 26, 2012 1:36 PM -
5 Votes
Option Strict On Problem
Based upon the code FA is an Object, and there are a couple of different ways to resolve the Option Strict issue in this instance.Answered | 13 Replies | 642 Views | Created by Gary Simpson - Wednesday, April 15, 2015 2:47 PM | Last reply by Armin Zingler - Wednesday, April 15, 2015 4:54 PM -
14 Votes
About Option Strict On and late binding
If you change the code to: Dim P As Printable P = A Then you would get an error at design time if Option ...Answered | 20 Replies | 1447 Views | Created by speculor - Tuesday, January 29, 2013 11:43 AM | Last reply by speculor - Monday, February 11, 2013 10:27 PM -
0 Votes
>Collection Initializers< and 'Option STRICT
Turning option strict On requires generates errors for items which do not have a type specified or are infered.Answered | 8 Replies | 2928 Views | Created by Vinelander - Friday, August 13, 2010 12:31 PM | Last reply by Vinelander - Friday, August 20, 2010 12:22 PM -
1 Votes
Option Strict Error
Dim dec As Decimal = 1.5 The compiler will automatically assume a number with a decimal point is a Double.Answered | 2 Replies | 352 Views | Created by rudon67 - Tuesday, April 21, 2015 8:33 PM | Last reply by IronRazerz - Tuesday, April 21, 2015 8:48 PM -
0 Votes
Option Explicit on ; Option Strict on
let me expand a little Option Strict allows implicit widening conversions, but disallows implicit narrowing conversions.Answered | 5 Replies | 4982 Views | Created by .Net Newbie - Thursday, February 25, 2010 3:31 AM | Last reply by Paul P Clement IV - Friday, February 26, 2010 6:22 PM -
1 Votes
DateTime Option Strict
Hi Paul, yes I copied it wrong from VB onto here but thanks for the help.Answered | 4 Replies | 785 Views | Created by Chrisy781 - Thursday, May 30, 2013 2:44 PM | Last reply by Chrisy781 - Thursday, May 30, 2013 4:00 PM -
2 Votes
Option Strict On disallows late binding
I’m afraid that your topic about ASP.Net is off topic here.Answered | 4 Replies | 7139 Views | Created by Alejandro Trillo - Thursday, October 20, 2011 3:40 PM | Last reply by Mark Liu-lxf - Monday, October 24, 2011 7:17 AM -
0 Votes
Passing arrays to subroutines with Option Strict On
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click 'one dimesion Dim myArr1(2) As String For x As ...Answered | 6 Replies | 343 Views | Created by Aylmer51 - Thursday, February 23, 2017 4:40 PM | Last reply by Cor Ligthert - Friday, February 24, 2017 12:01 AM -
7 Votes
Option Strict On - Get error at <>
So, you would have Option Strict set to (Off)?Answered | 16 Replies | 1160 Views | Created by tropicwhisper - Thursday, September 5, 2013 2:34 PM | Last reply by Kareninstructor - Friday, September 6, 2013 6:58 PM -
4 Votes
Option Strict On prohibits operands of type Object for operator '&'.
Compile > Compile Options: > Option strict: "turn off"Answered | 6 Replies | 2040 Views | Created by ricostrydom - Thursday, December 19, 2013 7:45 AM | Last reply by m.j.akhtar - Wednesday, September 2, 2020 1:38 PM -
0 Votes
Option Strict On Disallows late binding
Console.WriteLine("{0}", DirectCast(sender, Control).name.ToString.Substring(3, 2)) Why, because name is a property from all controls, so it is in all ...Answered | 3 Replies | 1155 Views | Created by LandLord323 - Friday, February 7, 2014 4:40 PM | Last reply by LandLord323 - Friday, February 7, 2014 6:03 PM -
4 Votes
Quick Question: Option Strict
" I also suspect Paul knows about Option Strict but just had a 'Hang on a mo' moment.Answered | 9 Replies | 1359 Views | Created by Paul Ishak - Thursday, November 15, 2012 8:14 PM | Last reply by Paul Ishak - Friday, November 16, 2012 1:15 AM - Items 1 to 20 of 970845 Next ›
No announcements