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

Software Development Network >> Giuseppe Porcelli's Q&A profile

Giuseppe Porcelli

Member List

pablo123456
Yomm
Leopardfist
Shahid Mahmood
objectref
** Ann
Ibrahim Y
FY
Maran
Tareq Gamal mahmoud
Rusty Naumann
neverdone
JohnMaison
Rossella
abrang
whkl1
Sstrain
Ende
RavuriSurya
HiddenDragon
Only Title

Giuseppe Porcelli's Q&A profile

  • Visual Studio Team System Logon with the object model in RC

    In beta 3 I used a NetworkCreditials object to create a conenction to a TFS server.   NetworkCredential objNetworkCredential = new NetworkCredential (strUserName, strUserPassword, strDomain); TeamFoundationServer objTFS = TeamFoundationServerFactory .GetServer(strVstsURL, objNetworkCredential); But in the RC version the factory uses a Microsoft.TeamFoundation.Client.ICredentialsProvider in the GetServer method. In Client applications I can used the UICredentialsProvider, but what about Server applications Is the only way to logon to a TFS server in server application to use the current users credentials &n ...Show All

  • Smart Device Development WZCSetInterface under XP: setting the 8021.x authentication

    Our application runs both on PDAs and tablet PCs. It uses a wireless connection to connect to the network and that sometimes needs to be set to a different SSID. On the Windows Mobile platform this is no problem, because we can use the WZC functions which are quite well documented ( http://msdn.microsoft.com/library/en-us/wceddk5/html/wce50grfAutomaticConfigurationsFunctions.asp frame=true ). Now, the same functions should work as well under Windows XP on the tablet, but it seems a bit more tricky. Because when we add a new SSID manually through the WZC UI it will by default enable 802.1x authentication. To set the WLAN adapter to ...Show All

  • .NET Development Accessing variables in a class.

    Hello, I would like to enumerate all local variables in my user defined class. Is there a way to access the local variable scope Thanks, Arijan. Are you sure you mean variables Maybe you're talking about fields class Foo { int field; void Bar( int parameter) { int variable; // code } } ...Show All

  • Visual Studio Team System Error editing report definitions in Report Builder

    I have been configuring a Team System install and playing around with the features and so far everything is working fine, however when I go to the report builder: Right-clicking on the project 'report' folder. Select 'Show Report Site...' Select 'Report Builder' from the button menu I cannot add a new report (it does nothing, no error) and I cannot edit an existing report (I get this error 'Server data sources do not match RDL') which i believe has something to do with the Report Definition Xml. Has anyone experienced this or know how I can resolve this Have I missed some part of the configuration to get this working ...Show All

  • Visual Studio Express Editions LPCWSTR doesn't work with reg commands

    I am making some functions that use regcreatekeyex, regsetvalueex, ect. So I made them and tested them by making a command prompt program and had no problems. Then I tried using the in the form designer and the compiler keeps telling me it can't convert my parameters that are strings into LPCWSTR. So I add the (LPCWSTR) in front of the parameter to convert it. Well my project compiles but recreatekeyex and stuff never succeed. How can I fix this To be able to answer this one properly, we need to know what you are doing. So could you post the code that uses the RegCreateKeyEx function. ...Show All

  • Visual C++ Troubleshooting name mangling issues

    Has a name decoration spec been published for VC2005 I have an undefined external __imp_ _S_next_size@ $_Stl_prime@_N@priv@std@@SGII@Z which nearly matches __imp_ _S_next_size@ $_Stl_prime@_N@priv@std@@SAII@Z in an import lib. Presumably a major compiler or linker option is out of sync, but without a definition of SGII vs. SAII it's a guessing game. Thanks for any help, Gary Personally I prefer to use extern "C" for exports since C doesn't use name mangling. Compiler inspecific and much simpler. ...Show All

  • Smart Device Development WSAEINPROGRESS

      When i use the method getRequestStream() of an object HttpWebRequest, and try to write to this stream i got a socket exception. The errorcode is 10036, WSAEINPROGRESS.             Dim postBytes() As Byte             Dim asciiEncode As Encoding = New ASCIIEncoding             postBytes = asciiEncode.GetBytes(Me.mQuery)             httpReq.ContentType = "application/x-www-form-urlencoded"     ...Show All

  • Visual Studio Team System Regeneration of the private accessor drops project references in the test project.

    Hi, All. May be this is a well-known situation, but I did not find any helpfull information. I have a work project (custom MSBuild task) and trying to use unit testing (TDD). Any time when I'm regenerating private accessors for my main (task) project, test project losts reference on it. Is it possible to fix such behaviour WBR /Sergey aka Grey Ghost When you say you are losing 'it', I believe you mean the reference to the main project from inside the test project. This is a bug in VS where occasionally when a 'project' reference is added, it gets lost if you try to re-add it. What you can do to work ...Show All

  • Visual C++ Why do I get OutOfMemoryException?

    Why do I get OutOfMemoryException running the following code m_lst = gcnew System::Collections::Generic::List<array<double>^>; for(int i=0; i<10; i++) { m_lst->Add( gcnew array<double>(512*512*100) ); } (Create a WinForm app and insert this code at the end of InitializeComponents) I got the exception when i=5. (that is only ~1GB of memory). I know that is a lot of memory, but my computer has 2.5GB of RAM and the page size is set to 4GB. I have no other apps running. The Windows Task Manager shows vailable physical memory of 2096000K. I am run VS2005 Pro and WinXP Pro. Please help. Thank y ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Microsoft.DirectX.Direct3D.NotAvailableException why?

    Hi all, I get a: Microsoft.DirectX.Direct3D.NotAvailableException from the following line of code: device = new Device (0, DeviceType .Hardware, this , CreateFlags .SoftwareVertexProcessing, presentParams); I guessing that its because the HW video is saying it isn't available or is not compatible with DX9 Am i doing something fundamentally wrong or is this the case Cheers very much for your time Felix You can't use a feature in hardware that's not available on your graphics card. Have you switched to the software rasterizer to see if the code still runs What kind of video card are you using ...Show All

  • Software Development for Windows Vista Workflow Serialization Problem

    Hi to all, I have been using beta 2 bits for a couple of days and trying to upgrade my project with the new stuff. I've change a lot of things ( as you guys did in beta 2 :), but one problem still cannot be solved. I'm using the workflow designer control to change workflow definition. I have also a state machine workflow. If I load the workflow from file (xoml) no problem. But if I want to get a workflow definition from running workflow the serialize it and pass it to the workflow designer control I cannot edit the workflow. After debugging it seems that serializing state machine workflow it only serialize the root activity. Stefan, ...Show All

  • Visual Studio Team System Workspace is already mapped problem

    I just installed TFS (beta 2) and I get the following error message when opening a solution from source control using VS 2005 beta 2 : The path 'd:\temp\xxx' is already mapped in workspace PCMRE\Disney\JMP. PCMRE is the workstation having this problem, Disney is the domain where TFS is installed and JMP is my own user account. The guy using this workstation has the MRE account. Due to security misconfigurations on the TFS server (my fault), MRE could not use TFS, so we used my user account on this machine to test TFS. Now that the TFS server is configured well, MRE can use TFS but something's wrong with the workspace configuration. Getting ...Show All

  • Visual Studio Tools for Office COMException generated while trying to customize an Office document

    I'm trying to add a customization module to a document (Excel for example) using ServerDocument.AddCustomization() as told in msdn help but an exception is raised: "Unable to cast COM object of type 'VSTOPersist.Interop.VSTOPersistWordClass' to interface type 'Microsoft.VisualStudio.Tools.Applications.Runtime.IAppInfoDocument'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{09989249-3281-432A-8BF8-6C680EEAF1B5}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE))." I need to mention that this error ap ...Show All

  • Windows Forms Menu keyboard shortcut works sometimes

    My main menu is build with ToolStripMenuItems.  I enable and disable keyboard shortcuts with: m_miHideSelected->ShortcutKeys = Keys::Control | Keys::H; m_miHideSelected->ShortcutKeys = Keys::None; This example is a sub menu eg 'Display' -> 'Hide Selected'. I find that this shortcut often does not work, dispite the correct code to enable it being executed.  I have verified the code path by logging. If I click on the parent menu, the short cut will work always, after that point.  The application may have been running for a long time, with other menus used, but this shortcut may not work until the parent menu i ...Show All

  • Software Development for Windows Vista FileWatcher Activity - Event Time

    Hi, When file watcher detects the creation of a file, at what point in the creation is the event raised. We want to use the filewatcher to trigger a move from the triggering directory to another directory. However, if the file is being copied from another source to the triggereing directory, will the event be raised as soon as the file directory entry is created or will it be raised when the file is completely copied ... this is important particularly if the files are large and take a long time to get completely created. If it is not on completion, what is the best way to test for completion Regards R. ...Show All

©2008 Software Development Network