daiwen's Q&A profile
.NET Development Updating several tables
I am trying to build a form based on a db with several related tables, in VB2005 express. The updating logic which VB 2005 express puts on the navigation bar to the first table binded to the form appears to work. When I add the update logic to the second table into the save button for the update logic of the first table, it doesn't work. The only thing I can figure out is that I need to update the second table relation not the table, but I don't ...Show All
SQL Server T-Sql Preformance
I have a Stored Procedure that I need to make run more efficiently. I am calling the SP from a page that displays the data as a report. I have tried to change the SQL to several queries into temp tables and selecting the data from the temp tables, but the page does not display any data. I then put all the queries together and the page works if it doesn't timeout. I realize the query below is not efficient but I am uncertain how to speed it up fu ...Show All
Visual Studio Duplication in crystal report
Hi I've stored procedure which run successfully in query analyser But i passed same dataset to crystal report duplication occurs am using ADO.NET connection Can anyone help me to get ride of this problem Thanx in advance Hello, Here is a technical paper on this: http://support.businessobjects.com/communityCS/TechnicalPapers/cr_duplicate_data.pdf.asp Keith - Business Objects ...Show All
SQL Server Differential Backups: Pages or Extents?
Hi All, Does a diff backup (on either 2000 or 2005) backup only the changed pages or extents There are various solid sources that provide conflicting info. Thanks Rob Differential backup creates copy of all the pages in a database after the last backup operation. as for my understanding , the data is stored in pages and each page size is 8 KB and an extent is a collection of contiguous 8 pages. s ...Show All
Windows Forms Different form views on one form
I been wondering how you create different views of a form... I have 1 panel and 6 panels in this panel, i have create a registry of values to decide whether or not to show these panels or not. However,but how do i not show create this ...Show All
Visual C++ ATL Composite Control with RichEdit
I have created a activeX control using ATL COM wizard, and inserted Composte Control and place a RichEdit control on the dialog. Now I just test the activeX using test container, it crashed. I havent add any code of my own.... Pleas help and in Debug i found that the crash is in HRESULT QueryHost(REFIID iid, void** ppUnk) { ATLASSERT(ppUnk != NULL); &nbs ...Show All
SQL Server Writeback
Hi i am trying to set up a cube with MS SQL Server 2005 that allows me to insert planing data. eg. i have actual data from 2005 and i want to insert figures for 2006. what i did: I have a cube with data from 2005, I enabled writeback in the partitions tab, precessed the cube and i went down to the leaves but i was not able to insert data when viewing the data with the browser. What else do i have to take into account Thanks, Klaus ...Show All
Windows Forms UserControl expose datagridview columns collection in design time
Hello, I have a user control containing a toolbar and a datagridview, I want to expose the datasource (all ok) and the columns collection (not so ok). I get a basic columns editor, complete different from the one you would expect, I end up having text columns only and I can't add any new columns. Anybody any idea, I just spend 2 hours googling, msning, ... Thanks, Peter Nice. Thank you for the that. Hopefully, with the help of your post ...Show All
Visual Basic How do I find out which users are logged on to which computers on our local network...
How do I find out which users are logged on to which computers the local network... I need to better manage resources on our local network and need to write a small program to do this and I really don't have a clue where to start... I Believe WMI can do it but I don't know specifcally how Any Help would be greatly appreciated. You need to look at WMI http://www.microsoft.com/downloads/details.aspx displaylang=en&FamilyID= ...Show All
Visual Studio Express Editions Starting Over?
Ok. I have had VB express for about 3 weeks now. I have 0 experience with programing. Sorry, all you techy people. But I have learned some cool things. But as I tried to jump into the fire ( and its hot ) i found nothing but frustration. Hence, I have improved on my "google" searching abilites and might add found "never before patience." Says my wife. Any way. Too bad for all of the very nice people that have put up with my & ...Show All
Windows Forms Customer DataGridView Column
I'm working on creating a custom datagridview column. Basically I started with the VB version of the DateTimePicker sample. I've almost got everything working except for one thing. See, my customer column hosts my 'CustomerPicker' user control. Basically, it is a control that allows the user to enter piece of customer data (like part of a name, a phone number, and so on) and it tries to find a match in the da ...Show All
.NET Development could not find localhost when creating new project
Hi friends am new to .net and writing a small web service application.am using vs 2005 beta2. i created new project (asp.net web service) and new project dialog box i selected location as "http" and name of project name i entered as http://localhost/customer orders webservice and as soon as i click ok i get following message saying "Could not find a Web server '<localhost>'. Check to make sure that the Web server name is valid and yo ...Show All
Windows Forms How do I simultaneously display a container and its child controls?
How do I simultaneously display a container and its child controls I have seen similar posts as this throughout the web and the community, but cannot seem to locate an answer. It seems the regions where controls are laid out are not invalidated by the container and show the window beneath. I see this with switching between forms, but in my case I also see it when switching between tab pages. I have tried setting double-buffering through ...Show All
Visual Studio 2008 (Pre-release) Multiple threads, UI, and images
I'm currently trying to write an application that dynamically loads images in a background process in order to eventually display them on the UI. Essentially, my background thread creates objects that inherit from System.Windows.Media.Brush or System.Windows.Media.Drawing so that my UI can redraw itself using these objects. When running my code, I receive an InvalidOperationException with the explanation of " The calling thread may not acce ...Show All
Visual Studio Express Editions Invisible startup form
Previously, using a Sub Main() startup object allowed the loading of forms but not showing them (Invisible forms at startup). This can still be done, but the nice new features made available by the Enable Application Framework option cannot be used (i.e. XP Visual styles, Single Instance application, and the application events). The current kludge is to make the opacity=0 , and/or position the form off the screen (or screens) and set ...Show All
