Humpty's Q&A profile
Architecture how to install several programs in farm
I am beginning in a project which is a total disaster. The company has done a lot of things that I don't like so much, but I am an analyst-programmer, so I have not voice for changing anything. One issue is that all the modules of the different programs are in all the machines of the farm (>100 servers). So the load is balanced between all of them. I think that this works but isn't a good policy: 1) Perhaps if a program fails It could make all the servers to fall down because it is in all of them. 2) The loads aren't understood, because it is difficult to view which projects are the heavy. 3) Having >100 IISs makes AS ...Show All
Visual Basic disable stretching window
I can disable the minimizeBox and the maximizeBox, but how to disable user being able to stretch the window by dragging the window's border plz help ...Show All
SQL Server How to make tables & stored procedures in MSDE?
Hello, I am a beginner using MSDE & Visual Basic.NET standard version (not Visual Studio.NET) . MSDE was downloaded from microsoft.com yesterday, which is sql2ksp3.exe. The problem is I don't know where to input data to set up tables or stored procedures after configured the MSDE. The MS Desktop Engine pops me "configuration sucessfully", then I can just open a small window with the title of "SQL Server Service Manager", telling me SQL Server is running. But I can't find any SQL application in the Start->All Programs-> for me to run. What's the human interface of MSDE Can anybody tell me ho ...Show All
Visual C++ How to read unicode character??
Hi all, Currently i am doing one project related to unicode file reading, showing the characters in the ListCtrl . I got my result applying CFile, API WideCharToMultibyte & the reverse one.Here I read BOM for each file(.txt),then got the bytes for respective characters. but i have some confusion regarding whether those functions work properly if the character is more than two bytes ,ofcourse it is going to surrogates.I just want to know is there any deficiency/limitation in those fuction If I use wistream is it possible I know its possible. But which is the better way.Tho ...Show All
.NET Development Change Priority on the current thread
I'm new to threading in .net - I want to be able to change the priority of the current thread in a .net 2005 DLL so it can run a long process such as a data load. I would also be ok with launching another thread but I didnt know how to pass parameters through to it from the msdn examples. The caller can be (a) web services (b) a vb6 program run from scheduled tasks or manually (c) ASP or ASPX from IIS Here's what I've written. All I want to know is - is this roughly the right way to do it, and if not please make a suggestion ! th = System.Threading.Thread.CurrentThread th.IsBackground = True th.Priority = Threading.Thread ...Show All
Smart Device Development How do I debug my C++ DLL
I have a project that for a PocketPC that consists of a VB app and a C++ DLL. I have the source code for the DLL. I have created a solution with both the DLL and the VB code projects. Both compile ok. I am having two problems- 1) I am having trouble deploying the compiled DLL to the emulator. I have added the DLL to the VB project and it is marked as content, but it is not being copied to the project folder in the emulator. This used to work in VS 2003. I have had to deploy the DLL from within the DLL project. This put it in a separate folder. I then copied it to my a ...Show All
Windows Forms Problem with databinding?
I have a Windows form for accounts/products. There are three tabs, the first (LIST) has a datagrid with account number and name, the second (EDIT) has text boxes for account data and a datagrid listing products, the third (PRODUCTS) contains textboxes for product data. The account table is bound to the datagrid on the LIST tab and the textboxes on the& ...Show All
Windows Forms Hiding Control Box for the child MDI form.
Hi there, wonder is there any way to hide Control Box for the Child MDI form (which appears right after the control box of the MDI container Basically I'm trying to repro VS.NET IDE, which doesn't have that nasty buttons. Cheers & thanks, Mosaic. In the Load and Resize events of the Child form, place the code: Me.ControlBox = False ...Show All
Visual Studio Team System Intermitent issues creating project in beta3 refresh
Some times I recive this error during project creation. Any ideas Error TF30170: The plugin Microsoft.ProjectCreationWizard.Portal failed during task SharePointPortal from group Portal. Explanation Plugin error text: “The server committed a protocol violation. Section=ResponseHeader Detail=CR must be followed by LF” User Action Contact your Team Foundation Server administrator. Warning TF30144: The New Team Project Wizard attempted to roll back all of the steps taken to this point but was unsuccessful. Contact your Team Foundation Server administrator for further instructions. I can't find a pattern on what to do to ...Show All
Visual Studio Team System Windows SharePoint Services Service Pack 2?
Is it ok to use the just released service pack 2 for SharePoint with TFS beta 3 -dave Hi, Just an update. I have installed TFS Beta 3 on Windows Server 2003 R2 running Windows Sharepoint Services v2 SP2. Everything is working fine. Regards, Vikram ...Show All
Visual Basic Can datatable 'inherit' user type (structure) attributes?
I capture several items of information from an external source (through a VB 2003 event procedure) in a user type (structure). How does one specify that the datacolumns/datarows of a datatable are to 'inherit' the attributes of the structure That is, the structure constitutes a 'row' to be added to a datatable, but where/when do the data columns take on the attributes of the fields of the structure, or how does one make that happen Pete ...Show All
Visual C# Assembly error???
I am trying to query WMI using the sample given in MSDN Librabry for Beta 2 and receiveing an odd error. The code I am using was copied directly from the article. --- using System; using System.Management; using ROOT.CIMV2.Win32; public class App { public static void Main() { // Enumerate instances of the Win32_process. // Print the Name property of the instance. foreach(Process ps in Process.GetInstances()) { Console.WriteLine(ps.Name); & ...Show All
Software Development for Windows Vista New Office UI - Can we borrow?
Hi all, After a brief trial of the beta 2 office, I am extremely impressed on how the new UI behaves and I believe it will be a great eay to improve productivity. The overall look is also amazing. I suppose other MS products may adopt a similar interface in the future (ie: the ribbons). Since I'm currently building a new app and I'm in the early stage of prototyping my UI, would I get in trouble (trademark and such) for implementing a UI similar to the one in Office I mean using no menus and using tabs and ribbon-like controls. Getting rid of most menus altogether is extremely apealing, and I barely can resist ;) Thanks! Hey Andrew, th ...Show All
Visual Basic MDI Forms Query
Hi, I am in the process of creating a user interface for an IT Asset Tracking system. I have seen other software such as Numara's Trackit which appears to use an MDI Form for the menus and buttons and then a number of child forms for each tab so that those forms become embedded within the parent form. Is it a good idea to use MDI Forms Within the Inventory section of my application, I want to display a dbgrid on a child form so that it it lists specific inventory such as PC's Servers, Software etc and if a user wishes to add a new item then I want another child form to appear within the parent form to allow user entry. Is this a ...Show All
SQL Server sp_remove_document return code
Here is an example using the sample XML from SQL 2000 BOL. I was expecting @rtncd in print '3 After 1st sp_xml_removedocument' group to be 0, but it is 1. However, it appears that the first sp_xml_removedocument works, since the second one fails. But how to tell Thx Rlh .sql code /****************************************************************************** ** This example is taken from SQL 2000 BOL plus some print statements for debug ** A. Prepare an internal representation for a well-formed XML document *******************************************************************************/ ...Show All
