Software Development Network Logo
  • Windows Vista
  • Windows Forms
  • Visual J#
  • Visual C#
  • Visual Basic
  • Architecture
  • Visual C++
  • Visual FoxPro
  • Microsoft ISV
  • VS Team System
  • .NET Development
  • VS Express Editions
  • SQL Server
  • Game Technologies
  • Smart Device

Software Development Network >> Mark Edgerton's Q&A profile

Mark Edgerton

Member List

Willem Termans
Robin Speed
David Krmpotic
Sebastian Dev
dsavill
istanbul 05
bY73-_-j0b
CMichaud
Techie-Vicky
Oskar Gotte
Fei Xu
bb32223
James L. Bowman III
Ti133700N
SONB
RainMan82
Scorpiious
Tzvi_Elimelech
Sidney A Williams Jr
Alf928
Only Title

Mark Edgerton's Q&A profile

  • Windows Forms Projects organization

    Good morning, I am developing a MDI application. Is it possible to place the parent form in one project and organize the child forms into seperate projects by functional areas   I would like the parent form project to handle all global activities like app configuration, authentication etc. and be the startup project. The other projects would hold forms and reports by ...Show All

  • .NET Development Where should a config file be stored?

    I have written a program that creates an .xml config file if one does not exist. The config is stored in the same folder as the .exe I am using ClickOnce as my deployment solution. (Program written in C#) The problem is that when a user upgrades the program the config.xml file is removed. This causes the user to have to suffer through the setup wizard after every update. How can I prevent the config.xml file from being removed Is there a special directory I should be storing the file in Any suggestions or advice would be greatly welcomed. ;) What JBrown said is the simplest method, but there is also IsolatedStorage.  Pe ...Show All

  • Smart Device Development Once again Problems with SerialPort class

    Hi, we were thinking (hoping) that with SerialPort we get a class solving the problems with the Serial Communications on PocketPCs. But instead it works worse than our own implementation via PInvoke. On thing I allready showed there: http://forums.microsoft.com/msdn/ShowPost.aspx PostID=9794 Now we got a new one! On an IPAQ we have a bluetooth barcode reader. The serial port for BT is Com8 in this case. With our handmade Serial it is no problem to get strings form the BCR. When I use SerialPort an try to open Com8 (no Data from the BCR - just open) I get an "IOException" stating the following:   Stack ...Show All

  • .NET Development socket.Receive() on blocking socket throwing WSAEWOULDBLOCK exception?

    I'm using a UDP socket for network communication with socket.Blocking == true and SocketOption(ReceiveTimeout) set. After several thousand packet exchanges, socket.Receive() starts throwing WSAEWOULDBLOCK (SocketException.ErrorCode == 10034) and seemingly continues to do so indefinitely about every second or third call to socket.Receive().   Can someone shed some light on what might cause socket.Receive() to throw a WSAEWOULDBLOCK exception on a socket with Blocking == true I wouldn't expect a WSAEWOULDBLOCK exception on a blocking socket. This is happening with .Net 2.0 Beta2 on WindowsXP Pro with service pack 2 (and updates). T ...Show All

  • SQL Server problems creating report (parent child hierarchy)

    hello, im working with as/rs 2005 and need help in creating a report. my cube has a parent child hierarchy in "category". structur is as follows: A a 1 2 b B C f g 10 11 12 I like to have a function or something, that gives me the unique names of all children of maybe A (result should be: a,1,2,b,3,4,...) there is a function called children, but i am not able to obtain my desired result. (in fact, i dont get any result with this fucti ...Show All

  • Visual Studio 2008 (Pre-release) Sparkle Jan CTP available!

    Enjoy! http://www.microsoft.com/downloads/details.aspx FamilyID=ed9f5fb2-4cfc-4d2c-9af8-580d644e3d1d&DisplayLang=en BTW: it has its Forum...    Yes, please join the Expression Interactive Designer newsgroup - NNTP server is msnews.microsoft.com and the newsgroup is microsoft.public.expression.interactivedesigner. Thanks, Unni ...Show All

  • Windows Forms Adding a new "blank" record to edit

    I have a bunch of controls bound to a dataset. When I bring up existing data and make edits, all is well. But I'm missing the boat completely when it comes to adding a new blank record to be filled in.  I try adding a new row, but just get DBNull exceptions. Where am I going wrong You're probably having the "two different&n ...Show All

  • Windows Forms UAB using BITS 2.0 gives Range Protocol Error for external clients

    I have a VS.NET 1.1 application in which I have implemented the Updater component to retrieve updates to the client. Works flawlessly internally (inside the domain), but if I try to run the Updater over the internet, I get this error: "Download Error: The server does not support the necessary HTTP protocol. Background Intelligent Transfer Service (BITS) requires that the server support the Range protocol header." The Updater found the manifest xml file and began the download, as the GUIDs were created in my update folder on the client, but the download was haulted. Our network does not run through a proxy, but we are using a firewall an ...Show All

  • SQL Server Recovering from a lost log file

    I'm trying to make sure that we're following the "best practices" with SQL Server and I have some questions about log files. One general DBA rule is that data files must be on a different device than log files. This way, you can lose either disk and still recover all committed transactions. If you lose the data disk, you restore from backup and then rollforward all of the transactions that are in the log file. If you lose the log disk, you roll back uncommitted transactions and then create a new log file. This scenerio doesn't seem to be supported by SQL Server. It looks like SQL Sever can deal with a failed data disk but, it ...Show All

  • Visual Studio Team System Team Explorer right click confusing options under documents folder

    Using VSTF Beta 3. When you right click on the folders under "Documents" in Team Explorer, you get the option to "Add work items with Microsoft Excel" or "Add work items with Microsoft Project". Should these options really be here (I would expect them to be available under the "Work Items" folder, but not here.) We have "add work items with Microsoft Excel" and MS Project under both the Documents and Work items nodes in the Team Explorer.  The intent is that you can create a new "document" that is connected to a team project.  I agree the current language is confusing. Any suggestions on a better title Lori ...Show All

  • Visual Studio Express Editions revealed source code in shared dll

    Hi All I'm developing dll's to share with another part. I discovered that my source code is visible for the deploying part for example if he's in debug-mode and steps into one of my functions. Naturally the assembly contains IL and definition code but is it possible to hide the implementation C# source code when published I'm running VS C# 2005 express. /regards Soren That means that you must have distributed a Debug version of your DLL. To build a Release version you use the Build menu. The output will then be placed in the Release folder rather than the Debug folder. ...Show All

  • SQL Server Interactive charts, etc.

    Hi everyone, Two questions about charts in reports. 1) They seem pretty static. I have a report with vertical column chart, and I would like to enable hyperlinks through chart columns, so, say, a height of column shows a number of experiments done by a person. I want a user to be able to click on the column or something that would be associated with that column and go either to another report or external URL that would show info about those experiments (similarly as it is done for any field in a regular report). Is it possible to do something like that (Help files unfortunately were of no use  ) 2) Is there any way to sho ...Show All

  • Visual Basic Accessing a DataSource. First time works, 2nd doesn't.

    Hello, As you'll determine, I am new to Visual Basic, but know VBA with Excel, and I've recently started using Visual Basic 2005 Express Beta 2. I added a Microsoft Access Database as a DataSource, tested the connection, leaving a blank username/password then drug a couple of tables to a userform as text boxes to experiment, all was well. The next time I opened Visual Basic, I got a security exception: Request for the permission of type 'System.Data.OleDb.OleDbPermission, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. I tried the database on my local machine and on a server with modify permi ...Show All

  • Smart Device Development No File Explorer or Task Manager?

    How can I get the File Explorer and Task Manager installed on my emulator Thanks! OK, thanks. But how can I test the behavior of my application if the user decides to terminate it via the Task Manager Don't I need to explicitly code for this condition Thanks! ...Show All

  • Visual Studio 2008 (Pre-release) Anonymous Interface Implementations

    Now that we have anonymous methods and anonymous types, how about extending this with anonymous interface implementations in C# The actual scenario I am thinking of is for WPF code. As discussed by John Gossman back at the PDC in his talk on writing Microsoft Expression, you can data bind your buttons etc. to IComand typed properties of your data objects. The end result is that your data objects look something like, public class MyTextEditingModel { public bool IsTextSelected { get {...}} public void MakeTextBold() {...} public void MakeTextItalic() {...} public void MakeTextUnderline() {...} public ICommand BoldCommand { ...Show All

©2008 Software Development Network