Solved

Option Strict On disallows late binding (vb.net)

Posted on 2011-09-08
3
424 Views
Last Modified: 2012-06-27

Hi Expert,

I have a line of code causes error 'Option Strict On disallows late binding',
objApp(obj, Nothing).options.usefont = True

How I can change?

Thanks in advance.
0
Comment
Question by:dshi15
3 Comments
 
LVL 9

Accepted Solution

by:
lisfolks earned 500 total points
ID: 36517714
Basically, the only way to "fix" this error is to turn Option Strict off, avoid using anything that requires late binding, or change your code so you're not narrowing any values.

Here is a discussion from Microsoft:
Option Strict Statement
0
 
LVL 53

Expert Comment

by:Dhaest
ID: 36947318
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
creating threads in delphi 1 101
Tembedded WB animatid gifs not animated on some pcs 2 79
Apps blocked by Java 9 79
What does != "" mean in programming 6 19
Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
This is an explanation of a simple data model to help parse a JSON feed
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

815 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now