Software Development Network Logo
  • Microsoft ISV
  • VS Team System
  • Visual C++
  • Visual FoxPro
  • Audio and Video
  • Visual Basic
  • SQL Server
  • Smart Devicet
  • SharePoint Products
  • Windows Forms
  • Game Technologies
  • Windows Vista
  • IE Development
  • Visual Studio
  • .NET Development

Software Development Network >> mtm81's Q&A profile

mtm81

Member List

libra08
PedroCGD
JoneLee
Abhishek Chadha
Warez_Willy
Darril
AlexBB
dave45
K_L
drcairo
NeederOfVBHelp
Alfred Kelgarries
Melissa H.
Luis Esteban Valencia Muñoz
LiquidAsh
joeydj
sdj_dk
BhanuKiran.K
Pete_M
Tigers21
Only Title

mtm81's Q&A profile

  • Visual C++ Error C2440 when compiling code originaly in VC++ 6 to VS. net

    I get the following error when compiling code in VS .Net 2003 that was originaly written in VC++ 6 c:\CPX32\src\View\MainFrm.cpp(41) : error C2440: 'static_cast' : cannot convert from 'void (__thiscall CMainFrame::* )(UINT,LPARAM)' to 'LRESULT (__thiscall CWnd::* )(WPARAM,LPARAM)' None of the functions with this name in scope match the target type The code producing the error is: ///////////////////////////////////////////////////////////////////////////// // CMainFrame IMPLEMENT_DYNCREATE(CMainFrame, CFrameWnd) BEGIN_MESSAGE_MAP(CMainFrame, CFrameWnd) ON_WM_CREATE() ON_WM_CLOSE() ON_MESSAGE(WM_SYSCOMMAND, OnSysCommand) END_MESSAGE_MAP() Any Ideas on how to solve this will be very appreciat ...Show All

  • Software Development for Windows Vista Vista 5728 and DAO 3.6(Access97 mdb) seek method does not work(VB6 Code)

    Private Sub Command1_Click()     'Case 1   Works Fine     '===Vista 5728 / Access97 mdb / DAO 3.6 / SQL (CREATE TABLE...)     If Dir(App.Path & "\test1.mdb") <> "" Then Kill App.Path & "\test1.mdb"         Dim Db As DAO.Database     'Set DB = CreateDatabase(App.Path & "\test1.mdb", dbLangGeneral, dbVersion30) 'Works Fine     'Set DB = CreateDatabase(App.Path & "\test1.mdb", dbLangKorean, dbVersion40)  'Works Fine     'Set DB = CreateDatabase(App.Path & "\test1.mdb", dbLangJapanese, dbVersion40)  'Works Fine     'Set DB = CreateDatabase(App.Path & "\test1.md ...Show All

  • SQL Server '..product level is insufficient...' running package; I have SP1 installed

    I read other threads with this problem and one solution was to install SP1 on the workstation. Our server is running 9.00.2047(SP1) and my workstation SSMS version is 9.0.2047.00 so I'm assuming it's SP1 and I am still getting this error. To make matters worse, I have jobs set up to run these packages ON the server, but they aren't working either because I have '...error authenticating proxy...Logon failure unknown user name or bad password'. I'm trying to use my Windows login because it has sysadmin rights; I created credentials, assigned them to a proxy under SSIS Package Execution; in the SQL Agent log I get the error '...SQLServer Error: 22046, Encryption error using CryptProtectData.'. Any suggestions appreciated. &l ...Show All

  • Windows Forms DataGridViewRow - why does it require a default property?

    This code in VS05 : Private Sub ProjectGrid_CellClick( ByVal sender As Object , ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles ProjectGrid.CellClick Dim currentProject As DataGridViewRow = ProjectGrid.CurrentRow Debug.WriteLine(currentProject( "ProjectID" )) End Sub ProjectGrid is a DataGridView control bound to a bindingsource connected to a table in a dataset. ProjectID is a valid column name in the grid and the bindingsource. The user has clicked on a cell in the control to activate this handler. Produces this error in the debug.writeline statement with reference to the variable currentProject: Class 'System.Windows.Forms.DataGridViewRow' cannot be indexed because it has ...Show All

  • Visual Studio 2008 (Pre-release) There is no Keypress event In WPF textbox, what is the alternative event?

      We would like to see an example of importing 3D models from 3rd party animation software's like softimage Maya or 3D max into Expression Interactive. We have seen on web that there are plug-ins have been introduced for Maya and 3dMax that generates XAML for 3d objects.     ...Show All

  • Software Development for Windows Vista Cannot insert activities from the toolbox if CanModifyActivities=False

    I would like to have a workflow initialized with two activities in it and also be able to drag additional activities from the toolbox into the workflow. I have written the code shown below to achieve this goal. However, after setting CanModifyActivities to false, I cannot drag activities from the toolbox into the designer. The designer does not accept the activities anymore and does not throw an exception. How can I have a workflow initialized with 2 activities in it and still be able to add additional activities by dragging items from the toolbox (which seems not to be possible, if CanModifyActivities has been set to false) [ Designer ( typeof ( WorkflowActivityDesigner ), typeof ( IRootDesigner ...Show All

  • Visual Studio Team System Problem with method.ExceptionHandlers

    I am unable to get the exceptionHandlers in a normal run. The only way that I can get these are to Launch the debugger before I cast my member to a method and then I MUST hover over the method and its ExceptionHandler Property. If I launch the debugger and step thru slowly I still miss the exceptionHandlers, again I must Hover over them in order to get them. Here is a snippet foreach ( Member member in type.Members) { if ( member.NodeType == NodeType .Method || member.NodeType == NodeType . InstanceInitializer || member.NodeType == NodeType .StaticInitializer) { System.Diagnostics . Debugger . Launch(); Method method = member as Method ; if (method.ExceptionHandlers == null || method.Exc ...Show All

  • Commerce Server Hotfix didn't work HELP !!!

    I'm gettin following error: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> There was an error generating the XML document. ---> Instance validation error: '0' is not a valid value for System.Net.HttpStatusCode. at Microsoft.CommerceServer.ServiceAgent.TryHandleWebMethodException(Exception ex, SoapHttpClientProtocol serviceProxy) at Microsoft.CommerceServer.Catalog.WebService.Proxies.CatalogWebService.AuthorizedInvoke(String methodName, Object[] parameters) at Microsoft.CommerceServer.Catalog.WebService.Proxies.CatalogWebService.RefreshSiteCache() at Microsoft.CommerceServer.Catalog.CatalogAgentContext.RefreshSiteCache() at Microsoft.CommerceServer.Catalog.CatalogContext.RefreshSiteCache() ...Show All

  • SQL Server What is Best way to Count the number of records in a table - Sql Server 2005

    I have a table with 54 million records But it take lot of time when i am using Count(*) or Count (ColumnName). What is best way to Count the records in Sql server 2005 Regards Vasanth Nitin Khurana wrote: caching there is only plan caching i guess(and plan for simple count wont take time)....no result caching.... im running them on new session each time. A new session how When I run a select count(*) on a 1.5 million row table the first time, it takes n seconds. When I open up a new query session and run select count(1) it comes right back. When I open up yet another new query session and run a select count(*) again, it comes RIGHT back. This is due to caching on the SQL Server side because the query plan is t ...Show All

  • Visual Studio Terminal Services and Visual Studio 2005?

    Are Terminal Services and Visual Studio 2005 compatible in a Windows Server 2003 network If they are how is VS 2005 installed. If they are not what can be done to make VS 2005 work with Terminal Server Yes, VS 6.0 and VS 2003 does working on MS Server 2k3 with TS. For VS to work on a Terminal Server you will need to add users to Debugger User and VS Developer groups. ...Show All

  • Windows Forms Display Pictures from an SQL2K Database in Windows Forms

    Hello, I am using Visual Studio 2005 VB.NET I am trying to call up a binary field in an SQL 2000 DB which contains a picture and display that picture in a Picture Box. A search brought up the Microsoft Article: 321900 on their support site. The pertinent code looks like so: Dim cn As New SqlConnection(strCn) Dim cmd As New SqlCommand("SELECT BLOBID, " & _ "BLOBData FROM BLOBTest ORDER BY BLOBID", cn) Dim dr As SqlDataReader cn.Open() dr = cmd.ExecuteReader(CommandBehavior.CloseConnection) If dr.Read Then Dim bytBLOBData(dr.GetBytes(1, 0, Nothing, 0, Integer.MaxValue) - 1) As Byte dr.GetBytes(1, 0, bytBLOBData, 0, bytBLOBData.Length) ...Show All

  • Software Development for Windows Vista "help and support" not working

    this is what I get when I open help: (on vista RC2) "Internet explorer cannot download /from help..." Internet working well and is enabled. How to fix it Brilliant, thanks KA-50Hokum. I can only assume that Dreamweaver did this, but your solution worked on my OEM Vista Ultimate. ...Show All

  • Gadgets This is not a valid gadget package!! grr!

    hey, So i finished creating my gadget, i use winzip to zip it up to mygadget.gadget and then double click to install... However it just says: This is not a valid gadget package The gadget works if i move the folder to the windows gadget directory! Does anyone know how to fix this problem Regards I've had that error before. =) Check the XML. Is it named gadget.xml Check the code inside the XML. There should be a line that says <base type="HTML" apiVersion="1.0.0" src="(your HTML file).html" /> Is the (your HTML file) part the actual name of your HTML file After doing that, I discovered mine was #2. Try this and tell me the results. ...Show All

  • SQL Server Table Column Comparison Transform

    Is there a transform available which allows you to specify two different tables (same primary key) and compare columns (you identify which column(s) values need to be compared in the transform) between those two tables thanks J.A.J. wrote: I want to be able to compare column values between the two different tables. These tables will have the same primary key but the column names and number of columns will be different. I will have a mapping table that lists which columns are to be compared. As Phil says, a Lookup will help you here. Once you havethe columns in your pipeline then you can probably compare them (you still haven't said what comparison you want to do) using a Derived Col ...Show All

  • Windows Forms Cached versions - limit to 2 or 3?

    If a user installed 10 versions of the app, there would be 10 cached copies on their PC. How can I limit that to only the latest 3 or 4 with the Project Properties in Visual Studio Ian On the client though. How do we make sure that 10 different copies aren't let there in the client's cache after 10 updates It'll fill up the hard drive after a while. ...Show All

©2008 Software Development Network