Jack is Here, asp.net findings

As a software engineer, I focus on .NET, especially asp.net, C#, WCF and so on, and I am also very interested in Search Engine Optimization.

Entries Tagged ‘Click’

Halo Combat Evolved: Error Message: Cannot Allocate Required Memory

Symptoms
When you start Microsoft Halo: Combat Evolved you may receive an error message that is similar to the following:

Cannot allocate required memory. Some application has loaded where Halo wants to be located. The title of this error message varies depending on the program that is blocking Halo from loading. The title is the path of the program file that must be unloaded.
If you try to run Microsoft Halo: Combat Envolved you may receive a dialog box that states Gathering Exception data. After the dialog box disappears, you receive the following error message:

Halo executable has encountered a problem and needs to close. We are sorry for the inconvenience.If you click Click here, a dialog box appears. It contains the following information about the error:

AppName: halo.exe AppVer: 1.0.2.581 ModName: halo.exe ModVer: 1.0.2.581Offset: 00044b11AppName: halo.exe AppVer: 1.0.0564ModName: halo.exe ModVer: 1.0.0.564Offset: 0005aa82
Resolution
To resolve this issue, use the following methods in the order that they appear.
Note Because there are several versions of Microsoft Windows, the following steps may be different on your computer. If they are, see your product documentation to complete these steps.
Method 1: Restart your computer by using a clean boot procedure When you start Microsoft Windows, typically there are a number of programs that start automatically and run in the background that may interfere with the game. These programs may include antivirus and system utility programs. When you perform a clean boot, you prevent these programs from starting automatically.
You must be logged on as an administrator or a member of the Administrators group to complete this procedure. If your computer is connected to a network, network policy settings may also prevent you from completing this procedure.
To restart your computer by using a clean boot procedure, follow these steps if you are using Microsoft Windows XP:
Note You may experience a temporary loss of some services functionality when you follow these steps. Restoring the settings restores the functionality, but the original error message or behavior may return as a result. Click Start, and then click Run.In the Open box, type msconfig, and then click OK.On the General tab, click Selective Startup. Under Selective Startup, click to clear the following check boxes: Process SYSTEM.INI FileProcess WIN.INI FileLoad Startup ItemsOn the Services tab, click to select the Hide All Microsoft Services check box, and then click Disable All.Click OK, and then click Restart. To perform a clean boot procedure, click the Play button to view this streaming media demonstration.
To return from a clean boot state, click the Play button to view this streaming media demonstration.
For additional information or to view steps for other operating systems, click the following article number to view the article in the Microsoft Knowledge Base:
331796?(http://support.microsoft.com/kb/331796/) Games: How to perform a clean boot to prevent background programs from interfering with play If the issue continues to occur, go to the next method.
Method 2: Check the list of known issues The following programs are known to have this issue with Halo: Combat Evolved: Meaya Popup Killer-The file that is reported as being in memory is either the MK.dll file or the MK2.dll file. For additional information, visit the following Meaya Web site:
http://www.meaya.com(http://www.meaya.com) Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.

Perfect Solutions: trim, split, merge or convert videos and extract sound clips

Perfect Solutions: trim, split, merge or convert videos and extract sound clips

?One of the best tutorials for multimedia processing

Find out more at http://www.web-video-player.com

?Abstract:
Trim, split, merge and convert videos (in batch);

Extract audio from video clips; ??

Best optimize videos for portable devices

Supplementary:

Download YouTube/Google videos or movies from other websites;

Play videos of different formats;

Put videos to websites/blogs/forums and more and play online

?Description:

?=> Best optimize videos of different formats for Nokia series, iPod series, iPhone series, PSP, Zune, Samsung, Sony Ericsson, Motorola, Blackberry, Dopod, Creative Zen, Archos, iRiver, 3GS, Google phone (T-mobile G1) and other portable devices.

?=> Convert movies, flash videos (FLV), MOV, WMV, MPEG-4, MPG, RM, RMVB, AVI, DivX, XviD, VOB, ASF, DV, 3GP, M1V, M2V into AVI, SWF, WMV, MP4, MOV, 3GP, FLV, MPG, MPEG4, MPEG and MPEG-II

?=> Extract audio / music from video clips into MP3, WAV, WMA, M4A, OGG, AAC, AMR and MP2

?=> Put videos to websites/blogs/forums and more and play online

Here we correct what is needed is one single application – Socusoft's Web video player. You may download the software from the official site: http://www.web-video-player.com

Socusoft Internet video player is the best one of the tools, web design and multimedia processing. Let us look at its salient features are as follows:

Features of Web Video and Player Function:

– GUI is easy to navigate
– Cool player templates for web videos and websites
– Rich parameter settings for web videos and players
– Show/Hide of video play list and playback feature
– Extremely easy to publish web videos and embedded player
– Convenient to get ready-made files for Dreamweaver or FrontPage

Features of Video Conversion Function:

– Accept various input/output video formats
– Multiple select video files for batch conversion
– YouTube/Google video wizard download
– Customize video and audio properties independently
– Ready-made output video parameters for various portable devices
– Convert videos at high speed with perfect output quality
– Extract audio into various formats from video clips
– Customize output video frame size
– Merge video clips into one movie
– Split files into smaller parts
– Integrated video player
– User-friendly interface
– Easy to use.

?

?Perfect Solutions

?Open integrated converter

Launch Socusoft Web Video Player and click “Convert” on the upper right side to open the integrated converter.

split-merge-convert-video-extract-audio

Add video in batch/ Capture video from DV/Import video from Internet

Go to File -> Add Video Files. Choose the video that you need to edit. If you need to convert videos in batches, choose “Batch Add Video Files”. You can also capture Video from DV by choosing “capture Video from DV” when necessary. You can even import videos from Internet from the menu options.

split-merge-convert-video-extract-audio

Edit Video (video size, video bitrate, audio bitrate and more)

The lower right window displays the settings for the selected video files. You can customize the properties of the output files here such as output duration, video size, video bitrate and audio bitrate.

split-merge-convert-video-extract-audio

You can also customize output video in “option” panel. Click the shortcut button “Option”.

split-merge-convert-video-extract-audio

Or click “Edit” > “Options”, and you will see the window “Options” for parameter settings.

split-merge-convert-video-extract-audio

You can adjust relative parameters such as audio parameters, video size and audio/video sync.

split-merge-convert-video-extract-audio

When you finished the above, you may click “Encode” button to output your customized videos.

Trim / split videos

If only the good parts of the video if you want, you can trim the video. Press

split-merge-convert-video-extract-audio

Merge video clips into one movie

?Click “Add Video” to add video files. In video list area of the main window, press the Ctrl or Shift button to choose video files that that you need to merge. Then right click on them and choose Merge Output. After that, click “Encode” button to start video merge.

Tip: If you can hold your click and to change the order you need to change the order of the merge, and then drag the file. If you cancel, right-click on the file list can be required to merge, unmerge the output selection.

split-merge-convert-video-extract-audio

?Download videos from YouTube/Google or other websites

?Click “YouTube” button in the main window or go to File > Import Video from Internet. Then, copy the URL of the video and paste it into the form of the pop-up window. After that, double click the bar to download the video from YouTube.

?Put videos to websites/blogs/forums and more and play online:

For more information about the guide, please visit the website.

?Extract sound clips/music from videos/movies

?Turn to the right of the main window and click the button, as shown in the screenshot below. Different audio formats such as mp3, wav, wma, m4a, ogg, aac, amr and mp2 are listed on the drop-down menu, some of which are customized. Choose the audio format that you need. After that, click “Encode” button to extract audio.

split-merge-convert-video-extract-audio

?Convert videos/movies for portable devices/ PDAs/ between different formats

?With the excellent tool — Socusoft Web Video Player, you may convert movies or videos of different formats such as FLV, MOV, WMV, MPEG-4, MPG, RM, RMVB, AVI, DivX, XviD, VOB, ASF, DV, 3GP, M1V, M2V into AVI, SWF, WMV, MP4, MOV, 3GP, FLV, MPG, MPEG4, MPEG and MPEG-II so as to best optimize videos for Nokia series, iPod series, iPhone series, PSP, Zune, Samsung, Sony Ericsson, Motorola, Blackberry, Dopod, Creative Zen, Archos, iRiver, 3GS, Google phone (T-mobile G1), other PDAs and portable devices.

Choose the output video format for your portable devices such as Nokia, iPod, iPhone, iPod touch, PSP, Zune, Samsung, Sony Ericsson, Motorola, Blackberry, Dopod, Creative Zen, Archos, iRiver and other PDAs. Turn to the bottom right of the main window and click the button. There are a lot of video formats listed on the drop-down menu, some of which are customized. Right here, take Nokia as an example. Choose “Nokia” and you will see some of the popular Nokia models listed such as N95, N93, N73, N75, E62, 5300, 6555, 6085 and 6126. Check your mobile phone model and choose it. If your model is not listed there, don’t worry. You can select “Nokia 3GP series Video” or “Nokia MPEG-4 series Video”. You can also customize the video you want such as video size, video bitrate and audio bitrate.

split-merge-convert-video-extract-audio

Click “Encode” to start video conversion. As for the conversion speed, it can be very high. Sometimes, it may be lower, depending on your computer and the size of the file.

split-merge-convert-video-extract-audio

When completed, click “Folder” to get the converted video.

split-merge-convert-video-extract-audio

Now, get the data wire and transfer the converted movie to your mobile phone or other portable devices and enjoy it any time.

?

Making Minisites With Joomla Cms

While almost everyone has heard of minisites by now if you know anything about internet marketing, very few people have considered using an open source and free CMS or content managment system, like Mambo or Joomla, which is based on Mambo code, to produce minisites.

What are the advantages of using a CMS like Joomla to rapidly make and deploy minisites on the internet?

1. Joomla is easy to use and you can use thousands of free CSS based templates that support the latest standards and have a site up in hours, not days.

2. Joomla support easy wysiwyg or what you see is what you get visual editors that allow you to set up and add content to a site as easily as using a word processor on your desktop computer. What this means is that your site supports the latest web 2.0 standards and can grow in content easily and quickly without redeveloping your website from scratch.

3. Joomla has thousands of extensions and you can easily produce websites that rival sites costing tens of thousands of dollars for nothing. You can easily add membership sites, photo galleries, streaming video, audio, chat, and forums as well as rich blogs. In short, everything to make your site “sticky” and keep bringing back those visitors over and over again.

4. Joomla makes changing the look of your site a snap, since you can change your template and quickly change the look and feel of your website in just minutes, allowing you to freshen up your site every once in a while.

5. Joomla is continuously updated and is now releasing a beta version called 1.5. Most people are still working on 1.03 or so, but it is nice to know that future upgrades are available.

6. Joomla is well supported by many Hosting services now, and is able to be installed by Fantastico scripts with just one click. There is a user manual and several video packages that show you how to make templates and set up membership sites for profit.

7. Joomla and most of it’s extensions or add ons are free and open source so it is cheap to get a very professional web presence on the internet.

For all the advantages, it will take a few weeks to get used to the new methodology of using a CMS to manage and deploy your websites unless you are used to making websites from your browser. Once you get the hang of it however, you never want to go back to the slow laborious system of desktop website creation and uploading.

I recommend you go to one of the sites called Joomlatutorials.com and go through the tutorials right after installing Joomla and before you do any work on your own site. Basically, you start with a template that you get for free at the largest free site template repository called www.joomla24.com. They have over 1,500 free templates you can start with. Alternatively, you can go with one of the many commercial template companies that offer a variety of paid templates that you can modify and make into your site.

Once you select the template, you must change the permissions on your template and media areas of your template section in Joomla under your public html directory so that you can make changes to the appropriate template and files.

You do this either within joomla or most often, from cpanel using your file manager functions and set the file permissions to 777 for the folders and 666 for files.

You must get a log in from your hosting company after installation so that you can go into the administrators section that you manage and build the site from and make changes and add content to the site.

After you log in, you go to the templates section in the site manager and click on new.

Then you have a dialog that prompts you to browse your computer and select the site template that have presented in ZIP format and upload the template on your site. After a few minutes if it is successful, and she tells you, yes, and then click Next. Then your website template will work with the other standard templates is listed. Click the radio button to select the template that you installed the default template.

Then click on the radio to select the default template, and then click HTML in the HTML template to edit for the page. They are for the control of images on the page. They usually start with the word
You must be sure the graphic is slightly smaller than the size, so that the header graphic or logo is displayed without messed up the format of the template or page. You need to upload using an FTP program like Transmit or Filezilla the image file that you want to use for your logo or header image. Once you have the Joomla folder into the public html folder, you must click on it to find the template folder. Inside that there is a picture folder. You need to upload your chosen image into that folder. There should be. Jpg or. Gif file in the same format as that used in the template, if possible. Once the image appears in the file, the next task is to upload the HTML code into the HTML file, modify and replace with the name of the image. Then drag when you show your www.sitename / joomla your front page of your graphic logo or header file.

Next, you must click the buttons on the front page, you do not need to unpublish. They enter the Main Menu and unpublish section is anything but the Home button. You must go to Joomla Extensions page and go to section menu and a menu extension, which you will find pictures and other files to your menus. Then the appropriate file extension will be ready when it's time for your menu link, which is the last step in setting up your website.

One thing you can do now is figure out what extensions or extras you will need on your website. You can just have a straight minisite but you will do better in the search engines and in the eyes of your visitors if you have a theme based content site and not just a sales page. If you add a chat client, a forum, and a blog to your site then you will find that your visitors become involved with the site and keep returning. The more they are on your site, the greater the chance they will buy what you have to offer, be it an affiliate offer, an ebook, or a membership.

Check each section of the extensions. Especially the graphics section where all the banner advertising extensions are. You can monetize the site with banners and/or text ads that will bring additional money onto the site. It is true that if you use adsense on your site, your site will show up in the search engines sooner. There are several adsense modules. You will need to add docman or Remository if you will be setting up files for download on your site. Community builder or AEC will serve you well if you are setting up a membership site. You will need One of the wsiwyg content editors in the content and news section so that you can edit your pages easily and quickly. You must set up your wysiwyg editor as your default editor for Joomla. Then when you go to add content, you can easily and quickly edit your pages. You should go to the Blog section and add X-Blogg for editing your blog offline and download one of the blog programs for easily setting up and running a blog from your site. You will need to add one of the payment processors and/or a shopping cart for your site if you will be selling products from your site. Once you have added all the extensions, be it a component, module, or mambot you are ready to go to the next step.

Next, you will begin the sections you need in your site. Then you'll categories to add the sections until you have split your website into an organized unit. Then you will edit the first page with the content editor and the WYSIWYG editor have made the default content editor. You add images, and add items, so that everything is done to your satisfaction. Use surveys, banners, and the Adsense or other text ads for your affiliate programs on the front page on a rotating banner ad or rotating schedule. So you can track where most of your sales are coming from. Keep adding articles and other sections of your page until it is finished. Do not forget to add, sales pages for each product or affiliate opportunities you promote. Then paste

Once that is all set up check all your images and your spelling for all your articles. Check your links and make sure that everything is in order. Make sure your shopping Cart is working properly by adding a sample products and ordering them. Make sure that any forms are working properly to add your visitors to your opt in list.

Add your newsletter buttons and set up your mailings. Set up your autoresponders for any orders or requests for you newsletters. I suggest you set up your newsletters in an archive section on your site so that people can download them from the site in case their email Spam filter eats your newsletter.

Once everything looks good publish your pages.

Congratulations, your site is now live. Write in your area of expertise, two articles a day, you will have circulated the Internet in 1001 all income you have the time to make money articles. You only need to submit an article directory and add a signature file that you mentioned your experience and the main site. As I said, if hundreds of websites to do so you will soon see a flood of traffic to your website, and follow the money! Joomla holiday greetings!

How to Create a Data Source in Visual Studio.net

Welcome, in this tutorial we are going to create a new data source in Visual Studio.Net using the built in wizards and drag-n-drop. To begin go to “File”, “New”, “Project” and name the project something like “MyPubsDataSource” or whatever makes sense to you. This will be a windows application although it’s not really important because we just need any type of project because creating a new data source is commom to all project types. Ok after you enter a name for your project and press the “Ok” button VS.Net will have created your first form for you named “Form1.cs”. At this point the form1 view should be already in design view(If you see a rectangular window that reads “Form1.cs[Design]* then you are in design view.
Ok next click once anywhere on the form and then select the “ToolBox” tab on the left of the design window. If it’s not viewable then select “View”, “ToolBox” from the main menu.(See image below)

[Click to see full-size]

Which will show you the window below.

[Click to see full-size]

Ok, next select the “SQLDataAdapter” from the ToolBox and drop it anywhere onto your form. Once you release it, it does not actually sit on top your form but instead it positions itself just below your form inside the design area. At this point you will have another window in front of you for you to choose your data source like this(See image below).

[Click to see full-size]

In the next window, select Microsoft SQL Server or Microsoft SQL Server 2005 Express or whatever data your server can be. The next thing to do is enter the server name if you know what this is, if not click the drop arrow and select from the list of providers. (See picture below).

[Click to see full-size]

Next, if your server is setup for it then you can choose “Windows Authentication” if not and you know what your SQL Server login settings are then enter the user name and password. Now you want to test your settings and make sure you can connect to your server so click on the “Test Connection” button now. Next you will get a message box showing the connection status of the test. If it’s ok press the “OK” button and the form will close and you will be back at the Data Adapter Configuration Wizard. Select either “Yes or No” to save the password for your connection in the App.config file. (Please note if you select “No” you will be promted for it each time you run any of your applications that need to connect to SQL server for data). I normally select “Yes” as I setup a login on SQl Server with only enough rights to handle the data I’m working with.
Ok, now click “Next” to advance to the next screen of the wizard. Here you can use sql statements, use existing stored procedures, or create new stored procedures. For now select “Use SQL Statements” and press the “Next” button.(See image below)

[Click to see full-size]

The next window you will see will be this one.

[Click to see full-size]

Select the “Sales” table and press the “Add” button and then the “Close” button.

The following window will appear below.

[Click to see full-size]

Select the (All Columns) square to place a tic mark and then press the “OK” button to save and close the window. You are once again back at the wizard and now you will see this code in the center.

SELECT sales.*
FROM sales
Ok, great, now press the “Next” and then the “Finish” button. In design view of Form1 just below the bottom of the form right click on the “sqlDataAdapter” and select generate dataset. Just go with the default settings and press the “OK” button. Ok now right click on the “sqlDataAdapter” again but this time choose “Preview Data”. On the form that pops up(See image below) press the “Preview” button

[Click to see full-size]

You will now see your data in the resulting form.(See image below)

[Click to see full-size]

Now look at the ball only because once data is
Thank you for taking the time to go through this tutorial, I really hope you have gained some knowledge. I fully intend to make these tutorials as complete and as easy as possible. Until next time take care, continuous learning.
JR

>> View the entire article here

Creating Sql Database Connection in Asp.net Web Application Through C#

1: Open visual studio 2005 and from FILE select NEW-> WebSite, then from pop-menu select asp.net website (Note: Language must be C#) , then press OK.

?

2: Now create three text from the toolbox in order to eliminate ambiguity, I use the default name of the text box and should be TextBox1's, TextBox2 in

?

3: At the same time, open SQL Server Management Studio 2005 and open the AdventureWorks (or you can SQL commands CREATE DATABASE database_name's own database), but here I use the AdventureWorks database.

?

4: Then create by clicking the right mouse button and make three columns, name it corresponds to your needs, just for your information I have EID, name, address. Click and click Save, then you will get a pop-up menu, where you enter the table name, for this example, I have students.

?

5: Now Come Back To Visual Studio application and write the following code in the event Button_Click

?

protected void Button1_Click(object sender, EventArgs e)
{
SqlConnection myConn = new SqlConnection();
myConn.ConnectionString = “Connection string(See Below for this —
)COPY PASTE? HERE“;

myConn.Open();
string strqry = “Insert into students values (” + TextBox1.Text +
“,’” + TextBox2.Text + “‘,’” + TextBox3.Text + “‘)”;

SqlCommand myCom = new SqlCommand(strqry, myConn);
int numrow = myCom.ExecuteNonQuery();
myConn.Close();

}

Kindly note down the connectionString Syntax, to obtain this string do the following steps :
Step 1 : Go to toolbox and from data section drag & drop SqlDataSource.
Receive Step 2: Then on the left-mouse click on SqlDataSource, you configureDataSource link Slect them.
Step 3: NewConnection string –
Step 4: TestConnection and then Press OK.
Step five: Now you will again be redirected to a web page to see the actual step 2, but the connection string, and from the drop-down flood level, you will receive the connection string when you click login.
Step 6: Just copy and paste this string to the place of connectionstring.
Now debug & run Your application and check it’s effect on the table.
If still you face any problem feel free to ask.
Hope this explanation help you to understand the basics of database connectivity.
If you like this please comment it !
Thanks,
Anuj