arongpan's Q&A profile
Software Development for Windows Vista IMemberCreationService missing
I created a new Windows Application project today, added all references to the Workflow assemblies and then added a Sequential Workflow (code) to my project. Every time I open the designer I get: The service 'System.Workflow.ComponentModel.Design.IMemberCreationService' must be installed for this operation to succeed. Ensure that this service is available. at System.Workflow.ComponentModel.Design.NamePropertyDescriptor.SetValue(Object component, Object value) at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeAssignStatement(IDesignerSerializationManager manager, CodeAssignStatement statement) at System.Com ...Show All
Visual Studio Support for generics in code model
I have a problem with getting information about generics from code model, e.g. how can I obtain information about generic parameters from CodeClass2 Any ideas How are generics supported by code model (I have found only isGeneric method in CodeClass2/CodeInterface2/...) I think that ther should (an probably there is) better support. I have been looking for it in EnvDTE80 namespace, but I have not found any interesting classes/methods... Thanks for help, Jarek That's coincidence. I've had the same problem few days ago and asked the same question in http://groups.yahoo.com/group/vsnetaddin/. It seems that co ...Show All
.NET Development Dataset - Forms vs Web
I've noticed a couple of differences between the forms and web versions of datasets with the Beta 2, and was wondering if these are deliberately different and will stay that way, or just due to it being in a beta stage. When you create a dataset object (Add -> New Item -> DataSet): 1. In forms, the xxDataset.Designer.cs code behind file is generated and placed in the project. In asp.net, it appears to be generated on demand 2. Delete Method. In forms, the xxxTableAdapter.delete() methods take the original version of _every_ field as a parameter, which is somewhat difficult. In the web version, it takes the primary key... Thanks ...Show All
Visual Studio Team System Source Control Disabled
I've been configuring (well trying to) security. somehow I've managed to disable the Source Control menu option under the Team project settings menu accress all projects. What have I done I've found that the TFSServer account has access to this option, the only differencne I can see with it's rights and mine is that it is a service account. How do I add users to the service users group ...Show All
SQL Server Strings, Splitting, and Numerics
I am having problems splitting numeric values in Reporting Services 2005. I have a string such as “2, 3, 4, A”. When I run the following statement I receive an error: IIF(IsNumeric(Split(Fields!Numbers.Value, ", " )(3))= false , Int( Split(Fields!Numbers.Value, ", " )(2)) , Int(Split(Fields!Numers.Value, ", " )(3))) Structurally it looks sound, but the error handling behind the scenes flags it as an error. Does anyone else have this problem or know how to fix it Thanks for your help. I suspect the Int() casting is causing the problem. In the "if f ...Show All
Visual Basic Converting a String to a Guid?
I have a guid stored in string variable that I need to convert to a guid type. How do I do it ...Show All
.NET Development Select reccord
Hay, I load data from a database and show this in a form ,whit the Bindingnavigator i can move to the Next reccords whit the " MoveNextItem_click event." But how can i move to a reccord on a specific search string Find solution Dim index As Integer Dim zoekstring As String zoekstring = Me .BindingNavigatorTextBoxZoeken.Text index = TVogelBindingSource.Find( "Ring nummer" , zoekstring) Me .TVogelBindingSource.Position = index Me .Invalidate() You should find the position in data source, in your case (assumin ...Show All
Smart Device Development How to play a simple Beep???
Ok mates, Another attack from the new n00b on those forums, Im trying to play a simple Beep from my Windows CE app, and I saw a lot of codes around to do it. But, Hasnt Windows CE Compact Framework a simple routine to do it Like my old MSX Thx in advance, use these declares... <DllImport("coredll.dll")> _ Public Function WCE_PlaySound(ByVal szSound As String, ByVal hMod As IntPtr, ByVal flags As Integer) As Integer End Function <DllImport("coredll.dll")> _ Public Function WCE_PlaySoundBytes(ByVal szSound() As Byte, ByVal hMod A ...Show All
SQL Server New Login with Trusted Connection
I have my development machine connected to my SQL 2000 server using trusted connection. I want to setup another machine for testing purposes. How do I setup SQL for another user I can't get pass the Domain, when I setup a new login using trusted connection. It only shows the admin and my account on the sql server machine. Once that is completed, how to I setup a w2k pc for trusted connection Thanks, MikeD Greg, I have an application I'm developing that I'm using Windows Authentication for the SQL login instead of SQL Server Authentication. Since I'm not using a Domain controller, I think things ...Show All
Visual Studio Express Editions I need help installing Starter kits!!!!!!
Hi, i tried installing a starter kit. and when i get to stage 2 of the installation i get errors on everything thats installing. All the errors read: Installation stopped because the directory for the ProjectType value did not exist. The project type is invalid for your installation of Visual Studio. Please can you help me, I need the starter kit so i can create my band website Sorry I should have asked what edition of Visual Studio are you running If you have Visual Studio 8 installed (and not one of the Express editions) do you have the web components installed (Do you have the option to create a web site - File -> ...Show All
Visual C# Publish And Subscribe with C#?
Hello all, I have code that read data automatic from serial port and filter, display some kind of datas. Data on serial port change 50 time per second. So i need to write my code as publish and subscrible way to prevent data from lossing. Is there any help about Publish And Subscribe with C# Thank you! ...Show All
Visual Basic Loading Data Using ProgressBar as Indicator
Here we go again folks, hope you help me out on this one...I had a form(frmAccount) wherein it has a datagridview(dgvAccount) that bounded to a certain table of my db.Because of too many records(about 20000), it takes such time(about 8seconds almost) to load all of the data...I had no idea how can I possibly decrease this loading time so I just put a progressbar(pBar) as an indicator of the process.This progressbar was attached in the main form(frmMain)...What I really want to do is, once I clicked the button on the frmMain, pBar would automatically increment to its maximum with respect to the loading of frmAccount...Simply put, unt ...Show All
Architecture How framework speaks with OS
Hello , is there some one who can give me some information ,about a book or a URL on how .net framework speaks with Windows make it clear (its not how application work with framework , or some thing like how clr works) how the entire .net framework speaks with Windows , what it uses (does it use api's or some thing new if api's please please specify the url where i can get the information about the same) Well, there is nothing documented about it. Perhaps, you can take a look at Rotor (SSCLI), an open-source implementation of .NET and C# from Microsoft or Mono, a non-Microsoft implementation of .NET fo ...Show All
Visual Studio Team System TFS project deletion and Team Explorer
Following the MS Walkthrough on "Creating a New Team Project" I created the AdventureWorks team project. After messing around with it for a while I deleted the project from TFS using the Team Explorer (or so I thought). Today starting their tutorial over I tried to create the Adventureworks team project and got the Error " TF30321: The name you typed is already in use for another team project on the Team Foundation Server..." So I didn't delete it after all! How do I delete this project from TFS TIA, Barkingdog There is a command line utility, TFSDelet ...Show All
Visual Basic Try..Catch not executed in EXE
I have a Shared Sub Main() in my application which, after performing various startup tasks, shows the main form by executing Application.Run(frmMain). All code in Sub Main is encased in a Try..Catch block. If an error occurs further down in the call stack (in the form or another class), then that Try..Catch block catches the error, displays a message, and calls a shutdown routine. This works fine in the development environement. However, in the compiled EXE, if there is an error in the form, the Try..Catch block doesn't get executed. Instead it displays an "unhandled exception" dialog. Why does it behave differently in the co ...Show All
