lawlessSaturn's Q&A profile
Windows Live Developer Forums DotMsn Connection Licensing
OK. I'm using DotMsn and C# to connect to MSN network, but 95% of the time, it fail. Currently, I am using the default setting provided DotMsn as my connection parameter -- client id: msmsgs@msnmsgr.com -- Client code: Q1P7W2E4J9R8U3S5 . I believe the connection failures have something to do with the licensing as the official documentation stated that: "Note that officially you must use an obtained license (client id and client code) from Microsoft in order to access the network legally" I wonders where can i register for a license to the network DotMSN isn't a certified solution. What that means to you, is that if you build a bot on top of it you won't be able to get the bot offically licensed on the network (provisio ...Show All
Visual Studio 2008 (Pre-release) Does the .NET 3.0 July CTP include ADO.NET 3.0?
The .NET 3.0 July CTP can be downloaded from here: http://www.microsoft.com/downloads/details.aspx FamilyId=62057A6F-185F-41DB-ABE5-678F6FC388F0&displaylang=en Does this include ADO.NET 3.0 If not, when ADO.NET 3.0 is released, will it be part of a .NET 3.0 CTP ...or a standalone CTP Michael. Jesus Jimenez - I feel renaming .NET 3.0 back to WinFX or something else this late in the cycle will cause EVEN MORE confusion. It was a mistake to name it .NET 3.0 - no qualms about that, but let us just count our losses and move on for now, and hope that MSFT will consider asking their product teams before making silly name changes going forward. Sahil Malik http://blah.winsmarts.com ...Show All
Visual Studio Team System Version Control Blues
Hi all, Been scratching my head on this one for a while now. I have a solution comprising a web project and a windows project that have been added to a Team Project under version control. Basically, the issue arises whenever I, or my colleagues, add files to this project. Let's say I add a folder called "Code", and a file called "Class1.vb". These changes sit in my local copy until I 'Check in pending changes', right When my colleague goes to his PC to get access to the file I just downloaded, when he does his 'Get Latest (recursive)' or 'Get Specific (force downloads)', he STILL doesn't see the file. Rather, it's there - but 'hidden' because VS2005 on his copy says that it is not included in the project. No ...Show All
Software Development for Windows Vista Stop excution of compisite activity but not terminate parent workflow!
Hi all, I have to implement a big workflow. I have to divide this big WF into some small part and add them to custom activity. In custom activity, i want to terminate (or stop) execution of it. I try to use Terminate Activity for this, but when i do it, not only the custom activity terminate but also the parent workflow terminate to. How can I fix it I need to do the same, you could do it The problem is that each activity runs in a different thread, and it is provided by the scheduler service. To stop a running activity you need to abort this thread, but it isn’t accessible. Did you find another solution ...Show All
.NET Development File watcher(When any modification in file)
Hi, I am using file watcher concept in .net ,When any event occur it will call. But I want ,other than file watcher concept like XML based watcher,How can I watch the file through XML.Please help me....(When any modification occur in client side folder, It will uploaded to the Server.This is my work) Thanks, justin(Navya) Hi, Thanks for ur reply.I think the file watcher works 80% only,some times it cannot work thats what i am trying to another concept.Reply me please ,Is any other possible way to watch the particular File.Please Rely me. Thanks . justin(Navya) ...Show All
Visual Studio 2008 (Pre-release) Fitting Lines to Fill Available Space
Hi, I would like to be able to have a line be able to fit to the available height. For example, < StackPanel Background = " SlateGray " Height = " 100 " Width = " 100 " > < Line X1 = " 50 " X2 = " 50 " Y1 = " 0 " Y2 = " 100 " Stroke = " Yellow " StrokeThickness = " 5 " StrokeDashArray = " 3,3 " /> </ StackPanel > But without having to specify the Y2 value. Clearly, in this simple case I could bind to the parent width, but I would like to have it do it automatically. Does anyone know of a way to do this Thanks! Sure eno ...Show All
Visual Studio Team System Unable to connect to workitemstore after windows update
Hi! We have a web service which are inserting work items to the tfs work item store. After windows update ran on Wednesday I get the following exception when trying to connect: Cannot complete the operation. An unexpected error occurred. at Microsoft.TeamFoundation.WorkItemTracking.Client.DataStore.HandleComException(Int32 hr) at Microsoft.TeamFoundation.WorkItemTracking.Client.DataStore.DatastoreClass.ConnectEx(String connectionString, Int32 hCredentials, String defaultCachePath, String instanceId, String userSamName, String userFriendlyName, String userSid) at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemStore.InitializeInternal() at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemStore.Microsoft.TeamFoundation ...Show All
Visual C# Password Form
hi, i wnat to make application which will ask for user for a password through a password form & then main application will start with main form if password entered by user is correct. I want password form to be independent of the main application form & if entered password in password form is correct , i'm making the PasswordForm.Visible = false; this will make the password invisible. but i'm not able to make my main form visible which is having many child form. So how i can make password form independent of my main application form & how can i shift from passord form to main form. thanks in adavance, Vinay In the main form Load event instance password form with showdialog method ...Show All
Windows Forms how to ReadFile to enum type?
Hello everybody! I have a question how to read the file to enum type. I want to do something like; public enum Position { PointGuard, ShootingGuard, SmallForward, PowerForward, Center } public void Load(string FilePath) { StreamReader sr = new StreamReader (FilePath); Player player = new Player();// create new object = sr.ReadLine();// I want to add in sr.Close(); } I'll appreciate your tip. Thank you. I should have put more code on it. I'm sorry. The file includes such as like this; public void Save(string filePath) { StreamWriter sw = new StreamWriter(filePath); sw.WriteLine(m_Name); sw.WriteLine(m_City); ...Show All
Software Development for Windows Vista CorrelationManager.ActivityId changes when in a method under Workflow
I am having an issue with the CorrelationManager.ActivityId changing on me when I am running inside of Workflow. I understand that the CorrelationManager utilizes the CallContext to store its state, but I can't figure out why the ActivityId is a different guid when running under Workflow. In fact, the ActivityID is set to the WorkflowInstanceId. Within my workflow method I can do a CallContext.LogicalGetData("System.Diagnostics.Trace.CorrelationManagerSlot").Peek and get out the stack in the same position I expect but if I do a CallContext.GetData("E2ETrace.ActivityID").ToString or (Trace.CorrelationManager.ActivityID same thing) I get the WorkflowInstanceId. This is causing me much difficulty when trying to log a ...Show All
.NET Development Disposing Query Results using System.DirectoryServices.Protocols
I'm using S.DS.P to query a directory that returns some pretty large result sets. Paging is not an option since it isn't supported on the directory (IBM DS). The problem is that I can't seem to get rid of the result sets from memory once I'm done with them, and if they hang around then my program runs out of memory. ...Show All
Visual Studio Team System Locking a Label
Hi, I'm searching for the best way to lock a certain label. I would like to realize a code freeze with TFVC. What I mean is that at a certain point of time no one besides the administrators of TFVC can move, delete or set a certain label. On our ClearCase system this is done right at code freeze during a stabilization phase when no one should be able to add any changes to the code marked with the night build label. While no changes are submitted errors can be solved and the version can be stabilized. As soon as the version is stabile the label is free again and can be used again. I hope this draws the picture of what I'm looking for good enough. Pls let me know if not. Tom We don’t really use labels internally. TFS ...Show All
SQL Server can't execute tasks after moving .dtsx to new server
Hello. I have two servers, A for dev and B for production. On server A I developed a project containing a SSIS package using SQL Server business intelligence development studio. The package runs fine from the BIDS and also when I save it to SQLServer itself and run it as a scheduled job using the SQLServer Agent. All ready to roll out to Server B I thought, so I then saved the .dtsx file to a shared network drive. On Server B, I created a empty project with the same name as it had on Server A. I then imported the .dtsx file into the project using project > add existing item. The package appeared to import ok but I now cannot execute any of the data flow tasks in isolation. If I right click on them, there is no option to ' ...Show All
Visual Studio Team System URGENT: Error when merging changes after folder move
Recently we faced with an error which preventing us from merging changes. This issue is quite urgent for us. We had a main source tree under folder $/P5/RC and several version branches under $P5/R9, $P5/R10 and so on. We created new team project named "P7" and moved main source tree into it via move operation (to folder $/P7/RC). Now when we trying to merge any changeset to version branch (for example $/P5/R9) performed BEFORE moving main tree to the new project we are getting the following error: The item $/P7/RC does not exist at the specified version. It seems to us that TFS do not take into account move operations when trying to get specific version of items during changeset merging. I believe 'tf history' ...Show All
Software Development for Windows Vista Get return value from workflow
I've a winform application which would interact with a workflow runtime to perform some approval tasks. When a user reviews the approval request, he can select either approve or reject on the winform application, it will submit to the workflow runtime to process, his action will be validated by the rules defined in workflow and it will return a result of his action (success or fail). I want to know how can I get the result from workflow when the workflow instance is completed. And how can I wait for result from workflow runtime after user submitted the action, because workflow is executed asynchronously with the winform application. Thank you very much! hey all, I have the same problem. I am developing ...Show All
