|
-
Oct 6th, 2007, 10:39 AM
#1
Thread Starter
Junior Member
[RESOLVED] VB6, Cannot jump to x because is hidden
Hi,
My first post, new to VB and to the forum.
I am working on a old vb application developed by someone else but I got to this error on a class module while trying to undertand and get a definition for this.
Cannot jump to 'pbDataImport' because is hidden.
Code:
DoEvents
frmImport.pbDataImport.Value = 1000
Why is this? and what would the 'pbDataImport' used for. is set to different values at in different places.
Code:
Private Sub Form_Load()
On Error GoTo Err_Form_Load
Dim rcdReportDates As New ADODB.Recordset
Call ClearMessages
optNew.Value = True
optRepeat.Value = Not optNew.Value
pbDataImport.Min = 0
pbDataImport.Max = 1000
pbDataImport.Value = 0
frmImport.Left = 50
frmImport.Top = 50
'Need to populate the Report Date DataCombo with values
Connect
Set rcdReportDates = svr_Query(cnCDior, "spReportDateGet")
SwitchToClient rcdReportDates
fPopulateDataCombo rcdReportDates, Me.cbointReportDateURN, "intReportDateURN", "txtReportDate"
Disconnect
Exit_Form_Load:
Exit Sub
Err_Form_Load:
Resume Exit_Form_Load
End Sub
thanks
luta
-
Oct 6th, 2007, 12:32 PM
#2
-
Oct 6th, 2007, 01:39 PM
#3
Re: VB6, Cannot jump to x because is hidden
Yes, its a progressbar named pbDataImport residing on form frmImport.
If you go to the Object Browser you will be able to see all of its properties and mehtods etc. by searching for progressbar.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Oct 6th, 2007, 03:04 PM
#4
Thread Starter
Junior Member
Re: VB6, Cannot jump to x because is hidden
thanks a lot for all your help
luta
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|