dragoncells's Q&A profile
Visual Studio First Run - Picked General Developement
The first time you run VS 2005, you have to pick a specific developement type (Basic, C++, General, etc..) I selected General. I wanted to know how to change my selection, or if there is a giant difference between them. Please let me know. Thank you in advance, ~crittedv That wasn't quite it, but you were close. Apparently you can Import them using the same method. I just told it to import the Visual Basic Developement Settings and now I have them. Thank you, wouldn't have found this without you! ~crittedv ...Show All
Software Development for Windows Vista What Windows Workflow Foundation can do?
Hi all, We are currently in the phase of comparing different WFMS's like JBPM, K2.Net, Ultimus etc. Came to know about microsoft own WWF, and we are really interested in this. Just downloaded the beta pluggin for VS 2005 and the labs, now I'll try them out. I have three questions: 1. We can orchestrate ASP.net web pages using WWF alright, but can we orchestrate webpages developed in any Non-.Net language using WWF like JSP 2. Does WWF support importing of Business process from MS -Visio , if yes then how 3. It is said that we should not go for WWF in the case of EAI or integration scenario, but from WWF we can call web services and can reach outside systems from that, In a scenario where all the systems which need to be ...Show All
.NET Development Files and folders
Hi guys, sorry to bother you with stupid post, but I just don't know where to ask :) So...I need a simple code in VB.NET to acomplish the following: I have one folder (folder_name) with a few files . I want to arange them by date (accending) and rename all of them considreing that they'll have the same name, just with a number after na name (let say - file_name(1), file_name(2), file_name(3)) and 1 will be the oldest file, respectively - the biggest number will be the newest file. That's it. I have some misty ideas how to get to result, but it's really not enough :) I hope I'll find the answer here! 10x in advance! Hi, You will need to use 2 classes: System.IO.FileSystemInfo ...Show All
Visual Basic Other Apps give my App a "HungApp"
My application hangs when it has been minimized for a somewhat long period of time (one hour or so). This is especially noticed when another application is running on top of it and has been evidenced on XP, 2k, and 2k3 Server. Some of the specific applications that are causing my grief are SQL Server Mgmt Studio and Novell's GroupWise client. Can anyone please give me insight as to why it Hangs to the point that I need to do an alt-ctrl-del to kill the process This application was written in VS.NET 2005 written in VB using XML Web Services tied to a SQL 2k5 database and is around 28 MB installed (These machines all have at least 512 MB of RAM). For posterity, this error was caused by IllegalCr ...Show All
Visual Studio 2008 (Pre-release) WCF Performance: ASP.NET Client
I'm trying to compare performance of WCF services (recent release) with ASMX webservices in the scenario when service is called from ASPX page, under load (hundreds of concurrent users). Here is the client code in aspx.cs: MyServiceCleint proxy = new MyServiceClient(); proxy.MyTestMethod(); proxy.Close(); MyTestMethod() here doesn't really do anything, just a stub that returns an empty string; WCF security is disabled - so there should be no extra overhead. WCF service is hosted in IIS. It seems like WCF service performs much worse than similar ASMX service - WCF is more than hundred times slower ( !). I have tried different modes/settings such as ConcurrencyMode, InstanceContextMode and Throttling as described here: http:/ ...Show All
Visual Studio Newbie to MSBuild
Hi Frnds, I am totally new to MSbuild . I have few doubts and would like to get clear from you. 1) " MSBuild is use for building .NET framework Projects" Is it true 2) Also which build tool is used for building VC++ MFC code in VS2005 3) Is it possible to use MSBuild for Building VC++ MFC/ATL Code 4) Do you have any technical articles , Documents related to MSBuild If yes, mail to bhalgatashish@gmail.com . I would be glad if anybody come up with the answers for the above questions. Regards, Ashish Ashish, 1) Yes, MSBuild is currently for building .NET 2.0 projects. 2) VC++ MFC code is built using VCBuild.exe. While you can run ...Show All
Visual Basic Creating a Word document in VB6
I have a web application that need to get some data from a database and put in a word document. When the document has been generated the user need to add some text and save it. I have tried to use an ActiveX component but the browser blocks the component. How can i get around this hi i dont know how to create a word document but u can create a notepad very quickly easily just go to project menu and add new form and application item and click ok than it automatically creates a new notepad ...Show All
SQL Server Cannot insert a variable in SSIS Package designer
Hello, This morning I got an odd problem, I just added a new package to my dtproj and I cannot add a variable. Am I missing anything. here is the image Sometimes I find that VS forgets where it is, as though it looses the context that the SSIS designer is active, so SSIS specific stuff is just not available. When this happens try clicking on the package design surface to set the focus back to SSIS, then re-open the Variables window or other window that is giving you trouble. ...Show All
Windows Forms C# How to make a form click-thru-able (hard to explain in one line!)
Hi, I was considering making a cursor replacement application in C#. To do this i made a form with a PictureBox and a Timer. The Timer would synchronize the form's position to the cursor coordinates. The form was using a TransparencyKey and was TopMost. However, when I click anywhere, the form handles the mouse event, meaning that I can't do anything with the computer other than click on the cursor (not really that useful!!).... how can I make it so that clicks "go through" the form OR! Is there some way in C# of drawing images, etc. beyond the form's surface Thanks in advance! - Javawag Sorry, I think you've misunderstood my question... As the application I am making is just a cursor replacem ...Show All
SQL Server Cannot display database properties windows in Sql server management studio.
I use sql server 2005 developer edition with service pack 1. When i right click on a database and i select properties an error occured with the folowing stack trace =================================== Cannot show requested dialog. =================================== Cannot show requested dialog. (SqlMgmt) ------------------------------ Program Location: at Microsoft.SqlServer.Management.SqlMgmt.DefaultLaunchFormHostedControlAllocator.AllocateDialog(XmlDocument initializationXml, IServiceProvider dialogServiceProvider, CDataContainer dc) at Microsoft.SqlServer.Management.SqlMgmt.DefaultLaunchFormHostedControlAllocator.Microsoft.SqlServer.Management.SqlMgmt.ILaunchFormHostedControlAllocator.CreateDialog(XmlDocument ini ...Show All
Windows Forms A DetailsView Control for Winforms?
Hello, I have gotten spoiled by the new DetailsView control for ASP.Net 2.0 which encapsulates all of the dirty work needed to switch between viewing, inserting, updating, and deleting for a databound object. Now that I am working on a Winforms application I'm trying to figure out the best practice for handling these rather common tasks. I dislike the look and feel of "in place" editing on the grid view control. Do you typically create seperate forms for inserting/updating/viewing Do you group these items into different panels or group boxes and then play the "hide the unused control" game Do you simply use the same form for these actions and simply disable the textbox (or other editing controls) for view m ...Show All
Smart Device Development Xml validation
I greetings to all, threre is an effective way to validate XML in CF I tried to validate it using XmlReaderSettings but it is not effective. So someone knows how to validate an XML Greetings. If you mean validation against schema, validating XML reader is available on NETCF V2 and it works the same way as on desktop. There's no way to validate XML on NETCF V1 unless you do it all yourself. ...Show All
Windows Forms when I use the fusion technology and make the aciveX control
Dear Sir, I have a web application using DSO Framer control, but when my client wants to view the page. He has to make his security settings low. I know that when I use the fusion technology and make the aciveX control as Windows control and display it by using <OBJECT> tag, then it will act as a normal .net control, can any one help me to do this. Youn can even mail me to : [email address removed, look in user's profile]. Please help me if possible. Thank you. Regards, Aleem. Hi Aleem, I removed your email address from your post, it is not a good idea to show it in publicly accessible web pages. Note that the one you posted doesn't match the one you have in your profile. Displaying ActiveX controls on ...Show All
Visual Studio 2008 (Pre-release) Beginner's question: "Easy" adding of event handlers
Hi everyone! I've just started to look into the WPF and installed WPF Designer extension for Visual Studio 2005. (How) Can I add event handlers Or should I manually create handler function in the code, and then add a property in xaml I can't even see the Events tab on the Properties panel... :( Maybe I don't understand something big ;) Hi arcoant The final model for adding event handlers isn't implemented yet. But simply put, you can either += event handlers on the objects from code, or you can declaratively hook them up in XAML. There are a few easy ways to do this: For VB projects, the object & event dropdowns at the top of the VB code editor window will let you select the object (say, b ...Show All
SQL Server Longarse txt Source files
I thought i share this lil thought/tip with ya'all: I have .txt import files which have huge amounts of columns (this time about 150 - 200). And i need to import 3 of those files. I do have the definitions for columns - but to fill out 200 column definitions in SSIS editor takes u a while. (And suggest types is quite useless due to 1000 sample row limitation - not to mention that if you identify Boolean fields using Y,N - i throws errors on import - so you are most of the times better off defining your own columns). Fortunately for me - majority of the fields is similar (over 100 fields) - so I can copy and paste the flat file connection and make changes to copied file connection I guess my wish for future version is that flat file manage ...Show All
