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

Software Development Network >> Bo Persson's Q&A profile

Bo Persson

Member List

Serene Seraph
slavalit
Daniel G
Michael AbiEzzi
TimLa
TimAC
Paul Cyr
Jonathan Magee
Cof139
Adam West
MikeL2
Pete Richards
TheGeoff
Vadim
TJvaliant
Nick Anzano
Bruno Of France
TimLiu
Canes86
JLuis
Only Title

Bo Persson's Q&A profile

  • Windows Forms Converting IDL to C#

    Hi Does anyone know if there is a tool for converting IDL to C#   Would be a handy thing to have, and save me some work today! Thanks! ...Show All

  • Visual C++ CFileFind exclusion

    Hello, With the Class CFileFind we can search files with a key. But i want add some exclusion, like "*.tmp"...Is it possible Thank's delaysteam wrote: Hello, With the Class CFileFind we can search files with a key. But i want add some exclusion, like "*.tmp"...Is it possible Thank's Not with CFileFind, but here's a class on the Code Project that supports exclude filters : http://www.codeproject.com/file/CFileFindEx.asp ...Show All

  • Visual Basic 101 Code Samples for Visual Basic 2005 databases aren't up to date

    Hi Does anyone know the whereabout of up-to-date databases (or scripts) for the 101 Code Samples for Visual Basic   The samples are  to be found at http://msdn.microsoft.com/vbasic/downloads/code/101samples/ . The error I'm getting is as follows: Server Error in '/Membership' Application. -------------------------------------------------------------------------------- Database 'D:\NET 2 EXPERIMENTS\MSDN\101 SAMPLES\WEB DEVELOPMENT\VB\MEMBERSHIP\APP_DATA\ASPNETDB.MDF' cannot be upgraded because its non-release version (600) is not supported by this version of SQL Server. You cannot open a database that is incompatib ...Show All

  • Visual C# C#'s answer to VB .NET's Inputbox?

    Hey howzit I am a VB programmer who is now learning C#, to my surprize there is no such thing as an inputbox in C#, is this correct, if yes, what should I use. Could you perhaps give me a code sample. Many Thanks! David I'm aware of no such thing.. Well, I've been only using C# for half a year, I may be wrong. But I never wanted to use something so limited like an inputbox. If you really want something like that, why not make one yourself - it's not that hard to do. You'd have much more control over the appearance and behaviour. ...Show All

  • Visual Studio Team System hatteras error in event-log

    Another error that gets generated every couple of minutes: Event Type: Error Event Source: VSTF Source Code Control Event Category: None Event ID: 3000 Date:  11.07.2005 Time:  13:25:41 User:  N/A Computer: T07 Description: An exception has occurred in a Team Foundation component. Technical Information (for the administrative staff): Date (UTC): 11.07.2005 11:25:41 Machine: T07 Application Domain: /LM/W3SVC/4/Root/SCC-2-127655050714402183 Assembly: Microsoft.VisualStudio.Hatteras.Server, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a Process Details:   Process Nam ...Show All

  • Visual Studio Tools for Office Word Template from ASP.NET

    Hello, I need to load in IE from a web server (IIS) a custom word document which I created with Visual Studio which has a custom button in Document Actions which does a copy paste action. The problem is that when I acces the word document in IE the button doesn't load and I have the following erros: The customization does not have the required permissions to execute. ************** Exception Text ************** System.Security.SecurityException: The customization does not have the required permissions to execute. at Microsoft.VisualStudio.Tools.Applications.Runtime.AppDomainManagerInternal.HandleOnlineOffline(Exception e, String ba ...Show All

  • Visual Studio Team System Missing references and the GAC

    When I run fxcop on a .dll that contains some NUnit tests and links against nunit.framework.dll, which is in the GAC, I get a missing reference to nunit.framework.dll. Running fxcopcmd with /searchgac doesn't make any difference. I'm using version 1.35.60331.0. Also, is there a way to ignore missing references with fxcopcmd like you can in the GUI without using a project file Hi Brad, when you use the /searchgac switch, FxCop should call out to the fusion API to retrieve the assembly from the GAC. Can you use the steps on http://msdn2.microsoft.com/en-us/library/e74a18c4.aspx to use the fuslogvw to see i ...Show All

  • Visual Studio 2008 (Pre-release) Windows sample and Kerberos

    Hi, I successfully worked through message security windows sample. The web.config file contains following: <binding name="Binding1"> <security mode="Message"> <message clientCredentialType="Windows"/> </security> </binding> Since the document says that if message/@clientCredentialType is Windows and message/@negotiateServiceCredential is set to false, the Kerberos security is used (and the requirement was that both client and server machines belong to same domain). Now I am only experimeting on one machine which has the AD setup. The logged in user is the domain ad ...Show All

  • Visual Basic panel question

    im tring to remove controls from a panel Private Sub Button2_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Dim ctrl As Control For Each ctrl In Me .Panel1.Controls Me .Panel1.Controls.Remove(ctrl) Next ctrl End Sub this only removes half the controls. what am i missing Thanks, dan Not sure why, but you could always just say Me.Panel1.Controls.Clear(). Hope that helps, Jonathan Aneja The VB Team ...Show All

  • SQL Server Type 1 Dimension Insert/Update

    Hi I'm trying to put together a integration package that loads in type 1 dimensional data. If the item is new then the data is inserted if it already exists then it is overwritten. My approach has been to use the lookup operator to match the source values against a generic mappings table. The data that is matched goes off into the error flow and is inserted as new rows in the dimension table. The matched lookup rows are sent through into an update operator. the problem comes when there are no new rows for the lookup operator to find it still want to do the inserts and so exits with an error code. I tried to change the data flow so that ...Show All

  • Windows Forms PropertyGrid Invalid Property Value

    Hi All, In my custom form designer, I have a property grid. I am having a problem while selecting multiple (>1) controls to change their common property. For example, if I select 2 labels at the same time, and change the size of them, I will get an error message saying "Invalid Property Value", and the details show "Specified cast is not valid." The property then got changed. But when I select only one control to change its property, it's fine. I can't debug where the error occurs. Really frustrated. Any idea Thanks a lot. Some properties are not "mergable", but the p ...Show All

  • Visual Basic I have some questions

    Hi, I was wondering if there was a guide for new people to learn vb or are there any good site for learning also when you register how long can you use the program it says unlimited, does that mean 365 days also after I register how long before I get the online guides thank you, theguy ah ok thank you that makes it clear for me I got confused because it said if you regiter you use it for unlimited use. ...Show All

  • Visual C# How to pass a variable from a form to a user control

    Using VS 2005 c# I have a windows form and an assigned variable (string name = "test";) I have on this form a user control - i want to access the form1.name Can anyone show me how to do this - thanks in advance. All controls derived from Control should inherit (or override) a function called FindForm() that returns the form the control is on. The return type is 'Form' but you know your form is of type Form1 so you should be able to cast the result into the appropriate type. Form1 f = FindForm() as Form1 ; Console .WriteLine(f.name); ...Show All

  • SQL Server Feedback Requested - What Content Do You Want to see for SQL Server Express?

    We’re in the process of assessing the content that exists to help people learn and use SQL Server Express.  This includes demos, tutorials, whitepapers, Webcasts, Starter Kits, and any other type of content you could imagine.  So this is a great chance to TELL US WHAT YOU WANT!  We’ll integrate your feedback and make sure that we try and address the most requested areas of content.  Please be as specific as you can. Hi Mark, I would like to have a demo that shows me how make a diagram from that data in a SQL Server table. Greetings from Germany,   VBFan ...Show All

  • .NET Development Need some direction

    Hi, I'm building a card games windows forms app that will allow users to get together and play over the Internet. I would to like to include chat too. I prefer a smart client with auto update and SQL Server as back-end. The app will be downloadable from a web site and users must use the Internet to communicate with the server without need for extra ports to be opened. Users will create rooms and play in teams up to 4-6 people. I need some direction on what technologies to use. Should I use sockets web services Some samples will be great. I'm an expert programmer in desktop and web apps, but I never did network programming. How difficult ...Show All

©2008 Software Development Network