bobby_macnair's Q&A profile
Windows Forms Generate Resource Task
Hello, I get this error when I compile: The "GenerateResource" task failed unexpectedly. System.NotImplementedException: The method or operation is not implemented. at Microsoft.Build.Shared.ExceptionHandling.RethrowUnlessFileIO(Exception e) at Microsoft.Build.Tasks.GenerateResource.NeedSeparateAppDomain() at Microsoft.Build.Tasks.GenerateResource.Execute() at Microsoft.Build.BuildEngine.TaskEngine.ExecuteTask(ExecutionMode howToExecuteTask, Hashtable projectItemsAvailableToTask, BuildPropertyGroup projectPropertiesAvailableToTask, Boolean& taskClassWasFound) AppWinforms This is a project that has been building fine for months.. just statrted this and did not add any new resources or pictures... Only fix is to close ...Show All
Visual Studio Express Editions How to get a Radiobutton functionality on DataGridView cell
We are using Visual C# 2005. We are trying to get radiobutton functionalitry inside each cell of first column of a datagrid view and when you select any one of them only that row should be selected. i,e it should function as a radio button list in the datagrid view any suggestion or help reg appreiciated ...Show All
Internet Explorer Development ie-layout
hi, does anybody know of it’s possible to change the entire ie-layout by jscript and css with entire ie-layout i mean stuff like the menu-bar, toolbar, url-bar, status-bar. i’m wondering if it was possible to change all of that in an other color or to give it a background. and if all of this is possible, is it also possible to give the window an other figure, instead of a rectangle into a triangle, polygon, etc. thx for helping me out with this. ciao, s2tgrave. ...Show All
Visual Studio 2008 (Pre-release) MapConnection and friends
So, I've just installed the Jan Orcas CTP, and can not for the life of me find MapConnection, MapCommand etc. Are they gone, have they been hidden somewhere, just not there I did however find EntityConnection and EntityCommand, is that the same or ... Niels Yes, MapConnection & friends have been renamed EntityConnection, etc. There have been other renaming efforts since earlier CTPs as well. ObjectCache, for example, has been renamed ObjectStateManager to more accurately reflect its true purpose. - Danny ...Show All
SQL Server AS2005? PeriodsToDate - How to release hand break?
Hi Yukon Gurus! I have a simple query with periods to date --Sample 1 WITH member [Date].[Calendar].[Column 1] as AGGREGATE ({ PeriodsToDate ([Date].[Calendar].[Calendar Year], [Date].[Calendar].[Month].&[2004]& )}, [Measures]. CurrentMember ) SET [RowSet0] AS {[Customer].[Customer].[All Customers]. children } SET [RowSet1] AS topcount ([RowSet0],100,([Date].[Calendar].[Column 1],[Measures].[Internet Sales Amount])) SELECT {[Date].[Calendar].[Column 1]} ON COLUMNS , CROSSJOIN ({[Customer].[Customer].[All Customers],[RowSet1]},{[Measures].[Internet Sales Amount]}) ON ROWS FROM [Adventure Works] It takes almost 40 seconds on my 3,0 Ghz bo ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Present() hangs for 10 seconds when mixing DirectX full screen and GDI
I'm using C# and MDX. When I setup DirectX to go full screen, and then also use GDI to draw on another form on a different display, the Present() function can hang for 10 seconds. When it hangs, even the mouse pointer stops moving. When it comes back to life and I click on a form, it looks like GDI is resetting or something (the monitor goes black for a few seconds, then redraws), and sometimes there is junk on one of the displays. Sometimes it hangs forever, and I have to do a hardware reset to fix the problem. Changing PresentInterval to Immediate fixes the problem, but I'd prefer to have DirectX do the vertical sync for me. Any ideas Thanks, Jeremy I tried to reproduce this on another ...Show All
Windows Forms Simple Form customisations
Hi, I'm at the moment learning C# through Visual C# Express edition and have a few questions. My first is that in my custom web browser I am designing how do I alter it, so that after I type my URL in my text box, it makes my browser go to that site as well as being able to press a GO button form. Also how I make it so that when I press Maximize the parts of my form scale to my Maximized window. To me these will seem like silly questions to most of the experienced and knowledgeable programmers on here, but I am only 15 so please be kind! Thanks for the Help. Hi Create KeyDown event to the textbox and test if e.KeyCode == Keys.Enter then do same as you do at GO buttons press. If you want resize/move you components at the s ...Show All
Game Technologies: DirectX, XNA, XACT, etc. capture audio
Hi! REALLY sorry to post this here but didnt know where else! is there a way to capture audio from the sound card I am trying to use directX but the sample I have seen is hard to understand unfortuantly :( How do I capture audio either using DirectX or some other method I want to capture it to a normal wav file Thanks! :-) Hello I m trying same thing do u have done it if yse then please help me . because i do have same problems as you had. Thanks ! :-) ...Show All
Visual C# Any good examples of how to use Applications settings
Hi, I'm trying to use Application settings to persist the size of a window between sessions in c# Express. I've tried following the help files but it's all way too complex - I can work up to comlpex once I've got something working! Does anyone know if there is a simple 'how to' anywhere, covering the basics What code do I need to add (to save ) What are the steps in the designer Many Thanks for any help Baffled Thanks for your help. On first reading it seems not to use the c# Express IDE application settings. I know I can save values in a file and then read them back but I'd kind of hoped that the Application Settings in the IDE made things a bit less manual. This link kin ...Show All
Windows Forms deselcting text in combobox textfield after selectedindex has been changed
Hi, I would like to deselect the text (i.e set the cursor at the end, no highlighting) of the textfield in a combobox after an index has been selected. As it is now the item that has been selected its text is also highlighted. The functionallity I'm looking for is that after an item/index is selected the user should be able to add text to the combobox's textfield without placing the cursor last and deselct highlighted text. I've tried Combobox.Select(Combobox.Text.Lenght, 0) in the Combobox_SelectedIndexChanged event, but No Luck Any Suggestions theres also another thread similar to the question you are asking. I've tried to do it myself and can't seem to make it happen. I've tried implementing diff ...Show All
Visual Studio I can't install Visual Studio2005
Here are my specs Intel P4 2.88 GHz, 512MB RAM, 80GB HDD, 256MB VideoCard, WinXP ProSP2, I freshed installed WinXP sp2, if I install VS2005 I get the error "Suite Integration Toolkit error", Please help. Possible problems: 1. Bad media - try copying the disc to your hard drive and install from there - call MS for new media 2. %temp% folder doesn't have admin or right access - verify you're an admin and you can copy files to your temp folder 3. verify temp folder is not corrupt or encrypted 4. disable virus scanner and then try install ...Show All
SQL Server Eternal 'Enable Pending' on SQL2005
Hi! I have this problem... im kinda new to sql2005, and im responsible for creating some notification services. Ive done a lot of tutorials, books and samples and every time, when i reach the step of enabling the instance, i get this... Generator-Enable Pending Distributor-Enable Pending Even doing the Microsoft's Notification Services Tutorial. Ive tried everything I could figure, registering the instance with a user with every permission there could be... doing this local or on a client... and ive been 2 weeks stuck here... Any tip or clue will be thankfull. M.Eng.Leandro Melendez Ive tried to give the user the permissions that the tutorial says, also ive tried to give the user every permission i could imagi ...Show All
Visual Studio Express Editions Running Windows-Command Lines in 2005 Express Ed.
Hello! OK. I have a batch script that I am using and it works awesome! However, I want to make it work using Visual Basic 2005 Express Edition. Can someone show me examples on how to run windows command lines under a Visual Basic 2005 Express edition program So in other words… Having a form that shows an OK button disabled until my script that is running Windows Command lines in the background is finished. Then the OK button will enable. I know how to make the OK button disable and enable…I just want to know how in the world you can have command lines work in VB. Another quick question…what is a good book out there for a beginner Thanks Chapio OK! I th ...Show All
SQL Server Change date format
HI, I have noticed that SQL SERVER 2005 uses American date format but i want to change it to UK/European time format i.e. dd-mm-yyyy can any on tell me how to do it in sql server settings. And is it possible that I can change it only the during the course of my STORED PROCEDURE. I know it is quite and any one will answer that soon hoping quick reply regards, Anas thanx for ur reply... other query is that how will I able to change that setting for the course of my stored procedure is it possible waiting for your reply regards, Anas ...Show All
SQL Server What are the relationships among the attributes within each cluster?
Hi, all here, Thank you very much for your kind attention. I am having a question about Microsoft Clustering algorithm here. When we train the clustering model, we gain the clusters based on the model training. So what are the relationship among all attributes within each cluster When we sumarize the characteristics for each cluster, for example, based on criteria attribute A=X , we got the darker cluster for this criteria, along with this characteristics (A=X), we also got other characteristics, so what is the exact relationship among all these chracteristics It seemed they dont have any relationship to each other at all ( A=X dose not mean most likely B=Y if A=X , what it means only is within this cluster, most likely A=X and B=Y e ...Show All
