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

Software Development Network >> Olivier.Destrade's Q&A profile

Olivier.Destrade

Member List

Sane
ShaneBrown1979
asalcedo
iscbaltazar
Vincent D. - Nolme Informatique
Mike Thorpton
Tony Chun Tung Siu
MarcMarc
VarunSuri
kamal101
Golden Strands
TanShaoMin
Umesh Kalia
bbostic
NewHacker
anna-jayne
csaba legany
Hisham Jaber
ericsbox71
Attila Hajdrik
Only Title

Olivier.Destrade's Q&A profile

  • Visual C++ __gc error

    I‥m doing a .net library class in c++ and I have 2 classes, A y B; as follows: public __gc class B; public __gc class A:public baseA {    private:       B *entrada;       B *salida; }; public __gc class B:public baseB {    private:       A **entrantes;       A **salientes; }; And I get the following error: error C3160: 'entrantes' : no se puede declarar un puntero __gc interior ni una referencia como miembro de 'espacio_nombres::B' error C3160: 'salientes' : no se puede declarar un puntero __gc interi ...Show All

  • .NET Development COM+ exposing public classes ?? !!

    Hi Guys, Im facing a problem with the COM+ component, will appreciate if u can provide any kind of guidance. My COM+, references a class, lets call it class A. It uses the properties of Class A, and has methods to return / insert / update / delete etc. I have an Admin module(another dotnet solution), which accesses the COM+ component (via referencing the dll). And uses the methods which are in the COM+.   Now the problem is, the admin module also need to use the Class A(which is already referenced by COM+ component), as it has to use the properties and methods of Class A as well. How to achieve this using the present COM+ compo ...Show All

  • Smart Device Development SIP keyboard icon dissapears after MessageBox.Show

    Using .Net Compact Framework 2.0 and Pocket PC 2003, once I have used MessageBox.Show() the keyboard icon for the SIP is removed. How does one get it back again I don't see this. The msgbox appears, the sip icon hides, the msgbox closes, the sip icon reappears. If you have a sample that demonstrates otherwise please post it. Cheers Daniel ...Show All

  • SQL Server ODBC connection to SQL 2005 Express

    I am attempting to setup a SQL Server 2005 Express database as a backend to an Access MDB, and need to establish an ODBC data source for the backend database. On two different systems (Windows XP Pro and Windows 2003 SBS), I get an error that says I cannot connect to the SQL Server. I get a message that says: Connection failed: SQL State 08001 SQL Server Error: 2 [Microsoft][SQL Native Client]Named Pipes Provider: Could not open a connection to SQL Server That is followed by a Login timeout expired and a suggestion that under the default settings SQL Server does not allow remote connections. I have shared memory, named pipes and TCP ...Show All

  • Visual Basic Datasets in MDI Application

    Hi All: I have a local database (SQL server 2005)  in a MDI application (VB2005). In the parent form, I have a dataset and some controls binding to one table of the database. In child forms, I also have some controls binding to related tables in other datasets. In the parent form, user can add or delete a record. In child forms, user can also add or delete records in related tables. Can SQL server save changes from two or more datasets Does anyone know Thanks. Hi, I find using more datasets in MDI application has a problem, ie. the updates in the child form datasets will be cove ...Show All

  • .NET Development Async sockets, receive callback problem

    Hi, I'm writing an async socket server that transport custom serialized objects. However, I ran into a problem when sending a lot of messages in a loop from the server to the client. To simplify matters I shortened my test code: Here I'm sending some data to the client... for ( int i = 0; i < 100; i++) { state.WorkSocket.BeginSend(b, 0, b.Length, SocketFlags.None, sendCallback, state); }   The client receives the data and processes it:                 StateObject state = (StateObject)ar.AsyncState;         &nb ...Show All

  • Visual Studio Express Editions VB 2005 Express Absolute beginners guide lesson 09

    Can someone please help, I have tryed to build the lesson 9 project and even downloaded the complete finished project and for some reason it willnot save the changes to the database. I have the same problem with the DVD movie collection project. Thanks Frank. Exact same problem here too. Anyone have any new ideas to try Any help would be greatly appreciated. ...Show All

  • Visual C# Error '42022 is not a valid warning number'

    I received this error message while building my solution: '42022' is not a valid warning number But on the 'Suppress warnings:' of the project property - 42022 is listed How do I fix or resolve this problem Thanks, dvinh Gus: Here is more info on the error. Thanks Duy -------------------------------------------------------------------------- Target CoreCompile:   Task "Csc"     Command:     Csc.exe /noconfig /nowarn:"42015,42016,41999,42017,42018,42019,42032,42036,42020,42021,42022" /errorreport:prompt /warn:0 /define:DEBUG;TRACE /reference:C:\WINDOWS\Microsoft.NE ...Show All

  • Windows Forms CollectionEditor CancelChanges() method

    Summary of the problem: The CollectionEditor class, CancelChanges() method doesn't cancel the changes to the underlying collection. In fact, I used Reflector to see what the method does. Here it is: protected virtual void CancelChanges () { } There's no code in that method. ! I created a Collection editor inheriting from CollectionEditor to edit my collection of objects on my UserControl. Say you add objects to the collection using the collection form. Click OK. Everything is good. Now, click in the propery grid on the Items property and modify some properties on the object(s). Click the Cancel button. Now, click on the Items ...Show All

  • Visual Studio Team System VSTS and Sharepoint Development

    Hi, Pl. guide me to any documentation on developing sharepoint solutions using VSTS. Is the the Team site crteated during the team project part of the config mgmnt of team system. Can i do check in checkout from the sharepoint items> TIA Paritosh You can use SharePoint as it normally works.  You cannot check in and check out files from SharePoint in the same manner as version control within VS. There is also some information in the following thread. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=123424&SiteID=1 Buck ...Show All

  • SQL Server Report Paramaters and WildCards

    I've created a report parameter which i've had to concatenate and modify because of the way in which the information is entered into the database - consequently I need my query parameter (in my database query) to only match the beginning of of each report parameter.  For instance - my parameters (in my drop down list) state "Pentium 4 CPU" whereas within the database this entry is stored as "Pentium 4 CPU 2.23GHz" or "Pentium 4 CPU 1.85GHz".  I would like the user to be able to select "Pentium 4 CPU" from the drop down list and get both entries... I have tried to play around with the wildcard character (%), ...Show All

  • .NET Development Custom Culture ASP.NET 2.0

    I need some help about localization. I try to create a custom culture like ‘fr-Student’ because we want to stored picture and string text for student.  This sepcific culture is base on the ‘fr-CA’ culture.  So, I create a resx file for my default page page.fr-Student.resx in the App_LocalResources folder. Now, I want to create the specific culture.  So, I create a class CustomCulture (see on the buttom on the message).  In the global.asax file, on the Application_AcquireRequestState, I create the custom culture and set it to the current thread.  Doing this, I think it will initialize correctly the currentCulture of ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. How to create a multihead device?

    hi, i would likt to know how to create a multihead device. an short example would be nice as i dont get it! i tryed this, but its throwing an error: Dim PresentParams(1) As PresentParameters 'set presentation parameters PresentParams(0) = New PresentParameters PresentParams(0).Windowed = False PresentParams(0).SwapEffect = SwapEffect.Discard PresentParams(1) = New PresentParameters PresentParams(1).Windowed = False PresentParams(1).SwapEffect = SwapEffect.Discard 'create device Device = New Device(0, DeviceType.Hardware, Me, CreateFlags.AdapterGroupDevice, PresentParams) thx & greets matthias I am sor ...Show All

  • Visual C++ "debug assertion failed" when debug and release .exe both work fine.

    Hi: I compile one program under both debug and release setting in VC++ Express 2005 and with no error. Both version execute without any error. Somehow I constantly encounter "debug assertion failed" message when I press F5 to get into debug mode under VC++ Express 2005. Could anyone tell me what happened A much, much better solution would be to do what has been suggested several times and change the initial working directory for the debugger. You really don't want your source code in the same directory as you run your application. ...Show All

  • SQL Server Foreach Loop Enumerator Question

    Any help appreciated here... I'm inserting a CSV file into my SQL Server 2005 Sept CTP which has approx 1700 rows.  It contains Companies and Contacts which I split in a data flow and determine if with Fuzzy Lookups whether dupes exist and perform either insert or update (That works great).  Here is my issue: The database does not use Sequence for the Pkeys and to make matters worse they are prefixed with letters.  I have to generate them on my own with a custom function I have written.  I need to step through each record of the CSV and assign the Pkey value and upon successfull insert update the counters table. I cannot ...Show All

©2008 Software Development Network