For Programmers: Free Programming Magazines  


Home > Archive > Visual Basic > August 2004 > Help: Microsoft Data Formatting Object Library









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Help: Microsoft Data Formatting Object Library
Chuck Faranda

2004-08-31, 8:55 am

My project has a reference to Microsoft Data Formatting Object Library, I
didn't add it?? I can remove the reference, recompile without a problem and
save the project. However, when I reopen the project the reference returns,
any ideas on what is happening are appreciated.

Thanks,

Regards,
Chuck Faranda


Gaurav - http://www.gauravcreations.com

2004-08-31, 8:55 am

This is because some other components you may have added to your project may
be referencing this dll... this may also happen if you are using databound
controls

--
Gaurav Creations

"Chuck Faranda" wrote:

> My project has a reference to Microsoft Data Formatting Object Library, I
> didn't add it?? I can remove the reference, recompile without a problem and
> save the project. However, when I reopen the project the reference returns,
> any ideas on what is happening are appreciated.
>
> Thanks,
>
> Regards,
> Chuck Faranda
>
>
>

Chuck Faranda

2004-08-31, 8:55 am

This is what is so strange, I do not see anything that would use it??

--

Regards,
Chuck Faranda


"Gaurav - http://www.gauravcreations.com" <gauravcreations@hotmail.com>
wrote in message news:C0EB17AF-F280-4FD3-9799-204FFC75305A@microsoft.com...[color=darkred]
> This is because some other components you may have added to your project
> may
> be referencing this dll... this may also happen if you are using databound
> controls
>
> --
> Gaurav Creations
>
> "Chuck Faranda" wrote:
>


Gaurav - http://www.gauravcreations.com

2004-08-31, 8:55 am

try looking for dependencies using 3rd party tools like exe depender
http://www.freewareweb.com/cgi-bin/archive.cgi?ID=179

--
Gaurav Creations

"Chuck Faranda" wrote:

> This is what is so strange, I do not see anything that would use it??
>
> --
>
> Regards,
> Chuck Faranda
>
>
> "Gaurav - http://www.gauravcreations.com" <gauravcreations@hotmail.com>
> wrote in message news:C0EB17AF-F280-4FD3-9799-204FFC75305A@microsoft.com...
>
>
>

Jan Hyde

2004-08-31, 8:55 am

"Chuck Faranda" <spam@ccdastro.net>'s wild thoughts were
released on Tue, 31 Aug 2004 06:13:05 -0400 bearing the
following fruit:

>My project has a reference to Microsoft Data Formatting Object Library, I
>didn't add it?? I can remove the reference, recompile without a problem and
>save the project. However, when I reopen the project the reference returns,
>any ideas on what is happening are appreciated.
>


You have accidentally set the DataFormat property of a label
control or some other control.

Changing this will cause this reference to be added
automatically.

You'll have to find the control with the problem and you'll
have to remove the control and add a new one to replace it
(IIRC you can't reset the property - anyone know
differently?)



Jan Hyde (VB MVP)

--
Give a man fire and he is warm for the day.

Set him on fire and he is warm for the rest of his life.

[Abolish the TV License - http://www.tvlicensing.biz/]

Chuck Faranda

2004-08-31, 8:55 am

Thanks Jan, I will search for that.

--

Regards,
Chuck Faranda

"Jan Hyde" <StellaDrinker@REMOVE.ME.uboot.com> wrote in message
news:9sq8j0d1kf51d04mqbs7cg2pc2nq02co1n@
4ax.com...
> "Chuck Faranda" <spam@ccdastro.net>'s wild thoughts were
> released on Tue, 31 Aug 2004 06:13:05 -0400 bearing the
> following fruit:
>
>
> You have accidentally set the DataFormat property of a label
> control or some other control.
>
> Changing this will cause this reference to be added
> automatically.
>
> You'll have to find the control with the problem and you'll
> have to remove the control and add a new one to replace it
> (IIRC you can't reset the property - anyone know
> differently?)
>
>
>
> Jan Hyde (VB MVP)
>
> --
> Give a man fire and he is warm for the day.
>
> Set him on fire and he is warm for the rest of his life.
>
> [Abolish the TV License - http://www.tvlicensing.biz/]
>



Don@home.com

2004-08-31, 8:55 am

On Tue, 31 Aug 2004 13:18:59 +0100, Jan Hyde <StellaDrinker@REMOVE.ME.uboot.com>
wrote:

>"Chuck Faranda" <spam@ccdastro.net>'s wild thoughts were
>released on Tue, 31 Aug 2004 06:13:05 -0400 bearing the
>following fruit:
>
>
>You have accidentally set the DataFormat property of a label
>control or some other control.
>
>Changing this will cause this reference to be added
>automatically.
>
>You'll have to find the control with the problem and you'll
>have to remove the control and add a new one to replace it
>(IIRC you can't reset the property - anyone know
>differently?)
>
>
>
>Jan Hyde (VB MVP)


A couple years ago I got bitten by this bug with a control array of all
things...
Here's how I took care of the problem...

In a Text Editor, ie: NotePad, load the Form Code, *.frm file, and look for the
following-->
VERSION 5.00
Begin VB.Form Form1
Caption = "Form1"
ClientHeight = 3135
ClientLeft = 60
ClientTop = 405
ClientWidth = 4680
LinkTopic = "Form1"
ScaleHeight = 3135
ScaleWidth = 4680
StartUpPosition = 3 'Windows Default
Begin VB.Label Label1
Caption = "Label1"
BeginProperty DataFormat <<<<<<<<<Starts Here!!!
Type = 1
Format = ""
HaveTrueFalseNull= 0
FirstDayOfW = 0
FirstWOfYear = 0
LCID = 1033
SubFormatType = 0
EndProperty<<<<<<<<<<<<<<<<<<<<<<Ends Here!!!
Height = 525
Left = 1740
TabIndex = 0
Top = 1320
Width = 1245
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit

If I remember correctly all I did is delete the above lines and that was
that....
I know, I know.... M$'s no escape clause...


Have a good day...

Don
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2009 codecomments.com