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

Software Development Network >> Todd Jaspers's Q&A profile

Todd Jaspers

Member List

Michael Pritchard
doener
windoze
matt01
Terence Tung
CWeeks
rowdy2
Apocal
jsmirnow
Ed de los Reyes
Mark Challen
MTV
Alex Dresko (MVP wannabe)
b_wagner
gshaf
alwayscnfsd
wsalomon
farming
Kal100
mjt
Only Title

Todd Jaspers's Q&A profile

  • Windows Live Developer Forums GeoRSS or XML for adding many points

    I currently use an array to populate about 120 push pins (and growing) on the map, and it appears slow, see http://www.fulhamusa.com/fusamap/membermap.html I tried to use the AddLayer as described in the interactive SDK, but it doesn't appear to GET the data no matter what. If someone could post a simple example with an example of the xml or georss file too that would help greatly. Thanks Here's the GeoRSS XML file that the Interactive SDK uses for the example: http://dev.live.com/virtualearth/sdk/GeoRssTest.xml ...Show All

  • Windows Forms Application.Exit()?????

    I wanted to know how can i do a check before I exit an windows application sort of like if a user clicks the X to close the form..I want to do a MessageBox.Show(are u sure u want to close", MessageBoxButtons.YesNo) and then maybe do if DialogResult == Yes then do Me.Close else I want to keep the form active....any help on how i should get this done How about taking your main application form and overriding the OnClosing method like this: protected override void OnClosing(CancelEventArgs e) { DialogResult result = MessageBox.Show( "Are you sure you want to exit ", "Warning", MessageBoxButtons.YesNo); e.Cancel = (result == DialogResult.No); } I think this works ...Show All

  • Software Development for Windows Vista Where do I get mt.exe?

    Where do I get mt.exe to join EXE and MANIFEST I have looked in my C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin directory and found nothing... Its present at multiple location C:\Program Files\Microsoft Visual Studio 8\VC\bin C:\Program Files\Microsoft Visual Studio 8\Common7\Tools\Bin C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin Surprisingly you are not finding at your mentioned location.. Regards, Vikash ...Show All

  • .NET Development create a copy of an XMLTextWriter which write to a new stream

    Question: Does anyone know how to create an XMLTextWriter which will continue writing from a previous XMLTextWriters stream Problem: I want to create hundreds of xml messages. All with the same heading. EG < BOOKSTORE_BOOKS> <STORE> Fishers Books</STORE> <LOCATION>Norway</LOCATION> <BookInformation code=776> <Book> <Title> Xmen </Title> <DatePurchased> 30/04/1980 </ DatePurchased > </Book> </BookInformation> </ BOOKSTORE_BOOKS> when creating the 100's of messages title and date purchased are the only elements that will change. To do this i want use 2 XMLTextWriters. one which writes the heading information. ( ...Show All

  • Visual Studio Team System TfsWarehouse Database not updated with all custom work item fields

    We recently uploaded a new template with some additional fields for workgroup types. In the TfsWarehouse Database, in the WorkItem table we noticed there was a column for each of our older fields but not the new ones. We've manually Processed the warehouse, even deleted the TfsWarehouse from the Analysis Services and reimplemented it using the SetupWarehouse.exe Utility with no luck. The stored procedures in the TfsWarehouse database take in our old fields apparently as parameters, they just aren't picking up the newer ones is all. Any ideas on how to make TFS and the TfsWarehouse Database pick up these new work item type fields Thanks so much! Christopher Hi Christopher, Every time the Warehou ...Show All

  • Software Development for Windows Vista Launch a Dialog Box from within the Credential Provider

    Hi Guys, I have the following scenario. a) I created a CredentialProvider which has got just one "CommandLink". On click of it I want to lauch a dialogbox which will have some text fields which the user will enter and I need to read the Input and then make a webservice call and based on the response, I will have to launch another dialogbox or window. In the above scenario I am not able to launch a dialogbox. But OnClick of the commandLink I am able to launch a MessageBox. I guess the reason is because the dialogbox creation is happening with parent as null. I read somewhere that there is a method called "OnCreatingWindow" in the events that get passed to the "Advise"method. I can call that method and get ...Show All

  • SQL Server Many-to-many dimension processing performance

    Hello, I have a problem regarding M2M dimension processing performance that I would like some help with please. We are using SSAS 2005 SP1 Entreprise Edition x64 bit The main fact table has over a 100 milliion rows. The entire SSAS database, both dims and facts, are MOLAP. We have several many-to-many (M2M) dimensions connected to the main fact table via an intermediate measure group (IMG). The M2M dim and the IMG are using the same database object as their source and are thus linked as fact relationship. This shared object is a 'normal' view not a table or indexed view. We need to be able to process the M2M dim on a regular basis as user defined members change - sometimes every few minutes. To do this we need to 1. Process Update the M2 ...Show All

  • Visual Studio Express Editions Build Activex (.ocx) objects in VB 2005 Express?

    Hi, I have found, after some searching on the web, that some older versions of VB could build Activex (.ocx) objects. Is there any way VB 2005 express could do this Cheers, James The templates for creating windows controls is not supplied with VB Express. http://msdn2.microsoft.com/en-us/library/b4z62wxz(VS.80).aspx Shows you the templates for the types of project that can be created. As you will see windows and web control templates are not provided with the express products. So in order to achieve you will need to purchase a copy the appropriate edition. As VB Express is the first version of VB that has been given away for free, in the past you would have to buy a copy of the produ ...Show All

  • Software Development for Windows Vista Event never set after calling IAudioClient::Init - IAudioClient::SetEvent - IAudioClient::Start sequence

    I'm trying to pass an Event handle to a capture device, in order to get me signaled when a buffer has been captured. In the IAudioClient::Initialize function I set the flag "AUDCLNT_STREAMFLAGS_EVENTCALLBACK" and I get a result S_OK from it. I played around with various durations too. The SetEvent function does return with S_OK too. When I start the capture device it does start capturing, however the event is never set. So this leaves my application with cumbersome polling. Maybe the security system of Vista is preventing the driver/service to set the created event. I played around with setting the security by applying the most unsafe security descriptor but this did not result in the event being set either. Is this fe ...Show All

  • Visual Studio 2008 (Pre-release) Collapse and Expand GroupBox using access keys

    Hi, I'm trying to do the following: I have a GroupBox like this <GroupBox Header="_asdf"> <Grid> ... content </Grid> </GroupBox> Now when I hit alt+a, the focus jumps to the first textbox in my grid, what I want to do though is catch the event and collapse the GroupBox when it is visible or set it back to visible and jump to the first textbox in case it's collapsed. However, I wasn't able to find the event that would be raised on alt+h or what I'd have to do to the UIAutomation to get this working. Anyone got a hint or solution Thanks for the reply, in between I've found another way to do it, it is possible to add a handler directly in the XAML code: <Gro ...Show All

  • .NET Development SqlDbType enumeration value invalid

    Has anyone seen this before System.ArgumentOutOfRangeException: The SqlDbType enumeration value, 7, is invalid. Parameter name: SqlDbType The odd thing is, enumeration value 7 is NOT invalid, it represents the Image type. Any help gratefully received, thx. ~swg Server stack trace: at System.Data.SqlClient.MetaType.GetSqlDataType(Int32 tdsType, UInt32 userType, Int32 length) at System.Data.SqlClient.TdsParser.CommonProcessMetaData(TdsParserStateObject stateObj, _SqlMetaData col) at System.Data.SqlClient.TdsParser.ProcessMetaData(Int32 cColumns, TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCop ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Draw() called before Update()

    I noticed Game.Draw() is being called before Game.Update(), which doesn't (seem to) make sense. Is there any suggested way of dealing with this If Update() is supposed to, umm, update the state of the application to a certain local time, before the first Draw() there is no state ready to be painted to speak of. sounds like we are getting away from the issue, My vote on the update / draw order is for draw to be called first and then update. You should setup all the starting points in a method called from OnStart method. ...Show All

  • SQL Server SQL Server 2005 return null in primary key

    In a new instalation of SQL Server 2005. I've made a restore from SQL Server 2000 database. Solve some problem with the user, and it looks ok. I'm using a asp web aplication, with vb dll, and change the sql provider from "SQL Server" to "SQL Native Client". It works, but in some recordsets the value a recive for the table primary key is null If execute the querie in the database, the result has values in the primary key. the same appends when i connect to an SQL Server 2000 using "SQL Native Client". Please help, what can i do. The problem is consistently and reproducible. I' am using VB6 DLL. The query is a left outer join between 2 tables, the ...Show All

  • SQL Server Prevent an unused dataset from querying?

    Say you have 2 datasets for 2 tables, respectively. If one table is hidden, why does the query for its dataset still execute when it's not needed anywhere else I looked through the properties of the table, but i didn't come across anything that I think would work. Does anyone have some ideas as to how to stop the dataset from querying the database ...Show All

  • SQL Server Performance hit using Compatibility?

    To your knowledge, is there any performance hit with SQL 2005 when you set a database to a lower compatibility mode. IE from 9.0 to 7.0 ...Show All

©2008 Software Development Network