shawn2005's Q&A profile
Smart Device Development Install message -requires intallation of OpenNETCF.SDF.WCE4.ARMv4.CAB for it to run properly
In my application i just want to use one of the opennetcf dll's so i've added it to my project so when building the cab file it will be included in the content. However each time i run the cab at the end it pops up the message box saying "requires intallation of OpenNETCF.SDF.WCE4.ARMv4.CAB for it to run properly. Install the Cab before using this application." So how do you prevent this message from showing. Do i need to modify something in the .inf file Thanks in advance inif snippet [SourceDisksNames] 10=,"Common3",,"C:\Program Files\Microsoft Visual Studio .NET 2003\CompactFrameworkSDK\v1.0.5000\Windows CE\Smartphone\" [Files.Common] M ...Show All
Visual Studio Team System Agile, then CMMI
My company is interested in getting CMMI certified. We are using Microsoft technologies a lot and would like to start learning about MSF. Forgive me if the question is silly. Is it possible for our company to go for MSF Agile, and then evolve into CMMI compatible practices This makes sense for my company because I want to make sure we can build the basic capacity first before we want to make it formal. Any idea or suggestions are welcomed. I don't see any issues with starting out with Agile. You can run one team project with Agile and another with CMMI to see what fits you best. I think we are going to sta ...Show All
Visual Studio Tools for Office EventType clr20r3, P1 outlook.exe
I get this exception when I open my outlook. EventType clr20r3, P1 outlook.exe, P2 11.0.6565.0, P3 42cacc7d, P4 system, P5 2.0.0.0, P6 4333ae87, P7 5a2, P8 0, P9 system.typeloadexception, P10 NIL. Please help me Is this in the context of developing some Outlook Addin or is your instance of Outlook simply broken. If it's the former then please provide details of what your Addin does. In the case where your Outlook is simply broken you'd be best trying the Outlook newsgroups: http://www.outlookexchange.com/articles/home/outlooknewsgroupinfo.asp Let me know if I can help further Ade ...Show All
Visual Basic I have problems in my registry app, please help?
Hello, I got this application which was compatiable with Visual Basic 6.0 so i upgraded to Visual Studio (basic) 2005 BETA 2 and then it didnt work. What it does you click a command button and it inserts keys to the registry and adds a Shell Context Menu and 'Upload to GuruImages' will appear when you right click a .png file. Could somebody tell me why this doesnt work, and how would I make it insert these keys into the registry on installation and how will I set the values Thank You, Here is the code: Option Strict Off Option Explicit On Friend Class Form1 Inherits System.Windows.Forms.Form &nbs ...Show All
Architecture Typed DataSet versus DLinq
The improvements typed dataset is really cool when compared to untyped datasets. How will ADO.net team enhance the typed features of typed dataset in c# 3.0 is DlinQ the mainstream or an alternative PS: many people I know doesn't want custom business entities. even though its off subject ... "it is a myth,that OO domain models have a better maintaniability over procedural/relational codes" You are correct it being you can accomplish object type behaviors using procedural code (ADTs are a great example). OO languages just have built in language support to make coming to the same results more obtainable to a les ...Show All
Visual Studio Express Editions Handling SQLException with a DataGridView
I have a bound datagridview that is displaying data from a table with a unique key. If I change an exising value to match another entry and then save I get an SQLexception error. How can I manage this type of error to display a nice dialog message to user I have tried the DataGridView.DataError but this doesnt seem to catch this type of exception (does catch entering a NULL value is this field though ) hi, i guess your dataset that suppose to throw exception if you did that not your datagridview , even it will not wait till you save changes may be as soon as you leave this cell you will get excepti ...Show All
Visual Basic Where to get .NET 2 Distribuable package and how to save on my server for click once?
OK..Dumb question I know... When I deploy an app and the client does NOT have .NET 2, how can I have them pull those files from MY SERVER instead of Microsoft's Also, where can I download the files. I saw in click once I can choose a place where my prerequisites come from..I am guessing that is part of the trick, but don't know how to exactly implement that and what files I need. Thanks! Carl Thanks. I take it I just point my prerequisites to where they are stored on my server in the click once settings And the clients will know to DL dotnetfx.exe from my net server instead of MS Carl ...Show All
SQL Server Criteria validation Reporting Server
Hi Does any one know how we can validate the input criteria in reporting server 2005 By saying this I mean to say; let say we have to dates “Start date” and “End date” as criteria to one report. How can I check that the Start date must be lower or equal to the End date Any advice is appreciated. Regards; Rakesh please follow the link http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=326495&SiteID=1 Regards; Rakesh ...Show All
SQL Server Database Design Question
Which of the following options is best Option A) One database with all the tables for all applications (HR, TechStaff, Inventory, Purchasing, etc.). The bonus to this is all the data is stored in one place and the data is not duplicated, but when the database has to come down, all applications will be unavailable. Plus, volume may be present an read/write row/column issue. Option B) Multiple databases... one for each application. Then to replicate the necessary tables to each database as needed. For example, replicate the employee table (ID, firstname, lastname) to the databases that would require that data.&nbs ...Show All
Windows Forms Make Form modal to external hWnd
In a screensaver, when the Options button is clicked in control panel, it calls the screen saver with the command line argument /c:1234567 (for example) where 1234567 is the window handle of the control panel dialog that my Options form needs to be made modal to. How can I do this I tried Control.FromHandle but it returned null. You have to create a class that implements IWin32Window: using System; using System.Windows.Forms; public class Window : IWin32Window { private IWin32Window _Handle; public Window(IntPtr handle) { _Handle = handle; } publi ...Show All
.NET Development Updating DataSet using TableAdapter
Hello, The way I am updating the typed dataset right now is: this.myTableAdapter.Update (this.myDataset.ObjectTable); I was wondering if there is a possibility to update the dataset without actually specifying the adapters name (so I don't have to hardcode the name in the code). In the sense, if I have the a table, to get the parent of that table (table.DataSet) and update the dataset like that. The problem is, I don't know how to get the tableAdapter that is attached to that table, or dataset. I can do something like that: if (this.myDataset.ObjectTable.TableName == table.TableName) { .. ...Show All
Visual Studio Team System Automated Test?
I was under the assumption that 2005 had a way to create automated test. I can not find it we are trying to move from IBM Rational Robot to using all products Microsoft. Can anyone point me in the right direction Hi Robby The only functional testing provided in VSTS is through web tests. These will help you if you are interested on testing web applications. If you're not interested in web applications, then unit tests might be a solution, but you'll have to provide the infrastructure (or get it from third party vendors). If you create your own UI framework, you can certainly use it from within your unit tests. You might want to chec ...Show All
.NET Development underlying connection was closed:unable to connect to remote server
hi, webservices installed on windows 2003 is trying to access another server behind firewall. And getting this system.net exception. please let me know whts the fix for this. thanks gouda I have been receiving this exception for over a week with a .NET remoting app and can't find a solution anywhere that works. Below I'll paste my config files and the client code calling the remote method. I'd really appreciate some assistance. The Server code and files are on a remote server within our facility and have been told more than once there is no firewall between my wo ...Show All
SQL Server better sql join
A bit out of topic but here i can find the right person who explain me... I have 3 tables: User(ID,Name),Customer(ID,Name),Order(CustomerID,UserID,Qty) I want to know the difference (i think in performance because are both right) between: SELECT U.Name, C.Name FROM User AS U, Customer AS C, Order as O WHERE C.ID=O.CustomerID AND U.ID=O.UserID AND U.ID=5 AND C.ID=7 ________________________ SELECT U.Name, C.Name FROM User AS U, Customer AS C, Order as O WHERE C.ID=O.CustomerID AND U.ID=O.UserID AND O.UserID=5 AND O.CustomerID=7 Thx Hi Manuel As far as I can see you second ...Show All
Windows Forms Dispose method for my class library
I've made a class library and I want to add a dispose method to it. I've look into the MSDN-help, but I don't understand all this long code including protected overridable methods....... Can't this be done with som simple code. Public sub Dispose() '''what goes in here End sub I've tried whith GC.Collect() and GC.finalize(), but it dosn't seem to work. Any suggestions You should only ever implement the IDisposable interface when you are using resources that the garbage collector cannot know anything about, such as WIN32 GDI resources and allocated memory on the unmanaged heap. Objects that ...Show All
