Thursday, February 5, 2009
A Great Tutorial on LINQ
I found a tutorial on YouTube from rafaybinali on LINQ. Since the launch of .NET 3.5, Microsoft has been heavily promoting LINQ. This video series gets you started on LINQ pretty quickly.
Part 1
Part 2
Part 3
Enjoy!
Sunday, February 1, 2009
Saturday, January 31, 2009
Another One of My Documents Made the Scribd Hot List
Thoughts about the SharePoint Convention
- Overall, I was really impressed with the information at the conference. Granted, there were some sessions that left me cold. The "live examples" didn't work or took too long to do, and the presenter spent more time trying to get the demo to work rather than discuss the topic at hand. However, the majority of the presentations were really informative and productive, and I came out of the conference with more knowledge than I originally had.
- It was also a great networking opportunity. I was able to meet a number of professionals from all walks of life in IT (managers, administrators, developers) and all levels of SharePoint knowledge. I was able to learn about how these people were using SharePoint, and I learned about the trials and tribulations of using SharePoint in their respective environments.
- It was great to place names with faces. A number of presenters were authors of SharePoint blogs and/or books about SharePoint that I've read. One of the presenters (Errin O'Connor) co-authored one of the SharePoint books in my personal library.
If you are working in a SharePoint environment, I would suggest going to their next convention, which is being held in Boston in June. It's actually quite reasonable, especially if you register for the extreme early bird. In my case, the cost of the convention, flight from Pittsburgh to San Francisco, and hotel stay was $1000 less than a SharePoint Designer class that I took locally. Visit the SPTechCon site for further details on the next conference.
P.S. - I'll start publishing tutorials again on Monday!
Friday, January 23, 2009
Off to San Francisco for a SharePoint Convention (and note about this site)
San Francisco SharePoint Convention
Next week I'll be at the SPTechCon (SharePoint Technology Conference) in San Francisco. I'm pretty excited to go. The workshops look interesting. Since I'm arriving in the city around lunchtime on Monday (PST), and the conference starts on Tuesday, hopefully I get a chance to go to Chinatown.
If you're going to the SharePoint convention at the Hyatt Regency San Francisco Airport on January 27-29, I hope to see you there!
Note About This Site
From what I can tell from the access logs and the comments left on various posts, it looks like my tutorials seem to be very popular. While I'll still feature essays and commentary geared toward IT students, I will probably start putting more focus on publishing tutorials in my posts.
What kind of tutorials would interest you? Do you like documents, videos, or both? Please let me know my leaving a comment or by contacting me. My contact information is on my profile - click on my profile for my contact information.
Wednesday, January 21, 2009
Getting a Job in an EVEN TOUGHER Economy
On the plus side, the Information Technology market (in general) has not been affected by the recession as other markets such as manufacturing have been affected. On the minus side, most companies are looking to slash costs. Unfortunately, one of the places where companies will slash costs is Information Technology. Translation: spending on projects, new technologies, and human resources will be cut or suspending, and outsourcing to countries who pay workers less than their American counterparts will be an option again.
In a bad economy, it's an employers' market. Employers are choosier in selecting candidates for positions. Some employers will go so far as to pass over a job candidate if they don't meet the exact requirements for the job. The reason why employers are choosier because companies are watching their spending in the rough economy, and the employers want to make sure that they get a maximum return on investment on their human resource.
What do you need to do to get a job in a tough economy?
- Re-read my original article on getting a job in a tough economy. All of those tips will help you with distinguishing yourself from the other job seekers.
- You can no longer rely on being a pure "digithead" anymore. You need to be business-savvy as well. Unfortunately, a number of IT workers focus only on being an expert in their chosen technology, which leaves them lacking in the following skill set that companies also want in their IT workers:
- They don't understand general business operations
- They don't know how to devise solutions under time and budget constraints.
- They don't understand how to devise solutions that increases worker productivity or improves a worker's day-to-day job
You need to know general information about your company's industry and how IT impacts the company's "bottom line". Do you know how to implement IT solutions that will increase productivity, reduce errors, reduce costs, make the company an industry leader, make compliance with government regulations easier, and increase profits without spending a lot of money? Do you know the restrictions that you have to follow because the company's industry has strict government regulations? - You have to resign yourself to the fact that you may have to relocate. This is tricky, and I understand that it may be a difficult decision because of financial or familial reasons. However, it's an option that many workers are taking because they need to pay the bills. It may be an option that you have to consider.
- Network, network, network! Remember the "six degrees of separation" principle - there are up to six degrees of separation between you and the person who can help you find the job. The people in your immediate network may not be able to directly find you work, but there may be people in their own immediate network that may be able to help you. Here's a perfect example of the "six degrees of separation" principle: a friend of my mother's recently was laid off from her marketing job at a retirement community. My mother couldn't find her anything, but she told me about her friend's plight. I knew that the school where I teach was looking for a community relations representative. I told my mother, who then told her friend, about the position.
The New York Times wrote an article about US Cities in recession and US cities that are actually growing or not affected by the recession.
New York Times: For Most Cities, Recession Has Arrived
Friday, January 16, 2009
VB.NET Tutorial: Integrating Flash In Your Application
Click the link to download the source code for this post
Licensing and Warranty
You may use the code as you wish - it may be used in commercial or other applications, and it may be redistributed and modified. The code is provided "as-is". No claim of suitability, guarantee, or any warranty whatsoever is provided. By downloading the code, you agree to defend, indemnify, and hold harmless the Author and the Publisher from and against any claims, suits, losses, damages, liabilities, costs, and expenses (including reasonable legal or attorneys' fees) resulting from or relating to any use of the code by you.
Overview
You may have a situation where you want to or need to integrate a Flash film (swf) in your application for a variety of reasons. You can easily do this in Visual Basic .NET using the Shockwave Flash Object. I have created an illustration of integrating Flash and VB.NET by creating a very simple flash player written in VB.Net
You can download the sample code from the link that appears at the top of this post. Note that you may have to modify the code to your environment. If you want to see a demonstration of this application, view the video below:
Thursday, January 15, 2009
Another End of an Era?
Unfortunately for Apple, this wasn't good news for the short term.
After the announcement of Jobs's leave of absence was made, Apple's stock dropped 7% in after-market trading, and RBC Capital Markets cut the stock rating to "underperform". From what I've seen on the business news channels, the business analysts are speculating that stockholders are losing confidence in Mr. Jobs because they think that he is not being forthright with the severity of his illness.
Personally, I think that the stock fell because of a combination of the recession and the fear of the unknown. Tim Cook will be assuming Steve Jobs's responsibilities while he is on medical leave. Although Mr. Cook assumed the CEO responsibilities in 2004 when Mr. Jobs was recovering from cancer, he is still a relative unknown. The charismatic Mr. Jobs was the "face" of Apple for so many years. People saw the enthusiasm and energy when he unveiled a new product. It was obvious that Apple enjoyed being the technology innovator. Many in IT watched Apple grow exponentially in other markets other than the personal computer market. After all, the term podcasting wouldn't be in our lexicon today if Apple didn't invent the iPod. With Steve Jobs, the public knew where Apple stood. Without Steve Jobs, questions arise: What direction does Mr. Cook plan on taking with Apple? Will Mr. Cook demonstrate the same enthusiam over inventions and innovations in IT, or will he be just "the substitute teacher" until Mr. Jobs returns or until they hire a new "Steve Jobs"? What is the real chance that Steve Jobs is coming back? Those are the questions that would make an investor think about whether the stock will give them a high return on investment or a low return on investment.
This is the time to watch what Apple will do next. I also hope that Mr. Jobs's illness isn't serious and he makes a speedy recovery.
Sunday, January 11, 2009
THREE of my whitepapers made the Scribd Hot List
- TCP/IP
- Accessing SharePoint Data Using C# Without Running Code On the SharePoint Server (Part 1)
- Linux Console Commands
Thursday, January 8, 2009
SharePoint Tutorial: Creating a Custom List Form for a SharePoint List
- There is a form for displaying a selected item
- There is a form for adding a new item
- There is a form for editing an item
While the built-in forms are sufficient for the tasks at hand, you may run into a situation where the built-in forms do not satisfy your needs. For example: I had to recently create a list on a site collection. My business user wanted the other users to be able to enter their information in the form when adding it to the list. However, when they modify the record, the user should not be allowed to modify certain fields after they entered the information.
With SharePoint Designer 2007, you can create a custom form for any of the actions (display, add, edit) and attach it to the list.
I've created a document which illustrates how to create a custom list for a SharePoint list and attach the custom list to a list action.
I've also created a video illustrating how to customize the edit action.
If you have any questions, please post a comment or send me an e-mail, and I will answer your question to the best of my ability. You can get my e-mail address by viewing my Blogger profile.
Monday, December 29, 2008
SharePoint Tutorial: Connecting SQL Reporting Services to a SharePoint List
I've created a tutorial and a video on how to do this.
If you have any questions, please post a comment and I will try to answer to the best of my ability.
Wednesday, December 24, 2008
Feliz navidad, amigos!
Here are a few treats for you. I hope you like them.
The first show is Bolek and Lolek having a little winter fun. For those of you who aren't familiar, Bolek and Lolek is an adorable cartoon from Poland.
The second show is one of my favorite Christmas songs. It's special to me because I lived in Puerto Rico for a few years, and I've spent a few fun Christmases in the land of Los Boriquas. It brings back a lot of happy memories. This is a live performance of Feliz Navidad, from Jose Feliciano.
The third show is another of my favorite Christmas song arrangements. This duet from David Bowie and Bing Crosby, in my opinion, rocks the house! It's a great mix of the classic and the contemporary. This is one of Bing Crosby's final appearances.
Finally, this is for my mother. Her favorite Christmas song is Happy Christmas (War is Over), by John Lennon. Others have covered this song, but she only likes the version from John Lennon.
Tuesday, December 23, 2008
C# Tutorial: Using FtpWebRequest to Perform FTP Actions
Click the link to download the source code for this post
Licensing and Warranty
You may use the code as you wish - it may be used in commercial or other applications, and it may be redistributed and modified. The code is provided "as-is". No claim of suitability, guarantee, or any warranty whatsoever is provided. By downloading the code, you agree to defend, indemnify, and hold harmless the Author and the Publisher from and against any claims, suits, losses, damages, liabilities, costs, and expenses (including reasonable legal or attorneys' fees) resulting from or relating to any use of the code by you.
Introduction
Before .NET 2.0, coding FTP functionality was somewhat cumbersome. You either had to purchase third-party classes and libraries or you had to spend hours coding in order for the functionality to work.
.NET 2.0 launched a number of tools to make development easier. A class called FtpWebRequest in the System.Net library makes coding FTP functionality much easier.
I have created a demonstration on how to use this class. In this demonstration, I will be creating a GUI application that will upload a file to an FTP server.
If you have any questions, please leave a comment and I will answer your question to the best of my ability. :)
The Tutorial
You can download the source code for this tutorial from the link that appears at the top of this post.
Part 1:
Part 2:
Part 3:
Additional Reading
OpenFileDialog (MSDN)
FtpWebRequest (MSDN)
Simple FTP Demo Application Using C# .NET 2.0 by Mohammed Habeeb
Uploading File using FtpWebRequest by Faraz Shah Khan
Thursday, December 18, 2008
C# and SharePoint 2007 Tutorial - Accessing the SharePoint Data Using Web Services (Part 3)
I have published part 3 of the series. The tutorial can be accessed from the link at the end of this post.
If you have any questions, please post a comment and I will answer to the best of my ability. :)
Enjoy!
Tuesday, December 9, 2008
C# and SharePoint 2007 Tutorial - Accessing the SharePoint Data Using Web Services (Part 2)
I have published part 2 of the series. The tutorial can be accessed from the link at the end of this post.
If you have any questions, please post a comment and I will answer to the best of my ability. :)
Click to read Part 3 of the tutorial
Enjoy!
Monday, December 8, 2008
Workaround for Installing SharePoint Extensions for Visual Studio on Windows XP
Note: Part II of the SharePoint "Behind the Scenes" Tutorial will be posted tomorrow.
The SharePoint Extensions for Visual Studio (versions 2005 and 2008) make SharePoint development so much easier. However, it assumes that you are developing on a machine with Windows Server 2003, which has the SharePoint Server components already installed.
What if you develop on a Windows XP or Windows Vista machine, and you port the code to a SharePoint server? Unfortunately, you cannot install the SharePoint Extensions on a Windows XP or Windows Vista machine out of the box.
However, with a small registry hack, you will be able to install SharePoint Extensions for Visual Studio on a Windows XP or Windows Vista machine. I did the registry hack on my XP machine, and I was able to install the extensions.
Warning: Approach registry hacks with caution. Make sure you make an image of your machine or a backup of your registry before doing the hack in case something goes wrong.
If you would like to see how it's done, click here to see the video demonstration (WMV file)
Source: Janne Matilla's Blog
Wednesday, December 3, 2008
C# and SharePoint 2007 Tutorial - Accessing the SharePoint Data Using Web Services (Part 1)
If you have any questions, please post a comment and I will answer to the best of my ability. :)
Click to read Part 2 of the tutorial
Click to read Part 3 of the tutorial
Enjoy!
Monday, December 1, 2008
So how bad is Wikipedia really?
I was listening to the radio the other morning while I was getting ready for work, and the radio host had a professor from one of the local universities as his guest. I wasn't really paying attention to the interview until the professor haughtily stated that he "automatically fails papers that cite Wikipedia as a source." My first thought was, "Hmm - pretty draconian, don't you think?" However, it made me think - is Wikipedia really that bad?
Since 2001, Wikipedia's purpose was to become an encyclopedia that can be read and edited by anyone. Although it was intended to be a supplement to Nupedia (the on-line encyclopedia written by experts), it eventually replaced Nupedia, and it has become a phenomenon.
The openness of Wikipedia is a blessing and a curse.
The blessing is information can easily change virtually in real time, whereas with printed media, it would take time to rewrite or add an entry and republish the media. For example, if a major political figure passes away or if someone recently gets elected to office, the information is readily available on Wikipedia within seconds of the announcement, while one would have to wait for a new edition of the printed media. I also think the ability to openly share ideas and thoughts is a blessing as well. Sometimes the academic press overlook people who are extremely knowledgeable in a subject because they don't have an advanced degree.
The curse is any yahoo with a computer can write anything he or she pleases in the article. There are numerous incidents of pranksters gone wild on Wikipedia, including:
- In 2005, Brian Chase anonymously posted that John Seigenthaler, a well-known writer and journalist, had a hand in the assassinations of Robert Kennedy and John Kennedy. This article remained on the site for four months.
- In 2007, Turkish historian Taner Akcam was briefly detained in Montreal because of false information on his Wikipedia page about being a terrorist.
- Numerous reports on false information being added to celebrities' or well-known figures' Wikipedia pages, including most recently reports on false information on former Vice Presidential candidate Sarah Palin's and golfer Fuzzy Zoeller's Wikipedia pages.
Another problem that I see with Wikipedia is they are slow to monitor information posted on a page. To prove this, I did an experiment with Wikipedia. I anonymously posted false (but not libelous) information about a well-known figure on the Wikipedia page - I won't say which figure ;). It took them about 4 weeks to remove the false information on the page.
So, is Wikipedia really as bad as they say? Depends on what you are researching. Based on my experience, I found that the majority of the technology articles were accurate and I could safely cite a number of them as sources. I also found that a number of pages on tangible objects (like cats and chicken soup) were also accurate. However, I have found that posts on controversial figures or events were not always accurate and were frequently "victims" of Wikipedia vandals.
I also think that despite some of its problems, Wikipedia gets too much of a "bad rap" from academia. For example, in this story in the New York Times, a history department at Middlebury College banned citing Wikipedia as a source because there was an obscure error in a post on the Shimabara Rebellion. If this obscure error was printed in an academic history book, I don't think that it would have caused as much of a kerfuffle.
P.S. On a lighter note, here's some humor about Wikipedia (and the Terms and Conditions) from one of the funniest stand-up comedians ever - Eddie Izzard (WARNING: STRONG LANGUAGE):
Friday, November 28, 2008
New Blog - Linux Training
http://mwalinu-linuxtraining.blogspot.com
Thursday, November 27, 2008
Adding a DSN to a Machine using Visual Basic .NET Code
Click the link to download the GUI version of the source code for this post
Click the link to download the Console version of the source code for this post
Licensing and Warranty
You may use the code as you wish - it may be used in commercial or other applications, and it may be redistributed and modified. The code is provided "as-is". No claim of suitability, guarantee, or any warranty whatsoever is provided. By downloading the code, you agree to defend, indemnify, and hold harmless the Author and the Publisher from and against any claims, suits, losses, damages, liabilities, costs, and expenses (including reasonable legal or attorneys' fees) resulting from or relating to any use of the code by you.
While it is relatively simple to manually add a DSN to a machine, you may have a project where you have to automatically add a DSN to a machine. For example, I was working on a PC-based application project (including the setup and deployment package) that used a DSN on the user's PC to connect to the data source. My user base wasn't the most technically savvy bunch, so I wanted to make their user experience easier by automatically creating the DSN for them. Using .NET, you can create a program that will automatically create a DSN on a machine.
I have two sample versions of this application. The first sample is using a GUI application to perform the process. The second sample is using a console application to perform the process. You can download one or both of these samples by clicking on the links at the top of the post. I also published an instructional document on Scribd that you may also use for your reference.
Enjoy!