Wrox Programmer Forums
|
Pro VB 6 For advanced Visual Basic coders working in version 6 (not .NET). Beginning-level questions will be redirected to other forums, including Beginning VB 6.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 27th, 2007, 01:07 PM
Registered User
 
Join Date: Jan 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default automation

hi

i use mshflexgrid. Some times this code occur error
mshflexgrid.rows = 0
or
set mshflexgrid.datasource = rst
error is:
run-time error '-2147417848(80010108)'
Method Rows of object IMSHFlexgrid failed
or
run-time error '-2147417848(80010108)'
Method DataSource of object IMSHFlexgrid failed

what can i do



_ASC_
 
Old January 29th, 2007, 02:25 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 627
Thanks: 0
Thanked 0 Times in 0 Posts
Default

the numbers of Rows cannot be less than the number of fixed rows.
see if your grid has fixedrows>0

as for the datasource problem, we do not have enough information. there could be a lot of possibilities

"There are two ways to write error-free programs. Only the third one works."
Unknown





Similar Threads
Thread Thread Starter Forum Replies Last Post
IE automation kg8299 Excel VBA 3 June 8th, 2010 02:43 PM
IE Automation jrogers Excel VBA 1 May 3rd, 2007 06:39 AM
automation! Khalifeh VB How-To 6 October 26th, 2006 12:45 PM
Excel Automation ameysun Pro VB 6 0 November 4th, 2004 02:55 AM
help with automation nicka Access VBA 1 December 12th, 2003 05:07 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.