.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

Reverend Mr. Black

Posted By:      Posted Date: October 18, 2010    Points: 0   Category :Windows Application

I cannot edit any cell in any spreadsheet on Excel in Ofice Home and Student 2007. The software came pre-loaded in  my new Dell computer; purchased late 2009. Everything worked gtreat the morning of 10/15/2010. That afternoon all cells could not be edited. I checked the protectio n on 10 spreadsheert: Format Cells > Protection, and all spreadsheets were LOCKED. I did  not lock the spreadsheets.

I unlocked all cells of the 10 spreadsheets but cells could  not be edited.

I un-installed Excel and then re-installed from ther Dell supplied CD. No help. Still could not edit cells.

Anyone have any help for me?


View Complete Post

More Related Resource Links

Why Image.save creates a black image

Hello, I am trying to create a screenshot, here is the code, it creates a complete black image.Thanks for any help. Public Function CaptureWindow(ByVal handle As IntPtr) As Image               ' get te hDC of the target window               Dim hdcSrc As IntPtr = User32.GetWindowDC(handle)               ' get the size               Dim windowRect As New User32.RECT()               User32.GetWindowRect(handle, windowRect)               Dim width As Integer = windowRect.right - windowRect.left               Dim height As Integer = windowRect.bottom - windowRect.top               ' create a device c

Change Bitmap Resolution and Turn Black & White

i use this method to resize bitmaps. Bitmap OriginalBM = (Bitmap)Bitmap.FromStream(fileUploader.PostedFile.InputStream); Size newSize = new Size(300, 500); Bitmap Resizebm = new Bitmap(OriginalBM, newSize); Resizebm.Save(HttpContext.Current.Server.MapPath(yourPath) + yourImage, ImageFormat.Jpeg); OriginalBM.Dispose(); My question is how can i Change Bitmap Resolution and Turn Black & White?

strange black vertical line

Hi all,I have link : http://ie9.vn/men/men.htmlmy layout include 3 part:left,center,rightcenter => file flash :Now it appears black vertical line in border of flash.I dont' undertand what cause of problem.Anyone help me ?Thank you very much.

dropdown list items in correspondig colors rather than black


hi can any body help me to code,

i have a dropdownlist for which i have items like red,blue,yellow,green...etc  but these items default static color will be black for all items,

but my requirement is to Red as red color Blue as blue color Green as green color

<asp:DropDownList ID="ddl_node_color" runat="server">
           <asp:ListItem>--Auto Fill Color--</asp:ListItem>

IShellItemImageFactory producing the Folderimage with black background


I am using VB.Net 2005.

I am using the IShellItemImageFactory interface to extract the thumbnail of the file.

This interface is extracting the icons of files and folders properly.

The problem comes when in following case.

If I gives the folder path to extract the Folder's Image, the interface is producing the folder's shell image as like in explorer but with the black background.

Can anyone tell me that why it is happening?

How can I remove this black background and make the transparent image?

I din't want to use the function "MakeTransparent" function of bitmap.

Hope my question is in proper forum.

Thanks for any help in advance.

Image appears black


I try to create an image with alternate black and white pixels using following code.but i couldn't able to create desired result.i don't know what is wrong in my logic kindly help me


Dim cr As New Bitmap(4, 4)

cr.SetPixel(0, 0, Color.Black)       

cr.SetPixel(0, 1, Color.White)

cr.SetPixel(1, 0, Color.White)

cr.SetPixel(1, 1, Color.Black)       

Prvwbox.Image = cr

Getting a black image when creating thumbnail


I'm trying to save two images to the DB, the original image and a thumbnail of the original.

But all I'm getting is a black image :/
I'm also trying to keep the proportions of the original image when creating the thumbnail, and I hope I'm right.

System.Drawing.Image img = System.Drawing.Image.FromStream(FileUpload1.PostedFile.InputStream);
decimal w = img.Width, h = img.Height;
int newHeight = 0;

// Keep proportions of thumbnail if width is above 120px
if (img.Width > 120) newHeight = (int)((w / h) * 120); else newHeight = img.Height;

System.Drawing.Image thumb = new System.Drawing.Bitmap(120, newHeight);
MemoryStream ms = new MemoryStream();
thumb.Save(ms, img.RawFormat);
Byte[] bytesThumb = ms.ToArray();

FileUpload1.PostedFile.InputStream.Seek(0, SeekOrigin.Begin);
Stream fs = FileUpload1.PostedFile.InputStream;
BinaryReader br = new BinaryReader(fs);
Byte[] bytes = br.ReadBytes((Int32)fs.Length);
sqlParam = cmd.Parameters.Add("@thumb", SqlDbType.VarBinary, -1);
sqlParam.Value = bytesThumb;

sqlParam = cmd.Parameters.Add("@data", SqlDbType.VarBinary, -1);
sqlParam.Value = bytes;

Thanks in advance!


saving WPF inkCanvas to image makes black background



i am saving inkcanvas but it saves black image




rtb = new RenderTargetBitmap<

flash animation renders screen black until cursor rolls over



New to SP, using 2007.

I have linked a flash (CS5 AS 2.0) file into a sharepoint page = Page Viewer Web Part. In the Document Libraries>Pages folder I have both the flash .html and the .swf files. I can click on either of these files in the Pages folder and they play normally.

BUT, when this flash file loads into the page viewer web part it does not automatically play; it starts with a black screen and does not play until I roll the mouse over it. This is not the case outside of SP. The file starts automatically, no black screen.

I read that SP strips the <object & script> tags? Is this the problem? Do I replace them using dreamweaver...what does that look like? Or should I be using a different kind of page to play a flash file instead of Page Viewer Web Part? Or is the problem something else completely??

I'm sorry if this info is posted elsewhere; please point me in the right direction.

Much Thanks!!

Ellipsis and Black color on ListView column




I have a very awesome ListView. Now I want to make it look as awesome as it is. But I don't know how to do it. I have tried to do it with Styles and Templates but I just can't get the hang of it.


Here's what I have:

I have a ListView with a number of columns. Each column corresponds to a Property of MyClass. I have a number of instances of MyClass tossed inside a CollectionView which is set as the source of this awesome ListView. The columns are created during runtime in C# code. So the bindings are done there. There are no column in the XAML part (it's just an empty listview there).


What I want to do:

I want to first of all add CharacterEllipsis on all columns. So that if a columns is too narrow the text inside it will go "Somet..." instead of just cutting it off to Somet (with half a t).


The next thing is that when a column is sorted I want to change color on that specific column, to black. I have managed to use a DataTemplate to style a specific column but the problem here is that I don't know how to do the binding. :(


A small note: each column is created during runtime in C# code (note: not in xaml). I have a loop which creates each column, binds it to the correct corresponding property, and adds it to the ListView.


ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend