robinjam's Q&A profile
Visual Studio Tools for Office backward compatible ?
I have developed a COM add-in for outlook 2003 using VSTO. I would like to share this with others who are using outlook 2000 and 2002. If I understand the info in other threads I will not be able to make this VSTO app work in outlook 2000 or 2002. What tools would i need to use to re-write my app to run in Outlook 2000 / 2002 Hi - You can develop addin for Outlook 2000/2002 using shared addin. http://support.microsoft.com/kb/302896/en-us/ How To Build an Office COM Add-in by Using Visual Basic .NET HTH, Mei Liang ------------------------------------------------------------------------------------------------------------------------------------------------ This posting is provid ...Show All
Internet Explorer Development Binary behavior does not work in IE7
I posted this on another forum but received no good answer, so I thought I would try this one. My binary behavior, which has been working for several years on IE6, will not run on IE7. The specific symptoms are as follows: 1. (both IE6 and IE7) The dll is loaded and initialized. 2. (both IE6 and IE7) The IClassFactory interface is called and the IElementBehaviorFactory interface is located. 3. (IE6) IElementBehaviorFactory::FindBehavior is called and the IElementBehavior interface is instantiated and returned. Normal processing of the behavior then takes place. 3. (IE7) IElementBehaviorFactory::Release is called to release the interface. The behavior is not instantiated and no further processing of it takes place. It is obvi ...Show All
Smart Device Development How to use sockets to connect to http server??
Hello everybody, I am developing a win32 application for smart devices.I am new to windows programming.I have to connect to a httpserver and download some files.I would like to know how to connect to this httpserver using sockets at client side.I am using Visual C++(under Visual Studio 2005) and Windows CE platform. Any help in this direction would be appreciated.Thank you. Windows internet services (WinInet) can be used for the purpose. Please see the link for further information http://msdn.microsoft.com/library/default.asp url=/library/en-us/wceinternet5/html/wce50oriwindowsinternetserviceswininet.asp I hope it helps ...Show All
SQL Server Updates at the Subscriber...
Hi, Can we use transactional replication with updatable subscriptions when we have more updates and transactional changes at the Subscriber side We are using SQL Server 2005 SP1. We will be using 6 publications and 4 subscriptions for each publications, so totally 24 subscriptions. Both the Publisher and the Distributor is the same server. It is set to run in continuous mode. Type : Pull Subscriptions. Regards, Swapna.B. If you expect conflicts to occur (i.e. two subscribers update the same row at their own database), then I suggest using merge replication as it has conflic ...Show All
SQL Server function does not exist for decision tree when running tutorial
When I run the Microsoft tutorial for data mining I get this error when I get to the decision tree part. I get a similar error for clustering in the same tutorial. However, The Naive Bayes demo seems fine. The messages said the project was built and deployed without errors. Does anyone know how to fix the error: TITLE: Microsoft Visual Studio ------------------------------ The tree graph cannot be created because of the following error: 'Query (1, 6) The '[System].[Microsoft].[AnalysisServices].[System].[DataMining].[DecisionTrees].[GetTreeScores]' function does not exist.'. For help, click: http://go.microsoft.com/fwlink ProdName=Microsoft%u00ae+Visual+Studio%u00ae+2005&ProdVer=8.0.50727.762&EvtSrc=Microsoft.AnalysisServices.Viewe ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Game Components Demo
I've posted a video of my Game Components demo I did at Gamefest. http://blogs.msdn.com/xna/archive/2006/08/31/734204.aspx That's pretty awesome :) Do you plan on doing tutorials for some of the other components (terrain, menu) I know there's lots on the web for things like terrain, but something XNA-specific would be much better to learn from, and we're less likely to code things outrselves that are already done in the framework, that way =) ...Show All
Visual C# how to known whether printer is connected
how to known whether printer is connected ,is it on or off,is it ready to print . thanks Hi, swathi Here is the solution: http://www.codeproject.com/csharp/printeroffline.asp If you've further problem, pls feel free to let us know. Thank you ...Show All
Visual Basic Maximize my screen
On my small application that I am writing, I have turned the Maximize & Minimize buttons off and was wondering how I could set the Main Form to fit the entire screen whenever the Main_Load occurs. Can anyone help me here Thanks, QWERTYtech SJWhiteley wrote: I'm really at a loss to what is needed here - perhaps the OP can show an example of what they mean Another commonly used program, perhaps 2nd that motion ...Show All
Visual Studio Tools for Office Can't see Outlook add-in when deploying for All Users
Hi All, I've developed Outlook 2003 Add-In using VSTO 2005. 1) When I install it for one user (Registry settings are for HKEY_CURRENT_USER): The Add-In works and I can see it in the 'Com Add-Ins' dialog. 2) When I cut the registry entries from HKEY_CURRENT_USER and paste them in HKEY_LOCAL_MACHINE: The Add-In works for all users but I cannot see it in 'Com Add-Ins' dialog. In both cases the values of the registry keys is exactly the same (I checked the parameters one by one) - only the location is different. My Office version is 2003 SP1. Is it a bug How can I fix it Thanks, Skapol I am having the same issue. if the addin is created under HKEY_LOCAL_Machine it is not av ...Show All
SQL Server SSIS Package XML Configuration
1) We are doing data migration from SQL Server 2000 OLTP design to SQL Server 2005 OLAP design. 2) We have used SSIS packages and data flow tasks in which we mentioned connection strings for source and target containers. 3) We have a master execute package which contains series of execute packages in relational order. 4) When we execute this master package, we should be able to dynamically specify different source and connection strings for all packages. 5) In master execute package, we generate an XML configuration file using SSIS -> Package Configurations... using Connection Managers -> Particular connection 6) Now, we change connection string to point to another database after adding this new OLE DB connection in Con ...Show All
.NET Development How can I import a DLL at runtime?
I have a DLL called SampleWidget.dll, which contains a class called SampleWidget. I cannot merely import the dll at design time is because the DLL is a 'plugin' for my software. The end user will need to import more plugins as they use the software. With this in mind, How can I import the dll at runtime and create a new SampleWidget object Thanks in advance. Awesome! The first two parts of that code work! However, the problems start when I try to access the ShowWidget() method. o.GetType.InvokeMember( "ShowWidget" , Reflection.BindingFlags.InvokeMethod, Nothing , o, Nothing ) I get a nullreferenceexception. Any tips about how to fix it The stack trace: at JimmyWidgets.frmMain.frmMain_Load(Object sende ...Show All
Visual C# OTP: c# common classes
is it possible to reference shared classes in fm1.1,without we have to import them , like framework 2.0 do with app_code folder classes OK, the answer to this is twofold. 1 - If Microsoft released a new version of the framework and you could do everything it offered on the old framework, no-one would upgrade 2 - ASP.NET questions are off topic on these forums, you need to ask this question at www.asp.net . ...Show All
Visual Studio Team System VSTS Configuration Manager
Two caveats before asking my question: 1) My solution is notoriously mangled. It works 99% of the time, but occasionally crazy things happen that I can't explain. This may be one of those instances. 2) I'm running VSTS 2005 without the foundation server up. (Don't ask, we don't want to go there. Oh that's right, something about not running on domain controllers. Not nice for one man shops. Both my enterprise servers are DC's so they can back each other up. I guess I'll have to get VM server running one of these days.) That said, I try following the directions in the help (i even connected to the online stuff - ugh! - to make sure I got the latest and greatest). I cannot find Configuration Manager on the "Build Menu" w ...Show All
Visual Basic TreeNodeCollection.Add(Key, Node)???
Hello, every add method offers the possibility to set a key. But the .Add(node) method does not have this possibility. I need it because i have a derived own treenode class which i want to add with a key. Is it possible to add this feature Because i can't use the Nodes.Find method anymore and must loop through all the nodes. Regards, Markus Dim MyNode As TreeNode = Me . TreeView1 . Nodes . Add ( "NodeKey" , "NodeText" ) MyNode . Name = "NodeName" MyNode . Text = "NewNodeText" MyNode . Tag = "NodeTag" ...Show All
Windows Forms DataGridView ComboBox
Hi all, I'm facing a big problem in my development in C#. I'm a newbie I would be needing all the help you can give me. I would like to add a combobox column in my DataGridView control. How can I do it Assuming I have this table detail... MyDatabase MyTable, with fields myID, myItemDescription I would like the field myItemDescription be in a combo box in my DataGridView. How can I do that Please help. Much as possible please start with the database connection .... Thanks, Beast Hi, I guess this would get you started: SqlConnection conn = new SqlConnection("<Your Connection string>"); conn.Open(); SqlDataAdapter Table1Adapter = new SqlData ...Show All
