bitbonk's Q&A profile
Windows Forms Refreshing DataGridView from DataTable
Hello, I am trying to refresh a DataGridView from a DataTable. The DataGridView is connected to the table via a binding source,( also tried with direct connection using datasource and datamember) The DataTable is filled by a comma seperated value file that the user selects at runtime. The file could have an arbitrary number of columns. The code to import into the data table works and I have verified that the table is populated with data. But the DataGridView does not display anything. It does not show columns or rows. How do I refresh or push the updated table data to the datagrid view I have tried to do refresh(). I have also tried resetting the datasource and datamember for the datagridview. Thanks, -Adam ...Show All
SQL Server Error : SQL Server 2005 Reporting Services
While creating Ad-Hoc reports in SSRS 2005 I hit an error: For security reasons DTD is prohibited in this XML document. To enable DTD processing set the ProhibitDtd property on XmlReaderSettings to false and pass the settings into XmlReader.Create method Any help is greatly appreciated. Thanks, Kalia ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Game Component Design Guidelines?
Anyone have any suggestions, tips, experiences, etc regarding designing and developing Game Components With the move of the GraphicsComponent to a service (which makes sense), one of my questions is remains: what makes a good Game Component In pre beta 1, other Game Components that were hinted at were a Camera and Fps Counter. In beta 2, would these still be Game Components, or be left at system-level Is the choice as simple as whether or not your would-be-component has an Update method that takes a single GameTime parameter Same goes for IDrawable, if a Draw method with a single GameTime parameter is sufficient, should this be a Drawable Game Component Is it a never-ending debate such as the guidelines for designing Interfaces ...Show All
Gadgets multiple Web.Network.createRequest
Hello I'm trying to develop a gadget with a search-interface that includes a text input field and a button. When you press the button a function is called that takes the text from the the input field and attaches it to the url which is then passed on to the Web.Network.createRequest Method. The resulting xml file is then parsed and the results are displayed. No problem if you hit the button the first time. But if you try to perform a second search (with different text), nothing happens! Are there some restrictions on the Web.Network.createRequest method Any help woul be greatly appreciated. Thanks, sam Hello Thanks for answering. I discovered that the problem was not the Web.Network.cre ...Show All
Smart Device Development WM 5.0 + VS2005 + SQL Mobile Problem.
Good morning. A few people in here have helped me out with various noob questions I've popped out while developing my first Mobile app. Now I seem to have hit a major stumbling block. I've been scouring the net for several days trying to find an answer but I can't seem to make sense of the wealth of information. (The abbreviated gist of my post is - "Why can't I run SqlCe classes under Windows Mobile 5.0 and Visual Studio 2005 ") The story is this: * I developed the app using VS2003 and CF 1.0, succesfully deploying it to a Windows Mobile 2003 SE device. The app used SQL CE 2.0 as part of its operation. * The device we have been given now (Symbol MC70) which will be the production model has just been catastrophically diagnosed as ...Show All
Visual Studio Team System Custom alerts and inability for Daily/Weekly delivery options...
Hello All, I have an app that allows users to create more customized alerts for their projects etc. I exposed the functionality for the users to choose Immediate, Daily, or Weekly delivery. There are built-in delivery times in TFS. When I create a subscription, no matter what delivery time I set, I always get Immediate emails. Daily/Weekly don't seem to be working. Is this a known bug or is there something I am missing Thanks, ~Joe I just checked the code and previous owner and found that it was not implemented and at last moment we missed to remove this enumeration from linking service. So, only immediate delivery will work in V1. ...Show All
Visual Studio 2008 (Pre-release) load xaml dynamically in to a parent object
let me explain my scenario. 1) i will have an xbap with Grid as child. What i need to do is pick up xaml files from another folder and display it in the Grid. For this purpose i use xamlReader to parse the objects of the stream. Further more i can load the xaml file if the file is present in the bin\debug folder if i try the same to pickup xaml files from some other folder i get SecurityPermission Exception. 2) I am migrating an existing aspx application to xbap. i need to know whether i will be possible to access URL query strings to be passed between xaml pages. 3) Can i use atlas along with WPF. You can load the xaml file and then create the xaml objects with XamlReader.Load and th ...Show All
.NET Development Regular expression hang
Hi there, if I execute this sample code Console .WriteLine( "Start" ); Regex regularExpression = new Regex ( @"<%!( <declaration>(.|[\s])*)%>" ); regularExpression.Match( @"<%! %>Check that all declared methods can be called next to relevant statement so sure it is executed" ); Console .WriteLine( "Before hang" ); regularExpression.Match( @"<%! %>Check that all declared methods can be called next to relevant statement so sure it is executedCheck that all declared methods can be called next to relevant statement so sure it is executed" ); Console .WriteLine( "After&q ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Riemers.net -- 4th Series finished: Final screenshots
Hi all -- I've been working on a 4th Series of XNA Tutorials, which deals with advanced terrain rendering. This series is completely new; it is not a translation of one of my MDX series. The graphical part of the series has been finished, so you can already have a look at some screenshots: XNA Tutorials Series 4: Advanced terrain You can expect the first chapters somewhere next week. I first have to clean up some code and get the skydome exported to a .x file! If you have some experience with this, head over to this thread please. ps: you can find links to 2 larger screenshots in the 3rd paragraph. Just wanted to add my voice to the praise for Reimer's tutorials. I understand what everyone means ...Show All
Visual Studio Express Editions problem with a syntax error
ok this should be pretty simple but... im in a computer science class and im doing a multi part program and the part we have is that we are suppose put in someones last name and it will read from a pre-made file and will either say "name not found" or will list out all the information about that person in a rich text box. well i got to getting to read the file Readfile = New System.IO.StreamReader("parentData.txt") strChildLastName = txtLastName.Text Do While Readfile.Peek() > -1 For intCounter 0 To 1 Readfile.ReadLine() Next strChildLastName = Readfile.ReadLine If blnFound = True Then strChildFirstName = Readfile.ReadLine chrChildGender = Readfile.ReadLine ...Show All
Software Development for Windows Vista Product Identification Tool - How to use
I am trying to follow the steps to get The "Works with Windows" logo. One of the first steps is to get a Product ID Code. I downloaded the Microsoft Product identifcation tool, and ran it on my system, but it does not display my application in the list. What prerequisites do I need in order for my app to appear in the list so that I can proceed wiith this. Also, is it looking for installed applications or msi files. I have both for my app on this machine but the tool did not pick them up. installaware wrote: Hello Matthew, This is Michael Nesmith from InstallAware. One of our users has contacted us and indicated that your tool does not display InstallAware installed products in its l ...Show All
Smart Device Development Access Windows Mobile 2003SE phones contacts and Calendar
Hi, I am quite newbie to windows mobile developing, and I was wondering if you could help me with this question. I'd like to create some sort of sync app, so it needs to access the phones calendar and contact database. I searched on MSDN about this topic, but I only found solutions for Windows Mobile 5, but I need this for 2003 SE. Could you help me about this thanks, Zoli You'd need to use POOM to access that information. ...Show All
Visual Studio Team System When will Version Control System Keyword Expansion work?
TFS doesn't seem to support $ Author or $ Version style keyword expansion. When will this be corrected bob As you can see from Brian's post , it's not currently in Orcas. It's way too early to comment on the Rosario feature list, though I'll admit keyword expansion is not seen as a priority by most of our customers. You can add your vote here: https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx FeedbackID=192014 ...Show All
Visual Studio Team System Removing work item types
Is there any way to remove a work item type (a custom work item type I created) from a project Thanks, Maggie Maggie, it is not possible to delete a workitemtype. This is most asked feature and we will consider for future versions. Here is discussion on possible workarounds: http://blogs.msdn.com/buckh/archive/2006/02/24/delete-work-item-type.aspx ...Show All
Visual Studio Express Editions Button click problem
I've used code to generate several instances of a button. The button is meant when click to set a label and pic box with a value based on the button clicked. However I'm having trouble referring these other controls. Also I want to keep track of my buttons so I change them atm im using a name thing but it doesnt seem to be working. This is my code: Public Class main Dim mapsArray(15) As maps Dim mapsDisplayArray(15) As menuButtonsDisplay Private Sub main_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim x As Integer = 0 Dim y As Integer = 0 Dim width As Integer = 100 Dim height As Integer = 100 loadMaps() x = 125 y = 20 For count = 0 To 4 mapsDisplayArray ...Show All
