Download Free Smart Defrag

Smart Defrag

The World’s Most Efficient Defragmenter
What’s the primary cause of slow/unstable PC performance? It’s disk fragmentation.

Smart Defrag helps defragment your hard drives more efficiently than any other product on the market –– free or not.


Features of this powerful, award-winning defragmenter program include:

  • An "Install It and Forget It" feature that works automatically and quietly in the background on your computer.
  • The ability to constantly keep your hard drive safe, error-free and running at its top speed and optimum performance.
  • Eliminates slow downs, freeze-ups and crashes.
  • Smart Defrag is 100% FREE award-winning software that’s for personal, home and small business.
  • 100% safe from any spyware, adware and virus.
  • Designed for Windows Vista, XP, and 2000, including Windows Server Eiditions.
  • 100% Free for home, small business, organization, and enterprise.
  • Distribute it freely, copy it, or include it as part of a package – as long as it is left completely intact and unchanged.

Download Smart Defrag [2.34 MB]

Source : iobit.com

| Continue Reading..

RPS Demands: 10 Things All PC Games Should Do

Less a manifesto, and more a notverymanlyfesto, as this is very much a tech-centric list. If you want thoughtful game theory, you’ve got the wrong nitpicker.

The PC is the best gaming platform in the world - but it could be better still.

While it’s great that the PC doesn’t have to suffer quite the same degree of standardisation as its locked-down console brethren, we have nevertheless fallen into certain patterns of how we game. There are things we take for granted and thus expect, like WASD controls in FPSes and patches for bad bugs. There are others still we should be able to take for granted, but can’t because the same damn-fool oversights happen again and again. Even outside of the more obvious annoyances like referring to Xbox controls or including ridiculously draconian DRM (which are both more a question of money than of thoughtlessness), a ton of stuff that any gamer could have told the developer was a glaring screw-up keeps on turning up in otherwise great games. Here are just 10 of the worst offenders, 10 things that every single modern PC game should get right and has no excuse not to. Please do suggest others in comments below.

Been there forever. Come on!

1. Alt-tab support.

Perhaps the single greatest, but so often neglected, Must-have there is. Just having rudimentary task-switching support in there isn’t enough (hello-o Valve games) - it needs to be fairly quickly and smooth, and included in the original release of the game, not in a patch down the line. This should be as big a priority as graphics or sound. Don’t care if it’s a massive pain to code in. Don’t care if you have to re-start the entire game from scratch to put it in. Alt-tab is absolutely integral to the way we all use our PCs. Half of us essentially live at our computers - we need to be able to task-switch to an IM window or an inbox or even another game in moments, not be locked into one program. Frankly - if your game doesn’t alt-tab, it’s not really a PC game.

Possibly deserving an entry of its own, but in the name of keeping this list to 10 I’ll include it here - all PC games should be able to play in a window. I’ve missed social events because someone’s instant messaged me about going to the pub, but not bothered to phone or text when I don’t get back to them right away because I’m off in a game. One day, the girl of my dreams will magically message me, and by the time I’ve exited the game she’ll have got bored of waiting and declared her love for my arch-nemesis (I don’t actually have an arch-nemesis, but I’m working on it). Then I will hunt down and kill the developer of whichever unwindowable game I was playing at the time. They will appreciate why. Window play is also necessary for 2D games whose resolutions can’t be changed - 800×600 pixels of pretty hand-drawn art look like roadkill in toontown when they’re stretched over a 1680×1050 panel.

Unbelievably, Clear Sky's savegame location was equally silly as its forerunner's

2. Use standardised install and savegame folders

Everything goes in Program Files by default, please (and, just as importantly, there needs to be an option to install anywhere the player would rather). Don’t have your game install itself into the root of C:\ or an obscure sub-folder, and when you do put it in Program Files don’t stick it inside [Publisher name]\[Developer name] - just stick a folder directly in there under the game’s name. Gamers want to be able to find their game files easily, not have to Google for everyone involved in its creation just so they can work out what folder it’s in.

This is doubly true of savegames. We need to be able to back those suckers up in case of disaster or a Windows reinstall. Know where STALKER hides its savegames in Vista? C:\Users\all users\documents\stalker-shoc, that’s where. Here’s where games whose developers aren’t crazy stick their saves on my PC - C:\Users\Alec\Documents\My Games. In other words, the standard My Games folder inside (My) Documents, a two-click, standard process to reach. To find STALKER’s saves, I have to dig through five separate sub-folders, in something I’d never otherwise look at. Who are these mythical ‘All Users’? They’re not me, that’s who.

Even our beloved World of Goo fails at this. The game goes into Program Files\World of Goo. The savegame - and the savegame alone - goes into C:\ProgramData\2DBoy\WorldOfGoo. ProgramData? Worse, that’s actually a hidden folder by default. Gah!

3. Automatically set themselves to your desktop screen resolution

Don’t default to something horrid and archaic like 640×480. The vast majority of PC gamers use flatpanel monitors, and games running at anything other than their native resolution tend to look horrible. Save us the hassle of changing the setting ourselves, but most of all save the less tech-savvy from having to work out what a resolution even is in the first place, or just putting up with a blurry screen because they’ve no idea how to fix it. Clearly, still allow the resolution to be easily changed to whatever the gamer wants, however: the game needs to support every res the monitor does.

SWAT IV - Man, I loved editing those ini files for widescreen!

4. Support widescreen resolutions.

Widescreen isn’t the future - it’s the present. Just look at the consoles for proof of that, or at the top hits for ‘monitor’ on Amazon. And expecting us to edit an ini file or type in command lines doesn’t count as widescreen support.

5. Uninstall in seconds.

Don’t have it laboriously check every single damn file before it has the grace to remove ‘em - just wipe the folder, pull the main hooks out of the registry and be done with it. I uninstalled the FIFA 09 demo today, and it all but locked up my PC for ten minutes while it did its ridiculous, disc-churning thing. Then I uninstalled the King’s Bounty: The Legend demo, and it was gone in the blink of an eye. That’s the way to do it. When I want someone to leave my house, I just want them gone - I don’t want them hanging around on the doorstep making tedious chit-chat for half an hour. Tied into this is installing neatly in the first place to ensure removal is simple - the game should all end up in one place, not explode tiny bits of itself all over the hard drive.

FIFA 09 - takes 12 years to uninstall

6. Don’t require the CD/DVD in the drive to play.

Again, we’re talking about a PC, a device with hundreds of gigabytes of storage. A game needing to look at a plastic disc entirely external to the game install folder whenever it runs is openly ludicrous. I know it’s for copy protection’s sake (and even so is of debatable effectiveness in this day and age), but the annoyance to legit customers surely outweighs a few extra lost sales before the inevitable no CD crack turns up anyway. Requiring PC gamers to scrabble through a vast pile of discs just to play the game they’ve already installed is contrary to the nature of the platform, and lures people towards less than legal solutions that may ultimately push them further towards piracy. And you wouldn’t want that, would you publishers?

Continue here : rockpapershotgun.com

Technorati Tags: ,,
| Continue Reading..

Visual Studio 2010 and .NET Framework 4.0 Overview

Visual Studio 2010 and the .NET Framework 4.0 mark the next generation of developer tools from Microsoft. Designed to address the latest needs of developers, Visual Studio and the .NET Framework deliver key innovations in the following pillars:

  • Democratizing Application Lifecycle Management
    Application Lifecycle Management (ALM) crosses many roles within an organization and traditionally not every one of the roles has been an equal player in the process. Visual Studio Team System 2010 continues to build the platform for functional equality and shared commitment across an organization’s ALM process.
  • Enabling emerging trends
    Every year the industry develops new technologies and new trends. With Visual Studio 2010, Microsoft delivers tooling and framework support for the latest innovations in application architecture, development and deployment.
  • Inspiring developer delight
    Ever since the first release of Visual Studio, Microsoft has set the bar for developer productivity and flexibility. Visual Studio 2010 continues to deliver on the core developer experience by significantly improving upon it for roles involved with the software development process.
  • Riding the next generation platform wave
    Microsoft continues to invest in the market leading operating system, productivity application and server platforms to deliver increased customer value in these offerings. With Visual Studio 2010 customers will have the tooling support needed to create amazing solutions around these technologies.
  • Breakthrough Departmental Applications
    Customers continue to build applications that span from department to the enterprise. Visual Studio 2010 will ensure development is supported across this wide spectrum of applications.

Over the next few months we will provide more detail in each of these pillars. We will start with “Democratizing Application Lifecycle Management.”

Please check back shortly to see the next pillar, “Enabling emerging trends.”

Microsoft Visual Studio Team System 2010 – Democratizing Application Lifecycle Management
Visual Studio Team System 2010 will deliver new capabilities that embrace the needs of the users in the lifecycle – from architects to developers, from project managers to testers.

Among the great new functionality in VSTS 2010:

  • Discover and identify existing code assets and architecture with the new Architecture Explorer.
  • Design and share multiple diagram types, including use case, activity and sequence diagrams.
  • Improve testing efforts with tooling for better documentation of test scenarios and more thorough collection of test data.
  • Identify and run only the tests impacted by a code change easily with the new Test Impact View.
  • Enhanced version control capabilities including gated check-in, branch visualization and build workflow.

Key to a shared understanding of the application is the use of modeling tools. Modeling has traditionally been done by professional architects and system designers. Our approach is to enable both technical and non-technical users to create and use models to collaborate and to define business and system functionality graphically.

Visual Studio Team System 2010 includes a new Architecture Explorer for the discovery and exploration of existing code assets and application architectures.

More : msdn.microsoft.com

| Continue Reading..

Microsoft to back jQuery library

Visual Studio will ship with jQuery JavaScript technology that simplifies AJAX interactions for rapid Web development.

Microsoft plans to incorporate the jQuery JavaScript library into its Visual Studio platform, according to several blogs published on Sunday.

JQuery, the jQuery Web site states, is "a fast and concise JavaScript library that simplifies HTML document traversing, event handling, animating, and AJAX interactions for rapid Web development." The technology also was described as lightweight and cross-browser.

"JQuery is designed to change the way that you write JavaScript," according to the site.

Microsoft's Scott Guthrie, corporate vice president in the company's developer division, noted Microsoft's intentions to support the open source technology.

"I'm excited today to announce that Microsoft will be shipping jQuery with Visual Studio going forward," Guthrie said. "We will distribute the jQuery JavaScript library as is, and will not be forking or changing the source from the main jQuery branch.  The files will continue to use and ship under the existing jQuery MIT license."

Microsoft also will distribute intellisense-annotated versions that provide "great" Visual Studio intellisense and help-integration at design time, Guthrie said.

"A big part of the appeal of jQuery is that it allows you to elegantly (and efficiently) find and manipulate HTML elements with minimum lines of code," said Guthrie.

"JQuery is a fantastic library, and something we think can really benefit ASP.Net and ASP.Net AJAX developers.  We are looking forward to having it work great with Visual Studio and ASP.Net, and to help bring it to an even larger set of developers," Guthrie said.

The jQuery intellisense annotation support will be offered as a free Web download in a few weeks and will work with Visual Studio 2008 Service Pack 1 and the Visual Web Developer 2008 Express Service Pack 1. A new ASP.Net MVC download will distribute it as well and add the jQuery library by default to new projects, Guthrie said.

Microsoft product support will be extended to jQuery later this year, enabling developers and enterprises to call and open jQuery support cases.

John Resig, of the jQuery development team, said Nokia also was taking steps to adopt jQuery as part of its official application platform.

source : infoworld.com

| Continue Reading..

Top 10 Windows Forms Articles You Must Read

If you have missed on some top articles of WinForms on dotnetcurry.com, then this is a must read for you. The Top 10 articles have been decided by our editorial panel based on the popularity of the article, user rating and top views of the articles.

The articles have been arranged based on the total views from top to bottom. I hope you enjoying reading them, as much as we did while compiling them!!

1. DataGridView in Windows Forms – Tips, Tricks and Frequently Asked Questions(FAQ)

DataGridView control is a Windows Forms control that gives you the ability to customize and edit tabular data. It gives you number of properties, methods and events to customize its appearance and behavior. In this article, we will discuss some frequently asked questions and their solutions. These questions have been collected from a variety of sources including some newsgroups, MSDN site and a few, answered by me at the MSDN forums

2. Display a list of all fonts installed on a computer using Windows Forms

The System.Drawing.Text.InstalledFontCollection is a non-inheritable class that contains the functionality to represent the fonts installed on the system. You can use this class and return an array containing the names of all the fonts on your system. In this article, let us see how to use this class and display the list of available fonts

3. How to Close Parent Form from Child Form in Windows Forms 2.0

With the MSDN forums flooded with similar questions, I decided to dedicate an article for the subject. In this article, we will create two forms, a parent and a child and then open the child form using the Parent Form. When the child form closes, we will close the Parent form too.

4. Drag, Drop and Move Items from One CheckedListBox to Another using Windows Forms

In this article, we will explore how to drag, drop and move items from one checkedlistbox to another

5. Drag and Drop Images Into a PictureBox

This article was written simply out of curiosity. I was doing a similar operation using web technologies and just wanted to try out how it works with Windows Forms. I have recorded the steps in this short article, where we will explore how to drag and drop images into a PictureBox.

6. Create, Read, Write, Copy, Move and Delete a Text File using C# and VB.NET

In this article, we will explore some common text file operations using C# and VB.NET. This article has been requested by a long time reader of dotnetcurry.com. NET provides various classes like the File and FileInfo, to create, read, write and perform such similar operations on a text file. For example, you can use the Create() method of the File class to create a text file. The same could also be done using the CreateText() method of the FileInfo class. Similarly these classes also contain functionality to copy, move or delete a file. The trick is to find out when to use which class and for what purpose.

7. Some Common Conversion Functions – Part I

In this article, we will explore some commonly used conversion functions in our projects. This is the first part of our two part series. I will cover up some other commonly used conversions in the second part.

8. 30 Common String Operations in C# and VB.NET – Part I

In this article, I have compiled some common String operations that we encounter while working with the String class. In Part I, I have covered 15 common string operations. In the next article, I will continue this article and cover 15 more.

9. 30 Common String Operations in C# and VB.NET – Part II

In the previous article, 30 Common String Operations in C# and VB.NET – Part I, we explored 15 common String operations while working with the String class. In Part II of the article, we will continue with the series and cover 15 more.

10. How to Create Thumbnail Images in C# and VB.NET

A thumbnail is a small sized image. Creating a thumbnail using .NET is extremely simple. In this article, we will explore how to create a thumbnail image and display the thumbnail in our application.

I hope you liked this compilation and I thank you for viewing it.

Source : dotnetcurry.com

Technorati Tags: ,,
| Continue Reading..

Windows 7 Pre-Beta Availability Confirmed

Microsoft is making headway with the building process of Windows 7, the next iteration of the Windows client, and is gearing up to release a development milestone of the operating system at the end of next month.

Microsoft's professional Developers Conference in Las Vegas, between October 27-30, 2008 will be synonymous with the broadening of the Windows 7 testing program past the limited testing pool of the company's close partners that was given access to early builds including Milestone 1, Milestone 2 and Milestone 3. The Redmond giant will in fact offer a pre-Beta build of Windows 7 to all PDC2008 participants.

"We're (...) giving every attendee a pre-beta copy of Windows 7. Yes, you heard that right. You'll be able to install your own copy of Windows 7 and play with it on your hardware. This is a very limited release, and PDC2008 attendees will be the first to get it. Gotta love the PDC," revealed Mike Swanson, Microsoft technical evangelist.
In just one month Microsoft plans to deliver the first consistent taste of Windows 7. The company demonstrated the operating system's touch computing capabilities earlier this year, but otherwise detailed in no way M1, M2 or even M3. Screenshots, videos and a tad of information on the recently dropped Windows 7 Milestone 3 Build 6780 were made available from third party sources, but Microsoft continued to be mute on the matter. At PDC2008 Steven Sinofsky, senior vice president, Windows and Windows Live Engineering Group, will be the one to introduce Windows 7 to the world.

"In our first keynote at PDC2008 Ray Ozzie will talk about the new world of Software Plus Services, with Bob Muglia joining him, to unveil our new Cloud Computing platform," Microsoft revealed. "In a second keynote, Ray will return to talk about building immersive user experiences and introduce Steven Sinofsky, who will give developers a first look at the next version of Windows, Windows 7. Scott Guthrie and David Treadwell will join Ray and Steven to dive deep on the latest Win32 and .NET platform advances that enable a next generation of user experiences spanning multiple devices, including a look at the latest developments in .NET, Silverlight, "Live Mesh", and the rest of the client platform."

source : news.softpedia.com

Technorati Tags: ,
| Continue Reading..

How Android Hurts Microsoft

Think "baby seals" with regards to the clubbing Google gave Microsoft today.

"Whack, whack, whack" was the sound coming out of New York, where Google, HTC and T-Mobile launched the Android-based G1. The mobile phone goes on sale Oct. 22.

Google clubbed Apple, too, but Microsoft will be the more seriously injured. Today, Google officially launched its alternative platform to the Windows PC. Microsoft is frakked.

The Android-based G1 is Microsoft CEO Steve Ballmer's worst fears bundled together in a tidy package: Google, Web applications, open source and a platform alternative to Windows. Worse: easy access to Google's plethora of online services—including Calendar, Contacts, Gmail, Google Talk, Maps Street View and YouTube—via single sign-on. There is a single point of connection and synchronization to Google's goodie bag. Get this: No PC is required. Google syncs from the Web to the phone. Microsoft has got nothing like it, but should.

As I've blogged before, sync is the killer application for the connected world. In 2007 I warned: "If Google gets synchronization right before Microsoft, it's game over." Something else I warned: "If Google and its partners can bring to mobile devices what they have to the desktop, I predict it will be game over for Microsoft. Windows' relevance will diminish before the Web platform."

I can't blog this enough times: The PC era is waning. The cell phone is more personal than the PC, and it has great Web 2.0 platform affinity. The cell phone's destiny is inevitable. Mobiles will replace PCs as the most widely used personal devices; today, they're more adjuncts. There's a role reversal rapidly coming. For many teens using T-Mobile Sidekicks or businesspeople tapping BlackBerrys, the transition already is here.

Google Like Glue

But Google's clubbing of Microsoft is a more complex action than that. The first Android-based cell phone begins a transition that could solve some big problems for Google:

* Search isn't sticky enough. For all Google's search success, another provider is but a new Web address away. Search isn't sticky. People can easily change search providers. Applications are stickier. Hardware is stickiest. People who buy G1s will get the Google brand (on the back) and easily accessible Google-branded applications and services.

* Google is dependent on Microsoft for its success. For all Google's search dominance, the main means by which most people consume the information company's goods and services is the Windows PC. Google can't control Windows or the user experience there. Microsoft can make decisions about user interface design, Web applications integration or other platform characteristics that have huge impact on Google products—and Microsoft has huge incentive to keep computing relevance from shifting to the Web from the PC. Android-based cell phones give Google control on the emerging computing platform.

* Google didn't have its own operating system and development platform. The Web 2.0 platform is compelling, but it's not enough. As I've repeatedly blogged, the next successful computing platform must have software plus hardware plus services. In May, I blogged that Microsoft had solved the Google problem. But I'm no longer convinced. The first Android-based phone and Google's Chrome browser are game-changing. Google now has an independent platform and in the right place.

Cell phone manufacturers ship more mobiles each year—1 billion units—than the entire Windows PC install base. In many emerging markets, cell phones are the first Internet-capable devices many people own. The phenomenon is well documented from past technological transitions, where the new market skips over the old thing for something newer. Google has seen the future. Why hasn't Microsoft? The company is too bound to the desktop.

I can't express how much Microsoft has screwed up here. Compared to the iPhone or G1 UIs, Windows Mobile is clunky and chunky. There is no integrated application store, which is a killer concept, by the way. More importantly, there is no compelling integration or synchronization with other Microsoft products or services. Microsoft is driving integration from Internet Explorer 8, and I've long expected it with Windows 7, too. But not in mobile. Windows Live for Mobile has potential, but it doesn't compare to a Google-branded phone, running a Google operating system that links and syncs with Google services.

source: microsoft-watch.com

Technorati Tags: ,,
| Continue Reading..

Google's Android Arriving Tomorrow

The big news this week will be the announcement for the first Android device from Google, HTC and T-Mobile. T-Mobile sent out invitations to the media to "experience the first Android-powered phone" on Tuesday, September 23rd.

A video demo from Google demonstrates the device's browser and interface of the upcoming device. The new device is said to be priced at $199 and "showcase the Google brand" and incorporate a swivel-out full keyboard along with an accelerometer and a large touch screen.

The new platform will obviously draw comparisons with Apple's iPhone. Google is promoting the openness of its platform at a time when Apple is seeing more criticism about its App approval process. Google will be introducing its own Android Market which provides developers a central repository for application sales and distribution. At launch, the Android Market will only offer free applications, but billing support should be coming at a later date. Unlike the App Store, the Android Market has no approval process and any developer can upload any application.
One of the particularly successful iPhone developers, however, is staying away from Android. Steve Demeter, who made headlines last week for having made $250,000 in sales of his iPhone game Trism, told AlleyInsider that the availability of multiple handset models could introduce more headaches than its worth:

“Do I want to be spending 6 months to write the game, and another 6 months making it compatible? If I had Trism available for Android, and there are 50 Android devices and every time one of them crashes (the users) contact me, do I want that?”

Instead, Demeter has been hiring and is working on 5 more iPhone games.

Source : macrumors.com

Technorati Tags: ,,
| Continue Reading..

The Pirate Bay Tops 15 Million Peers

Today, The Pirate Bay reached a new milestone, as they now have more than 3 million registered users. On top of that, they track close to 15 million unique peers. The largest BitTorrent tracker just keeps growing and growing, and there is no sign that this will be put to a halt anytime soon.

When this article is published, The Pirate Bay now tracks nearly 1,288,514 torrents and 14,786,539 unique peers. As a comparison, in December 2006 they tracked 576,080 torrents and 4,274,698 peers, so today’s figures represent quite an increase.

TiAMO, one of Pirate Bay’s co-founders and the one responsible for keeping the hardware up and running, is happy with the traffic increase, and writes:

“A big thanks to all our users helping to make the site what it is. We’ll keep growing for as long as you keep using the site, filing it with content, sharing.”

This traffic increase is apparently placing quite a lot of stress on their server park. In July, the site went offline for more than a day, as the server setup had trouble keeping up with the ever-growing demand. It is estimated that The Pirate Bay currently returns results to between 7 and 8 million searches per day, roughly 230 million a month.

The popularity of The Pirate Bay hasn’t gone unnoticed with artists either. Timbuktu, a well known Swedish rapper released his latest single exclusively on The Pirate Bay earlier today. Free of DRM, high quality and free to share and remix of course.

Source : torrentfreak.com

| Continue Reading..

Who Are the Richest People In Tech?

Forbes has once again released its list of America’s richest people and, not surprisingly, Bill Gates topped the list with an estimated wealth of about $57 billion.

But Gates isn’t alone as the only technology titan on the country’s list of the richest people.

On the list again this year is Gates’ old partner Paul Allen, Sergey and Larry from Google, and Steve Jobs. New to the list is Facebook founder Mark Zuckerberg, who sneaked in ahead of EMC’s Richard Egan and VC Vinod Khosla.

The Richest People in Tech

1. Bill Gates (Microsoft), $57 billion
3. Larry Ellison (Oracle), $27 billion
11. Michael Dell (Dell), $17.3 billion
12. Paul Allen (Microsoft), $16 billion
13. Sergey Brin (Google), $15.9 billion
14. Larry Page (Google), $15.8 billion
15. Steve Ballmer (Microsoft), $15 billion
33. Jeff Bezos (Amazon), $8.7 billion
47. Rupert Murdoch (News Corp.), $6.8 billion
54. Pierre Omidyar (eBay), $6.3 billion
59. Eric Schmidt (Google), $5.9 billion
61. Steve Jobs (Apple), $5.7 billion
84. Gordon Moore (Intel), $4.4 billion
84. John Sall (SAS Institute), $4.4 billion
91. David Sun (Kingston Technology), $4 billion
91. John Tu, (Kingston Technology), $4 billion
105. Richard Shulze (Best Buy), $3.5 billion
144. Ray Dolby (Dolby), $2.9 billion
161. Mark Cuban (Broadcast.com), $2.6 billion
246. Irwin Jacobs (Qualcomm), $1.9 billion
246. Omid Kordestani (Google), $1.9 billion
262. Henry Samueli (Broadcom), $1.8 billion
281. David Filo (Yahoo), $1.7 billion
321. Amar Bose (Bose), $1.5 billion
321. Todd Wagner (Broadcast.com), $1.5 billion
321. Mark Zuckerberg (Facebook), $1.5 billion
355. Richard Egan (EMC), $1.4 billion
355. Vinod Khosla (Sun Microsystems), $1.4 billion
355. Theodore Waitt (Gateway), $1.4 billion

Source: techcrunch.com

Technorati Tags: ,,
| Continue Reading..

Windows 7 M3 Build 6780: Pictures and Videos

Yes, new post about latest Windows 7 M3 Build 6780. Background: I’ve reported priori Windows 7 versions before.

Start Menu: the visual design of search box and shutdown/lock buttons are changed. The right panel is simplified.


What programs are installed?

Accessories

Calculator

User Account Control appeared only once during my experience. When I clicked SnagIt installer UAC popped up. That’s very nice to see Microsoft has decided to restrain UAC.

source: thinknext.net

Technorati Tags: ,,
| Continue Reading..

New Windows Live Betas – Download Wave 3 Now!

Recently Microsoft Published the so long waited Services from the Live family. With the Windows Live Wave 3 beta due to start today, we thought we’d provide our readers with a small headstart on the rest of the world.

Here’s the download links for the new Wave 3 suite of applications, including Messenger v9, Windows Live Movie Maker, Mail with Calendar synchronisation, Writer, Photo Gallery, Family Safety and the Outlook Connector.

There are two options to download the package (English)

Web (installer) 1mb

Full (installer) 134mb

You can access to the Liveside.net website to find more links which by the way, offers the betas in more languages.

English
http://g.live.com/1rebeta3/en/wlsetup-web.exe
http://g.live.com/1rebeta3/en/wlsetup-all.exe

Italian
http://g.live.com/1rebeta3/it/wlsetup-web.exe
http://g.live.com/1rebeta3/it/wlsetup-all.exe

German 
http://g.live.com/1rebeta3/de/wlsetup-web.exe
http://g.live.com/1rebeta3/de/wlsetup-all.exe

France
http://g.live.com/1rebeta3/fr/wlsetup-web.exe
http://g.live.com/1rebeta3/fr/wlsetup-all.exe

Spanish
http://g.live.com/1rebeta3/es/wlsetup-web.exe
http://g.live.com/1rebeta3/es/wlsetup-all.exe

Download : Windows Live Beta Installer (Web)
Source : Live Side

Technorati Tags: ,,,
| Continue Reading..

Intel releases six-core processors

Intel today claimed its new Xeon 7400 Series processors could increase performance by almost 50 percent. The new processors in the 7400 series consist of seven 45-nanometre-manufactured processors, each with up to six processing cores per chip and 16 MB of shared cache memory.

“The arrival of these processors extends Intel’s lead in the high-end server segment,” said Tom Kilroy, Intel VP and GM of the Digital Enterprise Group.

“With new features such as additional cores, large shared caches and advanced virtualisation technologies, the Xeon 7400 series delivers record-breaking performance that will lead enterprises into the next wave of virtualisation deployments.”

Intel said that applications built for virtualised environments and data-demanding workloads, such as databases, business intelligence, enterprise resource planning and server consolidation, could experience “dramatic” performance increases.

“We’ve made some advancements to improve both performance in a virtualised environment, as well as improve the virtualisation capability that you’re able to do for some of the new virtualisation models, like Virtualisation 2.0,” said Shannon Poulin, Enterprise Marketing Director.
“We see the need for virtualised infrastructure growing at a rate that will probably be double or triple in a couple of years.”

Platforms based on these processors can scale up to 16 processor 'sockets' to deliver servers with up to 96 processing cores inside.

The 7400 series has already set new four-socket and eight-socket world records on key industry benchmarks for virtualisation, database, enterprise resource planning and e-commerce.
Intel said that the new range delivered 50 per cent better performance with up to 10 per cent reductions in platform power. Poulin said that developers would snap up this extra performance for better applications.

“As we deliver more performance on the platform, people are going to increasingly creative ways to utilise this performance," Poulin said.

source : itnews.com.au

Technorati Tags: ,,
| Continue Reading..

Apple releases Mac OS X 10.5.5 Update

Apple on Monday released Mac OS X 10.5.5, a recommended update for all users of Mac OS X 10.5.x Leopard that includes over a hundred bug fixes and more than two dozen security enhancements.

As of press time, the 321MB update was only available via the Software Update mechanism located under the Apple menu of your Mac.
In addition to general stability improvements and over two dozen security enhancements, the update addresses issues with Address Book, Disk Utility, iCal, Mail, MobileMe, and Time Machine. A detailed list of those fixes follows:

General

  • Includes recent Apple security updates.
  • Addresses stability issues with video playback, processor core idling, and remote disc sharing for MacBook Air.
  • Addresses an issue in which some Macs could unexpectedly power on at the same time each day.
  • Resolves a stability issue in TextEdit that could be found when accessing the color palette.
  • Improves Spotlight indexing performance.
  • Fixes an issue in which contacts might not sync properly with PalmOS-based devices.
  • Improves iPhone sync reliability with iCal and Address Book.
  • Includes improvements to Active Directory (see this article for more information).
  • Improves Speech Dictionary.
  • Fixes Kerberos authentication issues for Mac OS X 10.5 clients that connect to certain Samba servers, such as Mac OS X Server version 10.4.
  • Includes extensive graphics enhancements.

More : appleinsider.com

Technorati Tags: ,,,

| Continue Reading..

The Force Unleashed Demo Sets New Record

All the Star Wars fans that also own an Xbox 360 can congratulate themselves for a job well done. Be it through an organized effort or actions driven by their unconscious, they have managed to make the demo for Star Wars: The Force Unleashed the most downloaded one on the console.

The demo has more than 1 million downloads on Xbox Live in less than eight days since launch, beating the previous record, held by Too Human from Silicon Knights, which needed nine days to reach the same number of downloads.

The PlayStation Network version of the game demo did not do too bad either. The two versions combined have more than 2.3 million downloads, which means that at least that many people are genuinely interested in what the game has to offer.

The Force Unleashed promises to put the players in the role of one Sith apprentice, whose lord is Darth Vader. The mission of the apprentice is to find and kill a variety of Jedi and Republic characters while developing ever greater Dark Side Force powers. There should be a twist in there somewhere, as the ending of the game seems to pit you against your Dark master.

The demo was pretty fun when I played it, with Imperial stormtroopers flying around and doors blown open via the awesome power of a Force push. The game looks good and handles well, although the camera is a bit unresponsive. The only big drawback for me was the final fight, which pits you against a chicken walker that needs to be taken out via quick time event.

Star Wars: The Force Unleashed will be available in North America on September 16 for the Xbox 360, the PlayStation 3, the PlayStation 2, the PlayStation Portable, the Nintendo Wii and the DS. Asia will have to wait one day to get the game while European players will be able to get it on September 19.

source : news.softpedia.com

Technorati Tags: ,,

| Continue Reading..

Google buys Korean blogging software company

Google Inc has bought Korean blogging software developer Tatter and Company, the two companies said on Friday. The companies did not disclose how much Google paid for the acquisition.

Tatter co-chief executive Chang-Won Kim announced the deal on his personal blog in an entry titled "We've been Googled!", saying that the acquisition would help Google increase its market share in the country.

Kim described Google's market share in Korea as "minor" and said Korean Web users mainly use portals such as Yahoo Inc's.

Korea has the ninth-highest number of Internet users in the world, according to Internet World Stats, a Web site that tracks such data.

Google said in an e-mailed statement the acquisition will "allow us to enhance our publishing tools in Korea."

Tatter owns a blogging platform called Textcube, which Kim said was popular among Korean bloggers. Blogs are Web journals where people typically write opinions and link to other material on the Internet.

As part of Google, the company will try to introduce Textcube to bloggers outside Korea, Kim added.

Google already owns a blogging software called Blogger, which it acquired in 2003.  Continued...

Technorati Tags: ,
| Continue Reading..

Konami reveals new details on PES 2009; confirmed October 17 release

With Fall settling in, you can expect the usual bumper crop harvest of annual sports sims to come our way. One of these titles include Konami's Pro Evolution Soccer 2009, which has been confirmed to be released this October 17 on the PlayStation 3, Xbox 360, and the PC.

As expected, the game will once again make use of a fully-licensed UEFA Champions League mode. In addition, the publishers have also signed up with several Premier League club - Liverpool and Manchester United - giving PES 2009 the distinction as the official video game of the England national team, with Wembley featured as one of the new playable grounds.

PES team leader Jon Murphy made comparisons with their biggest rival from EA, the FIFA franchise. He was quoted having said that "they still have a long way to go before they can match the intuitive and absorbing gameplay of Pro Evolution Soccer".

He also added that, aside from the newly licensed clubs, PES 2009 will have several other additions which should place it above similar games of its type. These include improved AI, new control methods, a graphical overhaul, and key online enhancements.

The cover of this year's game will feature FC Barcelona's Lionel Messi. Other releases of PES 2009 for the PS2 and PSP will follow shortly after the console and PC versions, while a Wii title will also be due out next Spring.

source : pc.qj.net

Technorati Tags: ,,
| Continue Reading..

[Tutorial-3] Membuat Aplikasi dengan Visual Basic .NET 2008

Ok, sorry rada telat postingnya.. kemarin sempat ada proyek n juga beberapa hari kemarin lagi sakit.

Langsung aja, di tutorial ke-2 kemarin kita telah sedikit mengenal tentang LINQ dan juga telah membuat suatu form barang. Kali ini kita akan mencoba menambahkan kode-kode yang akan diproses oleh tiap tombol dalam form barang tersebut. Untuk kali ini validasi dalam setiap proses akan diabaikan terlebih dahulu, nanti pasti menyusul... ;)

Sebagai tambahan, lebih tepatnya "update", pada tiap tabel dalam database semua yang bertype nchar di ubah ke nvarchar.. tanya kenapa??

Sebelum dilanjutkan, ada baiknya semua kode-kode dalam form barang di hapus dahulu, kecuali, kode-kode di bawah ini:

Public Class frmBarang

Private Sub frmBarang_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

End Sub
End Class

1. Dekarasi beberapa variabel umum


Masukkan kode berikut pada bagian atas setelah Public Class frmBarang :

    Private db As New DataClasses1DataContext
Private edit As Boolean


1.a. Sub Procedure buka


Digunakan untuk mengunci dan membuka TextBox dan ComboBox dalam frmBarang:

Private Sub buka(ByVal t As Boolean)
Dim daftarTextBox = From myControl In Me.Controls _
Where TypeOf myControl Is TextBox _
Select myControl

For Each myTeksBoks As TextBox In daftarTextBox
If t Then
myTeksBoks.Enabled = True
Me.cmbKodeKategori.Enabled = True
Else
myTeksBoks.Enabled = False
Me.cmbKodeKategori.Enabled = False
End If
Next
End Sub

1.b. Sub Procedure isiCombo


Digunakan untuk mengisi daftar kategori untuk ComboBox pada frmBarang:

    Private Sub isiCombo()
Me.cmbKodeKategori.ResetText()
Dim cmbKate = From kategori In db.kategoris _
Select kategori.NmKategori

For Each kate As String In cmbKate
Me.cmbKodeKategori.Items.Add(kate)
Next
End Sub

1.c. Sub Procedure resData


Digunakan untuk me-refresh (mengisi) data dalam DataGridView1 dengan data yang baru (Kodenya sedikit berbeda dari tutorial 2 kemarin):

    Private Sub resData()
Dim qBarang = From barang In db.barangs _
Join kategori In db.kategoris _
On kategori.KDKategori Equals barang.KDKategori _
Select Kode = barang.KDBarang, Nama = barang.NmBarang, _
Kategori = kategori.NmKategori, Jumlah = barang.Jumlah, Harga = barang.HargaJual

Me.DataGridView1.DataSource = qBarang
End Sub

1.d. Sub Procedure dgKlik


Digunakan untuk mengisi tiap TextBox dan ComboBox berdasarkan data yang ada dalam DataGridView1 saat setiap kali data dalam DataGridView1 dipilih.

    Private Sub dgKlik()
Try
Me.txtKodeBarang.Text = Me.DataGridView1.Item(0, Me.DataGridView1.CurrentRow.Index).Value
Me.txtNamaBarang.Text = Me.DataGridView1.Item(1, Me.DataGridView1.CurrentRow.Index).Value
Me.txtJumlah.Text = Me.DataGridView1.Item(3, Me.DataGridView1.CurrentRow.Index).Value
Me.txtHarga.Text = Me.DataGridView1.Item(4, Me.DataGridView1.CurrentRow.Index).Value

Dim dkate = From kategori In db.kategoris _
Where kategori.NmKategori Is Me.DataGridView1.Item(2, Me.DataGridView1.CurrentRow.Index).Value _
Select kategori.NmKategori
Me.cmbKodeKategori.Text = dkate.Single

Catch ex As Exception
MessageBox.Show("Error: " & ex.Message)
End Try
End Sub




1.e. Sub Procedure resTeks


Digunakan untuk mengosongkan semua TextBox dan Combobox dalam frmBarang :

    Private Sub resTeks()
isiCombo()
Dim daftarTextBox = From myControl In Me.Controls _
Where TypeOf myControl Is TextBox _
Select myControl
For Each myTeksBoks As TextBox In daftarTextBox
myTeksBoks.Text = ""
Next
End Sub



1.f. Function katPerNama


Digunakan untuk mengambil kode Kategori barang berdasarkan nama kategorinya :

Private Function katPerNama(ByVal n As String) As Integer
Dim kat As Integer = 0
Dim kate = From kategori In db.kategoris _
Where kategori.NmKategori Is n _
Select kategori.KDKategori
kat = kate.Single
Return kat
End Function


2. DataGridView1_Click


Pada designer view, double klik Control DataGridView1 > akan masuk ke dalam tampilan Code View.  Pada bagian Method Name, pilih Click. Lihat Gambar :


DataGridView1_Method


Ketikkan kode berikut pada bagian  DataGridView1_Click :

    Private Sub DataGridView1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles DataGridView1.Click
dgKlik()
End Sub



3. Sub Procedure Saat Tombol Edit Diklik


Double klik tombol edit dan masukkan kode berikut :

    Private Sub cmdEdit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdEdit.Click
Me.cmdBaru.Text = "Batal"
Me.cmdEdit.Enabled = False
Me.cmdHapus.Enabled = False
Me.cmdSimpan.Enabled = True
edit = True
buka(True)
Me.txtKodeBarang.Enabled = False
Me.txtNamaBarang.Focus()
End Sub

4. Sub Procedure Saat Tombol Baru Diklik


Double klik tombol baru dan masukkan kode berikut :

    Private Sub cmdBaru_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdBaru.Click
If Me.cmdBaru.Text = "Baru" Then
Me.cmdBaru.Text = "Batal"
Me.resTeks()
buka(True)
Me.DataGridView1.Enabled = False
Me.cmdSimpan.Enabled = True
Me.cmdEdit.Enabled = False
Me.cmdHapus.Enabled = False
Me.cmdKeluar.Enabled = False
Me.txtKodeBarang.Focus()
Else
Me.cmdBaru.Text = "Baru"
buka(False)
Me.DataGridView1.Enabled = True
edit = False
Me.cmdSimpan.Enabled = False
Me.cmdEdit.Enabled = True
Me.cmdHapus.Enabled = True
Me.cmdKeluar.Enabled = True
dgKlik()
End If
End Sub

5. Sub Procedure Saat Tombol Simpan Diklik


Double klik tombol simpan dan masukkan kode berikut :

    Private Sub cmdSimpan_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdSimpan.Click
'Validasi data inputan, akan dijelaskan nanti...

If edit Then
Dim updatebrg = (From barang In db.barangs _
Where barang.KDBarang = Me.txtKodeBarang.Text).ToList()(0)

With updatebrg
.NmBarang = Me.txtNamaBarang.Text
.KDKategori = katPerNama(Me.cmbKodeKategori.Text)
.Jumlah = Me.txtJumlah.Text
.HargaJual = Me.txtHarga.Text
End With

Else
Dim brg As New barang With { _
.KDBarang = Me.txtKodeBarang.Text, _
.NmBarang = Me.txtNamaBarang.Text, _
.KDKategori = katPerNama(Me.cmbKodeKategori.Text), _
.Jumlah = Me.txtJumlah.Text, _
.HargaJual = Me.txtHarga.Text}
End If

Try
db.SubmitChanges()

Catch ex As Exception
MessageBox.Show("Error :" & ex.Message)
End Try

resData()
dgKlik()
buka(False)
Me.cmdSimpan.Enabled = False
Me.cmdBaru.Text = "Baru"
Me.cmdEdit.Enabled = True
Me.cmdKeluar.Enabled = True
edit = False
Me.cmdHapus.Enabled = True
Me.DataGridView1.Enabled = True
End Sub

6. Sub Procedure Saat Tombol Hapus Diklik


Double klik tombol hapus dan masukkan kode berikut :

    Private Sub cmdHapus_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdHapus.Click
If Me.txtKodeBarang.Text = "" Then Exit Sub
Dim rep As Integer = MessageBox.Show("Data tersebut akan dihapus?", "Konfirmasi", MessageBoxButtons.YesNo, MessageBoxIcon.Question)
If rep = MsgBoxResult.No Then Exit Sub

Dim deleteBrg = (From barang In db.barangs _
Where barang.KDBarang = Me.txtKodeBarang.Text).ToList()(0)

db.barangs.DeleteOnSubmit(deleteBrg)

Try
db.SubmitChanges()
Catch ex As Exception
MessageBox.Show("Error :" & ex.Message)
End Try

resData()
dgKlik()

End Sub



7. Sub Procedure Saat Tombol Keluar Diklik


Double klik tombol keluar dan masukkan kode berikut :

    Private Sub cmdKeluar_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdKeluar.Click
Me.Close()
End Sub

Terakhir, tambahkan kode berikut pada bagian frmBarang_Load :

    Private Sub frmBarang_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
resData()
isiCombo()
buka(False)
Me.cmdSimpan.Enabled = False
edit = False
End Sub

Yups, dengan semua tombol telah memiliki kode masing-masing, coba jalankan program dengan mengklik tanda play  atau menekan tombol F5 pada keyboard.


Pada bagian selanjutnya kita akan langsung mencoba membuat form untuk menampilkan data laporan dari data barang yang barusan dibuat..


Selamat bereksperimen semoga sukses... ;)


Kode Selengkapnya :

Public Class frmBarang
Private db As New DataClasses1DataContext
Private edit As Boolean 'penentuan apakah sedang dalam proses edit atau bukan

Private Sub frmBarang_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
resData() 'memanggil sub resData untuk mengisi data ke dalam DataGridView1
isiCombo() 'mengisi ComboBox kategori
buka(False) 'kunci semua textbox
Me.cmdSimpan.Enabled = False 'matikan tombol simpan
edit = False 'variabel edit di atur menjadi false
End Sub
Private Sub buka(ByVal t As Boolean) 'enable dan disable control TextBox dan ComboBox
'Pilih semua control yang merupakan TextBox
Dim daftarTextBox = From myControl In Me.Controls _
Where TypeOf myControl Is TextBox _
Select myControl
'Looping setiap control TextBox
For Each myTeksBoks As TextBox In daftarTextBox
If t Then
myTeksBoks.Enabled = True 'textbox aktif
Me.cmbKodeKategori.Enabled = True 'combobox aktif
Else
myTeksBoks.Enabled = False
Me.cmbKodeKategori.Enabled = False
End If
Next
End Sub
Private Sub isiCombo() 'Mengisi Combobox dengan daftar kategori dari tabel kategori
Me.cmbKodeKategori.ResetText() 'reset Combo kategori
'ambil semua nama kategori dari tabel kategori
Dim cmbKate = From kategori In db.kategoris _
Select kategori.NmKategori
'looping setiap hasil dari cmbkate dan tambahkan ke dalam combo kategori
For Each kate As String In cmbKate
Me.cmbKodeKategori.Items.Add(kate)
Next
End Sub
Private Sub resData() 'mengisi ulang data ke dalam DataGridView1
Dim qBarang = From barang In db.barangs _
Join kategori In db.kategoris _
On kategori.KDKategori Equals barang.KDKategori _
Select Kode = barang.KDBarang, Nama = barang.NmBarang, _
Kategori = kategori.NmKategori, Jumlah = barang.Jumlah, Harga = barang.HargaJual

Me.DataGridView1.DataSource = qBarang
End Sub
Private Sub resTeks() 'mengosongkan semua combobox dan textbox
isiCombo()
Dim daftarTextBox = From myControl In Me.Controls _
Where TypeOf myControl Is TextBox _
Select myControl

For Each myTeksBoks As TextBox In daftarTextBox
myTeksBoks.Text = ""
Next
End Sub
Private Sub dgKlik() 'sub procedure saat baris dalam DataGridView1 diklik
Try
Me.txtKodeBarang.Text = Me.DataGridView1.Item(0, Me.DataGridView1.CurrentRow.Index).Value
Me.txtNamaBarang.Text = Me.DataGridView1.Item(1, Me.DataGridView1.CurrentRow.Index).Value
Me.txtJumlah.Text = Me.DataGridView1.Item(3, Me.DataGridView1.CurrentRow.Index).Value
Me.txtHarga.Text = Me.DataGridView1.Item(4, Me.DataGridView1.CurrentRow.Index).Value

'isi combo kategori berdasarkan kategori tiap barang dari DataGridView1
Dim dkate = From kategori In db.kategoris _
Where kategori.NmKategori Is Me.DataGridView1.Item(2, Me.DataGridView1.CurrentRow.Index).Value _
Select kategori.NmKategori
Me.cmbKodeKategori.Text = dkate.Single

Catch ex As Exception 'Jika terjadi error, ya know lah...
MessageBox.Show("Error: " & ex.Message)
End Try
End Sub

Private Function katPerNama(ByVal n As String) As Integer 'mengambil kode kategori berdasarkan nama kategori
Dim kat As Integer = 0
Dim kate = From kategori In db.kategoris _
Where kategori.NmKategori Is n _
Select kategori.KDKategori

kat = kate.Single
Return kat
End Function
Private Sub DataGridView1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles DataGridView1.Click
dgKlik() 'memanggil sub procedure dgKlik saat DataGridView1 diklik.
End Sub

Private Sub cmdEdit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdEdit.Click
'saat tombol edit diklik
Me.cmdBaru.Text = "Batal"
Me.cmdEdit.Enabled = False
Me.cmdHapus.Enabled = False
Me.cmdSimpan.Enabled = True
edit = True 'sedang dalam proses edit
buka(True) 'buka semua control
Me.txtKodeBarang.Enabled = False 'kunci txtKodeBarang
Me.txtNamaBarang.Focus() 'Fokuskan cursor pada txtNamaBarang
End Sub

Private Sub cmdBaru_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdBaru.Click
'Tombol baru diklik
'lakukan pengeceka apakah sekarang tombol baru atau tombol batal
If Me.cmdBaru.Text = "Baru" Then 'jika yang diklik tombol baru
Me.cmdBaru.Text = "Batal" 'ubah text tombol baru menjadi batal
Me.resTeks() 'memanggil sub procedure resTeks : mengosongkan semua teks
buka(True) 'buka semua control
Me.DataGridView1.Enabled = False 'non aktifkan DataGridView1 sehingga tidak bisa diklik
Me.cmdSimpan.Enabled = True
Me.cmdEdit.Enabled = False
Me.cmdHapus.Enabled = False
Me.cmdKeluar.Enabled = False
Me.txtKodeBarang.Focus() 'Fokuskan cursor pada txtKodeBarang
Else 'jika yang diklik adalah tombol baru dengan teks Batal
Me.cmdBaru.Text = "Baru" 'ubah teks tombol baru menjadi Baru
buka(False) 'Kunci semua kontrol
Me.DataGridView1.Enabled = True
edit = False 'pastikan bukan dalam proses edit
Me.cmdSimpan.Enabled = False
Me.cmdEdit.Enabled = True
Me.cmdHapus.Enabled = True
Me.cmdKeluar.Enabled = True
dgKlik()
End If
End Sub

Private Sub cmdSimpan_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdSimpan.Click
'Validasi data inputan, belakangan akan dijelaskan...

If edit Then 'jika dalam proses edit / tombol edit diklik
Dim updatebrg = (From barang In db.barangs _
Where barang.KDBarang = Me.txtKodeBarang.Text).ToList()(0)

With updatebrg
.NmBarang = Me.txtNamaBarang.Text
.KDKategori = katPerNama(Me.cmbKodeKategori.Text)
.Jumlah = Me.txtJumlah.Text
.HargaJual = Me.txtHarga.Text
End With

Else 'jika bukan proses edit / tombol baru diklik
Dim brg As New barang With { _
.KDBarang = Me.txtKodeBarang.Text, _
.NmBarang = Me.txtNamaBarang.Text, _
.KDKategori = katPerNama(Me.cmbKodeKategori.Text), _
.Jumlah = Me.txtJumlah.Text, _
.HargaJual = Me.txtHarga.Text}
End If

Try
db.SubmitChanges() 'simpan semua perubahan, baik itu proses update maupun insert

Catch ex As Exception
MessageBox.Show("Error :" & ex.Message)
End Try

resData()
dgKlik()
buka(False)
Me.cmdSimpan.Enabled = False
Me.cmdBaru.Text = "Baru"
Me.cmdEdit.Enabled = True
Me.cmdKeluar.Enabled = True
edit = False
Me.cmdHapus.Enabled = True
Me.DataGridView1.Enabled = True
End Sub

Private Sub cmdHapus_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdHapus.Click
'saat tombol hapus diklik
If Me.txtKodeBarang.Text = "" Then Exit Sub 'jika kodebarang kosong, keluar dari sub procedure
'mencoba memastikan apakah data akan benar2 dihapus?
Dim rep As Integer = MessageBox.Show("Data tersebut akan dihapus?", "Konfirmasi", MessageBoxButtons.YesNo, MessageBoxIcon.Question)
If rep = MsgBoxResult.No Then Exit Sub 'jika hasilnya NO, data tidak akan dihapus

Dim deleteBrg = (From barang In db.barangs _
Where barang.KDBarang = Me.txtKodeBarang.Text).ToList()(0)

db.barangs.DeleteOnSubmit(deleteBrg)

Try
db.SubmitChanges() 'simpan semua perubahan ke dalam database
Catch ex As Exception
MessageBox.Show("Error :" & ex.Message)
End Try

resData()
dgKlik()

End Sub

Private Sub cmdKeluar_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdKeluar.Click
Me.Close() 'tutup form
'bisa juga menggunakan : Application.Exit()
End Sub
End Class

Sorry kalau masih ada yang keliru atau kesalahan dalam proses penulisan di atas..mohon koreksinya juga.. heheh..e



| Continue Reading..

7 Stunning tutorials to design modern interfaces for websites

Are you looking for some ideas to design an original interface for your next website project using the most popular JavaScript Frameworks such as Prototype, MooTools and Scriptaculous?

Take a look at this short compilation which includes a Facebook-style lightbox; a nice interface library to develope advanced interfaces for web applications, web sites and widgets; a gallery/slideshow system which simulate Flash animation; an image slider to create Flickr-like slideshow; an advanced image gallery to design Apple-like images galleries; an ajax based slider and a ligtbox.
1. FaceBox
Facebox
is a jQuery-based, Facebook-style lightbox which can display images, divs, or entire remote pages.
Read more...

 

2. MochauiMochaUI is a beautiful web applications user interface library built on the Mootools JavaScript framework to develope quickly Web Applications, Web Desktops, Web Sites, Widgets, Standalone Windows and Modal Dialogs.
Read more...

3. SmoothGallery 2.0
This javascript gallery and slideshow system (using mootools v1.11), allows you to have simple and smooth (cross-fading...) image galleries, slideshows, showcases and other cool stuff on your website. Absolutely Awesome!
Read more...

4. MooSlide revamp slider
Revamp of mooSlideBox is an ajax based slider easier to use than ever before, as it now has become a class. There are some options that can influence the look and behaviour of your box. Of course you can also have more than one box on your page! In addition you can now define, from where the box should fly in: from top or from bottom ( sample links show both variants ).
Read more...

5. MooFlow
Mooflow is an advanced image gallery with the following features:autoresize on changes of window dimensions, fullscreen option, scrolling with mouse wheel, scrolling with key input (left and right cursor), autoplay presentation loop, reflections via javascript, load images via json (with event or on startup), load images from a html-source with selector-filter, creates the UI automatically, UI skinable via CSS,fullsize viewer option, can run multiple instances and more.
Read more...

6. Simple images slider to create Flickr-like slideshows
If you like Flickr slideshow, this article explains how to implement it using Prototype-UI framework.
Read more...

 

7. Slimbox, the ultimate lightweight Lightbox clone
Slimbox
is a 4kb visual clone of the popular Lightbox JS v2.0 by Lokesh Dhakar, written using the ultra compact mootools framework. It was designed to be small, efficient, more convenient and 100% compatible with the original Lightbox v2.
Read more...

source : woork.blogspot.com

Technorati Tags: ,,

| Continue Reading..

Windows 7 Beta 1 available for download on December 2008

The constant wave of Windows 7 Beta chatter from Redmond, even without an official confirmation from Microsoft, is a clear indication that the company is gearing up to move the next iteration of the Windows client beyond the development milestone (M) stages.

With the Windows 7 roadshow approaching at a fast pace, as Microsoft is getting closer and closer to events such as the Professional Developer Conference 2008 (October), Windows Hardware Engineering Conference 2008 (November) and TechEd 2008 EMEA (November), the first Beta build of the operating system is starting to take contour. Still, Windows 7 Beta 1 will not make it to the October and November conferences, as it is planned for availability in mid-December 2008.

Microsoft has failed to either confirm or deny this piece of information at this point in time, but according to Mary Jo Foley, citing unnamed sources, Windows 7 beta 1 will drop just ahead of Christmas 2008. On Vista WinHEC 2008 homepage, Microsoft is claiming that Windows 7 “is coming soon” but doesn't give any indication of the actual deadline, although it is rushing hardware manufacturers to get ready for the operating system.

The Redmond giant released the first taste of Windows 7 back in December 2007. At that time, Milestone 1 was virtually indistinguishable from Windows Vista. Moving forward into the development process, the Redmond company has also produced a Milestone 2 Build of Windows 7, which was kept tight under wraps and wasn't leaked like M1.

The next move as far as the evolution of Windows 7 is concerned is a Milestone 3 release, which in its turn will be followed by the first Beta build of the platform. One thing is for sure, under the leadership of Steven Sinofsky, Senior Vice President, Windows and Windows Live Engineering Group, Windows 7 will have a short Beta life, approximately a year. Microsoft is reportedly not preparing a wide release of Windows 7 Beta until the client is either feature-complete or very close to the final version.

source: news.softpedia.com

Technorati Tags: ,
| Continue Reading..

ATI Radeon™ HD 4670 Series

The ATI Radeon HD 4670 and ATI Radeon HD 4650 graphics cards feature AMD’s TeraScale graphics engine, with 320 stream processing cores, and are based on AMD’s advanced second generation 55nm process.

The result is that even in today’s most demanding games like Crysis, the ATI Radeon HD 4600 series delivers up to double the performance of competing products at the same price.

Both the ATI Radeon HD 4670 and ATI Radeon HD 4650 deliver substantial gaming horsepower with minimal power draw – the ATI Radeon HD 4670 operating at under 60 watts and the ATI Radeon HD 4650 operating under 50 watts under full load – eliminating the need for additional power connectors and making installation a cinch. The ATI Radeon HD 4670 is immediately available with a frame buffer of 512MB GDDR3 memory with an MSRP from USD $79, while a 1GB DDR3-based variant is scheduled to ship later this month. The ATI Radeon HD 4650 features a frame buffer of 512MB GDDR2 memory and is expected to be available later in the month at an MSRP from USD $69.

Leading DirectX 10.1 support
Only AMD graphics offer top-to-bottom DirectX 10.1 support and the ATI Radeon HD 4600 series continues that legacy. Leading game developers are working with AMD to create a new generation of game titles utilizing DirectX® 10.1 to deliver improved features and performance for a better game experience. Developers including Electronic Arts’ Phenomic Studio and its forthcoming fantasy online real-time strategy game BattleForge™, and SEGA and its futuristic military real-time strategy game Stormrise™, both exploit DirectX 10.1 for advanced gaming performance and visual realism.

“As one of the largest computer system manufacturers in North America targeting the mainstream gaming space, we are committed to building systems that deliver tremendous value to our customers,” said Eric Cheung, CEO, CyberPower. “The leading edge technology that AMD is delivering to the mainstream marketplace with the ATI Radeon HD 4600 series is unsurpassed and we are proud to support AMD’s efforts to bring a high-end gaming experience to the masses.”

“You don’t have to be a professional gamer to appreciate the incredible performance delivered by the ATI Radeon HD 4600 series for under $100,” said Orlando Garcia, president and CEO, Frag Dominant.

Stunning HD viewing experience
The ATI Radeon HD 4600 series brings high-definition, home theatre quality video features to the mainstream segment. AMD has incorporated its second generation Unified Video Decoder (UVD 2.0) for advanced hardware HD video processing ensuring a smooth HD viewing experience on HD-capable monitors. In addition, it features support for HDMI 7.1 surround sound audio for an immersive big-screen entertainment feel.

Home theater enthusiasts will be captivated by ATI Avivo™ HD technology that delivers sharp images and vibrant color fidelity for Blu-ray™ and HD content. In addition, ATI Avivo™ HD technology delivers dynamic contrast adjustment for a crisp, vibrant picture with incredible quality, the ability for users to upscale DVD content to nearly twice the display resolution of HD content5, as well as take full advantage of Blu-ray functionality with picture-in-picture capabilities for bonus features such as director commentary.

Unsurpassed performance-per-watt
Built with efficiency, scalability and performance in mind, the ATI Radeon HD 4600 series sets a new performance-per-watt standard for mainstream graphics products, thanks to the enhanced bandwidth of DDR3, new power management capabilities that provide greater performance and efficiency, and 55nm technology. The series features AMD’s second generation ATI PowerPlay™ technology which allows for automatic power adjustments based on the activity of the graphics processing unit (GPU), resulting in significant power savings when the GPU is idle. Moreover, ATI PowerPlay enables advanced clock gating, as well as increased voltage and memory scaling, delivering performance on demand with exceptional efficiency.

Ecosystem support
The ATI Radeon HD 4600 series is supported by a dozen add-in-board companies offering custom designs of the products. Building high-performance versions of the ATI Radeon HD 4600 series products are ASUS, Club 3D, Diamond Multimedia, Force3D, GECUBE, GIGABYTE, HIS (Hightech Information Systems), Jetway, MSI, Palit Multimedia, PowerColor, SAPPHIRE Technology and VisionTek.

source : amd.com

Technorati Tags: ,,
| Continue Reading..

Top Ten Articles on ASP.NET

If you have missed on some top articles of ASP.NET on dotnetcurry.com, then this is a must read for you. The Top 10 articles have been decided by our editorial panel based on the popularity of the article, user rating and top views of the articles.

The articles have been arranged based on the total views from top to bottom. Let us know if you liked this concept and we may plan to publish a similar list every three months.

1. GridView Tips and Tricks using ASP.NET 2.0

In this article, we will explore some of the most frequently asked questions about the GridView control. The article discusses ten tips and tricks that you can use while using the GridView control.

2. How to open popup windows in IE/Firefox and return values using ASP.NET and Javascript

With the forums flooded with questions of opening a popup window, passing values to the popup window and then return values back to the parent page using both Internet Explorer and Firefox, I decided to take a plunge into the subject and experiment with an easy implementation. This article explains how to transfer values between the Parent page and a Pop-up window. The code has been tested against IE7 and Firefox.

3. Delete Multiple Rows In A GridView

The GridView allows us to delete a single row at a time. In this article, we will explore how to extend this functionality to delete multiple rows at a time.

4. Check/Uncheck all items in a CheckBoxList using ASP.NET and Javascript

A common requirement in most of the projects is to select/unselect all checkboxes in your CheckBoxList at once. In this article, we will explore how to perform this action using both ASP.NET and Javascript.

5. Going Mouseless - Implementing Keyboard Shortcuts in ASP.NET 2.0 Using Javascript

Keyboard shortcuts improve productivity by accomplishing tasks more quickly and without much effort. In applications, where the user has to select from a variety of actions to perform, keyboard shortcuts can save on time and effort. If you have used the new YahooMail or Gmail, you will be quiet familiar with these shortcuts. In this article, we will explore how to implement shortcuts and use it in our ASP.NET applications.

6. Save and Retrieve Images from the Database using ASP.NET 2.0 and ASP.NET 3.5

At some point or the other, we as ASP.NET developers, face the requirement of reading and writing images to the database. In this article,we will explore how to store images in the database as well as use an Http handler to display the image in an ASP.NET server control along with other controls.

7. How to call Server Side function from Client Side Code using PageMethods in ASP.NET AJAX

You cannot call server-side code ‘directly’ from client-side code. That is because by design, the server side code executes at server side and client side code at the client. However there are some workarounds. To call serverside code from javascript, you will need to use AJAX, and the easiest way out, is to use the ASP.NET AJAX Extensions. In this article, we will be using PageMethods to call server-side functions using javascript.

8. ASP.NET Validation Controls – Important Points, Tips and Tricks

ASP.NET validation controls provide an easy-to-use but powerful mechanism of ensuring that data is entered correctly on the forms. There are 6 validation controls included in the ASP.NET 2.0 and ASP.NET 3.5 versions.In this article, let us see some tips and tricks that can be applied to the validation controls.

9. ASP.NET 2.0 Interview Questions - Beginner Level (Part 1)

The questions mentioned over here are usually asked to freshers or candidates having less than 1 year of relevant asp.net experience.

10. ASP.NET AJAX Calendar Extender – Tips and Tricks

The CalendarExtender is an ASP.NET AJAX control that is associated with a TextBox control. When the user clicks on the TextBox, a client-side Calendar control pops up. The user can then set a date by clicking on a day, navigate months by clicking on the left and right arrow and perform other such actions without a postback. In this article, we will see some tips and tricks that can be applied to a CalendarExtender control.

I hope you liked the top ten list and I thank you for viewing it.

source : dotnetcurry.com

Technorati Tags: ,,

| Continue Reading..

Enter your email address:

Delivered by FeedBurner

Followers