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

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

viveque

Member List

anderskj1
Marmot2006
Tonnie
PublicError
FallenKing
Deepak83
masta
Manuk
drinkwater
douroth
Mateusz Rajca
Jonathan Brown
eigo
Ruurd Boeke
Mark Macumber
Beauner
djroelfsema
Bandile
GoDaddy
Thalion
Only Title

viveque's Q&A profile

  • Windows Live Developer Forums How do I Add on Information to the Maps?

    Hi, My biggest problem in programming maps is just how do I implement features like traffic, or other things into the map I know the sources of RSS feeds,GeoRSS feeds, but I don't know how to implement them. Ok, assume only two pages -- one htm with the map, the other the xmldata. Go here http://dev.live.com/virtualearth/sdk/ , and download the full source code for the working with layers --> add a georss layer. Copy that to your htm page. In the code, find the line with veLayerSpec.LayerSource = txtSource.value ; and replace txtSource.value with the URL to the xml file . Save both and browse to the page... ...Show All

  • SQL Server Simple MDX question

    Hi, This is a newbie question. I want to obtain a top-level aggregate, but filtered by attributes at the lowest of the data. An equivalent example from Adventure Works is this: select [Measures].[Sales Amount] on columns , filter ([Promotion].[Promotions].[Promotion]. Members , STRTOVALUE ([Promotion].[Promotions]. CurrentMember . Properties ("Max Quantity")) <24) on rows from [Adventure Works] This gives the following results: Sales Amount Mountain Tire Sale (null) Half-Price Pedal Sale (null) Mountain-100 Clearance Sale $250,927.70 Mountain-500 Silver Clearance Sale $25,899.14 Road-650 Overstock $49,986.08 LL Road Frame Sale (null) Touring-3000 Promotion $458,091.20 Touring-1000 Promotion $612 ...Show All

  • Visual Studio How do I prevent a Solution Item from being opened on AddFromFile?

    Hi, I've developed a Project group wizard that adds items to the solution items of a solution, the problem is that when I add a testrunconfig file or an xml file to the solution items by using: Project prjSolItems = (( Solution2 )solution).AddSolutionFolder( "Solution Items" ); prjSolItems.ProjectItems.AddFromFile("C:\\SomeFolder\\localtestrun.testrunconfig"); The IDE opens a dialog with the test configuration and I have to press close for my wizard to continue. Is there a way of preventing this model dialog from opening Thanks Gabo It seems a bug. See: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=483047&SiteID=1 ...Show All

  • Visual Basic ADO.NET Database

    Below is a code I cannot get to work, it is actually from a how to book. The Error I always get is: Too many arguments to 'Public Overridable Overloads Function FillByLastName(dataTable As addressBookDataSet.AddressesDataTable) As Integer'. The error occurs at the end on this line: AddressesTableAdapter.FillByLastName(AddressBookDataSet.Addresses, symfind.Text) Public Class FrmAddressBook Private Sub AddressesBindingNavigatorSaveItem_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles AddressesBindingNavigatorSaveItem.Click Me .Validate() Me .AddressesBindingSource.EndEdit() Me .AddressesTableAdapter.Update( Me .AddressBookDataSet.Addresses) End Sub Private ...Show All

  • .NET Development returning fields from SWbemObject

    Hi there, I am using WMI to send a WQL query to an SMS server and retrieve information on systems on our LAN. I am working on a .net application to display the results of these reports. I am able to return an SWbemObject with the results of the query. In order to access items in the object I use code like this: Dim objResultSet as SwbemObjectSet Dim objResultRow as SWbemObject < CODE THAT CONNECTS TO SERVER AND EXECUTES QUERY > For Each objResultRow In objResultSet objResultRow.SMS_G_SYSTEM_CDROM.DESCRIPTION Next The problem with this is that I want to be able to return the field value, without hardcoding the field name. something like dim fieldName as String fieldName = "SMS_G_SYSTEM_CDROM.DE ...Show All

  • SQL Server Checking to see if a record exists and if so update else insert

    I've decided to post this as a sticky given the frequency this question is asked. For those of you wishing to build a package that determines if a source row exists in the destination and if so update it else insert it, this link is for you. http://blogs.conchango.com/jamiethomson/archive/2006/09/12/SSIS_3A00_-Checking-if-a-row-exists-and-if-it-does_2C00_-has-it-changed.aspx Thanks Jamie! If you want to do a similar concept to Jamie's blog post above, but with the Konesan's Checksum Transformation to quickly compare MANY fields, you can visit here: http://www.ssistalk.com/2007/03/09/ssis-using-a-checksum-to-determine-if-a-row-has-changed/ Phil This is very helpful. Thanks! I am completely new to the SQL Server Integration Servi ...Show All

  • Visual Studio Instal problem from VS2005 Trial 180days

    Hi, I am trying to install a DVD with VS2005 Trial. This Version was already succesfully installed on other PC. Now while VS2005 setup runs, loading bar goes to 3/4 and systems reboot or hangs, without any further error syntax. Here are the last lines of the install log: MSI (s) (24:A0) [23:52:45:218]: Note: 1: 2262 2: Extension 3: -2147287038 MSI (s) (24:A0) [23:52:45:234]: Note: 1: 2262 2: Extension 3: -2147287038 MSI (s) (24:A0) [23:52:45:281]: PROPERTY CHANGE: Modifying CostingComplete property. Its current value is '0'. Its new value: '1'. MSI (s) (24:A0) [23:52:45:281]: Note: 1: 2262 2: PublishComponent 3: -2147287038 MSI (s) (24:A0) [23:52:45:281]: Note: 1: 2262 2: SelfReg 3: -2147287038 MSI (s) (24:A0) [23:52:45:281]: ...Show All

  • Visual C# Make object that allows access thru [] (indexed property)

    Hi, I was wondering if it is possible to make objects that behave like indexable lists. I have an object that wraps a Dictionary object and I would like to make it possible that the caller also uses the direct approach of talking with my class (meaning using square brackets with the key between) So in short I want to know if it is possible to replace: MyDictionary.GetValue(key); By MyDictionary[key] Many thanks to the one that can help me with this. Ben. Something like this: public object this[object key] { get { return GetValue(key); } set { SetValue(key, value); } } ...Show All

  • Visual Studio Team System Please help! TF30177 Team project creation failed. (Creation of first and only project)

    Hi all, I've been trying for over a week to get the trial version of Team Foundation Server to Install on a Win2k3 server. Each time I've come across a problem and managed to resolve it, but this one has got me stumped :( I've read a lot of postings about this, all of which i have tried and have been unsuccesful. The error log is detailed below, I've included only the problem part, but can post the rest if required. The fundamental problem is that I cannot create any new projects in Team Server, getting the error shown below. When I try to navigate to the /_vti_bin/Sites.asmx in the default website i get a 404 'The webpage cannot be found' error. I have checked the site via IIS and the file system and it does exist within the d ...Show All

  • .NET Development mem usage keeps growing :(

    Hi, Its a very simple app. When you click a button it will scan a specified directory for *.mp3 files: DirectoryInfo di = new DirectoryInfo(directoryTxt.Text); FileInfo[] fi = di.GetFiles("*.mp3", SearchOption.AllDirectories); and for each file, is gonna create an object of structure type Mp3File (simple struct with just 4 string fields for name, title, artist and album): for (int i = 0; i < fi.Length; i++) { Mp3File m = ID3Reader.ReadID3Tags(fi[ ].FullName); this.progressBar.PerformStep(); } the Mp3File object is given by the ReadID3Tags method which goes like: public static Mp3File ReadID3Tags(string path) { Mp3File mp3File = new Mp3File(); string fileName = path.Substring(path.LastIndexOf("\\") + 1); string fileP ...Show All

  • Internet Explorer Development IE7 Tabs

    I am looking for a way using the SendMessage API or something along those lines to activate a different Tab from an external application, so I can detect if a URL is already open and restore that instance of IE and automatically switch to the proper tab. Hi Michael, There are not specific APIs for automating tabs in IE7. You can you accessibility APIs to activate different tabs. We are looking at this area for future development and it would help to understand exactly what you'd liek to see here. Thanks -Dave ...Show All

  • Visual Basic Working with an array of structures

    I am having problems creating and using an array of structures. Please tell me if my logic is faulty. Friend Structure NewStructure Friend A as string Friend B as string End Structure I next create my array name: Friend MyStructure(5000) as NewStructure Next, I create my array of type NewStructure For i =1 to 100 MyStructure(i)=new NewStructure MyStructure(i).A="LaLaLa" MyStructure(i).B="DoeRayMe" next i Redim Preserve(i-1) Now, I should have an array of 100 NewStructures which is shared across my project. Does this procedure look correct Thanks, Fred You will actually have an array of 5000 structures - of which 100 have been set with values. As the redim preserver line is ...Show All

  • Visual Basic Print graphics that are on the form into PDF

    I have placed many objects into the form ,like circle, square, images, etc etc directly on the forms background. Now i want to know how to take printout of them directly into printer or PDF in particular Thanks a lot m8.Its enough fo me to get started. I actually wanted to only print Drawing objects like cireles, etc etc that are on the forms, and not the controls :P but i guess that i can do it by creating the drawing on a different form. ...Show All

  • SQL Server How to verify constraints after a bulk ? (sql server destination)

    Hello I have four tables as xml. I'm successfully bulk loading them into 4 tables, using the SQL Server Destination, with check constraints unchecked. The process manages to load all the data without any FK issue. After that, how can I check the constraints (I've read a bit about is_not_trusted and sys.check_constraints) Thibaut Cannot find any caveat for the moment. The check check constraint all properly detects any error in the loaded data, and the constraints and foreign keys seems to go back to is_not_trusted = 0, just like expected. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Dream Build Play only open to US?

    I've just tried to register for the Dream Build Play contest but it looks like it only accepts registrations from the US. State is a required field and there's no option for "Non-US" or for me to enter my country (UK) for that matter. I shall be severly annoyed if this is yet another example of how Europe gets screwed over. I apologise whole-heartedly for rushing this post. I've have read several answers on this forum already =o) For reference: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1176361&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1175287&SiteID=1 ...Show All

©2008 Software Development Network