xRuntime's Q&A profile
Software Development for Windows Vista Data Activities
Hi All, could you please tell me, why there aren’t Data Activities(Wait for Data, Update Data...) by Framework 3.0 any more What can replace this activities By the way, in my workflow from an activity i would like to invoke a mask, after a pause time (delay) if the mask not be filled, it will be continue to wait once more time, else exit, the question ist, how can i detemine in the workflow whether the user have reacted or not. Any help ist appreciated Regards The Data activities were removed around Beta 2 or 2.2 time frame. You can use CallExternalMethodActivity and HandleExternalEventActivity in place of the data activities. If you want to wait until the user has done something or a period of time has ...Show All
SQL Server Updating a part of coulmn value in a table
Hi, I need to update just a portion of a column value in a table. example, Order_data = 'source=ABD00050&ordsrc=&ecode=ABD00001' Order_data ='source=ABD00050&ecode=ABD00001' for both of these values of Order_data I just need to update value of ecode.. Please help.. Thanks, Reva I was able to do it for the two records but now the problem is that I need to do this update for 150 records where the value of the source is diff and acc the value of ecode is to be set. like if source is ABD00051 the ecode is to be set to ABD00051 (nearly 25 records) if source is ABD00043 the ecode is to be set to ABD00043 (nearly 10 records) if source is ABD00045 the ecode is to b ...Show All
Visual Studio 2008 (Pre-release) July CTP: Issues with exposing types that implement IXmlSerializable and contain other data types that implement IXmlSerializabl
Hi, This is driving me crazy and some help would be really appreciated. At the highest level, the issue is that wsdl is not being generated correctly. Some clarifications: We are using IXmlSerializable since DataContract/DataMember do not meet our requirements: We want more control over the schema including adding restrictions, etc. We want to use xml attributes and not just elements The types do make use of the XmlSchemaProviderAttribute feature in .Net 2.0. Some types are simple types that contain primitives. They provide the exact XmlSchema as per our requirements. Some types are composites that contain other types that in turn implement IXmlSerializable. T ...Show All
.NET Development "Caller" of an Attribute
I have an attribute class like this: public class SqlPropertyAttribute : Attribute { public string DBField; public SqlPropertyAttribute() { } public SqlPropertyAttribute( string columnName ) { DBField = columnName; } } public class MyClass { [SqlProperty("DBField1")] public string Name; public string Description; } The MyClass has 2 members: Name is created with the information to use "DBField" as DataColumn. Description should be created with the information to use "Description" as DataColumn. How do I receive this information - the Membername - when calling the constructor of the Attribute Afterwards when i step through the attributes of an instance from class MyClass, i want to ca ...Show All
Visual Studio 2008 (Pre-release) MSDN Managed Newsgroups for WPF?
Are there any plans to provide Managed Newsgroup support for WPF and the rest of .Net 3.0 It seems strange that there are some 230 managed newsgroups, including WinForms, but nothing for Microsofts new flagship UI. -- Just feeling a little disgruntled here because more often than not, when I ask a question nobody has an answer. Michael Hi Rob, Did you get any further with this A couple of other links:- http://msdn2.microsoft.com/en-us/subscriptions/aa974230.aspx http://msdn.microsoft.com/newsgroups/managed/default.aspx I've found the managed groups incredibly useful in the past as you can rely on getting a fairly authorative answer to more difficult or subtle question ...Show All
SharePoint Products and Technologies Count not load assembly / impersonation in call to lists web service.
I'm trying to run a simple list item add operation and a call to UpdateListItems is returning the following error: System.ServiceModel.FaultException was unhandled Message="Server was unable to process request. ---> The type initializer for 'Microsoft.SharePoint.SoapServer.SoapServerException' threw an exception. ---> Could not load file or assembly 'System.Web.Services, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Either a required impersonation level was not provided, or the provided impersonation level is invalid. (Exception from HRESULT: 0x80070542) ---> Could not load file or assembly 'System.Web.Services, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a ...Show All
Visual Studio Retreive Project location
Is there a way to retrieve the location entered by the user when creating a new project similar to $safeprojectname$ ie File > New Project Or will I have to use EnvDTE to determine the path of the project Kosmo Hi Kosmo, IDictionaryService is used to access recipe arguments. In this case "LocalDirectoy" is not really an argument in your recipe but a VS expansion macro. If what you need is a recipe argument containing the path to the created solution then it looks like you should code a ValueProvider for this. We've have one in the Clarius SFT called "SolutionPathProvider" that does just this. The code for it very basic: public class SolutionPathProvider : ValueProviderBase ...Show All
Smart Device Development Fragmentation of TCP Packets
Hi, I am the guy, who is fighting with TCP Packets fragmentation. I have another idea how to avoid it. If there existed any library, that would work like this: 1) I am sending packet, through TCP (I am forcing to send it in not more than one packet) 2) TCP library fires event, that tells me, that Packet was send, and gives me info that noumber of bytes was send, but bytes from some byte number were not sent. Something like this would be great for me. My last two post concerning fragmentation cana be found using keywords: MTU and MSS. Somebody already solved my fragmentation problem. The answer is here: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=532111&SiteID=1 ...Show All
Visual Studio Team System How to get the users for a project in Security in TFS programmatically
Hi as a part of TFS extensibility i need to make sure that all the projects in TFS should have only group accounts .There should not be any user account in Security.I need to check programmatically, that how many users are there in security who don't come under any group,using TFS API.can any1 help me out in this. Thanks james for the post.But my requirement is bit different.I dont want to see for Team project's groups.Rather i want to make sure that any member in project security should be group accounts.If we right click on a teamproject, then the secutiy option comes wherein we can add a new group or any windows users.I just want to get these Windows users for any of my TFS projects projects. IGroupSecurityServ ...Show All
.NET Development connect to an oracle database
hi! i need to connect to an oracle database. i already have the Oracle client runtime installed and i also checked the ODBC data source administrator if i have the Oracle driver, which was also there. My problem is i cant find any Oracle in my .NET components.. so i cant use OracleConnection. Could someone please help me with this thanks! Even though .Net (2.0) references Oracle with OracleConnection, one must install it from within Oracle. There are many versions of oracle, but from 8 on so this answer is vague...you might need to install the whole thing or a specific .Net section...depending on which version. When in doubt install the Full admin instead of just the client. ...Show All
Windows Forms Maximized form is visible on the screen before call to OnShow()
Steps to reproduce: Create new Windows Application project Add control to the main form (e.g. ListView) Set form's WindowState to Maximized Override OnLoad() and OnShow() methods Set breakpoints on the calls to the base and run under debugger Note that the form is present on the screen when OnLoad() is hit (before call to OnShow()) Note that form's content (the ListView) isn't visible yet Repeat same steps for WindowState set to Normal and compare Proper way to answer a question in depth should start with understanding it first. Quite painless appearance of the list view wasn't my primary concern. Its absense is an unfortunate side-effect of using visual designer. Not as &quo ...Show All
Visual Studio Express Editions Import data (csv or Excell Spreadsheet) to existing table
I need to import data from another source database. I don't have access to that database only a csv or spreadshhet that the database provides. I have data already in the table and need to append the imported data to it. Using either a csv file or a excel spreadsheet, Can somone please explain how i import data into an existing table in vb2005 express. You don't mention what type of database you are working with but I will assume SQL Server. There are a few ways to do this but probably the easiest method would be to use BULK INSERT . ...Show All
Smart Device Development failover partner error in connectionstring
Hello When I specify a failover partner on the connection string for a smart device and run the program I get the following error: "Unknown connection option in connection string: failover partner." Is the failover partner not supported by Compact Framework or am I typing wrong Thanks I don't believe it is. You might be able to use exception handling to switch to another server instead. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. TextureLoader parameters
I have this line to load a bitmap texture from file. I'm calling it this way so that it uses the default memory pool instead of the managed memory pool -- which frankly I think is pretty bad for memory management and GC (even when calling Dispose!)... but I may just be using it wrong. To be truithfull though, I'm really just guessing at most of these parameters... It works, but I'd like to know how I could possibly make it more efficient for memory consumption. The application is long running, so not consuming excess memory is very important. Thanks guys! TextureLoader .FromFile(device, path, width, height, 0, Usage .Dynamic, Format .R8G8B8, Pool .Default, Filter .None, Filter .None, 0); ...Show All
Software Development for Windows Vista Installing SQL 2005 on Vista
Hello folks, I have just installed vista and the next step is to install other software for developing applications on vista. While trying to install SQL 2005 i get an error message which says that i dont have enough previleges to use IIS. And as a result i am not able to install an important part of SQL i.e reporting services. Anyway the problem has a solution, which is to change the local security policy : User Account control: Behavior of the elevation prompt for administrators in Admin Approval mode to "Elevate without prompting" But even after doing so i still face the same problem. Note: if i do the same thing under Admin previleges, it works fine, but i cant do that all the times. I do want to elevate the permissi ...Show All
