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

Software Development Network >> Peter Chapman's Q&A profile

Peter Chapman

Member List

KavyaKonda
EddieOne
David Kreps
leonlai
PrashantAtlanta
NetPochi
jchurch
Donaghy
helsingfors
jfb628
2bee
Agent00
Amos Soma
lex3001
JohnnieK
KillerKryptos
Brian Kramer
Drezard
mpetanovitch
Ofir Epstein
Only Title

Peter Chapman's Q&A profile

  • Visual FoxPro First try at updatable views - Help!

    OK - So I'm trying updatable views now. I have a table with a few fields but there is no primary key. I've created an updatable view, and I'm getting some update conflict errors. I was wondering what's the proper way of doing this: Do I need to have a primary key in the table Should I create an autoincrementing field for that purpose Thx. Ideally you should have a primary key in the table. However, if there is a field in the table that you know will be unique across rows, then you could set that as your key in the View Designer's Upate Criteria tab. Alternatively, you can also set several fields as your key as long as those fields' combination will be unique among rows. ...Show All

  • Smart Device Development Debug using Emulator and VS 2005

    I installed VS 2005 machine that had VS 2003 on it, but NEVER a beta of VS 2005. At first I could not even connect to an emulator with VS 2005 (VS 2003 worked fine), but then I was told to delete all the files in the %USERPROFILE%\local settings\application data\Microsoft\CoreCon\1.0 directory and that allowed me to connect. The new problem is I still cannot debug. I select debug with VS 2005 and I can see all the files being deployed, but when it goes to run the application that was deployed, it seems like the debugger cannot find it. The entire application is there, because I can select with the file manager in the emulator and actually run it. I ran sysinternals filemon to look at the files, and VS 2005 was trying to run d:\microsoft vi ...Show All

  • .NET Development Fail to serialize object of control by Dot Net XMLSerializer -- Form.Site member is an interface.

    I want to allow runtime editing the layout of UI, save and retrieve. So I try serializing the top UI form to XML file by standard Dot Net XML Serializer, it fails at serializing a member Form.Site due to it has a type of interface, ISite. Will Microsoft modify the standard Dot Net XML Serializer to skip serializing member having type of interface instead of just throws Exception when entercounter should interface type member I have finished writing my XML Serializer of "Object" to XML file. It is suppursingly short. However, I still stuggle in writing the Deserializer to build the "Object" back from XML file. Furthermore, some properties of Dot Net control should be "Runtime Changable and auto recorded& ...Show All

  • Visual Studio How to add a toolbar to a document window?

    Hi all, I need to add a toolbar at the top of a document window. I found how to do it for a tool window (there is a walkthrough in the SDK) but I haven't found anything for document window. .Anybody know how it can be done Freddo Hi Ed Dore, Unfortunatly, my editor is not based on VsCodeWindow. I guess it will invovle a bit more coding from my part. If you have any exemple it will be greatly appreciated. Thank you for your response, Freddo ...Show All

  • Software Development for Windows Vista Scaling out Windows Workflow

    Looking for a point in the right direction for scaling out an windows service hosted workflow to multiple application machines. In the MSDN article "Performance Characteristics of Windows Workflow Foundation" http://msdn2.microsoft.com/en-us/library/Aa973808.aspx they show workflows running on multiple machines. Are these machines sharing the durable queue thank you adam Is it possible that a workflow instance running in a host with a persistence service to be idled in the host but not persisted and unlocked in the persistence database. If the answer is yes then what happens if outside stimulus is trying to load that same workflow instance on a different workflow host in a ...Show All

  • Visual C# VS2005 Command Line Builds with nANT [build using Nant 0.85 ]

    I have set up an automated build process using CruiseControl.NET, nANT, nUnit, VS 2005, VSS 2005. I have every piece working except for one issue I have been having. Currently before I call the command line for building my solution, I update the AssemblyInfo.cs file for all my projects to reflect the version number that CruiseControl.NET is labeling, which in the current case is 1.0.0.104 when I call the command line to the devenv.exe it compiles my solution error free. When I look at the file version in Windows Explorer it shows 1.0.0.0 instead of 1.0.0.104. Any Ideas Hi Timm, Actually I'm trying to make one build using Nant 0.85 and solution developed in visual studio 2005. But during run , it ...Show All

  • Visual Studio Express Editions problem:update datagridviews in master details application

    I've created a master/details application by vb2005 and access: choosing un item in listbox, relative data are displayed in datagridview. Problem:a cell loses the value inside and replace it with last put value. example: in listbox I've 2 item: A,B (id_padre) datagridview has 4 columns:id_figlio,id_padre,nome_figlio,cognome_figlio where first and second are readonly. I select A in listbox, I put some data in datagridview and so I have: id_figlio| id_padre| nome_figlio| cognome_figlio| 0 0 0 0 1 0 1 1 2 0 2 2 I select B in listbox, I put some data in datagridview and so I have: id_figlio| id_padre| nome_figlio| cognome_figlio| 3 1 5 5 4 1 6 6 5 1 7 7 If I select A now , datagridvie ...Show All

  • Windows Forms 2 combobox columns in datagridview

    hi, i have a datagridview contains 2 comboboxcolumns, i want when i select  a value from the first column it sort the values that in the second comboboxcolum, for example  first column contain varity of items like (iron, cloths ... etc) second column contains all type of units if its iron was selected in first column the second column will display just  kg, and ton but if its cloths was selected in the first column the units will cm, meter,  roll how can i do that in a datagridview combobox columns thx in advace   in the cell begin edit event 1- in the second combobox begin edit 2- get value from first combo to filter with it string Get_tablename = datag ...Show All

  • Visual Studio Tools for Office Outlook add-in example

    Hi. im trying to implement the outlook add-in presented in http://msdn2.microsoft.com/en-us/library/ms788695.aspx I have vs2005 sp1 professional and vsto 2005 SE installed. But in the connect.cs file, where i change the signature to public partial class Connect : Outlook. FormRegionStartup I am getting this error: 'InternetHeaderAddin.Connect' does not implement interface member 'Microsoft.Office.Interop.Outlook._FormRegionStartup.GetFormRegionManifest(string, int)' Any help will be wellcome! thx in advance Thx Guys! I appreciate your help. I was trying to execute the example in http://msdn2.microsoft.com/en-us/library/ms788695.aspx but in the class connect.cs, ...Show All

  • Windows Live Developer Forums JSP and utf-8

    Hi, I've tried to use the GetRoute method. If the page is a simple html page the route line displays, but if the page is generated by a JSP one, the route line doesn't display in IE (it does in Firefox). In another precedent thread Caleb T-MSFT suggested me that the jsp strips out the <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> line... ...Is there a JSP expert who can help me ...Show All

  • .NET Development Database file tied up after connection closed

    Hi, I am writing an application that: 1) downloads a database file 2) connects to the database file that was downloaded and then updates another database with it Once the update is done, I want to delete the downloaded file but I cannot seem to do this - it seems to be tied up by the sql server express instance Is there any way to be able to free up this file I am using VS2005 on a pc with windows xp pro. thanks -Barb why don't you get a list of the databases and select the database that was last added (I dont know how to check for the last added database) then use the one found with the drop database name command   so if I had a DB called test and I wanted to drop ...Show All

  • Windows Live Developer Forums Popup resize

    I pull some HTML from a server dynamiclly and the pop up isn't wide enough. Anyone know of a way to resize the default pop up window Thanks Wayne Disable ShowDetailOnMouseOver and use a new callback - check out this msdn page. VEPushpin.ShowDetailOnMouseOver = false; VEPushpin.OnMouseOverCallback = function(x, y, title, details) { alert('your mouse is at : ' + x + ', ' + y + ' and you can display the details from title: ' + unescape(title) + ' and details: ' + unescape(details)); } http://msdn.microsoft.com/library/default.asp url=/library/en-us/VEMapControl/HTML/P_Namespace_VEPushpin_ShowDetailOnMouseOver.asp ...Show All

  • Windows Live Developer Forums zooming out Virtual earth

    Having a small problem, trying to find a location using the code below function FindLoc() { map.FindLocation(document.getElementById('txtWhere').value, onFoundResults); } function onFoundResults(e) { var results="More than one location was retruned. Please select the location you were looking for:<br>"; for (x=0; x<e.length; x++) { results+="<a href='javascript:map.FindLocation(\""+e[x].ID+"\");'>"+e[x].ID+"</a><br>"; } document.getElementById('resultDiv').innerHTML=results; } when I locate it, it zooms it in far, I do not want it to zoom in. i tried the map.zoomout, but for some reason it will on ...Show All

  • .NET Development not quite sure what .NET technology to use for this

    I have been tasked with developing a system similar to trading software that is used by brokers to bid and sell stocks. I have never developed a .NET application so this is to be my first. I have over 3years of programming though, so concepts are not that hard to grasp. I have read on web services, gone through a bit on threading and am not quite sure if it should be client server based. I have chosen c# as a language of choice. In brief, there are people in a room, each on a computer, bidding and selling for certain things. none of those people can see whats going on on the other's computer but each can choose to buy whats on offer, sell what they have or bid for something on sale. I think it is a typical in a stock trading floor. Its not ...Show All

  • .NET Development ORA-01008: not all variables bound error

    Hi, When I tried to execute similar following query py passing Param1 and Param2, I am getting "ORA-01008: not all variables bound error". Select * from Table1, (Select Col1, Col2, Col3 from Table 2 Where Col = :Param1 and Col2 <= :Param1 and Col3 > :Param1) abc Where table1.col1 = :Param2 Can anyone help me in this. Regards, Ananth. Hi, in orcale official document, error message ORA-01008 means: ORA-01008 not all variables bound Cause: A SQL statement containing substitution variables was executed without all variables bound. All substitution variables must have a substituted value before the SQL statement is executed. so, you can try to use substitution ...Show All

©2008 Software Development Network