TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
patrick
NA
397
0
Convert line of code from VB to C#
Jan 24 2011 9:27 PM
Hello,
I was having a problem with mappoint, and at the following link I encountered someone else having the same problem as I was.
http://www.mapforums.com/sitemap/t-2318.html
The post:
actually the error is generated by the timeout expiring but not releasing the control thread back your app in a timely manner..
this can be resolved with any COM based object in VB by adding the line
App.OleRequestPendingTimeout = TimeInMiliseconds
to the length needed for the query....
Solved my problem, except that I cannot find the C# equivalent for App.OleRequestPendingTimeout = TimeInMiliseconds. What would this be? Also, what is the default and what do you recommend I set it to?
Thank you.
Reply
Answers (
7
)
Microsoft Visio Adding a Text Box
DLL registration issue