Kenneth Millard's Q&A profile
Visual Studio Express Editions What does this warning message mean?
When I build a project, the system present me a warning message: Load of property 'RootNamespace' failed. The string for the root namespace must be a valid identifier. But my program runs well. Anybody can tell me what should I do to avoid this warning message Thanks in advance! It looks like your the root namespace of your assembly (project) contains characters that aren't valid for identifiers. To change your root namespace, do the following: In Solution Explorer , right-click on your project and click Properties The root namespace is contained within the Default Namespace textbox, simply check that it doe ...Show All
Visual Studio Problems with some links
I am having problems accessing some links in the Help System installed on my pc. Some links don't make the mouse pointer turn to a hand and are unclickable, this occurs in both the Visual Studio 2003 and Express help systems. The last time I only reinstalled the MSDN Library, although before that I reinstalled VC++2003 and the MSDN Library. ...Show All
Windows Forms The RootDesigner Can't work with generic
hello everyone. i will create a rootdesigner override GetView method return CustomControl object, My RootDesigner Class name WorkFlowDesigner inherited IRootDesigner, then i have code below: [Designer(typeof(WorkFlowDesigner), typeof(IRootDesigner))] public class WorkFlowBase : Component { //class define here... } then i create a new class named SaleWorkFlow inherits from WorkFlowBase like below: public class SaleWorkFlow : WorkFlowBase { ...Show All
Visual J# BufferedReader
Hey all, I'm using BufferedReader to read a .txt file. The file is going to be continously updated and I want the buffered reader to read it as it is being updated. I reach a problem when it reaches the end and reads null, it goes through the exception and ends. How do I make it wait and listen for another line of text to be written I tried to wait() method but it seems to freeze the computer. Thanks try{ FileReader input = new FileReader(PreferencesForm.getCharacterLogFilePath()); BufferedReader bufRead = new BufferedReader(input); String line = bufRead.readLine(); while (!line.equa ...Show All
Visual C++ Trouble compiling with DirectX and MSVC++ 2005 beta 2
I think I have it all set up properly, but I am getting some linker errors: error LNK2019: unresolved external symbol _D3DXLoadSurfaceFromFileA@32 and so on. I have d3d9.lib and d3dx9.lib included in the input tap of the linker in project options. what else should I do. If you're having linker problems, try the steps in my blog post here and let me know if that approach works for you: http://blogs.msdn.com/dweller/archive/2005/05/23/420961.aspx David Weller ( http://blogs.msdn.com/dweller ) Community Manager, Windows Gaming and Graphics Developers: http://msdn.com/directx , Gamers: http://www.windo ...Show All
Visual C# How can I use the delegate to update the user interface from a thread?
hi:) I make a thread to do some work, here I want to see how the thread is going on. How can I use the thread to update the label text(used to display the message from the thread). I am a newer in c# , any advance will be helpfull! thanks in advace. coz you are working on another thread you cannot acess directly the label.. if the label wasnt created by that thared.. and howd you guess you need a delegate , and a methofd BeginInvoke delegate void MyDelegate(string s); // or some other paramters private void AMethodInYourThread(//... some paramters) { MyDelegate call=new MyDelegate(DoWork); // the begin ...Show All
Visual Studio Team System Any good books out there?
Are there any good books or references on building tests TIA Ken Have a look at the following books: Test-Driven Development in Microsoft .NET (Microsoft Professional) by James W. Newkirk XUnit Test Patterns : Refactoring Test Code by Gerard Meszaros Test Driven Development: A Practical Guide by David Astels Test Driven Development: By Example (Addison-Wesley Signature Series) by Kent Beck Hope you find it useful. ...Show All
SQL Server Error after installing sp1
I started getting this after installing sp1 on my workstation and trying to deploy to rtm machines. The components giving this error are the data readers in the data flow. TITLE: Microsoft Visual Studio ------------------------------ Component with name "<name>" and class ID "{BF01D463-7089-41EE-8F05-0A6DC17CE633}" could not be created because an error was encountered during its upgrade to the current version. Contact information: Extracts data from a relational database by using a .NET provider.;Microsoft Corporation;Microsoft SqlServer v9; c 2004 Microsoft Corporation; All Rights Reserved; http://www.mic ...Show All
SQL Server copy database from sql server 2000 to 2005
I am trying to copy a database from 2000 to 2005 using the copy database wizard. I am a sys admin on both the source and destination server and am using the windows auth method and sql management object method. I am not copying any database objects. Following is the report: Any suggestions Performing operation... - Add log for package (Success) - Add task for transferring database objects (Success) - Create package (Error) Messages No description found (Copy Database Wizard) - Start SQL Server Agent Job (Stopped) - Execute SQL Server Agent Job (Stopped) ...Show All
Windows Forms UserControls Adding at Runtime Into Panel do not display
I have a simple user control that has an image and 3 labels. My Goal is to add these to a Panel control stacked vertically ontop of eacher to make a list. When I add these at design time everything displays properly no problems what so ever. here is the method that is called on the Form Load Event: (Note the values in the method are test values) private void PopulateBuddyList() { BuddyLineItem. BuddyItem buddyItem1 = new BuddyLineItem. BuddyItem ( Directory .GetCurrentDirectory() + @"\Images\S.jpg" , Color .Black, "User Name1" , "Out of Office" ); buddyItem1.Location = new Poin ...Show All
Audio and Video Development Microsoft HD DVD Interactivity Jumpstart is available...
We are pleased to announce that we have posted an early Beta version of the Microsoft HD DVD Interactivity Jumpstart. You can download it here: http://www.microsoft.com/downloads/details.aspx FamilyID=994accae-1591-4cc0-9d5b-03b0494686a4&displaylang=en This Beta software contains: iHDSim, a simulator that you can use to run iHD code samples HDDVDValidator, a command-line utility that can help find many common errors in iHD markup and script Some other small utilities Documentation We hope this Jumpstart is helpful! I must, of course, add a disclaimer: Please note that thi ...Show All
Visual Basic Read a random Line From A File
I am attempting to write a BOFH excuse generator as a console app so I can run it's output into another program (an IRC client) but am having a problem figureing oput how to return a random line from the text file I am useing for the excuses. can anybody point me the right way thanks Wolf Hmmmm this is quite interesting had has several potential applications in a couple things I'm working on. I'm creating a flashcard program for a teacher. She wants to create a word list (similar to a dictionary word list). I hadn't thought about how to do this yet, but if each word is on a separate line, ho ...Show All
SQL Server Going From SQL Server 2000 to 2005
It's been nightmarish and I need help fast! Customers now have to buy 2005 and we've discovered that the migration isn't smooth. I copied a 2005 and attached to it in 2005. Running under Windows XP Professional, I tried to run our application written in ColdFusion. We discovered that a query fell over (seemingly) having to do with bit datatypes Error: 'Unspecified error occurred on SQL Server. Connection may have been terminated by the server.'), NULLs, or something. A programmer got around it, as a test, by converting all the bit fields in the table to int, which we naturally can't do as a real world solution. I think upgrading the OS, incl ...Show All
Software Development for Windows Vista Remote control in Vista Media Center
Why does Media Center not support a remote control in Vista I ask the same question. I have the Microsoft brand ir blaster remote which shows up in Vista RC-1 as ehome infrared receiver and after it loads the drivers and runs for a bit it locks my pc up. I have tried this with a intel P4 based PC and a AMD Athlon 64 based pc ...... I reboot over and over and the same thing ... as soon as I unplug the usb cable to the IR blaster it works great ...... HELP!!!!!!!!!!!!!!!!!!!!!!! ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectMusic for Managed DirectX
Hi, I have a question. Is there any plans to implement DirectMusic for Managed DirectX If so, I would like to know when. I'm a fan of DirectMusic and interactive music is important for games. Final Fantasy VIII (from Square Soft but formly SquareEnix, however, I like calling Square Soft since I don't know about Enix that much) makes use of DirectMusic for DirectX 6.1. You could start looking at the new beta assemblies and the XACT system. ...Show All
