oaix's Q&A profile
Visual Studio Tools for Office Publish Excel 2007 Add-In using ClickOnce
Hi, I'm trying to publish my Excel 2007 Add-in with VSTO 2005 using ClickOnce but I'm not having success. Is it possible to publish my Add-in using ClickOnce How can I do that Thanks. Hi Helio, I assume you are VSTO 2005 Second Edition. VSTO2005 does not support Click Once but does have a publish experience. Briefly once you publish the solution you will also need to - Install the pre-requisite on any client machines (.NET, VSTO 2005 SE runtime, Office PIAs) - Make a local copy of the application manifest. - Trust the solution to run using CASPOL - Register the add-in with the appropriate registry key Details of how to deploy VSTO2005 SE add-ins can be found here: ht ...Show All
Visual Studio Team System Single-server installation Sql connectivity issue
We have a single server installation of team foundation server that had been working great. Yesterday the SQL server 2005 instance was changed in the surface area configuration tool to allow only local connections. It seems this should work since they are both on the same machine, but an error is logged now for the work item tracking web service that it is unable to connect to the SQL server. How can we allow the SQL server to be set to local only and get TFS to be able to connect to the DB again. The odd thing is that the source control hasn't stopped working, only the web services. Thanks Thanks Vic, Is this fix going to be included in a future service pack only, or will there be a hotfix we ca ...Show All
Game Technologies: DirectX, XNA, XACT, etc. BoundingBox.Contains doesn't work after a transform?
Hi All, I have some test code that uses BoundingBox.Contains to see if a vector lies inside the bounding box. It works fine until I transform the point vector and bounding box min/max vectors by a matrix. The coordinates look right, but the function retuns disjoint. I know I must be missing something here, but I can't figure it out. The values after translation are: BoundingBox.Min: 0, 0, 0 BoundingBox.Max: 1, 0.99999999, -1 Point: 0.5, 0.5, -0.5 My test code just replaces the standard game Update() method. You also need to set the game Draw() methods graphics device clear call to graphics.GraphicsDevice.Clear(color); Here's the Update method and color declaration: Color color = new Color ( Color .Yellow.To ...Show All
Customer Care Framework CCF - Adding and executing Actions on hosted applications
Hi, I have added an action "TestAction" to a hosted application "MyApplication" and want another hosted application "MyApplication2" to fire that action. Both these hosted applications are hosted controls. The action has been added in ContactCenterAIF.Action table. The initialization string is "<ActionInit><GetFocus>true</GetFocus></ActionInit>". From "MyApplication2", I call the following code, FireRequestAction(new RequestActionEventArgs("MyApplication","TestAction","<GetFocus>true</GetFocus>"); When the above code is executed, focus is shifted to "MyApplication", however the handler DoActi ...Show All
Internet Explorer Development How can I determine if an ActiveX component is available/installed via JavaScript?
I am new to implementing code components in Internet Explorer. I am trying to instantiate a simple ActiveX object on a web page like so: <object id="myAxObj" classid="CLSID:EBCEC437-3386-472F-996D-1DE03174AA35" codebase="MyAxObj.cab#version=1,0,0,0"></object> Later on the page, I would like to have a simple JavaScript to inform me of the component has been downloaded and installed. if (document.getElementById("myAxObj"))... always evaluates to true even when the component is not installed on the system. This seems odd to me, as I would've expected it to be undefined. How can I determine if the code component is available via JavaScript Over on a ...Show All
SQL Server SSIS package design - Ideas
Greetings SSIS friends, I am in the process of designing a package for populating a Dimension table for my new data warehouse. I would like to discuss with you my proposed solution in the hope that some of you will be able to advise me on any mistakes that I have made so far. I have 3 source tables which are used to populate my Dimension table (I will restrict each source table to a few columns to keep this simple). The source tables are : Meetings (MeetID, NameID, Meeting_Start_Date, Meeting_End_Date, Meeting_Time_Stamp) Events (EventID, MeetID, Event_Start_Date, Event_End_Date, Event_Time_Stamp) Names (NameID, Long_Name, Short_Name, Names_Time_Stamp) My Dimension table structure is very bas ...Show All
Windows Forms User Change VS data bind change
Using data binding I need to distinguish the events of the text change of the control (Say textbox) that the user did vs what the binding did. What event will fire only when the user changed the text or if using the leave (lose focus) how do I compare with the original text from the binding ...Show All
Visual C++ Problem with CString Variable
I am using a dialog class which is derived from another generic dialog class which itself is derived from CDialog This class contains many CString varibles and it is working fine. Later I added another CString variable. Then also the corresponding dialog is properly opening(Modal Dialog), but after closing the dialog I am getting the following Assertion: Run-Time Check Failure #2 - Stack around the 'dlg' was corrupted When I click Retry it is taking me to the next statement from where the dialog is initiated using DoModal() method. Here I found one strange behaviour. If I put any char , int or float variable before this CString member variable I am not getting any error message. But If I put double variable I am get ...Show All
Visual Basic need help implementing manual dragging in my TitleBar-less windows form
You know how you can drag WinAmp's window by dragging from any empty part of WinAmp's form - well, I would like to implement this type of functionality in my program. For my program, I chose a window style that does not have a title bar, so the form cannot be dragged using the title-bar, but I have not been able to figure out how to make my program's window act like the winamp window. any help is greatly appreciated! Dim LeftButtonDown As Boolean = False Private Sub Form1_MouseDown ( ByVal sender As Object , ByVal e As System . Windows . Forms . MouseEventArgs ) Handles Me . MouseDown If e . Button = Windows . Forms . MouseButtons . Left Then LeftButt ...Show All
.NET Development How to read more memory with ReadProcessMemory
Hello everybody, I've written code that can read information from another processes memory using ReadProcessMemory API... and I get this as my output: ... 16 - 24 17 - 248 18 - 126 19 - 29 20 - 0 21 - 0 22 - 0 23 - 0 24 - 98 ... How would I use this information to read more information from the address Below is the code I'm using to generate the output I posted above: Process [] Proc = Process .GetProcessesByName( "Game" ); if ( EnablePrivilege( Process .GetCurrentProcess().Handle.ToInt32()) ) { byte [] buff = new byte [100]; int bytesRead = 0; ReadProcessMemory(Proc[0].Handle, ( IntPtr )0x6FBCC1E0, buff, 100, out bytesRead); for ( int i = 0; i <= buff.Length - 1; i++ ) { ...Show All
Visual Basic Error binding to target method. I can see a missing EndIf .... if it matters?
This is a change-of-direction from my previous post ( http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1095934&SiteID=1 ). I didn't get an answer yet on that one, so I'm trying something different. For this code, assume myInstalledModules is a Dictionary(of string, string) that maps a module name key to the assembly path of that component. So I'm trying to eliminate dependencies in my main app, allowing different components to be installed during setup. So when I try to access types in the satellite assembly, I want to load those types dynamically. (See the following code) //Begin code// Dim a As [Assembly] = [Assembly].LoadFile(myInstalledModules( "Pathology" )) Dim types As New Dictionary( Of String , Type) ...Show All
Visual Basic Rotation 3D with mouse
Hello, I'm using DirectX 9 to develop a simplex 3D application. In particular, I show in a PictureBox my 3D object and I would like to use the mouse to rotate it. Actually, with the PictureBox "MouseMove" event I read the e.X and e.Y coordinates and simply I transform it in rotation: mRotX = Matrix.RotationX((e.Y / Velox)) mRotZ = Matrix.RotationZ(-(e.X / Velox)) mRotT = Matrix.Multiply(mRotX, mRotZ) device.Transform.World = mRotaT But this is not properly the effect that I would like to obtain, because it is true that moving the mouse on the PictureBox my 3D object rotates but the system is not to much friendly. Do some one know how can I obtain a much real effect For example as in normal 3D applicati ...Show All
Visual C++ Upgrade to VS2005 gives problem with ON_WM_NCHITTEST()
Hi all, I am sending the excerpt of the code. This Code is working Fine in VS2003 but it is giving the following error in VS2005. Code: BEGIN_MESSAGE_MAP(STBaseControlWnd, CWnd) //{{AFX_MSG_MAP(STBaseControlWnd) ON_WM_NCHITTEST() //This line is giving error ON_WM_DESTROY() ON_WM_GETDLGCODE() ON_WM_MOUSEACTIVATE() //}}AFX_MSG_MAP END_MESSAGE_MAP() Error: Error 70 error C2440: 'static_cast' : cannot convert from 'UINT (__thiscall STBaseControlWnd::* )(CPoint)' to 'LRESULT (__thiscall CWnd::* )(CPoint)' e:\Original\BaseControlWnd.cpp 36 Build Outut: ControlSubWindow.cpp 1>.\ControlSubWindow.cpp(28) : erro ...Show All
Visual Studio Team System Package Load Failure
I have Visual Studio 2005 Team System - Developer Edition running on a VPC. It has been working great. All of a sudden I get "Package Load Failure" when I try to navigate from my Team Explorer into the project tree. Here's the full error: Package 'Microsoft.VisualStudio.TeamFoundation.Build.BuildPackage, Microsoft.VisualStudio.TeamFoundation.Build, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' has failed to load properly ( GUID = {739F34B3-9BA6-4356-9178-AC3EA81BDF47} ). Please contact package vendor for assistance. Application restart is recommend, due to possible environment corruption. Would you like to disable loading this package in the future You may use 'devenv /resetskippkgs' to re-enable package loading. Any i ...Show All
Visual Studio Team System Change the autogenerated title of related work items
Hi When creating a new related work item from an existing work item, a title for the new work item is automatically generated. Example: Related to work item 396 - Original work item title. Is it possible to change the template for this title to example: WI396 - Original work item title: . Regards, Thomas Ardal Thomas, it is not possible to change that behavior since we do not have extensibility mechanism for it. If you are willing to spend coding time on it, you can build your own addin that exposes a copy workitem menu to achieve such customization. Our OM exposes a copy method to help with it. ...Show All
