yuis's Q&A profile
Architecture SOA - Availability vs. consistency
Hello, I had an architectural question: Could someone please explain the tradeoff between Availability and consistency in SOA Thanks Houman Houman, with respect of trade-offs and considerations, I'd suggest you the following resources Principles of Service Design: Service Patterns and Anti-Patterns (article) http://msdn.microsoft.com/architecture/default.aspx pull=/library/en-us/dnbda/html/soadesign.asp Service Orientation in Enterprise Computing (article) http://msdn.microsoft.com/architecture/default.aspx pull=/library/en-us/dnbda/html/soa_vb-1.asp MSDN Architecture Webcast: Connecting Your Business with Service Orientation (webcast) http://msevents.microsoft.com/cui/w ...Show All
.NET Development Web Service Reference not correct for WCF service
I have a WCF service that has an operation signature that returns a boolean and has a complex type as the ONLY input parameter. public bool PublishRequest(PublishMetaData request) When I add a reference to this via Add Web Reference in a web application, the resulting operation has a different signature, it now returns void, and has three parameters, one of which is the complex type as before, but the other two are being set as "out" booleans one name <MethodName>Result and the other <MethodName>ResultSpecified. public void PublishRequest(PublishMetaData request, out bool PublishRequestResult, out bool PublishRequestResultSpecified) Is there any reason why it should do this and not just hav ...Show All
Visual Studio Team System Find all Bugs that were resolved in date range
I have created a query in Team System query editor that does most of what I want. I need to now create an MDX query that will return the id and date a defect was changed to 'Resolved" grouped by developer. EDITED: I have 'reverse engineered" the Bug Rates query, shown below. Question 1: What is the proper syntax for the where clause to find bugs resolved by both "persons" Question 2: How can I find the workitem ID for the items that are "counted" in this query -------------------------------------------------------------------------------------------------- WITH MEMBER [Measures].[Date Key] AS [Date].[Date]. CurrentMember . UniqueName SELECT { [Measures].[Date Key], [Measures].[Sta ...Show All
Visual Studio Express Editions HOw to refill a database?
I have this code in my vb.net program. Me.TickersTableAdapter.Fill(Me.DataSet1.Tickers) It fills the data from the external file fine. However, I'd like to be able to refill the data after it has been changed by an external program. Calling the line a second time doesn't work because I get "datareader already active on this command" error. How can I refill the data from the external file tia hi, as what ahmad said to retrieve data from database to dataset you use adapter.fill(), to save the changes back to the database from a dataset you use adapter.update(), so to refill your dataset you have to take 2 steps , 1) to clear it from data, 2) to fill it again from your database hope this helps ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Problem loading a Blender exported .X file
I've been searching these forums and on Google looking for a solution to my problem but have yet to find an answer. I have created a simple model in Blender and now I want to load it into XNA. From within Blender I use the DirectX exporter which creates a .X text file (not binary). I then add that to my XNA project (essentially just following the first 3D tutorial in the XNA help). However, upon trying to compile and run the program I get the error message "Could not read the X file. The file is corrupt or invalid. Error code: D3DXFERR_BADFILETYPE". I have tried a number of different combinations with the exporting settings in Blender, but I always get the same result. I found a tutorial on the web that had a .X file for download ...Show All
SQL Server Subquery Question
I'm trying to write a very specific subquery. My table data looks like this. jobname1 complete destinationA jobname1 complete destinationB jobname1 not-complete destinationC jobname2 complete destinationA jobname2 complete destinationB jobname2 complete destinationC jobname3 complete destinationA jobname3 complete destinationB jobname3 complete destinationC The result I need is the job name of all unique job names whose records are ALL complete. So, in the case above, I need the names of jobname2 and jobname3. Here's what I have so far, but itt is so far returning no results: Select jobname from table where NOT EXISTS (Select * from table where table.job_status != 'complete' ...Show All
Software Development for Windows Vista How to get color scheme name?
I'm looking for Windows API function to get the color scheme name on Vista. GetCurrentThemeName() function is not good because the filename returned is the same for both Windows Aero and Windows Vista Basic. But I need something to know if the color scheme is Aero or Vista Basic because I'm doing different things based on the color scheme. Thanks! There's only one color scheme for both Windows Aero and Windows Vista Basic, so GetCurrentThemeName() is the valid function to use. To check whether composition is enabled, use DwmIsCompositionEnabled() . To query the current glass color, use DwmGetColorizationColor() . ...Show All
Visual Studio Multiple tables in the same database causing problems
So I have 3 tables inside one access database that im trying to create a report off of. My problem is that when I have fields from more than one table in the report, the report will not pull any data from either table. Its almost like its confused on how to access the data. I think your right but im not sure how to do what your saying. This is how im doing it now, im using the data expert to establish a connection to the database and the tables inside the database. This automatically links using the autonumber id i have set as primary key in the database, this is the only common field in the tables. then when i want a record from the database in my report i just from the Field Explorer>Database F ...Show All
Visual C++ How to use a DLL in VC 6.0 created in VB 6.0
Hello Everybody, i want to register and use a dll which has been created in VC 6.0 and use one of its function. i don't know the syntax to use it. Pls help me. Thanks and Regards Munish Gupta How to use a DLL in VC 6.0 created in VB 6.0 i want to register and use a dll which has been created in VC 6.0 and use one of its function. These two are contradictory. Please state your problem without ambiguities. ...Show All
Windows Forms Displaying Outlook Signature through coding
Hi, I creating mails using outlook api creatmail, the mails are sent properly but the signature is not set. I want the signature to be displayed while sending mails.Is there any way we can do it. Thanks & Regards Ajay ...Show All
Visual Studio Express Editions Win32App Wizard can be edited--is this legal?
When I run my VC++ Express 2005 Create Project wizard and choose to create a win32 console application, it has four options in the Win 32 Application Wizard: Windows application, Console application, DLL, and Static library. Two of these are normally disabled: windows application and DLL. Something I found online said that you can change the html wizard file and comment out the lines that disable these options--I tried it and it works, but I changed it back because the lines to comment out are within an if statement that checks to see if it is the Express version, and if so, then it disables those two options. Is changing the wizard to enable the windows application and DLL options legal If not, then why is it so easy to do so Also, if i ...Show All
Visual Basic Code using socket for LAN messaging applications
How can I develop a simple application that can send message through a LAN, without using the NET SEND If you are talking about a chat-like application, there are a couple of samples on MSDN: http://msdn2.microsoft.com/en-us/library/aa309124(VS.71).aspx Or, if you want to play with WCF: http://msdn2.microsoft.com/en-us/library/ms751502.aspx Best regards, Johan Stenberg ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Camera Frustum Clipping Problem
Not sure this is the right place for this ... its not an issue with the framework, but I do need help because I dont understand why this isnt working. If I do the following before the draw of each mesh to see if it should be rendered - note : pmat is the matrix rot/trans for the object to be drawn. ------------------------------------------------------------------------------------------------------------------------------------ BoundingSphere d = cItem.Meshes[0].BoundingSphere; d.Center = Vector3 .Transform(d.Center, pMat); if ( ! Game1 .camera.SphereInFrustum(d)) return ; ------------------------------------------------------------------------------------------------------------------------------------ And my frustum i ...Show All
Software Development for Windows Vista IID_IUnknown unresolved external symbol
Hi All, I am trying to build a custom directshow filter in platform builder for WinCE 5.0. At linking , it throws errors for unresolved external symbols for IID_IUnknown, IID_IClassFactory and IID_IPersist ..ie. all the interfaces I use in my filter. My filter inherits the CBaseFIlter class. I have included uuid.lib, strmbase.lib , strmiids.lib. Any idea what could be going wrong here Do I have to define these values in my filter If yes .. what is the value All suggestions are welcome ! Regards, Ram I haven't done any CE development, so I'm not sure how much help I can offer. In regular windows, they are defined in uuid.lib. ...Show All
Visual Studio Express Editions msflexgrid Coloum Width
Hi, I m using MsFlexgrid control in my C# program. Anybody know how to increase or decrease Coloum width of a msflexgrid Thankx TJ This sets the width of the first non-fixed column to 50 pixels: axMSFlexGrid1.set_ColWidth(1, 15*50); Consider using the DataGridView control... ...Show All
