473,666 Members | 2,053 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

divide by zero when scrolling images in Explorer

I get a 'divide by zero' exception when I scroll in a subdirectory of 'My
Pictures'. This subdirectory is full of .ico, .bmp, .png files that I use for
button images in my Windows Forms projects.

No viruses are found. This has been occurring for a year now...

I don't know if it is a specific file, or just the rendering of the files to
produce icons for the display in Explorer.exe that is the cause.

Anyone have suggestions for me?
Jan 9 '06 #1
5 1301
This does not sound like it is related to dotnet at all.

In any case, I would recommend finding the disk with your OS on it, and
running a repair on it.

"John" <Jo**@discussio ns.microsoft.co m> wrote in message
news:4A******** *************** ***********@mic rosoft.com...
I get a 'divide by zero' exception when I scroll in a subdirectory of 'My
Pictures'. This subdirectory is full of .ico, .bmp, .png files that I use
for
button images in my Windows Forms projects.

No viruses are found. This has been occurring for a year now...

I don't know if it is a specific file, or just the rendering of the files
to
produce icons for the display in Explorer.exe that is the cause.

Anyone have suggestions for me?

Jan 9 '06 #2
Actually, I think it does have something to do with .NET
There is no "repair" to run for this problem with an XP setup disk...
Thanks for trying to help.

"Marina" wrote:
This does not sound like it is related to dotnet at all.

In any case, I would recommend finding the disk with your OS on it, and
running a repair on it.

"John" <Jo**@discussio ns.microsoft.co m> wrote in message
news:4A******** *************** ***********@mic rosoft.com...
I get a 'divide by zero' exception when I scroll in a subdirectory of 'My
Pictures'. This subdirectory is full of .ico, .bmp, .png files that I use
for
button images in my Windows Forms projects.

No viruses are found. This has been occurring for a year now...

I don't know if it is a specific file, or just the rendering of the files
to
produce icons for the display in Explorer.exe that is the cause.

Anyone have suggestions for me?


Jan 9 '06 #3
I'm sorry, why do you think it is related to .NET? You didn't mention
anything that has to do with .NET framework, you described a problem with
your operating system. Maybe you should describe how this is a .NET
framework problem.

And I am fairly certain that Win2K, XP, etc, all have a reinstall/repair
type option. The option isn't for one particular problem - it is done to
replace missing or corrupted files that could have caused any number of
problems.

"John" <Jo**@discussio ns.microsoft.co m> wrote in message
news:F0******** *************** ***********@mic rosoft.com...
Actually, I think it does have something to do with .NET
There is no "repair" to run for this problem with an XP setup disk...
Thanks for trying to help.

"Marina" wrote:
This does not sound like it is related to dotnet at all.

In any case, I would recommend finding the disk with your OS on it, and
running a repair on it.

"John" <Jo**@discussio ns.microsoft.co m> wrote in message
news:4A******** *************** ***********@mic rosoft.com...
>I get a 'divide by zero' exception when I scroll in a subdirectory of
>'My
> Pictures'. This subdirectory is full of .ico, .bmp, .png files that I
> use
> for
> button images in my Windows Forms projects.
>
> No viruses are found. This has been occurring for a year now...
>
> I don't know if it is a specific file, or just the rendering of the
> files
> to
> produce icons for the display in Explorer.exe that is the cause.
>
> Anyone have suggestions for me?


Jan 9 '06 #4
Marina: you were right, it is an OS bug and not a .NET bug.

Can you explain how to 'repair' this dll via XP install disk? I am not sure
I've ever tried that...

Thanks for helping, Marina, I appreciate you.
Andy914 wrote:
--------------------------------------------------------------------------------
This is most likely caused by a shell extension that you have installed.
Check out ShellExView at http://www.nirsoft.net/utils/shexview.html and see
if you can determine which one is causing your error by disabling extensions
until the problem goes away.

You 'da man!

That freeware is very nice: ShellExView
Shell Image Property Handler
Yes
System Windows Picture and Fax Viewer
6.00.2900.2180 (xpsp_sp2_rtm.0 40803-2158)
Microsoft® Windows® Operating System
Microsoft Corporation
No
No
No
C:\WINDOWS\syst em32\shimgvw.dl l
{eb9b1153-3b57-4e68-959a-a3266bc3d7fe}
8/3/2004 6:56:46 PM
1/6/2005 4:58:58 PM
Yes
A
438,272
Now that I've disabled this extension, I am curious to know what
functionality is missing from XP? "Shell Image Property Handler" doesn't mean
much to me, except that is is an OS extension...

THANK YOU ANDY :D

"Marina" wrote:
I'm sorry, why do you think it is related to .NET? You didn't mention
anything that has to do with .NET framework, you described a problem with
your operating system. Maybe you should describe how this is a .NET
framework problem.

And I am fairly certain that Win2K, XP, etc, all have a reinstall/repair
type option. The option isn't for one particular problem - it is done to
replace missing or corrupted files that could have caused any number of
problems.

"John" <Jo**@discussio ns.microsoft.co m> wrote in message
news:F0******** *************** ***********@mic rosoft.com...
Actually, I think it does have something to do with .NET
There is no "repair" to run for this problem with an XP setup disk...
Thanks for trying to help.

"Marina" wrote:
This does not sound like it is related to dotnet at all.

In any case, I would recommend finding the disk with your OS on it, and
running a repair on it.

"John" <Jo**@discussio ns.microsoft.co m> wrote in message
news:4A******** *************** ***********@mic rosoft.com...
>I get a 'divide by zero' exception when I scroll in a subdirectory of
>'My
> Pictures'. This subdirectory is full of .ico, .bmp, .png files that I
> use
> for
> button images in my Windows Forms projects.
>
> No viruses are found. This has been occurring for a year now...
>
> I don't know if it is a specific file, or just the rendering of the
> files
> to
> produce icons for the display in Explorer.exe that is the cause.
>
> Anyone have suggestions for me?


Jan 9 '06 #5
This should be an option in the setup program. I haven't done this myself,
but I have had it done for me.

If you are not certain about how to do this, and how to do it safely, you
are probably better off taking your computer to a local repair shop and
having them do it. They should know how to back things up properly and how
to do it safely.

"John" <Jo**@discussio ns.microsoft.co m> wrote in message
news:CB******** *************** ***********@mic rosoft.com...
Marina: you were right, it is an OS bug and not a .NET bug.

Can you explain how to 'repair' this dll via XP install disk? I am not
sure
I've ever tried that...

Thanks for helping, Marina, I appreciate you.
Andy914 wrote:
--------------------------------------------------------------------------------
This is most likely caused by a shell extension that you have installed.
Check out ShellExView at http://www.nirsoft.net/utils/shexview.html and
see
if you can determine which one is causing your error by disabling
extensions
until the problem goes away.

You 'da man!

That freeware is very nice: ShellExView
Shell Image Property Handler
Yes
System Windows Picture and Fax Viewer
6.00.2900.2180 (xpsp_sp2_rtm.0 40803-2158)
Microsoft® Windows® Operating System
Microsoft Corporation
No
No
No
C:\WINDOWS\syst em32\shimgvw.dl l
{eb9b1153-3b57-4e68-959a-a3266bc3d7fe}
8/3/2004 6:56:46 PM
1/6/2005 4:58:58 PM
Yes
A
438,272
Now that I've disabled this extension, I am curious to know what
functionality is missing from XP? "Shell Image Property Handler" doesn't
mean
much to me, except that is is an OS extension...

THANK YOU ANDY :D

"Marina" wrote:
I'm sorry, why do you think it is related to .NET? You didn't mention
anything that has to do with .NET framework, you described a problem with
your operating system. Maybe you should describe how this is a .NET
framework problem.

And I am fairly certain that Win2K, XP, etc, all have a reinstall/repair
type option. The option isn't for one particular problem - it is done to
replace missing or corrupted files that could have caused any number of
problems.

"John" <Jo**@discussio ns.microsoft.co m> wrote in message
news:F0******** *************** ***********@mic rosoft.com...
> Actually, I think it does have something to do with .NET
> There is no "repair" to run for this problem with an XP setup disk...
> Thanks for trying to help.
>
> "Marina" wrote:
>
>> This does not sound like it is related to dotnet at all.
>>
>> In any case, I would recommend finding the disk with your OS on it,
>> and
>> running a repair on it.
>>
>> "John" <Jo**@discussio ns.microsoft.co m> wrote in message
>> news:4A******** *************** ***********@mic rosoft.com...
>> >I get a 'divide by zero' exception when I scroll in a subdirectory of
>> >'My
>> > Pictures'. This subdirectory is full of .ico, .bmp, .png files that
>> > I
>> > use
>> > for
>> > button images in my Windows Forms projects.
>> >
>> > No viruses are found. This has been occurring for a year now...
>> >
>> > I don't know if it is a specific file, or just the rendering of the
>> > files
>> > to
>> > produce icons for the display in Explorer.exe that is the cause.
>> >
>> > Anyone have suggestions for me?
>>
>>
>>


Jan 9 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
5513
by: Ryan | last post by:
I have the following line in a select statement which comes up with a divide by zero error. CAST(CASE Splinter_Status WHEN 'SUR' THEN 0 ELSE CASE WHEN Sacrifice>=1 THEN 3*m.Premium/100-(m.Sacrifice * 3*m.Premium/100)/ (m.Gross+m.Sacrifice) ELSE 0 END
2
5653
by: Mike Leahy | last post by:
All... I have a query that calculates various using variables from a survey database. As with any survey, there are many instantces of null values. I'm wondering if there is any way to escape the error caused by dividing by zero or null values. The specific message i get is: ERROR: floating point exception! The last floating point operation either exceeded legal ranges or was a divide by zero
0
2094
by: Gary Carson | last post by:
Can anyone tell why the query below would throw a divide-by-zero error? The only reason I can see for the error happening would be if SUM() came out to be zero, but this never happens with the data I'm using. SOME of the values in the EXP_NET column are zero, but the sum itself is always non-zero. The query is: TRANSFORM SUM(-)/SUM()*100 AS DATA SELECT TBL.EQUIPMENT AS EQUIPMENT,
3
2787
by: Joriveek | last post by:
When I specify a formula between Computed Column Specification, I have two zero values, getting Divide by Zero error, any idea how can I avoid this? I still want SQL Server to display Zero if it is 0/0, is this possible in SQL Server database? Thanks J.
2
1574
by: marss | last post by:
I have a long page that contains few separate information blocks. When I print the page by means of window.print(), the content is automatically divided by pages. I look through and find I can do it if I load blocks in separate frames. But there is a new problem. There are ten or more blocks. When I load the content it is unreadable. - If frameset fits to the screen, then the result looks like many horizontal stripes with scrolling. The...
4
5136
by: shuisheng | last post by:
Dear all, Assume I have two big arrays A and B. And I want to element-wise divide A by B. When an element of B is zero, the results are also zero. Such as A = { 2, 4, 0, 6} B = { 1, 0, 0, 2} ----------------------------------------- R = { 2, 0, 0, 3}
5
7586
by: Neo | last post by:
Hi Friends, I am trying following code int main(void) { try { int i,j,k; i=10; j=0;
8
4803
by: =?Utf-8?B?bWljaGFlbGd3ZWllcg==?= | last post by:
Hello! I was working on some code the other day, and I came across an odd discrepancy between the decimal and the double type. If I attempt to divide a decimal by zero, the framework throws an error. If I attempt to divide a double by zero, the framework returns infinity. From a mathematical standpoint, it would seem to me that the decimal handles this division correctly, while the double's handling of this is flawed. Is there a...
1
4232
by: zufie | last post by:
Help! How do I divide by zero on my form (in a text box). That is, how do I carry out a division problem when the denominator is zero? Thanks!, John
0
8356
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8871
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8783
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8552
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8640
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6198
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5666
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
2773
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1776
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.