Dat Dang's Q&A profile
Visual C++ Error LNK2019 Unresolved External Symbol wWinMainCRTStartup
I saw the previous posting relating to LNK2019, but the solutions did not work for me. I am migrating a eVC project to VS 2005. I have two LNK2019 errors. Here is the description of the first error: description: error LNK2019: unresolved external symbol wWinMain referenced in function wWinMainCRTStartup filename: corelibc.lib I have the linker entry point set to: wWinMainCRTStartup subsystem set to: Windows(/SUBSYSTEM:WINDOWS) The second error is different. description: error LNK2019: unresolved external symbol SHRecognizeGesture referenced in function "protected: void __cdecl CGestureEdit::OnLButtonDown(unsigned int,class CPoint)" ( OnLButtonDown@CGestureEdit@@IAAXIVCPoint@ ...Show All
Windows Live Developer Forums Custom Pushpin Transparency Issue
Hi, This may seem like a studpid question but does anyone know how to make certain parts of a pushpin image transparent. eg. If I draw a red circle pushpin on a white square how do I show just the red circle and make the remainder of the white square transparent Cheers, Scott. You don't have to use javascript to get png's to work. You can use css: Pass in MyPushPin class as the image style when declaring a pushpin and pass in a 1x1 pixel transparent gif (so the default doesn't show up): new VELatLong(latitude, longitude), "/VirtualEarth/images/blank.gif" , title , description , "MyPushPin" , null , null ...Show All
.NET Development 'System.TypeLoadException' -- PLEASE HELP
Hello everybody, I am new to this forum, this is my first post. I recently compiled a large project using vc++ express, but I get this error as soon as the programs starts: " An unhandled exception of type 'System.TypeLoadException' occurred in Unknown Module. Additional information: Type '<Module>' from assembly 'VectorArt, Version=1.0.2297.41533, Culture=neutral, PublicKeyToken=null' contains more methods than the current implementation allows. " Any suggestion Any idea how to solve the problem I did a google search and found nothing. Any help would be greatly appreciated. Thanks for the reply. The error occurs before entering the int main(array<System::String ^> ^args) function and the deb ...Show All
Software Development for Windows Vista Set folder security permissions during installation
This note from the Microsoft site mentioned below, suggests that application specific data should be placed in the location provided by the KnownFolder API (passing parameter :CSIDL_COMMON_APPDATA). CSIDL_COMMON_APPDATA This folder should be used for application data that is not user specific. For example, an application may store a spell check dictionary, a database of clip-art or a log file in the CSIDL_COMMON_APPDATA folder. This information will not roam and is available to anyone using the computer. By default, this location is read-only for normal (non-admin, non-power) Users. If an application requires normal Users to have write access to an application specific subdirectory of CSIDL_COMMON_APPDATA, then the application must explic ...Show All
Visual Studio 2008 (Pre-release) Running client and host from different machines
Hi, I've been struggling for past few days with trying to get my client (windows form application) and host to communicate with each other. Everything works great when the client and host exist in the same machine but once I move the host to a different server, it looks like the client never receives any reply from the host. I tried looking at the Event Viewer but the errors do not make any sense. Here is my client's app.config <system.serviceModel> <bindings> <wsDualHttpBinding> <binding name="WSDualHttpBinding_IPersistentSubscriptionService" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" bypass ...Show All
Visual Studio Team System about workspace
In source control, if you want to get a specific version for example, you can choose a workspace version. Does it mean that the other ppl can choose any workspace they want Why do they want to do that What is the exactly meaning of this workspace version. Thank you jiajia Hmm this is long to explain here, it's a new concept in Source Control, I would recommend you to take a look to this article which talks about what workspaces are, and how to work with them: http://msdn2.microsoft.com/en-us/library/ms181383.aspx ...Show All
SQL Server JDBC Integrated Security problem
Hi, I am using the latest 6/26 JDBC driver to connect to sql server 2000 server. My url is jdbc:sqlserver://hostname:1433;integratedSecurity=true;. I was getting the following errors "Invalid integratedSecurity property value:true". Any suggestion to resolve this problem. Thanks. Angel, I am able to impersonate my client program, but I am still getting " Login failed for user ''. The user is not associated with a trusted SQL Server connection.". Do you know why I am still getting this error Do I miss any steps Both my client program and SQL Server 2005 are on same host and same domain(DC). Thanks. ...Show All
SQL Server Date Range filter
Hi guys, I need to filter result in MDX query by passed Start Date and EndDate I come up with following solution This is confirmed: It worked fine with SSAS v9.00.247.00 but with SSAS v 9.00.3042.00 return null for all rows and columns Does anyone has idea how to make it works ...Show All
SQL Server Distributing Sql Express with Advanced Services
I'm writing an application that uses Sql Express 2005 with Advanced Services (for fulltext indexing) and will be needing to deploy the database server. I just realized that the install is 230+MB. Is there a way to trim this down to just the components/features I need Thanks, Eric hi Eric, if you need FTX service, the Advanced Services package is the minimal deployment base... way igger then the "regular" SQLExpress package... regards ...Show All
SQL Server error log
I am trying to send an email in case of SSIS package execution failure. i used the OnError event to send email but it send 10-15 emails in case of one error. Then I used OnTaskFailed event to send email, it does send one email. But the system varibale ErrorCode and errorDescription are unavailable for OnTaskFailed. Can you please suggest how to send errordescription using OnTaskFailed. You shouldn't double-post questions. It makes tracking the answers more difficult. In the OnError event set a global variable with your Error Code and Error Description, then access those variables from OnTaskFailed. ...Show All
Visual Studio 2008 (Pre-release) Creating popup panels like Blend
What would be the best way to go about creating 'popup panels' like Blend does when you click on one of the tools on the left side In Blends case it looks like it's a Menu but I'd like to be able to have any Control magically appear, allow the user to interact with it, and then disappear. For example, I have a color rectangle in my app. If the user clicks on it, i'd like a color selector control to magically appear. The user can then interact with the control and then click anywhere outside of the control to close it. Is something like this built into WPF I've tried just manually creating a control but I'm having trouble with getting the popup to automatically close when the user clicks anywere else. Hooking both LostFocus and LostKeybo ...Show All
Visual Studio Tools for Office Assembly Link Location Property
I've created a VSTO Excel project and upon deployment get the "The assembly could not be found.." message. Both the Excel workbook and the assembly are deployed to a folder on the user's PC and authority has been granted to the assembly using caspol. I've looked at the two properties (_assemblyname0, _assemblylocation0) in the workbook. They are * and {06a83bbf-d91e-4ba6-a395-0c5b0ef0c77d} respectively. I thought I could solve the problem by explicitly setting these properties but cannot because I cannot locate the Assembly Link Location property. This document (http://msdn.microsoft.com/library/default.asp url=/library/en-us/dv_wrcore/html/wrlrfassemblylocationproperty.asp) states that these properties can be ...Show All
Visual C# Save my program for God's sake!!!!
Just as I was getting some decent work done on my project, I set down my keyboard to make a bathroom run, and once i returned, I found my cat lying on my keyboard... When I tried to clean up the constaint garbage that was created by him, I tried running my program and found a ton of new errors. What makes it worse is that I have this bugged sucker saved... Tried cleaning it up, and like a freakin moron, I saved it before I re-ran the program. Apparently I changed something mere mortals such as my self shouldn't have touched. partial class Form4 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel. IContainer components = null ; ...Show All
Visual Basic Drag and Drop Problem
All, A simple problem I hope. I have a list and drag items from the list to another control starting the the drag and drop operation on the mousedown event of the list. However when the mousedown event fires the drag and drop operation begins but the list doesn't update until after the drag and drop has completed. Basically, I want to click on an item in the list, the list to update something with the selected item, some code to run to determine whether the item clicked is allowed to start a drag drop operation, and if so to begin a drag drop operation (all in the mousedown event) pheewwwww!! I ve currently got around this by using the hover selection option on the listview but I d rather click on an item to select it rather than hover ov ...Show All
.NET Development Updating dBase tables
How to update dBase (.dbf) tables I can read them with Odbc or OleDB but CommandBuilder can't create UPD, INS and DEL command based on 'SELECT * FROM dbf_table_name'. Exception is: "Dynamic SQL generation for the UpdateCommand is not supported against a SelectCommand that does not return any key column information." Yes, with PK column I can update but in most cases I don't have PK col or don't know where is it. How MS_Access change dbf files when I link them There must be some way. Please ignore this post. It is a test post. The forums team is testing Alerts. This post will be deleted in a day or so. Thanks Jana Carter Forums Program Manager ...Show All
