Alexandre Poisson's Q&A profile
Smart Device Development Unresolved external : const type_info::'vftable'
Hi, While I am porting a application to Windows Mobile 5 from 2003SE I ran into another problem. I'm currently using the IMAPIAdviseSink interface to catch mail notifications. Deriving a class from the IMAPIAdviseSink under the Windows Mobile 5 SDK however doesn't link anymore. I get the following error : Unresolved external : const type_info::'vftable' ( _7type_info@@6B@) The cemapi.lib is included in the project. Strangely enough it DOES link doing a debug build. I only the the above error when doing release builds. I've also checked to see if there are any noticable differences in the project settings. But I wasn't able to find any. ...Show All
Microsoft ISV Community Center Forums macro doesn't run on open
i have a macro that does not run when the excel worksheet that contains it is opened. i have tried Private Sub Worksheet_Activate() and Private Sub Workbook_Open but neither will fire when i open the excel spreadsheet. my code is contained within the Subs what else do i have to do I've never used VBA for Excel (only Access and PowerPoint), but in my powerpoint addins/macros I have an autoOpen() function that is in a module and is ran when (1)the addin is first loaded and (2) each time powerpoint is started. Check to see if there is something like that for excel. ...Show All
Windows Forms problems updating database with ADO.net
Hello, I am trying to update a database with parametrized commmands, even though the record exists but when i run the update command, 0 records are affected and nothing happens to my data, i have no idea what is wrong i insert data similar to this but update doesn't happen. any help is appreciated. Many Thanks ------------------------------------------ 'update the database&n ...Show All
Visual Basic How can i translate my program?
How can i translate my program to another languages I want that my program will be in English, German, French and Spanish. How do i do it I think think the common technique for this is to put strings in resource files and have a different resource files for each language. and to build for each language The resource editor is located is invoked by Project | Properties | Resources Consider a project named IO with a directory named IO There will also be a directory called IO/MyProject which contains resource files. Resources.Resx and Resources.Designer.Vb If you take a generic string with the name of ...Show All
Visual Studio couldnt open the Visual SourceSafe databse over Http
Hello everyone We are facing a prob using Visual Source Safe 2005. Although v r able to share files from the server using simple http, but the following r the prob: - NOTE: We are NOT using SSL (1) The service http://server/SourceSafe/VssService.asmx page gives a runtime error when opened through a web browser with the follwing details: - Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [InvalidOperationException: Request format is ...Show All
Windows Forms Help with Custom Form Design(NicePanel Problems)..
I'm referenced my 2 books and they just dont go into detail at all on Building a Custom Form Sytle until i can buy either Pro .NET 2.0 Windows Forms and Custom Controls in C#2005 or Pro .NET 2.0 Graphics Programming... Which i do plan on buying both of them sooner or later...lol I'v been trying to get a Flat Appearance with a Round edges..I tried using the Code in several spots with no Prevail...So please bare with me as i'm still fairly new to C# and .NET... using System; using System.Windows.Forms.VisualStyles; namespace Test { public partial class Form1 : Form { public Form1() { InitializeComponent(); ...Show All
Windows Forms Where to download TaskVision Database!
I can not install TaskVision. Who can give me a DataBase Script to download! Thanks a lot! http://www.windowsforms.net/TaskVision/SourceViewer.aspx tabindex=7&tabid=44 Try this it may work for you ...Show All
.NET Development InvalidCastException - Deserialization error
Hi , I have a web method that returns an object. One of the properties of the object holds an array to another object (this was written in java and we are using the existing application as is). When I call the web method from .Net I get the following innerexception. Can anyone tell me how I can prevent this deserialization error Thanks Murali "System.InvalidOperationException: There is an error in XML document (25, 17). ---> System.InvalidCastException: Cannot assign object of type XincoCoreGroup to an object of type System.Object[]. The error occurred while reading node with id='id2'.\r\n at Microsoft.Xml.Serialization. ...Show All
Visual Studio Team System Reports won't run
I have almost everything working I believe. I have work Items, source control and team build all running. However trying to run reports I get: An error has occurred during report processing. (rsProcessingAborted) Cannot impersonate user for data source 'TfsReportDS'. (rsErrorImpersonatingUser) Logon failed. (rsLogonFailed) Logon failure: the user has not been granted the requested logon type at this computer. (Exception from HRESULT: 0x80070569) Any suggestions on what to change Figured it out. Single Server install with AD. Had to change the policy of the system to allow TFSSERVICE to logon locally. ...Show All
Visual C# How can I access the BackColor property of a control stored in another form?
Hello, I am wondering how can I access the BackColor property of a control stored in another form. Please help. make the form and the control of it public.. then acces it simple just some example: public class From2 { ..... public TextBox TBox; .... } // somewhere in another form Form2 b=new Form2(); b.TBox.BackColor=.... if you are using Visua Studio.. and use the Designer.. check the Form2.Designer.cs ...Show All
.NET Development Compacting an Access 97 DB from VB.NET 2003
Hi everybody, Here's my code, Imports System.IO Public Class Access97Routines Public Shared Sub RepairCorruptDatabase(ByRef corruptDB As FileInfo, ByVal destinationFileName As String) Dim accessApp As New Access.Application Try accessApp.DBEngine.CompactDatabase(corruptDB.FullName, destinationFileName) Catch ex As Exception MsgBox(ex.ToString, MsgBoxStyle.Critical, App.Title) Finally &nb ...Show All
Visual Studio Team System Unable to create unit tests...
Hi, I am trying to create VSTS unit tests for my ASP.NET 2.0 application classes which resides in App_Code folder. Whenever I right click on the code editor and select 'Create Unit Test' against a method in the class, the 'Create Unit Test' window does not list my method. None of the methods in my classes are displayed instead it only shows two classes 'ProfileCommon' and 'ThemeLoad'. TFS Version: B3Refresh Any one got into this situation Thanks -Praveen I got it resolved by changing the order of declaring sub directories in web.config. < codeSubDirectories > < add ...Show All
Windows Live Developer Forums Getting access to msn object model from activity
Hi, I just downloaded the new activity SDK and i would like to try to create some unique application. In general i want to let user select several contacts from the contact list, Than i need access to the email of the selected contacts. and finally i need to send them a message. Is there a way to access msn object model from an activity (I know msn messenger expose its object model,since i saw some VB applications use it) Thanks in advance. The Activity API does not give access to the contact list. MSN does not currently publish an API with this functionality. Stay tuned though.&nb ...Show All
Visual FoxPro Using SQL Pass Through to Access my Remote Data Source
Here's the source code which I copy from QUE Book('The One Source for Comprehensive Solutions' by Menachem Bazian) //*using SQL PASS THROUGH TO ACCESS DATA SOURCE *// LOCAL lnHandle lnHandle = SQLConnect("My Remote text") IF lnHandle > -1 SQLExec(lnHandle, "SELECT customers.* FROM customers","Results") SELECT Results BROWS SQLDisconnect(lnHandle) ENDIF I try that sample, and also checking my ODBC connection just to be sure. Then the first error is this, NO CURSOR CREATED,... nothing happens, it did not shows the content of the customers file, then the second is ...Show All
Windows Live Developer Forums Settings To Block In Spaces
I have heard over and over about the possiabilty of being able to block certain viewers from view our MSN Space! One the same concept as applied in MSN Messager Service! It would be great if we could have that option in settings in MSN Spaces where as we could remain public status, BUT at the same time we could block the url's in spaces that we choose from viewing our MSN Space for ANY REASON we see fit, WITHOUT going totally Private! I hear this suggestion, and complain in spaces a lot.. and I adressing the issue right here where it can hopefully be seen, and strongly considered! Now I personally am not having that problem to block anyone.. ...Show All
