Manaxter's Q&A profile
Visual Studio Invoking wizard from Add-in
I apologize if this is a seriously newbie question. I am trying to invoke a Custom wizard from an Add-in. Is this as simple as calling the Execute method of the IDtWizard Interface Does the .vsz file need to be copied to the Add-in assembly's folder now ...Show All
Visual Studio Tools for Office Error when opening VSTO sample project
I just installed Visual Studio Team Edition for Software Developers (with VSTO) and I'm trying to open a sample project I downloaded from Microsoft. When I open the .sln I get this error: Microsoft Office Outlook 2003 SP1 or newer is not installed on this computer. You must install a version of Microsoft Office Outlook 2003 that supports Microsoft Visual Studio 2005 Tools for the Microsoft Office System projects. The problem is that I do have Microsoft Office Outlook 2003 installed. It's SP2, which is what is recommended. It's configured and open. How can I convince VSTO that I really do have Outlook 2003 SP2 installed Thanks! -Jeremy I just realized why you asked that. Our client ...Show All
.NET Development WS-I18N, Web Services Internationalization
Has anyone done any work implementing the WS-I18N header enhancements with an ASP.NET Web Service, or similar I did actually implemented it using WSE for ASP.Net, 2.0 bellow are some code snippets that I hope help. Some notes: I just implemented the locale element, you could take the rest from Pablo's article. The output filter grabs the culture from the UI Thread and puts this on the header, the service input filter sets the requested culture in the servies main thread. doing this, you don't have to worry about setting the header every single time you call the service. I derived the InternationalHeader class from SOAP header so you can use it explicitly as a SoapHeader attribute if you don't want to use WSE (you will nee ...Show All
Windows Live Developer Forums Licensing - Is a pushpin a single transaction?
I would like to make a page on our company's site that uses Virtual Earth to show a pushpin for each location (up to 9000). Does a single plot where I provide the longs and lats constitue a transaction Or, does the term geocode only apply if I pass something like an address and the service does a lookup to find the long and lat My .asmx file would have a section like the following... private List < MapItemRow > GetAllActivities() { List < MapItemRow > _data = new List < MapItemRow >(); int uniqueIDMarker = 1; _data.Add( new MapItemRow ( uniqueIDMarker++, "Location One" , 46.851734, -121.759874, "Type A" , " http://examplesite.com/images1.jpg " , ht ...Show All
.NET Development Deploying WSE 3.0 Application
When i finally deploy my application which uses WSE 3.0 do i have to include WSE runtime Or is it included in my application code Thanks. ...Show All
SQL Server Performance problem: 2000 vs. 2005
I copied a 2000 database onto 2005 on another box. Running the exact same SELECT query, with 7 tables joined, is running in less than 2 minutes on 2000 and almost 3 hours on 2005. The 2005 box is "bigger and better". I've compared the sp_configure output. There are differences in max worker threads, cost threshold for parallelism, and priority boost. I don't think any one of these is significant. I checked the server properties and the database properties and, again, I did not see what I would consider any significant differences. The 2005 instance has 4GB memory, as opposed to 2GB, but not using that much. In fact, the Total Server Memory (KB) for the instance indicates around 1,230,000 for some reason. We need to reso ...Show All
Visual C# Error using an external 'C' dll
Hi, I'm using an external DLL programed in C. I call a function from this dll that returns me a struct Function Header in C: DatosAdCruz PruebaAdCruz(unsigned char* imagen, int ancho, int alto,char* path) DLL Import in C#: [DllImport("Pinturas.dll", EntryPoint = "PruebaAdCruz", SetLastError = false)] public unsafe static extern Clases.DatosAdCruz PruebaAdCruz(byte[] imagen, int ancho, int alto, string path); Struct in C: typedef struct{ char codiErrorAdCruz[2]; unsigned char * ImagenAdCruz; int ancho; int alto; }DatosAdCruz; Struct in C#: public struct DatosAdCruz { public unsafe fixed char codiErrorAdCruz[2]; public unsafe byte* ImagenAdCruz; public int alto; public int ancho; } > If I Call the functio ...Show All
Microsoft ISV Community Center Forums VBA for Powerpoint
Hi, I have been asked to modify a powerpoint presentation so that from a series of jpg files, one appears on the screen and then after a specific time period disappears and is replaced by another; this being a continuous loop on one slide only - like a photo tour. I have the following code, but need to get it up and running. Any suggestions: Sub ImportABunch() Dim strTemp As String Dim strFileSpec As String Dim oSld As Slide Dim oPic As Shape strFileSpec = C:\PFS Pictures\beach party *.PNG 'Ex. on a PC: C:\My Pictures\Flowers\*.PNG strTemp = Dir(strFileSpec) Do While strTemp <> Set oSld = ActivePresentation.Slides. Add ppLayoutBlank Set oPic = ActiveWindow.Selection.SlideRange.Shapes.AddPicture(FileName:=strFileSpec, _ LinkTo ...Show All
SQL Server BIDS - Error on design surface of Calculation tab in Cube
Has anyone seen this Within 'Business Intelligence Development Studio' (BIDS) with a cube opened and the calculations tab selected, the design surface displays a message that reads: Unexpected error occurred: 'Error in the application.' This occurs in any project I open and it still occurs when I restart BIDS or the computer itself. Any ideas Can anyone suggest a remedy > what are the file versions/modification dates on msmgdsrv.dll and msmdlocal.dll (in both places) Here are the locations, filenames, versions, and date\time C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\ Filename: msmgdsrv.dll, Version: 9.0.2047.0, Date: 4/14/2006 9:55 ...Show All
.NET Development Is it possible make new thread with return value???
Hi , I want to make new tread but to return data set. IS it possible public static DataTable fillAvailableEquipments() { getData=new ThreadStart(fillAvailableEquipmentsByTread); getDataThread=new Thread(getData); getDataThread.IsBackground=true; if(Defaults.Lenguage == Language.English) getDataThread.CurrentUICulture = Defaults.enCultureInfo; else getDataThread.CurrentUICulture = Defaults.ruCultureInfo; frmHead.MyTread=getDataThread; getDataThread.Start(); } private static void fillAvailableEquipmentsByTread() { DataTable dt = some method that return DATA TABLE; } It give me error becouse thred has to be VOID ...can it be done in some other way HELP.... ...Show All
SQL Server Accessing SSAS Cube from Report Manager Error
Hey Forum Community I seem to have a problem creating a model for my AS cube through Report Manager. I have set up the data source as follows: Name: Gates Aust Business Intelligence Connection Type: MS SQL Server Analysis Services Connection String: Data Source=MANT4003;initial catalog="GAPL Sales Analysis" Connect Using: Windows Interegrated Security This part works, but when i go to generate the model, i get the following error in the browser: " Cannot create a connection to data source ''. (rsErrorOpeningConnection) Get Online Help For more information about this error navigate to the report server on the local server machine, or enable remote err ...Show All
.NET Development Creating 64-bit applications on 32-bit platform using Visual Studio 2005
Hello, How can I create 64-bit apps on x86 processor Do I need a x64 or IA64 machine to do that I have installed VS 2005 and the .NET Framework on x86 machine. I have my 32-bit apps ready. How do I proceed Any suggestions will be appreciated. Thanks! Sonia. I have installed Visual Studio from \\Products\public\Products\Developers\Visual Studio 2005\VSTS\vs\Setup and this is NOT an express edition. So, How can I get the 64-bit compiler option to work Changing the configuration manager properties to "any cpu" does not make any difference. I cannot pick "any cpu" option from the project properties after editing the configuration manager. There is no such option th ...Show All
Smart Device Development wsdl and the compact framwork
I am sorry if this is the wrong forum for this but if any one has any ideas thanks. I have the following problem run the wsdl.exe program to get the cs file with the definitions in works fine when run in a windows app with the full framwork. But if I try to move it over to the compact framework I get an error with the " AsyncCompletedEventArgs " in the file as this is not part of the compact framwork. Is there a way to get round this. Many thanks Slim Thanks for that but I have no choice the server is in Delphi and thats what I have to use. So I need to use wsdl.exe for my cs file for the program on the PDA Thanks Slim ...Show All
.NET Development How to use Stream to read message From TextBox? VB
Hi I am using the below code and class file to get the HTTP response from the remote server. At the moment I am receiving the Response message to TextBox1. How do I read the received message from TextBox1 to Stream and save as file *******************************Code in the Form**************************** Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim mypost As New Test ' "Test" is a class file Dim Doc As New Xml.XmlDocument Doc.Load( "../sss2.xml" ) Dim RESPONSE_TEXT As String = Doc.OuterXml TextBox1.Text = mypost.sendPost(RESPONSE_TEXT) End Sub End Class ************* ...Show All
Windows Forms Why is DataGridView so slow?
I created a databound DataGrid, and then researched DataGridView to find it would fit my needs better. I have a DataGridViewCheckBoxColumn as my first column in my DataGridView then set its datasource to a DataSet. Sometimes the DataSet may contain a table with over 1000 rows. The user has a button that will select all checkboxes in the DataGridView. It takes about 5 minutes for my foreach loop to complete this task with the DataGridView. With the DataGrid, it was milli-seconds. What is going on Any suggestions Here is some of the code. Thanks in Advance, ryan //my DataGridViewCheckBoxColumn truevalue = 1 foreach ( DataGridViewRow dgr in dtgPolicies.Rows) { DataGridViewCell dgc = ( DataGridViewCell )dgr.C ...Show All
