Saturday, September 30, 2006

Microsoft Security Bulletin MS06-055

Vulnerability in Vector Markup Language Could Allow Remote Code Execution (925486)


If a user is logged on with administrative user rights, an attacker who successfully exploited this vulnerability could take complete control of an affected system. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights. Users whose accounts are configured to have fewer user rights on the system could be less impacted than users who operate with administrative user rights.

Read it if you are using microsoft products, this will help u to avoid the direct attack.

http://www.microsoft.com/technet/security/bulletin/ms06-055.mspx

OOPs!!!! Vista won't support older Visual Studio versions

Windows Vista will not support older versions of Visual Studio, a move that will require many developers writing applications for the forthcoming operating system to upgrade to Visual Studio 2005, a Microsoft executive said Tuesday.

Developers writing Vista-compatible applications will be unable to use Visual Studio 2002 or Visual Studio 2003 if those are running on top of the new operating system, wrote S. Somasegar, vice president of Microsoft's developer division, in a blog entry.

The requirement was included as part of announcement of Service Pack 1 for Visual Studio 2005, which was released Tuesday on the Microsoft Connect Web site for developers.



http://www.infoworld.com/article/06/09/26/HNvisualstudioupdate_1.html

Monday, September 25, 2006

EasyListBox web control (FREE)

EasyListBox is an ASP.NET server control. This means that your server is required to have ASP.NET (and, by definition, the .NET Framework) installed. If you do not have ASP.NET, you can download it from the official website.

...with SuperSearch
...with AJAX for comboboxes and related lists
...to support ASP.NET validators
...to provide multi-column dropdown lists
...to support HTML in a listbox

Total customization: HTML, images, scrollbars

...with SpeedSearch
...with URLJump
...to integrate combo box behavior (with the flip of a switch)
...to bring you swapper lists
...to provide no-code databinding
...to bring you full Dreamweaver compatibility
...with DataGrid integration

http://www.asp.net/download-1.1.aspx?tabindex=0&tabid=1

http://easylistbox.com/home.aspx

Wednesday, September 20, 2006

Replacing Cursor with For Loops


Advantages of replacing curosors with for loop
-Implicitly declares its loop index as a %rowtype record
-opens, fetch and close operation are done automatically.
-It reduce coding and it is easy to understand.


----------------------------------
--Simple Select Procedure Example
----------------------------------
--Create Procedure
CREATE PROCEDURE SP_Print_Hello
AS
BEGIN
FOR IDX IN (Select ename from emp)
LOOP
DBMS_OUTPUT.PUT_LINE('Hello ' IDX.ename);
END LOOP;
END;


--Execute Procedure
begin
scott.sp_inc_salary ( );
end;


--Output
Hello SMITH
Hello ALLEN
Hello WARD
Hello JONES
Hello MARTIN
Hello BLAKE
Hello CLARK
Hello SCOTT
Hello KING
Hello TURNER
Hello ADAMS
Hello JAMES
Hello FORD
Hello MILLER
----------------------------------



-------------------------------------
--Manipulate Batch Update Statement
-------------------------------------
--Create Procedure
CREATE PROCEDURE SP_Increment_Salary
AS
mIncAmt number(5);
BEGIN
mIncAmt := 2000;
FOR IDX IN (Select empno,sal from emp)
LOOP
Update emp
Set sal = IDX.sal + mIncAmt
where empno = IDX.empno;
END LOOP;
END;


--Execute Procedure
begin
scott.SP_Increment_Salary ( );
end;


--OUTPUT
Procedure updated successfully....
-----------------------------------------

Data Dictionary Queries for SQL Server and Oracle

For SQL Server

--Finding all details of Primary Key constraint
select * from sysobjectswhere xtype='PK'

--Finding all details of Foreign Key constraint
select * from sysobjectswhere xtype='F'

--Finding all User-Defined objects (tables, etc)
select * from sysobjectswhere xtype='U'

--Finding all System objects
select * from sysobjectswhere xtype='S'

--Finding all user names
select * from sysusers

--Finding Column Names of Particular Table
--Select Pubs Database
select c.name from sysobjects o, syscolumns cwhere o.id = c.id ando.name = 'publishers'



For ORACLE
select * from sys.dba_objectswhere owner = 'scott'and object_type='TABLE'
SELECT owner, object_name, object_type FROM sys.dba_objectswhere object_type='SEQUENCE' and owner='scott';

Today I was just trap with some queries and so the solution i come up with

Tuesday, September 19, 2006

Tri-State TreeView Control for Web Application

I had found a Tri-State Treeview control for web application (asp.net) for both .net 1.1 and 2.0

There are lots of third party tree-view controls available on net but among that i found that ExpertTree control is the best control. It has all the features that i was looking for and the most important of all is Tri-State.

Download Demo version:
http://www.aspnetexpert.com/Download.aspx

Tech Blog i enjoyed

I enjoyed my time on reading blog : http://blog.vanslaars.com/

I specially enjoyed it asp.net 2.0 section

Monday, September 11, 2006

.Net Forums

Advice Forums are most useful forum for .Net Query Posting.

There are lots of forum available, but i was truly helped by advice forum. Most of the members are experience and are MVP, and to best of all they participate actively.

I had been trapped with "how to use dynamic control optimally" so that it doesn't affect my web performance, i got a very good response.

You can try out
http://aspadvice.com/

beside that there are other interesting forum
http://www.dotnetspider.com
http://www.sqladvice.com
http://www.xmladvice.com

Saturday, September 02, 2006

Won a Special Gift @ DotNetSpider

Hello Friends,

Won a Special Gift @ DotNetSpider



check out url and select "August 2006" from drop-down : http://www.dotnetspider.com/profiles/ViewProfile.aspx?userId=CodeGuruDotNet

I have won : Special Gift: Mini Memory Stick (128MB)

Again its a happy day... as I become a proud member of DotNetSpider.com

Yahoo services available on Windows-based mobile phones

Yahoo made e-mail, Internet search and other services available on mobile telephones with Microsoft's Windows Mobile operating systems.

The 'Yahoo Go for Mobile' suite of services available on Windows "smartphones" such as the Motorola Q included news, photo albums, and calendars, according to the Sunnyvale, California, company.

"Staying connected to essential information, from business contacts and calendar to personal email or news, is a crucial part of today's mobile lifestyle," Microsoft general manager Scott Horn said in a release.

"The availability of Yahoo Go for Mobile on Windows Mobile-powered phones will allow our
customers to bring their favorite Yahoo services to the devices they already rely on."

http://news.yahoo.com/s/afp/20060830/tc_afp/afplifestyleusinternet

Friday, September 01, 2006

Won a Grand Prize @ Community-Credit

Hello Friends,

Won a Grand Prize @ Community-Credit



check out url and select "August 2006" from drop-down : http://www.community-credit.com/DisplayCommunityCreditPerMonth.aspx

I have won : T.One 8GB USB Microdrive



Satiate Your Portable Storage Hunger with this month's Grand Prize . Trust us when we say the T.One is the mack-daddy of USB thumb drives. You get 8 gigs of storage and high-speed USB 2.0 transfer speeds in a sleek case less than 2 inches square. How do you cram a boatload of storage into such a small package? Amazingly, each T.One Microdrive has an eensy weensy 8GB hard drive inside. Buy one and dominate over your co-workers in the office thumb drive smackdown.

I am now a proud member of community-credit

Well Today was happy day..

Popup .PDF File in New Window from ASP.net Code Page

//Add the Following in Web.Config File





//Add the Following Line of Code in Page Load Event

//Find the path of Download .PDF File from Web.Config File
string sPDFPath = ConfigurationSettings.AppSettings["Pdf_Path"].ToString();

//Prepare a script to open the file in a new window
string popupScript = "Javascript: return " +
"window.open('"+ sPDFPath + "', 'CustomPopUp', " +
"'width=600, height=600, menubar=no, resizable=yes');";


//Attach Script to button control
btnDownloadPdf.Attributes.Add("onclick",popupScript);

Most Recent Post

Subscribe Blog via Email

Enter your email address:



Disclaimers:We have tried hard to provide accurate information, as a user, you agree that you bear sole responsibility for your own decisions to use any programs, documents, source code, tips, articles or any other information provided on this Blog.
Page copy protected against web site content infringement by Copyscape