Clint Anderson's Q&A profile
Windows Forms DataGridView not updating
I have two forms, Parent and Child. Parent holds a reference to a typed DataSet. I want Child to display the records from a table in Parent's DataSet, so I created a field in the Child class that is accessible by the Parent. I go about activating the Child as follows: ChildForm f = new ChildForm(); myTableAdapter.Fill(this.DataSetReference.MyTable); f.DataSetReference = this.DataSetReference; f.Show(this); Child has a couple member components ...Show All
Windows Forms CrossPagePostBack
Please! Need Help! I have two pages as followed 1. Loading.aspx (contain a TextBox1 and a Button1.) 2. PrintL.aspx (contain a TextBox2) Both pages has t ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Render Targets, Video Memory, and Pixel Shaders
Hello, I have just been thinking about the whole rasterization process and a question came up. It seems to be from the information I have researched that Pixel Processing can only be done in hardware. Customizable pixel processing which is what you do when you write a pixel shader in HLSL, most obviously has to be done in hardware. However, if I use the fixed function pipeline, does this mean that the pixel pipeline is implemented in hardware ...Show All
Visual Basic Blair Allen Stark
Here is the problem I am working on. It asks me to use the method CalculateCharges, but I don't fully understand how to do this or how it works. I would be grateful for any input. Lab Problem III A parking garage charges a $2.00 minimum fee to park for up to three hours. The garage charges an additional $0.50 per hour for each hour or part thereof in excess of three hours. The maximum charge for any given 24-hour period ...Show All
Smart Device Development CCommandBar not displaying in CPropertySheet
*Visual Studio 2005 RC1 *Windows Mobile 5.0 Pocket PC emulator I have a CPropertySheet derived class: e.g. CCustomPropertySheet. It has a member variable: CCommandBar m_wndCommandBar ; I do the following to try to show the command bar: BOOL CCustomPropertySheet::OnInitDialog() { BOOL bResult = CPropertySheet::OnInitDialog(); BOOL bSuccess = m_wndCommandBar.Create(this); // Returns TRUE   ...Show All
Visual Studio Express Editions Error LNK 2019 and LNK1120 with VC++ 2005 Express
hi, I have a software package which works well during VC6. Now I tried to compile it in VC++ 2005 Express. Most of projects in the package are no problem. But there is only one project which is a GUI application (using MFC) always got some problems. At first, it missed some lib files. So I copy some lib files from VC6 directory to current lib directory. Then I got the following error. Anyone can give me some ideas Lin ...Show All
Visual Studio Undo Analyze Repair Tast
After running an Analyze Repair task many projects got deleted. It seems all actions are logged in analyze.bad and the deleted files are backed up into the backup folder How can I undo that Repair task and restore my Database There is no way to undo an analyze run. If you backed up the database before running analyze you can restore it from a backup. Btw, you most likely had database corruption ...Show All
Visual C++ error LNK2019, how do i fix it?
this is the code im using, when i goto build it i works fine then as its about to finish i ge tthe LNK2019 error, why #include <iostream> int main() { using namespace std; int carrot; cout << "how many carrots do you have "; cin >> carrot; cout << endl; carrot = carrot - 2; cout << "cruch crunch, i ate somse of your carrots. you now have " << carrot << " carotts" << endl; ret ...Show All
Visual C# bulk email...
Hi all, Could some one point me to some code/article to do this or pseudo it for me in bullet points: I want to write a C# service that monitors a folder for changes in a text file that gets updated with email addresses & then send them off. To watch the folder I use System.IO.FileSystemWatcher ... but how do I bundle all the emails that were added to the file to get sent off using System.Net.Mail ... that's the part of the function ...Show All
Visual C# App.Config
The following connectionString is present in App.Config <configuration> <appSettings> <add key="ConnectionString" value="Data Source=machine1;Initial Catalog=database1;User Id=user1;Password=password1;"/> </appSettings> </configuration> Now I would like to retrieve it using the following code public static string GetConnectionString { get { return Configu ...Show All
SQL Server problem with varchar and nvarchar datatype in linked server
Hi, I am updating a remote table using linked server in sql server 2005. but in case of varchar and nvarchar i am getting an error : "OLE DB provider "SQLNCLI" for linked server "LinkedServer1" returned message "Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.". Msg 16955, Level 16, State 2, Line 1 Could not create an acceptable curs ...Show All
Visual Studio Team System Allowing team members to create Team Builds
I have a Team Project called OSPACS. I want to give everyone in my team (5 people) the right to create a Team Build Type so I've created a group called TeamProjectMembers and made everyone a member made TeamProjectMembers a member of BuildServices so everyone can run MSBuild given BuildServices the security permission to Administer a Build given BuildServices security permissions to check-in and check-out for the repository f ...Show All
SQL Server Export Wizard generates errors
I am trying to export data from my local server to the hosting server. However I get errors when executing it: Validating (Error) Messages Error 0xc0202049: Data Flow Task: Failure inserting into the read-only column "ID". (SQL Server Import and Export Wizard) Error 0xc0202045: Data Flow Task: Column metadata validation failed. (SQL Server Import and Export Wizard) Error 0xc004706b: Data Flow Task: "component " ...Show All
Visual Studio Team System Migrating to Team System from an existing environment
I'm new to these forums, and had posted the following in the Visual Studio Team General forum. It looks like this is the better place for this question. Sorry for the cross post. I'm looking for some strategy whitepapers or documents on how an existing development organization should go about planning a migration to Team System. My development organization has a bug tracking system, we have a source control system, we have testing tools, ...Show All
SQL Server Significant performance reduction after migration from SQL 2000 to SQL 2005
Hi all, I am wondering if anyone has similar experience. I did the migration by detaching the database from SQL 2000 running on W2K Pro and attaching it to SQL 2005 running on XP Pro. Some queries with simple aggregate functions such as AVG() have been slowed by at least an order of magnitude. I understand that SQL server can intelligently adapt to improve the performance. I am not s ...Show All
