Solved

Option Strict On disallows late binding (vb.net)

Posted on 2011-09-08
3
422 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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

RIA (Rich Internet Application) tools are interactive internet applications which have many of the characteristics of desktop applications. The RIA tools typically deliver output either by the way of a site-specific browser or via browser plug-in. T…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
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…

706 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

18 Experts available now in Live!

Get 1:1 Help Now