kevow's Q&A profile
Windows Live Developer Forums Using Virtual Earth 4.0 in Asp.net 2.0
I have to give the functionality listed below in my Site. User can add the custome point on Map. User can search the path from one location to another.(Driving). User can print the driving path with and without text. So Please can anyone help me for how to use Virtual Earth 4.0 in asp.net 2.0 Thanks in advance Nayan Paregi Hi Nayan, A good place to start is by checking out the interactive SDK. http://dev.live.com/virtualearth/sdk/ You probably want to explore: - Use Pushpins - Add a custom pushpin - Get a route and directions - Show the directions ASP.Net will serve up the pages you create, but the majority of the action happens in jscript on the page. The asyncronous callback in ASP. ...Show All
.NET Development Best way to determine if a file is a .NET DLL or EXE
I am making a component that parses a .NET dll or EXE reading the manifest and types in it, and I need a good way to determine if the file I'm being passed is a legit .NET DLL or EXE with module(s), manifest, etc, rather than a normal windows DLL or EXE which does not have that information. Any ideas ...Show All
Visual Studio 2008 (Pre-release) Window in XAML Browser Application
Is it possible to show a window in a Browser application I get a security exception when I try, what security level is required to do it, and how can I achieve this security level We are replacing a Java Applet embeded in a web page but it absolutly needs to pop windows. A lot has been said comparing WBA and Java applet on this forum and people seem to suggest that it is similar. No, you can't show a window in an XBAP app. MS has caught lots of heat over this limitation and is supposed to lift that restriction in a future release. Let's keep our fingers crossed... ...Show All
Architecture UML Model Export to xml file
I'd like to put a simple question into your consideration. When you export a UML model as a .xml file using ESRI XMI Export Tool, I designed the UML Model in Visio2003, and exported it as a xml file using ESRI XMI Export tool. The objective is create a database into a Geodatabase using those xml file. But when I create the database the descriptions os each table and atributes that I had in Visio in a documentation tag desapeared... The question is, How can I attach the documentation info to the xml file to pass it to the tables created in a database Thanks in advance ...Show All
.NET Development NGen very slow!
That's funny, I was just experimenting with ngen to see what kind of performance impact it has. And my very tiny test program with some vector structs runs twice as slow when ngen-ed! Here's the test program: using System; using System.Collections.Generic; using System.Text; namespace PerfTest { public struct Vector3D { public double x, y, z; //static Vector3D() { // Console.WriteLine("Static constructor!"); //} public Vector3D(double x, double y, double z) { this.x = x; this.y = y; this.z = z; } public Vector3D Add(Vector3D v) { return new Vector3D(x + v.x, y + v.y, z + v.z); } public static Vector3D Add(Vector3D u, Vector3D v) { return new ...Show All
Smart Device Development PDA and Internet connetion
Hi, I have an application developed in c#, in my PDA and i need to know if someone knows a way to established a internet connetion throught a button in my application. This is urgent..... Does anyone have a suggestion or an ideia Thanks. Ok, thanks but the problem is: I'm using pull's (send data to pda) and push's (send data throught pda to a central database) via windows mobile 5.0 emulator. So my problem is that i don't know how this will work in a real PDA when i'm for example in a store and i want to send some data from my PDA to a central database or the vice versa. The ideia is to have a button on my application and when i press it, my application will execute that operations t ...Show All
SQL Server Dynamic Security Stored Procedure Repeatedly Called
I have implemented an SSAS stored procedure for dynamic security and I call this stored procedure to obtain the allowed set filter. To my supprise, the stored procedure is being called repeatedly many times (more than 10) upon establishing the user session. Why is this happening 10 minutes to filter 40,000 members out of 2 million is way too much. I've written sprocs which were able to do comparable filtering in a matter of seconds. Of course, it depends on the logic inside sproc. Would you share more details please - what is the criteria for the filtering ...Show All
.NET Development Need to merge 2 tables in Dataset and only get the matching accounts in one table?
I have a dataset with a account table and another table that contains transactions for accounts in the account table. I create a crystal report based off an inner join query of the two tables but takes way too long to generate. I was told if I can get them into one table that would fix my speed issue. I'm thinking if there is some way to maybe create a merged table of the two together and only getting data from both tables where the Account# field matchup Any help or ideas would be great! When I include more than one table from my dataset using a join in the crystal report builder wizard, it takes hours for the report to generate. Its relation is a one to many and shouldn't take more than a few seconds retrieve the information. ...Show All
SQL Server What to measure on in the Management Console ?
I would like to follow the performance on the server, when executing packages - but what to look for Can someone tell me what their "favorite" counters are and what their role is ...Show All
Visual C++ Confusion with header includes
Hey guy, Well I have recently just been exploring Visual Cpp and im sort of catching on but theres still a slight problem I run into with header includes. When I make a window form application I never now what headers to put in my programs for certain stuff. All I know is that for console applications you need the iostream include. Is there a list of header includes around here what explains the functions and procedures held in each one Thanks Keen. Hi Keen I would suggest that you get a very cool book called C++ Primer Plus, Fifth Edition by Stephen Prata. I am like you a C++ n00b but I have been finding this book of great help. It talks you through all C++ fundamentals and really makes sure you u ...Show All
Windows Forms Incremental Search
Hi, how can i do a incremental search in a DataTable or DataGridView I was a Delphi developer and now i'm studing and developing .NET/C#. In Delphi, i could use a simple command like: Table.FindNearest('ABC'); but i don't know how can i do that with C#/.NET! You can use the method Select of the DataTable: table.Select(filterExp, sortByColumns); This will return DataRow[] with all rows matching the search you defined. you can use: table.Select("SomeColumn like '%ABC%'") to find all rows matching this search critiria. ...Show All
Visual C++ please help! compile error
hello, I have following error in visual c++/win xp when compile a file. Please help! Thank you very much! d:\Microsoft Visual Studio .NET\Vc7\atlmfc\include\afxv_w32.h(216): error C2664: 'GetWindowThreadProcessId' : cannot convert parameter 2 from 'void *' to 'LPDWORD' Jonathan, thanks for your reply. but afxv_w32.h is from windows library, I didn't do anything with it. Any more suggestions ...Show All
Visual Basic Add Flash9 Control to VS2005
I added Flash9.ocx(c:\program files\system32\macromed\flash\) to vb2005 toolbox, when I draw the "Shockwave Flash Control" to form, there comes errors: * Could not resolve dependent COM reference "stdole, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a". * Failed to create the wrapper assembly for type library "AxShockwaveFlashObjects". Exception of type 'Microsoft.Build.Tasks.ComReferenceResolutionException' was thrown. * The referenced component 'AxShockwaveFlashObjects' could not be found. Failed to create the wrapper assembly for type library "AxShockwaveFlashObjects". Exception of type 'Microsoft.Build.Tasks.ComReferenceResolutionException' was thro ...Show All
Visual Studio Express Editions "Start Without Debugging" error?
i've been following this book step by step. it's called "Build a Program NOW!". im stuck on page 41. it tells me to us the "Start Without Debugging" command. everything seem to work right.. says at the bottom right "build started" immediately followed by "build succeded"... but nothing happens! there is no command prompt like there should be! what's going on 1.yes 2. customize dialog you mean closing the "program.cs" if so, i did that too. 3. did it 4. did it there is supposed the be a command prompt after i start without debugging. i see the little message at the bottom right as follows "build started" then "build succeeded" after that, ...Show All
Smart Device Development Memory insufficient on Mobile 5.0 emulator
I try to debug an application on windows mobile 5.0, however there is a low memory on the emulator. I am try to reconfigure the memory size for the emulator however the part was being disable. Please advice I still try to figure it out what u r trying to tell me. In My process explorer, there is a DevicesEmulator.exe and dvcemumanager.exe running. I have try out for windows mobile 2003, its work well the memory size is increase accordingly what i type in while the windows mobile 2005 cannot, the memory still remain. ...Show All
