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

Software Development Network >> René Poppe's Q&A profile

René Poppe

Member List

nedde
Douglas Chor
Mike Zimmerman
Sathiya Sivam
Duckfoot
hipolito
SanjayAgrawal
AlanBlythe
TakeItEasy
Matt Palmerlee
Thomas Mikolajczyk
Omnicide Prime
OZ83
Ali Adnan
fcastell
SharonF
Tesfaye
rogsonl
无名
kckc
Only Title

René Poppe's Q&A profile

  • .NET Development Generics, Remoting and Windows Service?

    I have a strange problem combining SingleCall, Interfaces, Generics, MarshalByRefObject and Windows Services. It is quite hard to explain so please bear with me! I have an interface shared between client and server that looks like this: public interface IItemContextStateless { IItemList Find(Credentials c, ObjectQuery query); ObjectProjection Project(Credentials c, ObjectProjection query); void Delete(Credentials c, ObjectQuery query); void Delete(Credentials c, IItemList items); void Save(Credentials c, IItemList items); List<ObjectCommand> Execute(Credentials c, List<ObjectCommand> commands); ObjectTran ...Show All

  • .NET Development again

    hi i need to use VS2005 to do this Yes know then how i will be able to test my tool bar is it tested locally i am confused the fisrt step is to use Boundobject is that enough or i need to use xml also because my project is webservices that i am trying to implement any help with steps that i should follow to start doing this RAM76 wrote: i need to use VS2005 to do this Yes know then how i will be able to test my tool bar is it tested locally i am confused the fisrt step is to use Boundobject is that enough or i need to use xml also because my project is webservices that i am trying to implement any help with step ...Show All

  • Windows Forms Form designer & setting visibility

    Hi, I used FormDesigner from #Develop in my test application. I have a problem when I try to deserialize (XML --> design), that controls, which have visible=false are not displayed on the design form. I think the problem comes, when control is created and placed in a container where comes its designer initialization. After that, all its properties are deseria ...Show All

  • SQL Server Schema and principals (Sql Server 2005)

    Hello Everyone, There is something we don't understand on SQL Server 2005. We want to grant acces to the login MyUser in the existing database MyDb. We want this login to be known as MyUser in MyDB and being the owner of a new schema named MyUser. Here are the commands we are using: use MyDb go create user MyUser for login MyUser with default_schema = MyUser go create schema MyUser go grant Take ownership on schema::MyUser to MyUser go After that we would have tought that Myuser is the owner of the MyUser schema. But it is not the case: Here is a select on sys.schemas: Select * from sys.schemas name     ...Show All

  • .NET Development How to raise an event dynamically?

    Hi all, I am loading three Assemblies dynamically using Assembly .LoadFrom () e g -: Assembly *** = Assembly .LoadFrom(“Test.dll”); First assembly contains just an event inside the class. Eg-: public delegate int Maths ( int a, int b); public event Maths mathsEvent; Other two dlls contain classes with functions which will return int and will take two integer type parameters. After loading the assemblies dynamically am getting the event of the first assembly in EventInfo object using typeObject.GetEvent(“mathsEvent”); Eg -: Type [] type = ***.GetTypes(); EventInfo einfo type.G ...Show All

  • SQL Server Microsoft.SqlServer.Dts.Pipeline.DoesNotFitBufferException

    Hi I have a SSIS project that has one parent package and three child packages. When I run the project on my development machine in debug mode it works fine. Also if i run the packages using dtexec on my development machine it still works fine. However the problem comes in when I try and run the project using dtexec on the staging server i get the following error: Microsoft.SqlServer.Dts.Pipeline.DoesNotFitBufferException: The value is too large to fit in the column data area of the buffer. does anyone have any idea how to fix this please thanks G Probably the data on staging server is dif ...Show All

  • Windows Forms Save position in DataGridView after refreshing

    I have DatagridView on a form. When user click to save changes I save tham and then re-red data agin to reflect latets updates from database. Question how I can return pintor on current record after refreshing Otherwise user clicj save and find himself on first row of DataGridView. It is really annoyning scrol to old position especially on big table Thanks If you are using the BindingSource, you can store the Position to a member variable before saving, and set it after saving/refreshing the data, IF THE SAVE DID NOT CHANGE YOUR ORDER... But I cant stop asking : WHY do you refresh the whole data af ...Show All

  • Visual Studio Team System TF10139: problem after upgrade freom B3R to RTM

    Hello all, After the upgrade from B3R to RTM I have the following problem during check-in of an previously excisting project: TF10139: The following check-in policies have not been statisfied Internal error in Ensures that code analysis is run with a defined set of rules. On the project Code Analysis is enabeled and on the Team Project setting: Check in policy: Code Analysis has been added. If I override the policy, I get an error: 'object reference not set to an instance of an object' followed by a message box: Visual Studio Team System Check iN; Operation not performed Obejct reference not set to an instance of an o ...Show All

  • SQL Server adding an image to a database table

    Hi, I am using SQL Server 2005. I have a table in my database which has two columns : ImageId (Type: nvarchar (50)) Image (Type: image) I need to store images in this table. How can I do this Example using VB 6.0, SQL Server 2005 and SQLNCLI as the provider. Private Sub Main() Dim cn As New ADODB.Connection Dim rs As New ADODB.Recordset Dim mystream As New ADODB.Stream cn.CursorLocation = adUseClient cn.Open "Provider=SQLNCLI;Data Source=.;Integrated Security=SSPI;" mystream.Type = adTypeBinary rs.Open "select * from imagetable where imagetable.ImageId=''", cn, adOpenStatic, adLockOptimistic ...Show All

  • Visual Studio Team System FxCop guidelines on GOF design patterns

    I don't know if this is even possible, but, I'll ask anyway I'd like to point FxCop at some code and tell it, "Hey, I'm trying to write <insert GOF design pattern> (example, 'singleton')".  Am I doing it right   And have it come back and tell me either: 1. Yes, based upon what you've shown me so far, this code block looks like the singleton pattern. 2.  No, based upon what you've shown me so far, this code block is NOT a correct implementation of the singleton pattern. Anyway, I think you get my idea...is it doable I think Daniel and David have both offered good suggestions. Mark ...Show All

  • Windows Forms Painting over child controls

     I have a Panel with a few controls on it. But I would like to paint over them on my OnPanel method.    Can this be done  If not is there a way to paint over child controls using managed code or even PInvoke   Thank you,   Artur Moreira This book has a chapter on the same topic: http://www.c-sharpcorner.com/Store/Books/0-32 ...Show All

  • Visual Studio Express Editions Using SQL Express 2005 over the network

    Hi All, Having trouble getting this to work and can't find any help files, does anyone know where I can find some information about setting up SQL Express 2005 so that antother PC can access the database Thanks in advance. Wayne Have a look at this SQL Express blog . I have yet to use remote connections. But it basically is to enable TCP/IP protocol and allow remote connections. ...Show All

  • Visual Studio Team System TFS Project creation fails while uploading documents to the Windows SharePoint Services server

    ARRGH! 1. Are there any plans to ever update this link with real content It's gotta be getting past the point of embarassing by now: http://msdn2.microsoft.com/en-us/library/ms242875.aspx . I only mention this, because I keep going to that site over and over, hoping that someday there will be a good, official answer on how to set up TFS to work over SSL. 2. I have hacked my way into getting TFS to work with the Application Tier (Sharepoint ) to work on port 80 with Integrated Windows Authentication, and the Data Tier (TFS Services ) to work on port 443, also with Integrated Windows Authentication. At some point in this process (back ...Show All

  • SQL Server creating a database, tables, records, and fields in a Sql server 2005 express

    I am at my wits end as to how to do this. I have downloaded Sql server management Studio and tried to create a database but I can't figure it out. There is an almost nonexistant help file so I am lost as to how to start. I have succeeded in looking at some system databases but that is about the extent of it. Can someone show me the proper procedure Am I using the wrong tool Thanks, Paul If you are using the managment studio, right click on the Databases node, --> New Database. If you are using a script tool for this, the fastest way to create a database is CREATE DATABASE <name>, which stores the d ...Show All

  • Visual Studio Team System Import WebTest & load test result into another computer/repository

    Hello, With VSTS CTP August, I try to import load test result into another computer/repository, I get the following error : Could not read repository : Could not access the load test result repository : An error has occurred while establishing a connection to the server. provider : Name Pipes provider, error 40 - Could not open a connection to SQL server I use the following case to import the LoadTest ComputerA I Create a new webtest and run some LoadTest after the test is completed, I backup the SQL server Table LoadTest ComputerB I restore the SQL server Table LoadTest on the local SQL server. I open the webtest project, import a ...Show All

©2008 Software Development Network