Paul Arsenault's Q&A profile
Smart Device Development couldn't find resource assembly
Hi, I'm getting "couldn't find resource assembly" msg. when i execute the apps in wireless mode. (via AP) In USB connection it's working well. PDA is pinging with notebook. i refered : http://blogs.msdn.com/netcfteam/archive/2004/08/06/210232.aspx http://www.google.com/search hl=en&q=Could+not+find+resource+assembly I added system.SR.dll as a reference.Still getting the same error. What could be the reason how to solve this Thanks The error occurs when the localized assembly with the error messages can't be found on the device. If you install the System.SR cab for you ...Show All
Visual Studio 2008 (Pre-release) Project into an interface?
This would be interesting to see in C#3: from name in db.Names, city in Cities select new ICustomer { LastName = name.LastName, FirstName = name.FirstName, PostalCode = city.Zip, CountryCode = city.CountryCode } For an interface that consisted entirely of properties, have an anonymous type implement the trivial interface. At the moment, the only way I can think of is to specifically create a class to implement the interface. I've been interested in decoupling the projection stage from the selection stage, such that I could have a DAL consisting of, essentially, from/where clauses, and have in the presentation layer ...Show All
Visual Studio Tools for Office Toolbox weird behavior!!!
I am using VSTO 2005. I am working on an Excel Template. Suddenly the toolbox becomes disabled and prevents me from adding controls to the Excel sheet but it is enabled in regard to the taskpane. I reinstalled VSTO and it was enabled but now disabled again. Do you have any idea this is very urgent.... Thank you........ What are you doing immediately before the toolbox becomes disabled Also, after it becomes disabled, does it become enabled just by viewing a user control in design mode or perhaps a different worksheet Did you protect the worksheet(s) in the project This would prohibit you from ...Show All
Windows Forms missed controls/properties?
My project is an user interface for an access 2003 file. I need these things: ComboBox that check the item The user may click the arrow and select the item using the dropdown list and he can also enter the text. The ComboBox must show a messagebox telling the value is wrong. (Ive another unresolved thread for this http://forums.microsoft.com/msdn/ShowPost.aspx PostID=13251 ) TextBox for Dates TextBox for Double TextBox for Integer There's the format property for textboxes in Visual Basic 6 , why there's not a .net equivalent Joe, the formating stuff doesn't work . The textbox doesn't have a ...Show All
Windows Forms A Terrarium Server is Up and Running at http://207.158.113.70/Terrarium
Enjoy! I'll try to keep it up as much as possible. Hi Alan. Unfortunately I'm not running this on a "server" platform. I seem to be experiencing some problems related to the number of concurrent connections. I've been working on an application that may be causing some of the trouble. I'll see what I can do to mitigate it's impact. The server is back up and running. If you experience any more trouble send me a quick email. Thanks. ...Show All
Windows Forms SURVEY about your usage of the .NET Framework documentation!
Hello - I'm conducting an official survey about your usage of the .NET Framework documentation. In particular, what programming languages do you filter on. Your answers will be used to help improve the documentation viewing experience. When reading the survey, remember that the concept of filtering on a programming language is talking about viewing the documentation wit ...Show All
Windows Forms Blocking Popup Error Message Window
Hi: Is there any way that I can Prevent Popup Error messages from being displayed by an application in windows i.e. I have an application that displays an SQL error message window. At the same time that this error message window pops up I want an application window that I make to pop up instead. so I want my own messag ...Show All
Visual Basic VB6 to .NET
I am currently supporting and developing a VB6 client based application that needs to be migrated to a web based application. I am know that we will be migrating to .NET but what will that mean that it will be converted to a web based application or what will it take at a high level to make it web based "what will that mean that it will be converted to a web based application or what will it take at a high level to make it web based " I've always thought "web based" as being a little more of a management buzzword than a meaningful engineering term simply because o it's ambiguity. So I would agree ...Show All
.NET Development xml serialization problem
hi! I am new to xml serialization so please bear with me. Ilya on the smart device forum gave me a huge hand in guiding me to the right direction. What I want to do is serialize objects so I can transport it across a network (PC to mobile) running .NET 2.0. I have followed: http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpref/html/frlrfsystemxmlserializationxmlserializerclasstopic.asp but getting an InvalidOperationException with "There was an error generating the XML document". I have a main form I have a "file manager" and finally I have a "times" class. ti ...Show All
SQL Server Enable User Instances in SQL Server
I'm just starting out and trying to connect to my first database using the following string: Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\RFPdb.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True I get the following error during debug: " Generating user instances in SQL Server is disabled. Use sp_configure 'user instances enabled' to generate user instances ." I've done this on every database - Master, Model, Tempdb, etc, and my database. Still get the error. I may not be enabling it correctly. Any help would be appreciated. The documentation suggests that I use user instances so th ...Show All
Windows Forms Split Containers - Beta 2
When in Design mode I am finding it increasingly difficut to keep a handle on Split Containers !.After creating panels I may put some viewers in them which have been Docked Full.Then later on I want to add in a new container I have to undo the dockings so I can access the 'Parent' control in which I want to drop a new container. Before dragging a new control onto the design panel - what is the best way of identify the control you want to act as parent for it. thanks Hi David, A good way of handling parenting and z-order issues in general is the Document Outline. To open this, click: View -> Other ...Show All
Visual C# XML in Application Tutorial/Example?
Are there anygood Tutorials/Examples on reading and writing XML files in C# applications Mateusz functionx.com has some quite simple tutorials for you to get started on XML in c#. check out: http://www.functionx.com/vcsharp/index.html ...Show All
Visual Studio Team System Sorting by Rank sorts incorrectly
Rank is an integer field - but when you sort it and you have say 13 items ranked from 1 to 13. When you try and sort it in the UI by Rank it will rank them 1, 10, 11, 12, 13, 2, 3,4,5... Since the UI only allows integers in this field - sorting it like a string isn't right - I am using the RC version. Hello Bryan, You are right- the Rank field is defined as a String field but the form accepts Integer values. In V1, the field is defined as a string to allow new items to be inserted into the order without renumbering the other work items. However, we do not want to accept non-integer values for this field, ...Show All
Visual C# message box in webapp
I need help. I need a message box OK/Cancel button in a web application (JavaScript ) to confirm a deleting row the problem is that i have not button "Delete" but i have a datagrid with a button column. Thx PS-could you post code and explanation In the ItemCreate event from the DataGrid put this: Control myControl = (Control)e.Item.FindControl( "MyControlID" ); myControl.Attributes.Add( "OnClick" , return confirm('Are you sure ');" ); ...Show All
Visual Basic DragDrop Registration did not Succeed
I have an application I've been running under Visual Basic 2003 for some time now without error. Recently I purchased Visual Studio Professional 2005 and allowed it to convert my project to VS2005. I ran the application and receive "System.InvaliedOperationException: DragDrop Registration did not Succeed" In my application I found that if I change the AllowDrop for my Treeview to False everything works properly. Th moment I change AllowDrop on my Treeview to True I receive the above error. I know this was a Bug in Beta2 but on a purchased production copy Anyway, has anyone seen this error and if so what was done to resolve the problem. ...Show All
