Salı, Ekim 16, 2012

Strange network share problem resolved

For some time I had a problem with a Windows 7 Home Premium computer when accessing to lan network shares. I was getting "0x80070035 network path was not found" or "0x80004005 unspecified error" messages while trying to access network shares on the same workgroup. I have made some research on web suggesting various solutions. It may be a firewall issue, or an issue about credential(s) manager. But lastly one other suggestion solved my issue. My problem was not those and it was about the missing feature "Client for Microsoft Networks" of my network card . Installing that feature resolved the issue.

Swf object z-index problem

When you have a swf object in your web page, some css menus, or other items might become hidden under the swf object. To solve this you might use the "transparent" attribute of the swf object's wmode property like this


         
         

refer to  this  .

Renumbering id field of a database table

For a database I needed to renumber the existing id fields. Without using any auxiliary scripting language, here is a way to do it in mysql: say you want to number the id field begining from index 1000,
set @count=999;
update table set id=@count:=@count+1;
as described in this page.