RobMiles's Q&A profile
Visual FoxPro Help me ! How to add controls to Pageframe at runtime ?
Please tell how to add controls (ex : grid, command button, check box ...) to pageframe and coding event click of them at runtime Thanks Use the Addobject method, i.e., Form1.Pageframe1.Page1.AddObject("myGrid","Grid"). Note that you will also have to set the properties of the newly added controls programmatically if you want to position the control. ...Show All
Visual C# Background compilation in Visual C#
Hello, I've noticed that Visual C# builds the project in the background when some important event occurs, for instance when a class or a reference is added. I have customized the build process and there is a task I would like to perform only when compilation is explicitly required, because it is very expensive. The question is: how can I detect (from my MSBuild .targets file) that I am in a 'background' compilation and not in a 'normal' one The post-compile step is PostSharp . Thank you. Gael The Visual C# IDE does not do background compilation in the sense of running the build process and generating executables. When you add (or remove) a class or reference we need to keep our understanding of the type system up to date in order to ...Show All
SQL Server Difference Between Comma Operator and Crossjoin?
I have two queries that appear to return the same result. Can someone explain how combining two dimensions with the comma operator differs from combining the same two dimensions using the crossjoin operator For example, two dimensions, account and sales. When I run this query with the cross join operator select { [Measures].[Sales Count] } on columns , { ([Account].[Name]. Allmembers * [Date].[Month Val].[5] : [Date].[Month Val]. ) } on rows from warehouse it returns the same results as this query when using the comma operator to create the set: select { [Measures].[Sales Count] } on columns , { ([Account].[Name]. Allmembers , [Date].[Month Val].[5] : [Date].[Month Val]. ) } on rows As ...Show All
Visual Studio Team System TF10216----I Went to configure Single Server TFS from workgroup to a Domain Site,every thing is ok,except workitem
TF10216----I Went to configure Single Server TFS from workgroup to a Domain Site,every thing is ok,except workitem ,can anyone help me the message is flowing when i execute the workitem webservice. 法 示 XML 。 使用 式表 法查看 XML 入。 更正 然后 刷新按 ,或以后重 。 -------------------------------------------------------------------------------- 文 的 效。 理 源 'http://192.168.100.43:8080/WorkItemTracking/v1.0/ClientService.asmx' 出 。第 1 行,位置: 1 TF10216: Team Foundation 服 前不可用。 稍后重 。如果 仍然存在, 与 Team Foundation Server 管理 系。 It looks like you have a localized version too. Any chance you could run the error message through bablefish or some translation site to translate to English before reposting please Also did you follow the MSDN instructions for ...Show All
Visual Studio Tools for Office Outlook Add-in Not Loaded :runtime error HELP HELP
Deall ALL, I installed the following in the client machine Office 2003 SP2 framework 2.0 office tools runtime MS PIA the Patch KB908002 lockbackRegKey.msi extensibilityMSM.msi office2003-kb907417sfxcab-ENU.exe all did all of the above and no luck to get my Outlook- add in working in the destination machine BUT IT WORKING PEFECTLY in my DEVELOPMENT MACHINE plzzzzzzzzzzz help HELP Hussain, When you say it is working on your development machine, do you mean through the debugger only, or also through a full install on your machine It sounds like it could be a CAS security problem. See the post: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=597337&SiteID=1 to give you a fe ...Show All
SQL Server regedt32.exe
if you're using win2000 do what the guy said to do. Don't use the regedit, use regedt32.exe. then copy the numbers of the last messages and place them in the correct place. You're absolutely right! This should have been a replay to http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=356308&SiteID=1 . ...Show All
Visual Basic output array to excel
I need to output an array (datarow.getchildrows) to excel. Dim XL As Microsoft.Office.Interop.Excel.Application Dim xlwb As Microsoft.Office.Interop.Excel.Workbook Dim xlsheet As Microsoft.Office.Interop.Excel.Worksheet XL = New Microsoft.Office.Interop.Excel.Application xlwb = XL.Workbooks.Open( "C:\tryout.xls" ) xlsheet = xlwb.Worksheets(1) XL.Visible = True Try Dim ds As DataSet = RcsDataSet Dim pPK As DataColumn = ds.Tables( "Customers" ).Columns( "CustomerID" ) Dim cFK As DataColumn = ds.Tables( "InvoiceDetails" ).Columns( "CustomerID" ) ds.Relations.Add( "customerinvoicedetails" , pPK, cFK) Dim rel As ...Show All
Windows Search Technologies WDS won't index my Outlook files
WDS was working fine - no problems - and then stopped indexing my Outlook files - about 2-3 weeks ago ( ). I am on XP Pro x64 edition - MS Outlook 2003 (SP2) - and WDS 3.0 ( which I believe is required for x64). I have noticed the following errors in my application event log: Event Type: Error Event Source: Windows Search Service Event Category: Gatherer Event ID: 3102 User: N/A Description: The per-user filter pool for session 0 could not be added. Details: The operation being requested was not performed because the user has not logged on to the network. The specified service does not exist. (0x800704dd) and then... Event Type: Error Event Source: Windows Search Service Event Category: Gatherer Event ID: 3083 User: N/ ...Show All
Visual C++ "Add/removal operation is impossible" error
For my application, I am trying to add event handler for menu item to CDocument, but Visual Studio (2005) IDE displays the following error message: "Add/removal operation is impossible, because the code element '(null)' is readonly" I can add the event handlers in my CFrameWnd class, but not to the CDoc/CView class. The same application is running fine with handlers added to CFrameWnd class. Can anyone tell me what sort of mistake(s) cause this message Thanks. I'm sure nobugz is right - that it's a well-known bug, but just in case, make sure that all the MESSAGE_MAP macros are inside the header and CPP files of your doc class. Sorry if I'm 'teaching a grandma to suck eggs' here, but you're looking for somethi ...Show All
Visual C++ Maximize windown command
i know there's a command that maximizes a windown when the program starts. i'm running an SDI and want the program to be hardcoded to start at a maximized size. thanks for the help When designing the form, you should find the WindowState property among other Form's properties. Or, at runtime, set this property on Form_Load event: WindowState = FormWindowState::Maximized; Andrej ...Show All
Software Development for Windows Vista How to call webservices in a workflow in an asynchronous way
Hi, I am doing R&D on the features of Windows Workflow Foundation which we are going to apply for our project after release of WWF. we are using SOA Architecture. So I need to call services based on the rules. I have succeded in doing them practically using Sequential and State Machine Workflow. So, now I want to achieve Asynchronous way of calling webservices. I don't know whether this can be possible with WWF or not. If it is possible, can any body please help me in doing this. Thanks in advance. Hi matt, I am not clear on ur response. can u please explain the phrase "when the event is raised from the web service". In the previous case the webmethod is returning string value so that we are able to ge ...Show All
Windows Forms C++/CLI Windows Form Designer bug in causing an event handler to disappear
I am not sure whether the following scenario is a bug in the Windows Form Designer as it relates to C++/CLI or some failing in my own implementation, but I hope someone can look at this before I submit it as a bug. The scenario is: I create a CLR class library project. I add a component class, let's call it CmpA. I add two virtual events to the component class, both of type System::EventHandler ^, let's call them EventA and EventI. I create backing variables for both events, let's call them bEventA and bEventI respectively, and use the long form of specifying the events. I also override the Equals and GetHashCode virtual functions. In the same assembly I add a UserControl. The user control, let's call it UserU, has a property, let's call ...Show All
Visual C# How can I know whether the app is running in development mode?
Some of the features included in the application I'm currently developing are supposed to be used in 'administrator' mode, but, in fact, the only administrator is the developer and it's likely that none of these will be used by final users. Therefore, instead of defining a particular user to be the administrator, why not letting the application to know wheter it is running whithin the development environement or as a standalone, compiled application I remember a property like this was exposed in VB6, and I assume it is also included in the .net environement, but after some time of messing with the object browser and the internet, I give up and ask for HELP! Where can I find this property ...Show All
Visual Studio where can i get an activex viewer
I'm using the versionof Crystal reports which came bundled with VisualStudio.net 2003. Is it possible to display my reports in some sort of ActiveX viewer and if so can someone please direct me to where i can download this viewer and/or so tutorial on how to use it. Thanks There are only two viewers available for .NET. A windows forms viewer, and a web form viewer. Sample applications can be found here: http://support.businessobjects.com/communityCS/FilesAndUpdates/sample_applications_for_.NET_developers.pdf You will want to go to the bottom of the document under the section Crystal Reports. ...Show All
Visual C++ Is there a recommended standard name for a C++/CLI member function to free resources?
I have just been learning about finalizers in C++/CLI and saw quite a bit of sample code that duplicated the same resource-freeing code in both the destructor and finalizer. It seems obvious to me that I should put the resource-freeing code in a single place -- another private member function (see sample code at the end of this message). So I have to questions: Am I doing the correct thing in this sample code Am I missing any important concept Is there a recommended standard name for the C++/CLI member function to free resources Many thanks for your help! - Kevin Hall ref class Resource { private: // Is there a recommended standard // name for this member function void FreeResources() { Console:: ...Show All
