mohaccc's Q&A profile
Software Development for Windows Vista Why themes needed in workflows?
Hi! I may be miss something, but why themes needed in workflows What is the reason for it Hi Sergey, Themes allow customising of the look of the rehostable workflow designer for use in third party applications. Regards, Paul ...Show All
Visual Studio Team System TFS crush
Sometimes the TFS will crush and the JIT debugger will show a dialog to ask me if I want to debug the service. I checked the event log and found there are some errors (from later to older): Error(15:20:54) : EventType teamfoundationue, P1 1.0.0.0, P2 tfs, P3 v2.0.50215, P4 8.0.0.0, P5 eleadunhandledexception, P6 9ca2ef21, P7 499f38b1, P8 ae76437f, P9 NIL, P10 NIL. Error(15:20:54) : Initialization failed to load task list from TFS Registration service. Loading task list from log file. Error(15:20:54) : Microsoft.VisualStudio.ELead.Common.Exceptions.ELeadException: Unable to connect to BIS service. ---> Microsoft.VisualStudio.ELead.C ...Show All
.NET Development Getting started with a web application
hi, I am getting started with a web application at work. I am familiar with programming but new to ASP.net and a web application creation. Can some one point me a good learning site online or good books.. Thx, Srilatha http://www.amazon.com/exec/obidos/tg/detail/-/0201760401/104-0929007-8098316 v=glance is a good book if you're an experienced developer. If you don't have that much development experience, ASP.NET in 21 days and such books aren't bad, and typically you can get through them in a day or so. Josh ...Show All
Windows Forms Calling an event within another event in C#
This is an interesting question. If I have a form A and a form B; I have an event in form B that I need to call in a button event in form A. We are assuming they are in the same namespace, etc etc. How can this be done buttons has a method called: PerformClick() which fires the Clicked event. First form contains a button (public) that shows a message box when clicked on: public Form1() { InitializeComponent(); } private void button1_Click( object sender, EventArgs e) { MessageBox .Show( "Test" ); } private void but ...Show All
Windows Forms designer can't load form. Where is 'more information'?
after going from beta2 to rc1, the designer all of a sudden cannot load my forms anymore. instead, i get the infamous window with the red top that says some errors may go away building the project, while other need code changes. needles to say: the file compiles fine, the form could be opened with the beta2 and vs2003 designers and obviously doing a rebuild doesn't help at all. now what the additional error message says; Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. ok - great. now how do i retrieve the loader exception property. how can i fix this where can i find more info ...Show All
Visual Basic VS 2005 IDE Unresponsive
We had originally installed Beta 2 of the product which ran better than expected. After using the tool from MS to uninstall the beta software we then installed VS2005 Final which we downloaded through our msdn subscription. The IDE becomes just about unusable. Not only that but it pretty much renders the computer useless while it eats up CPU cycles. This occurs during the following conditions: 1.) We make a small change in code and the editor hangs, the hour glass pops up and the cpu usage for the devenv.exe process is usually at 99%. The icon at the top of the VS IDE switches to the default exe icon. This unresponsive behavior usually ...Show All
Software Development for Windows Vista CodeDomDesignerLoader
My problem is getting drag drop of toolbox items when using CodeDomDesignerLoader. I have a designer hosting application that provides the workflow designer and a toolbox allowing for drag drop of toolbox items onto the designer. Everything works fine when using a loader based on WorkflowDesignerLoader and you can drop toolbox items onto the designer and everything updates fine on the display with the activity added. However when I use a loader based on CodeDomDesignerLoader everything looks ok but when you drop a toolbox item onto the designer nothing happens and the activity is not added! Does anybody know what's wrong Thanks ...Show All
SQL Server data flow steps
Hi, I have one data flow with 10 sources and destinations in the flow. For the sources I'm using the datareader for an odbc and for the destination I'm using the ole db destination source. By default these run parallel when executed. Is there a way in the dataflow to run them step by step instead of creating 10 different data flow tasks in the control flow Or is it better to have 10 different data flow tasks ...Show All
.NET Development Multiple server objects in one remoting configuration file
I would like to use one remoting configuration file to set up multiple remoting objects so that I can use one Windows service to implement many objects. I have been able to set up one object successfully. But I would like one Window service to accommodate many remoting objects to duplicate the way MTS handles many objects in a package. I would like to avoid having to set up a Windows service for every object. I have attempted defining multiple <service> blocks within the <application> section fo the server-side configuration file but I am having no success. Is what I am trying to accomplish possible Hi, I ...Show All
.NET Development HTTP-GET through a proxy
Hey I am working on a proxy testing program as a personal project for a friend of mine, and for the life of me I cannot figure it out. I have searched the forums and MSDN till im blue in the face for something I figured would be very simple. maybe you can help, all I need to do is do a HTTP-GET to a specified URL ( his website ) through a third party proxy ( my proxy ) from c# application. Can anyone point me in the right direction Thank you very much for your help. I was able to get the application to work using the "new Network Credential" line. However, I was surprized that the .UseDefaultCre ...Show All
.NET Development CertMgr tool and PFX (PKCS #12) Certificates
How can I import a PFX certificate into a System Store from a file. The following does not work: certmgr -add mycert.pfx -s my The error I recieve is: Failed to open the source store I think it has something to do with the encoding (-e) flag, but I can't find ANY documentation on this. Sorry -- I'm not sure ... certmgr is a tool produced by the Windows team, not the CLR team. -Shawn ...Show All
SQL Server Moving text file properties for sql2k dts to sql25k ssis packages???
Hi everyone, We’ve got almost 250 old dts packages which simply loading data into Sql tables from plain files or at the reverse point. Most of them are defined with fixed fields and its fixed positions one after one. We don’t want to migrate them using Import wizard, on the contrary we’re producing them from the beggining taking advantatge of SSIS architecture to the full. And now, we’re trying to imagine how to migrate automatically that valuable info from Sql Server 2000 to Sql Server 2005 without efforts… You know, any program be able to move that detailed info to SSIS. So we would avoid to select again all these ...Show All
Windows Forms Search a string in a string...
Hi folks, I'm looking for a way to look for a string in a string. Like this: string a = "A: AResult B: BResult C: CResult asdflkjasdfölj saldkfasöldk asldöfaslödk sadlöfksdaölf söadlkasdölfkj saldkfasöldk asöldkasöldk asölkfasöldk" Now I want to have following results: string aA = "A:"; string aAResult = "AResult"; string aB = ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Floating Point arithmetic difference between VB and C#
I am in a bit of state at the moment, I am really surprised at what I have found, please see the two code samples below. The first is Visual Basic and yields a result of: 100040624.0 the second C# and yields a result of: 100040629.0, which is correct. This error is causing my Line Circle intersection function to fail!! Oh my God have just spent the last two years writing my app in VB and now have to convert to C#. Dim a, b, c As Double a = 10002 b = 25 c = a * a + b * b result: 100040624.0 double a,b,c; a = 10002; b = 25; c = a * a + b * b; ...Show All
Smart Device Development where to find ncb file
hello koogle, " The designer could not be shown for this file because none of the classes within it can be designed. " in the above query you had given the following answer. "Try to do this: 1. Find <your solution>.ncb file and move it somewhere else 2. Create new solution with one form. 3. Close new solution and copy <new solution>.ncb file to <your solution>.ncb" I some time do get the same error . I have an application in VB.NET i have 10 forms in it and i get this error for some forms only and not for all . Now I dont see the .ncb file for my project. can you ...Show All
