Robert-H's Q&A profile
Software Development for Windows Vista Asp.Net WF - OnIdle Event is stopping my events being handled.
It seems that the host is receiving an InIdle Event from somewhere ans this is causing the ManualWorkflowSchedulerService to have a state of CanRun=false. Any asp.net workflow experts got any pointers Cheers, aspx code behind: private void InitiateWorkflow() { RequestService requestService; //mock up a Supplier Id & ...Show All
Visual Studio Hiding the Navigation Bars
Hello all, I've implemented a language service using the core editor. In my LS I have added the support needed for the editor nagivation bars. The only problem I have is that when disabling the nagivation bars from the Tools > Options dialog, for my editor, they do not dissappear. Even when I restart Visual Studio .NET there are still there, even though the 'Navigation bar' is unchecked in my editor options. When implementing a language service, I do not override the default implementation of LanguageService.CreateCodeWindowManger or LanguageService.GetCodeWindowManager, so I was expecting removal of the navigation bar adornments to be ha ...Show All
SQL Server SQL Express Management Setup Error on Windows Vista Beta 2
Miscrosoft SQL Server Management Studio Express (SQLServer2005_SSMEE.msi) don't complete setup on Windows Vista Beta 2 with Sql Server 2005 Express installed. Error Code 29506. C:\Program Files\Microsoft SQL server\\90\Tools, Alberto What mean (Alberto is my Windows account) Yes, download from http://go.microsoft.com/fwlink/ LinkId=65110 ...Show All
Software Development for Windows Vista eldragon026@hotmail.com
I cannot obtain an AutomationElement for a PasswordBox control neither via AtomationElement.FromPoint nor via TreeWalker. Is it restricted by design or is there any way to get this Automation Element Thanks, Vlad. If the PasswordBox implements the UIAutomation Provider interfaces you should be able to access it. Password controls have ControlType.Edit and have IsPasswordProperty set to true. You cannot obtain the textual contents from the Password control using UI Automation. You can SetFocus to the control, Set the value, and find out its screen location for example. ...Show All
Visual C# Where can I access the properties of references?
Specifically, I need to set the copy local property of a reference to true, but I am unable to even find where the reference properties can be accessed. This is a web project in C#. The documentation only shows VB.Net for this topic. I'm not completely sure what you're trying to do, but if you open the .csproj file and set the <private> tag to true for a reference, it'll make the reference "Copy Local" Example: <Reference Include="System.Data"> <Private>True</Private> </Reference> HTH ...Show All
Visual Basic defualt browser
How do you get windows to reconize my program as a browser and be able to set is as the defualt browser See this MSDN document for all the details on registering your program with 'Set Program Access and Defaults' -- as you'll see, creating some Registry keys and values is all that is required. '//mdb ...Show All
.NET Development Help!!?? Question about looping a Dataset
Below is some example code, my application runs this and it seems to run a somewhat less than infinite loop. It seems to repeat exponentially by the number of records in the dataset. Am I missing a termination of the loop somewhere Do I even need to Any thoughts would be appreciated. For Each myRow In sqlDataSet.Tables( "MinimumDataSet" ).Rows() Try 'Do some stuff Catch ex as Exception 'Catch an exception if there is one Finally 'Do some other stuff End Try Next myRow I am wondering if, by chance, 'Do some stuff' or 'Do some other stuff', triggers a call into the method conta ...Show All
Visual Studio Tools for Office Granting Full Trust
In order to grant full trust to a VSTO excel workbook, we have to use the .Net framework 2.0 configuration tool. This means that we have to install the .Net 2.0 Framework SDK not only the redistributable 2.0 framework. am i right is there ways to automate the trust granting Hello, There are several tools you can use to grant full trust to the assembly and/or document. You can use: The .NET Framework 2.0 configuration tool. This is a tool that (as you noticed) ships with the .NET Framework 2.0 SDK. Caspol.exe. This is a command-line utility that ships with the .NET Framework 2.0 redist ...Show All
.NET Development VSA obsolete in FW2.0?
The namespaces Microsoft.VSA, Microsoft.JScript.VSA etc. are marked as obsolete in the documentation of the Framework 2.0 beta-2. I used classes in these namespaces for customizing applications by using JScript's at runtime. Are there any substitutions of the VSA stuff in the new framework or does Microsoft just stop developing this Thanks karlo I am interested in the resolution of this topic as well. We are currently developing a medical device that would greatly benefit from VSA's scripting capabilities. I was surprised to see that it was deprecated since VS2005. In particular, what we had envisioned was ...Show All
Visual Studio Installing Visual Studio 6 after VS 2005 installation
Is it possible to install visual Studio 6 after VS 2005 has been installed on some machine ...Show All
Windows Forms List All Forms In Project
I want to be able to list all forms in the project and also to manipulate with controls within them. I genereate the code as below: Dim MainAssembly As System.Reflection.Assembly Dim cWinForm As System.Type Dim WinType As Type Dim WinTypes() As Type MainAssembly = System.Reflection.Assembly.GetExecutingAssembly cWinForm = GetType (System.Windows.Forms.Form) WinTypes = MainAssembly.GetTypes For Each WinType In WinTypes If WinType.GetType Is cWinForm.GetType Then MsgBox(WinType.Name) End If Next But code above gives me only type of all project forms. I want to be able to access these forms but I dont kno ...Show All
Visual Basic Integrating URLMON into Code to Download
Hi, I am trying to integrate urlmon into my code to avoid the Save as dialogue box. Does anyone have any suggestion on how to integrate into the following code. Thanks Option Explicit Dim mFName As Collection, mURLName As Collection Dim mCurrFile As Integer Private WithEvents moDownload As clsDownloader Private ResultBOX As Variant Private Declare Function URLDownloadToFile Lib "urlmon" Alias "URLDownloadToFileA" _ (ByVal pCaller As Long, ByVal szURL As String, _ ByVal szFileName As String, ByVal dwReserved As Long, ByVal _ lpfnCB As Long) As Long Public Function DownloadFiles(URL As Variant) Dim IEResults, FNAME, URL ...Show All
Visual Studio Team System Error 28704.Unable to connect to the Analysis server.
I just can't figure this one out - two tier installation where I have followed the setup manual to the letter (i think). Analysis service is in fact running, I can even connect to it from a mgmt studio installed on the application tier. I tried watching the network traffic to see where it might be getting confused, but the servers were talking via soap, and then encrytped the conversation so I couldn't diagnose anything in particular. I would guess this is a permissions issue, but I am installing as TFSSetup, and this user is admin on both boxes + sa on sql server. Any guesses EDIT: after reinstalling everything I still get the error, but n ...Show All
SQL Server mdac upgrade
I am running SQL Server 2000 SP3a on Windows Standard Server 2000 SP 4. According to the component checker I am running mdac 2.5 SP 3. In looking at the registry I have versin 2.80 installed. I downloaded mdac 2.7 and tried to install and shut down all services as suggested. I also tried to create the log file but none was created according to the KB article although it said mdac 2.7 was successfully installed. Rebooted of course. Any idea why I can't get to mdac 2.7 as I need this for a particular application TIA once you upgrade you can't downgrade. right click %SYSTEMDRIVE%\Program Files\ ...Show All
Visual C++ C2825 error ?
the following code will generate a C2825 error in VS2005Beta2 July: #include "stdafx.h" #include <vector> #include <iostream> int _tmain( int argc, _TCHAR* argv[]) { int i = 3, j = 6; std::swap< int >(i, j); //C2825 //but use std::swap<> <i, j>; will be ok return 0; } I don't know why this , but who else can explain it to me many thanks. Hi: I believe that what you trying to do is to ensure that only function templates called swap will be invoked. But by explicitly providing the template argumen ...Show All
