Andy Ho's Q&A profile
Windows Live Developer Forums Article: Redesign the Virtual Earth Dashboard
Hey guys, I just put together what i hope is a really good reference for anyone wanting to change the look and feel of the V4 virtual earth dashboard. http://www.soulsolutions.com.au/Articles/VEDashboardStyles/tabid/101/Default.aspx Let me know if I'm missing anything. John. try: #navAction_ObliqueMapView { display : none ;} John. ...Show All
Visual C++ LNK2020 when importing a mixed-code static library
Hello. I have a rather strange problem with VC2005 Express : Project A : I do a static library that contains both managed and unmanaged code. I have 4 100%-unmanaged .cpp files and 3 mixed-code (A.cpp, R1 and R2.cpp, the last two containing definition of two managed classes members). I link with the /clr option, no problem. Project B : Windows Forms App. I import my A.lib and corresponding header files. I get LNK2020 errors (unresolved tokens) on managed classes members in R1 and R2. Compiled with /clr also. => Why these errors It works fine if I move the content of R1 and R2 in A.cpp in project A (!!), but I need not to for other projects. Moireover, I would like to understand . Thanks in advance. And sorry for English mistakes. ...Show All
SQL Server SQL Server XE Limitations
Hi, As SQL Server XE can run on one PC maximum, does it mean that it can't support multi users I mean could it be installed on one server and to be used by multiple users connected to server with their PCs thanks in advance thanks for the aanswers guys, But according to these, I was wondering If a SQL server Express would run on a server and multiple users would use it at parallel. so what does it mean that it could run on 1CPU maximum!!! is it about storing data on 1PC!!! and is there a client software to be installed on clients' machines, so they can access the db on server!!! thanks so much and sorry for long reply ...Show All
Visual Studio FileNotFound while dll-debugging
Hi! I develope a .dll with Visual Studio 2005 Professional and .net-Framework V2.0... I got two Projects(typelibraries) in one Projectfolder lets call them Pa and Pb. Pa is the startproject and has a reference on Pb. They both have >make Com-visible< set to true. On the Properties - Page of Pa under >debugging< is a path inserted to an Application(c:/test/test.exe). This Application test.exe is written by myself in VS 2005 and has references on Pa and Pb (../bin/pa.dll and /bin/Pb.dll) and after compiling I copied the .exe into C:/test/test.exe. If I start my Projectfolder for debugging with F5 test.exe starts and then I got an FileNotFoundException . It says that pa.dll is not found. I observed test.exe with the FileMonitor an ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Direct X10 and Vista - Compatibility
Simple question, will Direct X10 only be compatible with Vista Seems like you have misunderstood me. This “dead” was from the developer’s point of view. If you maintain a product it does only make sense to write new code for anything else than the newest versions of it if someone pays for it. I am sure it would be not that easy to find XP users that are willing to pay for a Direct3D 10 upgrade Additional it would be not fair to let Vista buyers pay for Direct3D 10 support for XP. This reduces the whole Direct3D 10 for Windows XP story to one simple question. Who should pay for it ...Show All
Visual C# Same KEY & IV for TripleDES Encryption as well as Decryption in 2 different Win Services.
Hi, I want to encrypt as well as decrypt a file using TripleDES. My problem is that I am autogenerating the KEY & IV while encrypting the files. As per my project requirement, I have to keep both Encryption & Decryption parts in two differents windows services. Can any one please guide me how to supply same KEY & IV for both I am using the following coding for encryption & decryption: //.......................... private static void EncryptData(String inName, String outName, byte [] tdesKey, byte [] tdesIV) { //Create the file streams to handle the input and output files. FileStream fin = new FileStream(inName, FileMode.Open, FileAccess.Read); FileStream fout = new FileStream(outName, ...Show All
Visual Basic overload and override
This is a general guestion. I think I understand overload and override when used separately. Use Overload when base class and derived class methods have same name, different arg lists. Override when same name, same arg list. Can someone explain the meaning of Overload Overrides used together. MS uses the combination quite a bit and I don't understand it well enough to know if I should be using the two together in cases where I have been using one or the other separately. It is overiding the base class method and providing and overloaded signature to that method. Override is applicable in base/derived class situations (and would be required for methid which MustOverride has been specified ). overload is often not actually requi ...Show All
Visual Studio 2008 (Pre-release) The certificate 'CN=localhost' must have a private key that is capable of key exchange.The process must have access rights for
Hi, My WCF service has following security settings:- at server side(web.config) :- < behaviors > < serviceBehaviors > < behavior name = " myBehaviour " > < serviceDebug includeExceptionDetailInFaults = " true " /> < serviceMetadata httpGetEnabled = " true " /> < serviceCredentials > < serviceCertificate findValue = " localhost " storeLocation = " LocalMachine " storeName = " My " x509FindType = " FindBySubjectName " /> </ serviceCredentials > </ behavior > </ serviceBehaviors > </ behaviors > < bindings > < wsHttpBinding > < ...Show All
Visual Studio Debugging Error Message of VS2005
--------------------------- Microsoft Visual Studio --------------------------- The following module was built either with optimizations enabled or without debug information: C:\Documents and Settings\ Peter Peter \Local Settings\Application Data\assembly\dl3\GK36Y4X8.1TR\K1JO6NOP.P99\bc8980d3\f0e49e63_711dc601\MyResources.dll To debug this module, change its project build configuration to Debug mode. To suppress this message, disable the 'Warn if no user code on launch' debugger option. --------------------------- OK --------------------------- I didn't do anything but this error message come out from VS2005, I followed the "suggested" solution and of course, it doesn't work. Who know the reason of ...Show All
Visual Studio Team System Changing _VIEWSTATE in different versions breaks the test scripts
The test scripts I created is based on the old version of the application. Everything was working well on the old version. Then a new version was promoted to the testing environment. My test scripts did not work. The error message is " KeyNotFoundExcept was unhandled by the user code ." The corresponding code is: request13Body.FormPostParameters.Add( "hidRedirectPageUrl" , this .Context[ "$HIDDEN1.hidRedirectPageUrl" ].ToString()); I guess this is because Web Test was not able to find the key "hidRedirectPageUrl". Thinking that the _ViewSate code is the only difference in the new version, I re-recorded my testing actions on the new version, get the new _ViewState code and copied the new _view ...Show All
Visual Studio Tools for Office Outlook form region
Dear All, I'm trying to create outlook form region to customise the outlook 2007 mail form - add a combo box that gets its data from sql server 2005 database - ; however I cant create even a basic form region. I searched a lot throgh the net and msdn but with no luck. All the samples that I try seems to be old, or was created for the beta VSTO or beta Office 2007. Kindly could you help me by a sample that creates a basic form region for outlook 2007. Another point: should I create xml manifest and registry file with the latest VSTO SE. I'm using: Windows XP Visual studio 2005 VSTO SE Office 2007. Thanx for your help. Emad. Dear Sue, Thank you for the response. I Succ ...Show All
Software Development for Windows Vista Bug with custom activities in workflow project showing in toolbox
Hi I have had some trouble getting custom activities that are in the same project as the workflow (or in a project in the same solution as the workflow project) to display in the toolbox automatically. After some experiments I see there is a problem with this behaviour when the project is within a solution folder. If I do the following all is fine: 1. Create a new sequential workflow console application project. 2. Add a new activity. 3. Build the project. 4. Open the workflow in the designer. The new custom activity will display in the toolbox. If I do the following to the solution created previously the custom activity will not display in the toolbox: 1. Add a solution folder. 2. Drag the workflow project to ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Where is the download?
It is 12:48 pm here (GMT + 1)... in Nuku'alofa (GMT + 13) it is tomorrow... So where the hell is my download link :-D It's just about 12:30 AM, my guess is you'll still have to wait several more hours, probably at least 8 and a half since the workday starts for most people in the US around 9 AM. Even then I don't expect to see it until later in the afternoon Pacific time. ...Show All
Visual Studio Tools for Office Problem with WindowProc function and DsoFramer
Hi, I use DSOFramer in an Visual Basic 6 Based application. I have a principal form which is MDIForm and the form containing of DSOFramer is a mdichild form. I start my application and I open the form containing of DSOFramer. It works fine but when I open an other form over the DSOFramer then that I close again it, the behavior of the DSOFramer is strange. I have a lot of redraw, paint issues, and can't find a way to have it redraw nicely everytime. I have the same problem if I open an other application (for example the Explorer) over the DSOFramer. I use the WindowProc function in my application and I think that this function cause lot of redraw. When I use UpdateWindow function, to refresh my form, in Windowproc function I ...Show All
Visual C# How to get cube role from Analysis Services
Dear All, Recently I want to learn How to get cube role from Analysis Services by .NET while I can't find better ways, so would you give me advice,and thank you very much! ...Show All
