Dan Rough's Q&A profile
Visual C# WebBrowser Control and JScript Error
I have a webbrowser control (webBrowser1) and am trying to load a page that has javascript errors on it. Example: http://www.giraph.com Even if I have webBrowser1.ScriptErrorsSuppressed = true; The JIT Debugger will still pop up and try to help me. Is there a way I can just ignore the error on the page and move on I have no control over the site that I am navigating to. Example: webBrowser1.ScriptErrorsSuppressed = true; webBrowser1.Navigate("http://www.giraph.com"); Note: Please don't tell me how to disable the JIT debugger on only my computer. This application will be distibuted and I would like it to not open on any computer. You need to implement the interface at the webbrowser site, as de ...Show All
Software Development for Windows Vista How to access statemachineworkflow instance data directly from Host
Hi, The statemachineworkflow instance created from the host application doens't reflect the runtime values stored in the workflow instance. new StateMachineWorkflowInstance (AppWorkflowRuntime, instanceId) For example: I have a property named "CurProcessName" in my custom state activity. The value of the "CurProcessName" property was changed in the workflow. When i create an instance of statemachineworkflow, this value is lost in the returned instance. I assume that the statemachineworkflow instance is created based on workflow definition template. Is there any way to create the statemachineworkflow instance from host which will reflect the values stored against the instance Regards, Baskar ...Show All
SQL Server Pivot Table Connection with OLAP Cubes
Hello, I am having issue with Performance of the Pivot Table connecting to OLAP Cubes. I am wondering if any of you have links to how to improve Pivot Table performance Basically, I have done the backend optimization on the schema, but there should tricks on the Excel such as Connection Properties that I could use that could relate to MDX or Threshold Level that could speed up the Pivot Table performance. Below is some initial thoughts... Non Empty Threshold=1 Any help is appreciated! -Lawrence That is a possible answer http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=379271&SiteID=1 Did you try This version of Excel I would be glad to know if this fixes most of these Excel p ...Show All
Visual C++ VC++ won't run from source control: "The system cannot execute the specified program"
Hi, I've installed VS 2005 C++ Express into source control and it won't work. I've wasted the better part of a day so far trying to get it to work. The error message I get when trying to run something as simple as lib.exe is: "The system cannot execute the specified program." When I load up the .exe in the dependency walker (depends.exe), it says: Error: The Side-by-Side configuration information in "y:\compilers\Microsoft Visual Studio 8\VC\bin\LIB.EXE" contains errors. This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem (14001) . The only dependency shown for LIB.EXE other than KERNEL32.DLL is MSVCR80.DLL. I've tried copying all t ...Show All
Visual Basic Object reference not set to an instance of an object.
Below is the code snip. Previously it was running fine but don't know what's the problem now. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.NullReferenceException: Object reference not set to an instance of an object. Source Error: Line 401: Dim strImagefile As String Line 402: Line 403: If (txtfUpLoadfile.PostedFile.ContentLength > 0) And (Not txtfUpLoadfile.PostedFile Is Nothing) Then Line 404: strImagefile = SaveImageFile() 'Function to upload the image Line 405: strEmpImage = strImagefile Source File: Edi ...Show All
Visual Studio Team System Visual Studio disappears during Get Latest Version
I have a large solution (76 projects) in VS 2005. When I execute a Get Latest Version (Recursive) command from the Solution Explorer, the Visual Studio window disappears and the process exits without a trace. My workaround is to use the command line tool, but the problem is annoying due to the time consuming restart of Visual Studio and reload of the solution. Any ideas There are no events generated when this occurs. Get latest version from the Source Control Explorer works fine even when the solution is loaded. I tried both a regular get and a forced get. If I select the projects from the solution tree and Get Latest (Instead of selecting the solution), the problem occurs as long as most of ...Show All
SQL Server problem with job
hy, i have made a package that fills a sql server 2005 database. when i run it locally it runs all the way, no errors. Now that i have deployed the package en work with a job that executes it every day i get these errors. The AcquireConnection method call to the connection manager "SourceConnectionOLEDB" failed with error code 0xC0202009. and component "Source - BU" (1) failed validation and returned error code 0xC020801C. the strange thing is i don't get an error on the first dft which uses the same connection. i have pressed the test connection button and it states connection succesfull. any help would be appreciated. Greetz, Jens thanks for your reply's i can r ...Show All
Microsoft ISV Community Center Forums Excel2003 VBA - Application.quit not stopping code
All, I have a problem with using the application.quit command - as I understand it, the application.quit should immediately jump to the Auto_Close (if exists) and then close any workbooks and quit Excel - however, when I run it, my code continues to run through the end of the sub (see simplified code attached): Sub test() Application.Quit MsgBox ("Test Message 1!") MsgBox ("Test Message 2!") MsgBox ("Test Message 3!") MsgBox ("Test Message 4!") MsgBox ("Test Message 5!") MsgBox ("Test Message 6!") MsgBox ("Test Message 7!") End Sub When I run this - I get 7 message boxes, then after the 7th, Excel closes. Any thoughts Thank you, ...Show All
Visual C# Using a class as a parameter
Hi there! I have to pass a class (not an instance) as a parameter to a method, and I have no idea if I can do that -- tried various things and it doesn't work. It should behave like this: I have a BaseClass. Another ChildClass inherits it. The ChildClass has a method (or Property), static or not, that returns a class. The BaseClass has quite a few methods where this class is needed (to invoke static methods on it), so the BaseClass invokes the "GetClassINeed", which returns the static class and then uses it. The reason I need it is that I have about 30 of those ChildClasses, and they all need those methods defined in BaseClass. I don't want to add them in all of them if not needed. Also, to create instances of that Cla ...Show All
Visual Studio Team System Cant publish manual test results
Hi There! I’m starting to use Manual Tests within Visual Studio to test my application. I’ve got a team that was developing for some time an application, using click-once to publish the application. Now I’m starting with a new team to create and run manual tests over application deployed. Of course, My testers aren’t going to access code. They only see an application installed in their computer that they’re going to test. I’ve created some manual tests, ordered tests, and everything was fine until I decided to publish test results. I can’t publish them. It gives me an error message saying “The currently selected team project does not have any build. A build is required in order to publish test results.” ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Assemblies Not Referenced
After installing XNA Game Studio Express 1.0, I get the following error in my Beta 2 project: Error 1 The type 'Microsoft.Xna.Framework.Graphics.SpriteBlendMode' is defined in an assembly that is not referenced. You must add a reference to assembly 'Microsoft.Xna.Framework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f48fa5f25d27e8ff'. But it is referenced, and I'm pretty sure it's the right version too. I even tried to copy the code and content files into a new project, but it still gave the error. If anyone can help me I would appreciate it. Thanks. Did you remove the references to the original XNA assemblies and then add the new ones edit - waayyyy tooooo slooowwwww ...Show All
SQL Server Looking for suggestions
I have two stored procedures (l'll call them P1 & P2). P1, after a lot of processing, creates a temporary table that is used by P2 after an "exec P1" is done. I've separated the logic into two stored procedures because, ultimately, other sprocs will need the output of P1. I get an error if I use #tempTable as the output table in P1 because it no longer exists after P1 finishes. ##tempTable works, but I'm concerned about concurrency issues. Any suggestions on what construct(s) I should be using Thanks in advance! I totally agree. In fact, I would probably suggest (based on the phrase "lot of processing") that you create a couple of permanent tables. One to hold the ...Show All
Visual Studio HelpStudio Lite & Document! X
Hi everybody ! I've just installed the HelpStudio Lite(inside the VisualStudio SDK), but the link Document! X is disabled on the Project Properites Pages. The tooltip of this link told me the Document!X is not installed on my computer. My question is: Document! X is already included with HelpStudio Lite or I have to buy it separately I downloaded the trial version of the Document!X (from Innovasys) ; the setup installed it as another different application(in a different directory) as if it has nothing to do with HelpStudio Lite. The link Document! on the Properties Pages in the HelpStudio Lite continued be disabled. Thank you ! Ernest Hello Ernest - Document!X is a se ...Show All
Visual Studio 2008 (Pre-release) DLinq thread safety
I am working on an application using both WCF and DLinq. As we all know, DLinq is not thread safe. Since DLinq supports lazy-loading, it is more difficult to control when the DLinq will get involved. There always will be more than one threads in WCF application. What is the best way to safely use DLinq I just wonder why DLinq itself is not thread safe. That is will be a lot easier for programmers. I second that - DataContexts should be fast to new up. Please make sure that model meta data is cached internally so that we don't pay the penalty each time a tier is asking for data. Aside from that, it's all looking great. It's easy to get your hands burned by a CTP but then again, wouldn't miss it :-) ...Show All
SQL Server Is Keberos authentication required while installing SQL Server 2005 cluster?
Hi All, Can any Microsoft guy confirm whether keberos authentication reqiurred while installing SQL Server 2005 cluster instance Thanks in advance ...Show All
