decamo's Q&A profile
.NET Development Multiuser in ado.Net
I have this windows forms application used by one user. Now there are 2 users on this application. Everything is running on a a small network with SBS 2003, SQL 2000 and Windows XP clients. The forms application is coded in VS 2005. As i am using ADO.Net anywhere in my application, all data is always cached in the client side . This means that the 2 users don't see (immediatly) the changes made by the other user (which is unacceptable). How should i solve this Do i really need to replace all ado.net code with custom business objects I don't know the terms to search for a system like this. Hope someone in here knows more than me. I have to say I never implemented something like this on a big system. Instead of using ADO the cl ...Show All
Software Development for Windows Vista Imapi2 on Vista RC1
My builds are now broken on the SDK (which is now at version 6 ! !) that matches Vista RC1. http://www.microsoft.com/downloads/details.aspx FamilyId=117ECFD3-98AD-4D67-87D2-E95A8407FA86&displaylang=en Anyone know what is going on I don't see the sample code or anything that corresponds to ImapiV2 anymore. This is very confusing :-| I guess I won't be getting much work done this week... Hello foobarX, The tag above makes me think you somehow got the WDK (Windows Driver Kit, which is somewhat like the new DDK). This will not contain the IMAPIv2 documentation and samples, as all of that material is in the SDK. The link you posted seemed to be to the SDK however, so I'm not s ...Show All
SQL Server DB in suspended mode
Hi, I have a database shown a SUSPENDED mode on both side of Principal and Mirror server. What should I do now 1). Is the breaking the Mirror sesssion my only choice 2). If I break it, how do I reestablish the Mirror again quickly. What is my potential data loss Thanks, Hi Lin, What happens when you issue "ALTER DATABASE <your db name> SET PARTNER RESUME" - does mirroring remain suspended Could you give some context about your setup and about why is database mirroring in the SUSPENDED mode in the first place - did some unrecoverable error happen or someone suspended it manually Thanks, Kaloian. ...Show All
Visual C# c# books
i have just started programming in c# plz tell me site for good ebooks for c# C# Web Development with ASP.NET: Visual QuickStart Guide Visual C# .NET Programming Data Structures and Algorithms with Object-Oriented Design Patterns in C# C#.net Web Developer's Guide (With CD-ROM) .NET Compact Framework Programming with C# (Microsoft Net Development Series) Programming C#, Fourth Edition Essential ASP.NET with Examples in C# C# and VB .NET Conversion Pocket Reference Distributed .NET Programming in C# Visual C# 2005: A Developer's Notebook Visual C#: .Net Developer's Handbook with CDROM Microsoft C# Language Specifications C#: A Programmer's Introduction C# Primer: A Practical Approach C# Cookbook Microsoft Visual C# .NET ...Show All
.NET Development Exception: DataTable internal index is corrupted: '5'. on ...
Hi, I have a problem with bindingsource component in framework 2.0. I have a combobox bound to a bindingsource which is also bound to a dataset with 2 related tables and a datagridview bound to the same bindingsource. What I want to do is : When the selectedindex property of my combobox changes, the corresponding cell value must be changed in the datagridview. But although the value in bindingsource changes, datagridview does not display the new value. That value is displayed after I move the mouse over that cell and make it invalidate its region manually. Another error I caught is the one that you can see as the subject of my post. I do not know why i have that message when I try to change the property of ((DataRowView)mybindi ...Show All
Software Development for Windows Vista TC23 - Problems undoing registry changes after installation rollback
Hello, I'm trying to pass test case 23, and even if I finally got the installer to remove all the files that it installed (I had problems with reportengine.msm of Crystal Reports) after the rollback, I realized that it didn't undo the registry changes made during intallation. I think I read (in a post in this forum that right now I can't find) that we should make a little script to launch after rollback, where we could undo those changes manually. Well, this is what my imaging tool says about the registry changes after rollback: - Values added: 91.900 - Keys added: 97.700 - Values deleted and changed: 1000 Those are lots of changes !! I realized that our controls' registration information is still in the registry, even th ...Show All
.NET Development xml help please.
I want to read only the text in the following xml into an array. Please help. < xml version="1.0" encoding="utf-8" > <precipitatedata> <precipitate> <abrev>TiN</abrev> <fullname>Titanium Nitride</fullname> <firstelement>Titanium</firstelement> <secondelement>Nitrogen</secondelement> </precipitate> <precipitate> <abrev>TiC</abrev> <fullname>Titanium Carbide</fullname> <firstelement>Titanium</firstelement> <secondelement>Carbon</secondelement> </precipitate> </precipitatedata> I want to read like... abrev[1] = TiN abrev[2] = TiC fullname[1]= Titanium Nitride fullnam ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Video/Animation Playback
Hi, I'm currently writing a library (for XNA/DirectX) for animation/soundless video playback, and I have a few design questions for the pros out there if you don't mind answering them : I'm having my animation class inherit from game component, and update the frame depending on game time in the overriden Update method, and render it in the overidden Draw method, but even when I preload my textures to render, playback is choppy. Not sure exactly why, but I notice this only when I have significant number of frames (I noticed it with 100 frames, but *not* with 10/15). This problem may be linked and solved by the 2nd point, so please read on. When I preload all the textures for the frames in the animation (and the no. of frames ...Show All
SQL Server Opening a URL in reporting services 2005 opens whatever IE window
How do I get reporting services 2005 to open a new IE window when touching a URL. Otherwise it grabs whatever one is open (not any order) which writes over what I was viewing. This is extremely frustrating. Our company uses LOTUS notes sametime as a netmeeting software which uses IE and it keeps choosing that window and "knocking" me out of the meeting. What can I do One thing that might work is unchecking the "Reuse windows for launching shortcuts" option under "Browsing" section located on the "Advanced" tab of IE's Internet Options. The down-side to this fix is that it only affects your user profile. This fix would have to be performed for each user's profile. I' ...Show All
Visual Basic Focus Question
I have made a custom control where when the user enters the control, the BackColor Changes then when it Leaves go back to white. I does fine when it is "Enter"ed by the user but when i focus the control at runtime, it seems to blink "MistyRose" then back to white apparently, it Enters the control, then executes the Leave event but focus is still on it. Why did this happen Also i want to create the effect that when the user clicks/enters some control when he should start with another, to focus the first control, i can seem to get that, i used: something like: if Condition = False Then Control1.focus() End If Show us the code you are using - its probably related to the events which yo ...Show All
Smart Device Development Little Help
I am using vs2005 and when I click to deploy my software to my handheld for testing I get the message "loading symbols for c:\Program Files\Microsoft.NET\SDK\CompactFramework\v2.0\Debugger\BCL\mscorlib.dll" This message shows at the bottom and it never gets past this point. It never actually deploys and runs my software. Has anyone ever seen this error. That is all right, but I need to see what version of .NET Compact framework you have installed on the device. Please go to the device's \windows folder and start cgacutil application - it will tell you what version/s of NET CF you have. Having only .NET 2.0 as you mentioned is is not enough - you should have .NET Compact Framework installed ...Show All
.NET Development ReadXml with read count
Hi, I need to load a DataTable from a XML file but not all the data, instead, I want to load a custom number of rows from this XML file. ReadXml function reads all the schema and data from the xml file but if the data is too large or if I want to read only 10 records to show as a preview to the user, what I should I do I think XmlReader is the solution to this problem but I do not know how to use this weapon. Thanks for any efforts and time spent. Thank you for your reply which helped me to be sure on the way to follow to start implementing the code. There is no solution or question on the internet other than mine and I think that makes things difficult as you say too. I will surely ask you the questions I met a ...Show All
.NET Development Access query to transpose table data
Hello, I have the following table structure in my database and would like to create a query or table that displays a single record for each country with the three different RatingsType1 across the top as column headings with the respective rating filled in. Something like this: Country Rating1 Rating2 Rating3 US AAA CCC Baa1 where Rating1, Rating2, Rating3 are one of the three types of ratings from the tblRatingsType1 table. Here's the table structure: tblCountry CountryID (PK autonum) CountryName tblCountryRating CountryRatingID (PK autonum) RatingType1ID (FK to tblRatingType1) Rating RatingDate tblRatingType1 RatingType1ID (PK au ...Show All
Software Development for Windows Vista Where can I get drivers of 3c509C 3com PCI NIC for vista ultimate?
There do not seems to be drivers for 3c509C 3com PCI NIC anywhere on the net. Where can I get drivers of 3c509C 3com PCI NIC for vista ultimate Thank you, Regards Hello SandeshR, Microsoft does not support 3rd party hardware or software. I would suggest checking the 3com support site here http://www.3com.com/products/en_US/support/index.html . Also I would try posting your question in the TechNet Hardware Vista Beta forum located here http://forums.microsoft.com/TechNet/ShowForum.aspx ForumID=714&SiteID=17 . Thanks! Matthew Braun ...Show All
SQL Server Management Studio - Object Explorer
Can anyone tell me how to get Object Explorer to 'remember' and re-establish my Connected Servers when I open SS Management Studio I am working with several Database Servers and Several Report Servers and each time I close SQL Server Management Studio I have to manually re-establish my Connected Objects in Object Explorer. Is there a way to automate re-establishing those connections that I am missing The <CTRL><ALT><G> was the trick to get the window to show. With the registered databases showing, you no longer need to keep connecting. These subtleties are what Microsoft leaves out and what increases job security once learned. ...Show All
