DMottorn's Q&A profile
Windows Forms CheckBox will not change.
I'm building a dataTable where one of the colums is a boolean value. The dataGrid that goes along with it uses a DataGridBoolColumn. The formating and all works but when I click on the box to change it to an empty or checked box nothing happens until the cell looses focus, (I click somewhere else). To make a change I have to Click once to select the cell. then again to change the value and then I have to click somewhere else for the new value to show. Has anyone seen this problem before I'm using Microsoft .Net Framework 2.0 with Studio 2003. Hi, red-ned I'm sorry, I cant catch it. Could you give some problem codes to us, and we can help to check it out what the real problem you've encountered. Thanks ...Show All
SQL Server Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: There is no data for the field at position 18., ;
Hi, I am getting the following errors in my reporting server log. Can anyone help me ReportingServicesService!processing!11!8/22/2006-01:04:04:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: There is no data for the field at position 10., ; Info: Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: There is no data for the field at position 10. ReportingServicesService!processing!11!8/22/2006-01:04:04:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: There is no data for the field at position 14., ; Info: Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: There is no data for the field at position 14. Reportin ...Show All
Game Technologies: DirectX, XNA, XACT, etc. spontaneously error
Somtimes i get an excpetion whem I'm trying to render text using Font.DrawText. I'm getting a "Object reference not set to an instance of an object.", but everything is as it should be. I have no idea why I'm getting this exception, and i can never make it happen again. I'm preety lost here, guys. Help would be greatly appreciated. Thanks. Your code is assuming the CreateFont call succeeds. It's never safe to assume. Maybe something like: if (m_D3DFont == null ) { if (! CreateFont()) return; } ...Show All
.NET Development SharePoint exceptions
Who is the genius (and I mean that in the most sarcastic way possible) who developed the exception handling for the Microsoft.Sharepoint.dll I received an error that reads: "Cannot complete this action." Well, no kidding! Usually when an exception is thrown, it means that something can't be completed. I've also received such detailed messages as: "An error has occured." Has this been fixed in version 12 Here's what I'm trying to do: Dim s As New Microsoft.SharePoint.Administration.SPGlobalAdmin For Each v As Microsoft.SharePoint.Administration.SPVirtualServer In s.VirtualServers For Each site As SPSite In v.Sites For Each w As SPWeb In site.AllWebs For Each l As ...Show All
SQL Server Intra-query Paralleism caused your query to deadlock . . .
We often get the above message from our Sql Server 2000 Transactional Replication Distribution service. How do we implement the OPTION (MAXDOP 1) hint as directed It seems I would have to modify the MS procedures. Can't do that. Any suggestions Michael I originally posted this in the Replication forum but was ignored so I thought that perhaps a more "general" forum would attract a different kind of contributor . . . Are you suggesting that the max parallism for the entire server be changed to 1 Is that the solution Will setting this option affect other queries in the system What are other DBA's doing to solve this problem I am concerned about the performance impact on the other q ...Show All
SQL Server Simple Textbox question
I have a textbox that contains enough text to fill up 3/4 of a page. If i place the textbox halfway down the page (where the whole thing wouldnt fit) it will take the textbox and place it on another page. Is there any to way to make it use the whitespace on that page and continue the textbox on the next page ...Show All
Visual Studio Team System Integration with MSBuild
Can I use the output from a database project in conjunction with a web setup project that will create the database for an ASP.NET application I need to specify the database name and login details at install time. At present, using ADO.NET, I can’t just call one script to install the database as with ADO.NET, and am restricted to one SQL statement per method call. Any info/links regarding installing databases as part of an ASP.NET deployment would be gratefully received. Thanks, Ben. Hello, I am not clear what you are asking, but I think what you are trying to achieve is to deploy a .SQL file as part of your ASP.NET project build/deploy I have not tried this, but ...Show All
Visual Basic Newbie Question About Creating a Screen Saver from scratch
I'm trying to create a screen saver using Visual Basic 2005. I was wondering does anyone know of a good site or tutorial on this subject that explains from start to finish how to accomplish creating a simple screen saver I found one on the microsoft site but it mentions issues with visual basic 2005 express writing code to two separate forms, the the form.vb and form.designer.vb, and that these would need to be resolved but it does not go into how to do it. Would anybody know how to do that If I can figure that part out I could use the tutorial I found. I'm newbie who is trying to learn by practicing and actually coding as I go by creating a screen saver from scrath. I have tried the screen saver starte ...Show All
Visual C++ Debug has different memory?
Hi, I am trying to create many instances from one application, but every instances should have different event. So every time I execute my application, one instance will create a new event. I use the following lines: string temp = "A"; while(OpenEvent(EVENT_ALL_ACCESS, FALSE, (LPCWSTR)temp.c_str()) != NULL) { char now = temp.at(temp.size()-1); now ++; temp.at(temp.size()-1) = (char)now; } myEvent = CreateEvent(NULL,TRUE,FALSE,(LPCWSTR)temp.c_str()); It maybe not so effective, but it works well (I execute the output exe multiple times and I get different event for every instance) until when I want to debug the code and I run my visual studio in the DEBUG mode, and then I run the executable and I get the same event as the one ...Show All
Visual Studio can't find a tutorial
hy. i just finished installing iis and quickstartsamples. but i was confused not to find *SDK Samples\Tutorials\ResourcesAndLocalization* anywhere on my pc. at [1] it was said that in the subdirectory mentioned about i can find the sourcecode. where can i find the source tia [1]http://msdn.microsoft.com/library/default.asp url=/library/en-us/cptutorials/html/resources_and_localization_using_the__net_framework_sdk.asp one more question: with tutorial you mean to follow the links in the section *see also* at [1] Hi Tia. The correct link to download the .NET Framework SDK 2.0 Samples is not in the documentation you're using. Please go to: http://www.microsoft.com/downloads/details.aspx FamilyID=adef80f9-1e44-4b94-be24-dff48f826ce ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Newbie question - spawning new objects
Hi folks, Apologies for asking a really simple question in the forums, but I'm hoping someone may be able to help me. I'm basically trying to create a very simple 2D XNA game in a week, from a background of not having programmed anything more complex than a VCR since Spectrum basic - it's for a magazine article, hence the need to cut a few corners when it comes to learning... I have a problem which - I'm sure - the solution will provide me with a Eureka moment in understanding how this is done. I've followed the excellent videos on LearnXNA.com and the built-in tutorials and have figured out how to draw sprites on to the screen and move them around. It's not much, but it's a start... How do I then add in new sprites as the game progr ...Show All
Visual Studio 2008 (Pre-release) MasterPages in WPF
The question I have has already been asked ( http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=140559&SiteID=1 ) but the answer wasn't explanatory enough to me. So, does the WPF have a concept of MasterPages similar to one in .NET 2.0 Here is what I am trying to do: - XAML browser application - left column with a navigation menu - top banner/header with a logo and another menu - and of course the content ----------------------------------- | HEADER | ----------------------------------- | | | | M | | | E | CONTENT | | N | | | U | | | | | ----------------------------------- I can see two ways how to achieve that (not sure whether they are the right wa ...Show All
Visual Studio 2008 (Pre-release) Using ADO.NET vNEXT in Vista RC1
Has anyone tried installing ADO.NET vNext in Vista RC1. Visual Studio does not seem to recognise the EDM Model diagrams, there is no EDM model designer, and there is no EDM model template in the Add Item dialog. However, there are the project templates though for creating a ADO.NET vNEXT projects Does anyone know what settings might not be configured correctly Sounds like your installation is working. :) There are no item templates nor model diagrams, nor is there a model designer in the ADO.NET vNext CTP. We're investigating what it would take to release a prototype model designer that would work with the ADO.NET vNext CTP but we haven't made a decision on that yet. ...Show All
SQL Server ERR: 18483 , 'distributor_admin' not defined as remote login.
I want to register one of sql server as distributor as well as publisher. While registering trhu wizard i encountered this err "18483 could not connect to 'ServerName' as distributor_admin is not defined as remote login at the server". ...Show All
Windows Forms Image problem(simple problem)
Hey, I found this place online( http://www.vbdotnetheaven.com/UploadFile/scottlysle/WordProcessor09122006234320PM/WordProcessor.aspx ) that told you how to make a simple RichText program, so Ic hecked it out and it had somthing in it that I needed help with in my program, adding an image to the Rich Textbox... So this is my code from the code on that page translated into C#: private void imageToolStripMenuItem_Click( object sender, EventArgs e) { RtextboxUC thisrichtextbox = GetCurrentTextBox(); openFileDialog1.Title = ( "Insert Image" ); openFileDialog1.DefaultExt = ( "rtf" ); openFileDialog1.Filter = ( "Bitmap Files|*.bmp|JPEG Files|*.jpg|GIF Files|*.gif" ); openFileDialog ...Show All
