ceebee's Q&A profile
Windows Forms DataBinding with Custom Format :-)
Hi, First, thanks for taking the time to read this newbie's question. Please will someone tell me what mistake I am making to receive the following error: "This causes two bindings in the collection to bind to the same property. Parameter name: binding". The error appears when the line *** is run (see below for the line). However, I'm a little puzzled because before the Binding instance (in this case called 'b' (for simplicity)) is set to null before it is used again. I can't seem to see why this object is shared... between two proprties. I originally didn't include the line: b = null ; because I would have thought that by creating a a new instance of the class 'Binding' would return a reference that would replace the ...Show All
Visual Studio Team System CTP7 Question
I am using schema compare to compare a database (SQL Server 2005) against my project. database is source, project is target. I got some tables where I turned the enforce foreign key contrain off. When I now compare the database, the source will look like this: -- Foreign keys ALTER TABLE [dbo].[DruckRGPObjekt] WITH NOCHECK ADD CONSTRAINT [FK_DruckRGPObjekt_Artikel] FOREIGN KEY ([Artikel]) REFERENCES [dbo].[Artikel] ([ID]) GO ALTER TABLE [dbo].[DruckRGPObjekt] NOCHECK CONSTRAINT FK_DruckRGPObjekt_Artikel GO where the target will look like this: -- Foreign keys ALTER TABLE [dbo].[DruckRGPObjekt] WITH NOCHECK ADD CONSTRAINT [FK_DruckRGPObjekt_Artikel] FOREIGN KEY ([Artikel]) REFERENCES [dbo].[Artikel] ([ID]) GO the second alter table statemen ...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
SQL Server sql generated by report builder?
Is there a way to view the sql statement generated from the report builder I'm creating reports through report builder and need to see the sql statement it generates. Thanks in advance!!! That's correct -- it is not supported in this release. You can get the report server to log the queries, however: http://blogs.msdn.com/bobmeyers/archive/2006/07/05/657125.aspx Hope that helps! ...Show All
SQL Server Null values when extracting data from an excel file
Hello, I'm trying to import some data from a spreadsheet to a database table from a package in integration services. The problem is that I see the data when I open the excel file but when I try to run my package , it doesn't insert any rows in the table and it finishes with a success status. My excel file has some formulas to get the data from other worksheets. I added a Data Viewer and all I see is null values in every cell. I need help...does anyone know what's wrong In my case, it happens in both situations, closed or opened. But it happens when I modify something in the sheet. I inserted some rows in blank and that's when I cannot read the data in SSIS. I still have the original file and I wa ...Show All
Smart Device Development Restart a deployed application
Hello, I would like to know how to restart an application that was deployed, executed and closed in the VS2005's emulator. By now, if I finish the application it is not possible to run it again (at least I don't know how). I've not used a real device yet. But I want to know what will happen about this subject. Thanks, Alvaro You need to make sure application is terminated and not minimized (as it normally would on WM) to start it again. You can add exit menu to your application for debugging or terminate it via memory applet. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. So how does this (non)commercial business work?
Can anyone please enlighten me on how this all will work. How I see it, there are two points for having XNA. 1. To let gamers make Xbox 360 non-commercial games freely to play on their own consoles. 2. To let gamers make Xbox 360 commercial games that they may transfer over live. But can we sell these games & start a business And where do our limits end & then begin again with Pro I have been trying to start a video game business for years now, working with teams and software, and Microsoft XNA can be a new pedestal for my team and business. Thanks in advance. Depends on how you set it up. If you use the wired controller for input it could be virtually identical. You can ...Show All
Software Development for Windows Vista InvokeWebService-Return value
Hi, I am using InvokeWebService for web method that returns me a List<string> in the workflow class I have a property with the same type of List<string> who bind to the return value of the web method. but the object do not pass from WS to the workflow- and I get null exception at run time. I also tried to pass a collection of object that I wrote - this collection derive IEnumerable and ICollection and have a [Serializable] property- but I get the same error. with simple return variable like int its work fine am I missing something I need some help... Thanks, Dror (Happy New Year :-) &n ...Show All
Windows Live Developer Forums Document's body height and pushpins....
I have a frustrating problem. The map and the document's body height works great when used without pushpins... However, the document's height gets enlarged when you add a pushpin. This is creating a scrollbar that strangely goes away when you mouseover the pushpin. There is some code below that illustrates the problem. Does anyone know a hack around this Mayber there is a way to force a mouseover with a given pushpin ID Thanks, -Steve <HTML> <HEAD> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <script src=" http://dev.virtualearth.net/mapcontrol/v3/mapcontrol.js"></script > </HEAD> <script> var map = n ...Show All
.NET Development unable to process request -> No connection could be made because the target machine actively refused it.
Hi there, I have a thin client (windows) on the front and some web services on the server. When we have multiple simultaneous connection hitting the service we are getting this error: Server unable to process request -> Unable to connect to remote server -> No connection could be established as the server actively refused it. It only happens for 3 or more connections simultaneous using the server. Could this be a Windows license limit issue on the server, not allowing users. When I connect alone there is no problem the client talks to the server just fine (which reinstates the connection and port settings are all fine). Since the connection is over http, I dont see a firewall issue too. Please comment on what could be causin ...Show All
SQL Server How is 4GB Max Database size applied?
Is the 4GB Database size calculated by totalling up the size of all the databases in an instance OR against each individual DB in an instance (e.g. you can have an unlimited number of DB each up to 4GB in size) TIA Antony Hi Antony, It is calculated based on individual databases and includes only user data. You can have as many 4 GB database as your HD allows and as is reasonable maintainable within the other Express limits of 1 CPU and 1 GB of memory. Mike ...Show All
Visual Studio Can I make two DSL models interact ?
1. I want to create Relational model DSL and Object model DSL, and I want that Relational model produced code dependent from object model. Can I do it if possible - Please point to some related sources. ___________________ 2. I want to create visual relationshop between two models, can I do it To place DSL' on two Winforms panels and draw connecting graphics around them Or can I add visual artifacts to generated DSL deisgner this way as for team designers: picture: http://msdn.microsoft.com/library/en-us/dnbda/html/softwarefactwo_fig4thumb.gif from: http://msdn.microsoft.com/vstudio/teamsystem/workshop/sf/default.aspx pull=/library/en-us/dnbda/html/softwarefactwo.asp#softwarefactwo_topic6 _____ ...Show All
Software Development for Windows Vista how to get the raw data from the source filter
with windows mobile 5.0 PDA,and the built in camera,how can i get the raw data from the source filter Now I have used directshow to make the camera take picture automatically,and i wonder is there any method to save the picture to a BMP file? I don't know about the mobile issues, but on a standard pc platform, you would use the sample grabber filter to receive the data from the camera, and feed it to your app where you could write it to a file. If the sample grabber is not in the runtime on the mobile platform, then you may need to write a simple filter to do this yourself. G ...Show All
.NET Development WHERE Statement Fails. WHY!
Private Function Check() 'CheckX10Alerts(ByVal X10_RecvCMD As String, ByVal sndDeviceAddress As String, ByVal typEvent As String) 'Prepare to look for matching alert database Dim int As Int32 bolAlertsEnabled = True If bolAlertsEnabled = True Then Using connection As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=F:\Dot_Net_Projects\Visual_Basic\aiHome\Website\App_Data\aiHome.mdb;") Dim command As New OleDbCommand("SELECT strMedium, sndDeviceAddress, typEvent FROM x10_Triggers WHERE strMedium = AND sndDeviceAddress = AND typEvent = ", connection) command.Parameters.Add(strName, OleDbType.Char, 150).Value = "Movement - Front Porch" command.Paramet ...Show All
SQL Server Database Diagrams, SQL Server 2005
Hi everyone, I was wondering if there is any way to generate a database diagram with foreign key relationships automatically generated between tables in SQL Server 2005... My initial investigations has yielded no, but I'd like to be sure. Thank you Chris The database diagramming tool won't automatically create foreign key contraints on your tables. You can explicitly create foreign key relationships in a diagram by clicking on one table and dragging the relationship line to the related table. If you have two existing tables with a foreign key relating them, the relationship line should automatically display in the diagram as soon as you add both tables to the diagram. Hope this helps, Steve ...Show All
