Showing posts with label icon. Show all posts
Showing posts with label icon. Show all posts

Friday, March 30, 2012

Icons for Custom Tasks won't show up.

All aspects of my custom task work well except for the icon!

I have included the .ico in the assembly as an "Embedded Resource" and the icon has both 16X16 and 32X32 images. I have edited the IconResource property of the DtsTask attribute as follows:

IconResource="MyNamespace.MyDLLName.MyIconName.ico",

Where the output assembly is called "MyNamespace.MyDLLName.dll".

Has anybody got this working before? The Icon just never shows (I get the default blue square task icon).

Thanks in advance.

IconResource=”SSIS2K5.Samples.Tasks.CryptoTask.TaskIcon.ico”,

The IconResource parameter points

to the icon to be used in the Toolbox. It is not required. If not provided, the designer uses

a default icon. However, if you do provide this, the name of the resource must be

“TaskIcon” and you must provide the fully qualified name.

Have you named the icon "TaskIcon.ico"?

Kirk Haselden
Author "SQL Server Integration Services"

|||

Thanks Kirk,

Exactly what I needed!

I didn't see anything in the documentation about the "TaskIcon.ico" name requirement, but I imagine it must be there somewhere... so thanks again

Actually, I just thought of something - I have two custom tasks (and both their UIs) in the same Assembly. I am guessing that this means that both of the tasks will need to have the same icon. Can you think of any reason, other than modular deployment / maintenance advantages, for keeping the tasks in separate Assemblies?

|||

The restriction is that the filename and the default namespace must match the IconResource string, it does not have to be the literal TaskIcon.ico

The most likely cause is that the two do not match up correctly. Try this article-

How to add an icon to your component
(http://www.sqlis.com/default.aspx?22)

|||For tasks, I believe it does need to be the name "TaskIcon.ico" for it to show correctly in the toolbox unless something's changed in the code.|||

Someone changed it. I updated the IncrementTask sample to include an icon.

1 - Open project and select Add Existing Item, select any icon you have.

2 - Set Icon file name, I chose MyIcon.ico

3 - Set properties of icon file, changing the Build Action to Embedded Resource

4 - Add the IconResource property to the existing DtsTask attribute in the code file-

DtsTask
(
DisplayName = "IncrementTaskCS",
Description = "IncrementTask Sample",
IconResource = "Microsoft.Samples.SqlServer.Dts.MyIcon.ico",

Sample project here - http://www.sqlis.com/download/IncrementTaskWithMyIcon.zip

Icons for Custom Tasks won't show up.

All aspects of my custom task work well except for the icon!

I have included the .ico in the assembly as an "Embedded Resource" and the icon has both 16X16 and 32X32 images. I have edited the IconResource property of the DtsTask attribute as follows:

IconResource="MyNamespace.MyDLLName.MyIconName.ico",

Where the output assembly is called "MyNamespace.MyDLLName.dll".

Has anybody got this working before? The Icon just never shows (I get the default blue square task icon).

Thanks in advance.

IconResource=”SSIS2K5.Samples.Tasks.CryptoTask.TaskIcon.ico”,

The IconResource parameter points

to the icon to be used in the Toolbox. It is not required. If not provided, the designer uses

a default icon. However, if you do provide this, the name of the resource must be

“TaskIcon” and you must provide the fully qualified name.

Have you named the icon "TaskIcon.ico"?

Kirk Haselden
Author "SQL Server Integration Services"

|||

Thanks Kirk,

Exactly what I needed!

I didn't see anything in the documentation about the "TaskIcon.ico" name requirement, but I imagine it must be there somewhere... so thanks again

Actually, I just thought of something - I have two custom tasks (and both their UIs) in the same Assembly. I am guessing that this means that both of the tasks will need to have the same icon. Can you think of any reason, other than modular deployment / maintenance advantages, for keeping the tasks in separate Assemblies?

|||

The restriction is that the filename and the default namespace must match the IconResource string, it does not have to be the literal TaskIcon.ico

The most likely cause is that the two do not match up correctly. Try this article-

How to add an icon to your component
(http://www.sqlis.com/default.aspx?22)

|||For tasks, I believe it does need to be the name "TaskIcon.ico" for it to show correctly in the toolbox unless something's changed in the code.|||

Someone changed it. I updated the IncrementTask sample to include an icon.

1 - Open project and select Add Existing Item, select any icon you have.

2 - Set Icon file name, I chose MyIcon.ico

3 - Set properties of icon file, changing the Build Action to Embedded Resource

4 - Add the IconResource property to the existing DtsTask attribute in the code file-

DtsTask
(
DisplayName = "IncrementTaskCS",
Description = "IncrementTask Sample",
IconResource = "Microsoft.Samples.SqlServer.Dts.MyIcon.ico",

Sample project here - http://www.sqlis.com/download/IncrementTaskWithMyIcon.zip

Icon Tray SQL

In the icon tray is the SQL icon with a green arrow that briefly shows a red
dot to the lower right of the arrow. All programs that use SQL work fine.
I am just wondering what the red dot means? It is like a heart beat to show
it is acitive? Or does it indicate an issue?
Bob Day
Hi,
it means that a connection has been established.
HTH, Jens Suessmeyer.
http://www.sqlserver2005.de

Icon not displayed correctly for custom component

So i finally figured out how to create custom transform and add an icon to it. However - when i added the component to toolbox it appears as a file icon (when i didnt have icon it appeared as a blue box) - in the data flow designer it appears as the correct image.

From BOL wrote:

"The Data Flow toolbox uses the 16x16, 16-color image type, while

the design surface of the data flow tab uses the 32x32, 16-color image

type. Both are default image types for icons created using Microsoft

Visual Studio 2005."


I assume this has something to do with it - my ico is default 32x32 - however, what would be the way to fix it?

hi,

i think this this is

the same as my problem before.

Your Integration service is running on limited permission

close visual studion

run services.msc

change the logon with a more privelege user

and the restartn the services

regards,

joey

|||

Make sure you have both sized icons in the icon file, one is 64x64, and the other is 16x16, sounds like you're missing the 16x16 one.

|||

I have created a test icon with a range of sizes and color depths, which will help identify the requirements. You could use to test the issue, as different sized icons can clearly be identified. For example 16x6 will show green and 32x32 will be mauve. This way you can prove what sizes are required.

Icon Color Size Tester http://www.sqldts.com/redir.aspx?1304

Personally I use 16 and 32 sized frames in my icons, normally at 256 and 32bit color depths.

|||

KirkHaselden wrote:

Make sure you have both sized icons in the icon file, one is 64x64, and the other is 16x16, sounds like you're missing the 16x16 one.

Yup - i was missing the 16x16x - (actually it was created as default my VS) - so I had to Right click the icon in the layout window and go to "Current Icon Image Types".

Thankssql

Icon missing

Hi,
After fresh installation of 2k/SE there is no icon (servcice center) on the bottom right tool bar.
I’m wondering what could cause that; can I add the missing icon somehow?
Thx,
Dobby
Rebooting the server solves it, it is in the Startup group. Or you can just
start Service manager from the SQL Server Program group.
Jacco Schalkwijk
SQL Server MVP
"nemohm" <nemohm@.discussions.microsoft.com> wrote in message
news:756A55C1-40CC-4805-A4BC-CBDED57C1FEE@.microsoft.com...
> Hi,
> After fresh installation of 2k/SE there is no icon (servcice center) on
the bottom right tool bar.
> I'm wondering what could cause that; can I add the missing icon somehow?
> Thx,
> Dobby
>
|||Thank you,
Dobby
"Jacco Schalkwijk" wrote:

> Rebooting the server solves it, it is in the Startup group. Or you can just
> start Service manager from the SQL Server Program group.
> --
> Jacco Schalkwijk
> SQL Server MVP
> "nemohm" <nemohm@.discussions.microsoft.com> wrote in message
> news:756A55C1-40CC-4805-A4BC-CBDED57C1FEE@.microsoft.com...
> the bottom right tool bar.
>
>

Icon missing

Hi,
After fresh installation of 2k/SE there is no icon (servcice center) on the
bottom right tool bar.
I’m wondering what could cause that; can I add the missing icon somehow?
Thx,
DobbyRebooting the server solves it, it is in the Startup group. Or you can just
start Service manager from the SQL Server Program group.
Jacco Schalkwijk
SQL Server MVP
"nemohm" <nemohm@.discussions.microsoft.com> wrote in message
news:756A55C1-40CC-4805-A4BC-CBDED57C1FEE@.microsoft.com...
> Hi,
> After fresh installation of 2k/SE there is no icon (servcice center) on
the bottom right tool bar.
> I'm wondering what could cause that; can I add the missing icon somehow?
> Thx,
> Dobby
>|||Thank you,
Dobby
"Jacco Schalkwijk" wrote:

> Rebooting the server solves it, it is in the Startup group. Or you can jus
t
> start Service manager from the SQL Server Program group.
> --
> Jacco Schalkwijk
> SQL Server MVP
> "nemohm" <nemohm@.discussions.microsoft.com> wrote in message
> news:756A55C1-40CC-4805-A4BC-CBDED57C1FEE@.microsoft.com...
> the bottom right tool bar.
>
>

Icon in System Tray Flashing Red

MSSQL 7.0
All updates and service packs
NT 4 All updates and Service packs
I noticed something today that I never noticed before. In
the system tray, it shows MSSQL server with the green
arrow which indicates that it is running, but every 7
seconds or so, I get a red flash just below the green
arrow. More like a dot that flashes red at regular
intervals. I have never noticed this before and was
wondering if theis is normal. Everything seems to up and
running well.
Thanks
JohnThe red flashing dot is actually a sign that things are up and running. When
the dot flashes SQL Server Service Manager polls the Server to make sure it
is still up. You can change the polling interval inwhen you right click the
icon and choose Options.
--
Jacco Schalkwijk
SQL Server MVP
"John" <anonymous@.discussions.microsoft.com> wrote in message
news:530501c3e4ea$6a3da190$a501280a@.phx.gbl...
> MSSQL 7.0
> All updates and service packs
> NT 4 All updates and Service packs
> I noticed something today that I never noticed before. In
> the system tray, it shows MSSQL server with the green
> arrow which indicates that it is running, but every 7
> seconds or so, I get a red flash just below the green
> arrow. More like a dot that flashes red at regular
> intervals. I have never noticed this before and was
> wondering if theis is normal. Everything seems to up and
> running well.
> Thanks
> John|||Thank you! I new it was something like that, I had just
never noticed it before :-)
>--Original Message--
>The red flashing dot is actually a sign that things are
up and running. When
>the dot flashes SQL Server Service Manager polls the
Server to make sure it
>is still up. You can change the polling interval inwhen
you right click the
>icon and choose Options.
>--
>Jacco Schalkwijk
>SQL Server MVP
>
>"John" <anonymous@.discussions.microsoft.com> wrote in
message
>news:530501c3e4ea$6a3da190$a501280a@.phx.gbl...
>> MSSQL 7.0
>> All updates and service packs
>> NT 4 All updates and Service packs
>> I noticed something today that I never noticed before.
In
>> the system tray, it shows MSSQL server with the green
>> arrow which indicates that it is running, but every 7
>> seconds or so, I get a red flash just below the green
>> arrow. More like a dot that flashes red at regular
>> intervals. I have never noticed this before and was
>> wondering if theis is normal. Everything seems to up and
>> running well.
>> Thanks
>> John
>
>.
>

Icon in System Tray Flashing Red

MSSQL 7.0
All updates and service packs
NT 4 All updates and Service packs
I noticed something today that I never noticed before. In
the system tray, it shows MSSQL server with the green
arrow which indicates that it is running, but every 7
seconds or so, I get a red flash just below the green
arrow. More like a dot that flashes red at regular
intervals. I have never noticed this before and was
wondering if theis is normal. Everything seems to up and
running well.
Thanks
JohnThe red flashing dot is actually a sign that things are up and running. When
the dot flashes SQL Server Service Manager polls the Server to make sure it
is still up. You can change the polling interval inwhen you right click the
icon and choose Options.
Jacco Schalkwijk
SQL Server MVP
"John" <anonymous@.discussions.microsoft.com> wrote in message
news:530501c3e4ea$6a3da190$a501280a@.phx.gbl...
quote:

> MSSQL 7.0
> All updates and service packs
> NT 4 All updates and Service packs
> I noticed something today that I never noticed before. In
> the system tray, it shows MSSQL server with the green
> arrow which indicates that it is running, but every 7
> seconds or so, I get a red flash just below the green
> arrow. More like a dot that flashes red at regular
> intervals. I have never noticed this before and was
> wondering if theis is normal. Everything seems to up and
> running well.
> Thanks
> John
|||Thank you! I new it was something like that, I had just
never noticed it before :-)
quote:

>--Original Message--
>The red flashing dot is actually a sign that things are

up and running. When
quote:

>the dot flashes SQL Server Service Manager polls the

Server to make sure it
quote:

>is still up. You can change the polling interval inwhen

you right click the
quote:

>icon and choose Options.
>--
>Jacco Schalkwijk
>SQL Server MVP
>
>"John" <anonymous@.discussions.microsoft.com> wrote in

message
quote:

>news:530501c3e4ea$6a3da190$a501280a@.phx.gbl...
In[QUOTE]
>
>.
>