FIX: DhStyleBase Missing setBackgroundImage() (223366)



The information in this article applies to:

  • Microsoft Visual J++ 6.0

This article was previously published under Q223366

SYMPTOMS

The DhElement doesn't seem to expose DhStyleBase's setBackgroundImage( ) method. This method doesn't show up in the IDE's intellisense.

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

This bug was corrected in Visual Studio 6.0 Service Pack 3. For more information about Visual Studio service packs, please see the following articles in the Microsoft Knowledge Base:

194022 INFO: Visual Studio 6.0 Service Packs, What, Where, Why

194295 HOWTO: Tell That Visual Studio 6.0 Service Packs Are Installed

MORE INFORMATION

Steps to Reproduce Behavior

  1. Create a new "Code-Behind HTML" Project in Visual J++, version 6.0.
  2. Try adding the following piece of code to the generated onDocumentLoad( ) method:
    this.setBackgroundImage("a_valid_image_url.gif");
    You'll notice the IDE's intellisense does not expose the method setBackgroundImage( ).

Modification Type:MajorLast Reviewed:10/16/2002
Keywords:kbBug kbVS600sp3fix KB223366 kbAudDeveloper