taekdar's Q&A profile
Windows Forms My class in the property grid
How can I make my struct or class appear in the property window the same way as classes or structs defined in .net framework, e.g. Rectangle (a plus appears on the right side and when U click on it the property extends and exposes all ...Show All
SQL Server Cube corruption
I have an AS 2005 cube (MOLAP) that is updated incrementally on a daily basis. Twice in the last few weeks, the cube has suddenly become corrupt. The By-Day aggregations for previous days show incredibly large positive and negative numbers. These numbers at the time they entered the cube were accurate. As background, the incremental update is done via a view and the view is calculating fields. At this point the cube is processed manually duri ...Show All
Windows Forms It seams I found part of the answer my self :)
Oh components, I am writing one of them since a week, too much, I know :) The last think that I was not able to solve is how to make the component discover where he is exactly during initialization, in other words, on what form ...Show All
Visual Studio Sample Code: Using subreports
using System; using System.Data; using System.Windows.Forms; using Microsoft.Reporting.WinForms; public class Demo : Form { private DataTable orderDetailsData = null; private DataTable LoadOrdersData() { // Load data from XML file DataSet dataSet = new DataSet(); & ...Show All
Windows Forms StdPicture (VS6 Pictures) in .NET
It's my question: I use in .NET a ActiveX Control with a picture property. In VB6 this is a StdPicture Property, for the generic use of icons, bitmaps and metafiles. The problem is that trought interoperability I will use the picture property (type ...Show All
Visual Studio Express Editions Excel VBA ADODB to VB 2005 Using System DSN Access Database
This is probably basic 101 for you guys as I have searched the forums and have found no questions RE: Above. Basically I started using VBA with Excel and I would like to convert a solution to VB 2005. I'm Stuck big time with retreiving information from my existing Access Database. With Excel I would use the following to populate textboxes on forms; Sub GetProdDetails() Dim strSQLProdDetail As String, ProdCode As String ProdCode = frmProduc ...Show All
.NET Development Wish list for DataSets
Hi, Here's my wish list for DataSets: Allow typed dataset to inherit from my own intermediate classes (Inherits XYZDataSet not Inherits DataSet and XYXDataRow, XYXDataTable etc.) Allow auto regeneration of a datasets (or maybe even multiple datasets) e.g. to auto add new columns that have since been added to the database table or to fix datatype of columns with latest datatypes from database table. Add event/overridable sub for Va ...Show All
Windows Forms Notify
Hi ALL I want to make my application receives events from the system that a specific process has been started or ended how to do this Thx all Hi, Could you please tell us what type of events would you like to receive from the system Thank you, Bhanu. ...Show All
Software Development for Windows Vista Add namespace to a web service
Hi, Somebody knows, how do I add a custom namespace to WebService that represent a Workflow Always that I publish a Workflow as a WebService, it is marked by " http://temp.uri " namespace... is there any away to change this namespace thanks ! Carlos - I will certainly make sure that this feature request is logged, so that it can be considered for a future release. Thank you for t ...Show All
Visual Studio iwizard vstemplate
What is the proper way to abort loading of my custom package I added a cancel button to my form for new project types and I want to abort loading if they click cancel and return to VS2005. The form is being shown from my class that inherits IWizard interface. Mike Try this code in the cancel button action handler <CLSCompliant( False )> Public myWizRetval As EnvDTE.wizardResult myWizRet ...Show All
Visual Studio Local Variables invisible to debugger?
Recently the VS2005 C# debugger has been exhibiting strange behaviour. Here is an example: private void Test() { double dd = 2.0 * 3.0; return; } Up until recently, I could set a breakpoint on the return statement and place the mouse over the "dd" variable to see its value. Also, I could open the "Locals" window and see "dd". All of a sudden, the local variables are "invisible" to the debugger. Nothing shows up when I hover the mouse over ...Show All
Windows Forms How to disable the Xp Visual Style from a control ?
Hi, I would like to know if it is possible to disable the Xp Visual style for a specific control I have a progressbar in my C# Winform application, and i can't use style = continuous. The only way i found to remove the Xp visual style is this sample: [Private Declare Function SetWindowTheme Lib "uxtheme.dll" ( _ ByVal hWnd As Long, ByVal pszSubAppName As Long, ByVal pszSubIdList ...Show All
Smart Device Development UpdateData before app starts
Hello all, I am writing a native, dialog based, c++ app (MFC) for a Windows Mobile 2003 device (PPC) using vs2005. I have the following things: - a variable - that variable DDX'd to an edit control - the variable set to some initial value - an "OnEnChange" handler for my edit control that calls UpdateData(TRUE) - another method that changes the variable and calls UpdateData(FALSE) to update the control This seems to work fine...th ...Show All
Windows Forms Problem With KeyPress in DataGrid
Hello, How to Respond to KeyPress event of DataGrid when Enter/Tab is pressed. Hi Mark Can you show me how to override the DataGrid::ProcessDialogKey method, please Thanks and best regards AC ...Show All
SQL Server Mssearch.exe consuming High CPU over extended time period
Hello, We are running SQL 2000 sp4 with full text search, recently we are getting 100% CPU over extended period of time and the only way to resolve this is by killing the Mssearch.exe process. (we tried to restart the service but it hang) the Microsoft search service is running under local system account. our system topology is active/passive cluster with NAS disks, 4GB RAM and 4 CPU for each server. May be some one can help me The issue happ ...Show All
