Search the web
Sign In
New User? Sign Up
vbra · Visual Basic - Reliable Answers
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Installation Help!   Message List  
Reply | Forward Message #22 of 42 |
Re: Installation Help!

Thanks for the info. I just removed the file from the install and
that seemed to make the installation work, now I am having a problem
with the datagrid controls on the forms.

Whenever the forms are opened, I query up a recordset and then set
the datagrid.datasource property to the recordset. It works fine on
my machine, but on another WIN2K machine I get an error (cannot
initialize data bindings).

Private Sub Form_Load()
On Error GoTo err_trap2

'Get Contact History Data
Set rs = New ADODB.Recordset

With rs
.CursorType = adOpenDynamic
.LockType = adLockOptimistic
.CursorLocation = adUseClient
.ActiveConnection = mconConnection
.Source = [I put a sql statement here]
.Open
End With

rs.Sort = "Call_Date DESC"
rs.MoveLast
Set DataGrid1.DataSource = rs 'fails


I know this must be easy, but for the life of me I can't figure it
out.

JED




--- In vbra@y..., "Shawn K. Hall" <vb@r...> wrote:
> Come on now Jed,
>
> Did you really have to send this to three groups? :(
>
> > package and deployment ... error registering
> > MSSTDFMT.DLL.
>
> Have you considered not including it in your package, or if you must
> include it, use one of the redistribution cabs from MS instead?
> http://support.microsoft.com/support/kb/articles/Q193/3/66.ASP
>
> Other possibly relevent material:
> http://support.microsoft.com/support/kb/articles/Q178/3/54.ASP
> http://support.microsoft.com/support/kb/articles/Q223/1/27.ASP
> http://support.microsoft.com/support/kb/articles/Q189/7/43.ASP
>
> Regards,
>
> Shawn K. Hall
> http://ReliableAnswers.com




Wed Aug 1, 2001 3:38 pm

djedziniak@...
Send Email Send Email

Forward
Message #22 of 42 |
Expand Messages Author Sort by Date

I am a veteran at this, but I have never encountered this one before. Any insight would be greatly appreciated. The Problem: I used package and deployment...
djedziniak@...
Send Email
Jul 27, 2001
1:27 pm

Come on now Jed, Did you really have to send this to three groups? :( ... Have you considered not including it in your package, or if you must include it, use...
Shawn K. Hall
vb@...
Send Email
Jul 27, 2001
7:15 pm

Sorry...freaked out. I think the pressure is getting to me. (Actually I sent it to 10 groups, I guess you are subscribed to 3 of them). JED...
djedziniak@...
Send Email
Aug 1, 2001
4:04 pm

Thanks for the info. I just removed the file from the install and that seemed to make the installation work, now I am having a problem with the datagrid...
djedziniak@...
Send Email
Aug 1, 2001
4:08 pm

Hi Jed, ... What is the error number/source? Do you have any errors before this line: Set DataGrid1.DataSource = rs 'fails Have you checked that the same...
Shawn K. Hall
vb@...
Send Email
Aug 1, 2001
7:33 pm

Shawn, ... No ... Yes. They are one is WIN2K Pro, mine is WIN2K Server. Both are on SP2. The ADO version is not the same, but mdac_typ.exe will not run on...
djedziniak@...
Send Email
Aug 2, 2001
3:54 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help