Blackhawk
 
 
Welcome to my BTech 450 Project page.

21/May/2008

The database operation in visual studio is quite different from JAVA. It use a database adapter to execute the sql command and fill the return data to a dataset table. You can fill the table to a datagrid easily. You can get values from the table using DataSet1.Tables[0].Rows[nRowIndex][nColumnIndex].

13/May/2008

I added the html version of some resource pdf files, but I could not view them from the studwww website. Then I found that I need to add system:studwww to the permission list of the folders and enable read and lookup permission to the folders.

9/May/2008

Andrew recommended a subversion client named TortoiseSVN, but I've got difficulty to install it on the lab computer. I used subclipse instead. And I found another subversion client named workbench which can be run on the lab computer. The problem of workbench is that it cannot list all the folders before checking out. So I have to check out everything instead of what I need. Although I can append the folder name to the URL to specify a contain folder, this is not convenient.

2/May/2008

I extracted some files from the EQTrack application and added them to a new project. I gave the new project a name "BH". When I went to the CustomButton.cs file in the solution explorer, I got this Error:

Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "EQTrack.CustomPanelResources.resources" was correctly embedded or linked into assembly "BH" at compile time, or that all the satellite assemblies required are loadable and fully signed.

The solution for the error is changing the default namespace to EQTrack in the project property tab.

1/May/2008

When I double click the csproj file on the computer in the lab, it says "...Make sure the application for the project type (.csproj) is installed." That's very strange, because the Vs2008 is installed with C# component. I didn't know why, and then I went to "about visual studio" and saw that the c# component is not installed. All the things are about SQL Server. Then I realized that this visual studio is with SQL server 2005. Because SQL Server 2005 requires VS2005 and this VS2005 is associated with csproj file, but it has no c# component, it will encounter problem opening csproj file. The solution is starting VS2008 before double clicking on the csproj file. Then the operating system will open this file using vs2008 instead of the fake vs2005.

1/May/2008

Found that the csproj file can be opened by vs2008 and vs2005, but the sln file can be only opened by vs2008. Tried to login to EQ track interface, got this error:

Log In Failed!
You have entered an invalid Username or Password.

21/April/2008

A png image I tried to put on this website is too big. It destroyed the website layout. I used GIMP to scale the image to a very small size. But the website layout is still messy. I was trying to solve this problem by modifying the width and height attributes of the td tag. But it didn't work well. I tried another image, it worked well. It's too strange. Then I exported the image as a jpeg image. Then I got the reason. I only scaled the image layer and didn't change the size of the image canvas. As the png format supports transparent layer. I didn't realize that the image size was unchanged.
 

© 2008 YuFeng Deng
Website Design