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

Software Development Network >> ph_prgn1's Q&A profile

ph_prgn1

Member List

Matt_mwb
KSchlueter
Olivier Georg
Hamp Turner
Bruno B.
Kivak Wolf
JoJe
jiangsheng
vb.net_curious
Wa1d0
Alan Singfield
RichardR
marek.dziedzic
Andriy Knysh
Smudge
Perry G
raja_t
BladeMaster
rage
SrinivasV
Only Title

ph_prgn1's Q&A profile

  • Visual Studio Team System Testing in Visual Studio .NET 2003

    Hi! Are all testing features integrated in Visual Studio 2005 for the first time Was there any testing tools integrated before In case this helps, I can tell you that we are currently building our application in VS 2003, then building and running just the testing tools in VS 2005. We are using VS 2005 to test an app built with VS 2003. ...Show All

  • Visual Studio Team System shared types in the distributed system designer

    gday, I'm creating a couple of webservices in the AD (application designer), and I want that some of these webservices are using a shared type (class person.cs). there's a possibility to use the tool wsdl, the generate webservices with the same shared type (without using the visual studio). But how can I use this by using the AD or the Distributed System Designer integrated in the visual studio  normally it adds the web reference to my web service, but I don't want the web reference, I want to have the generated stubs... How can i generate and using this stubs using VS2005 distributed system designer   ...Show All

  • .NET Development Windows Service using Sockets

    I am experiencing a wierd problem... I have a C#.Net application Server which uses Sockets. It listens on port 11000. and it runs as a Windows Service. -- If I run it as a consple Application, I can connect to that port/Application from any machine on the network as well as from my local machine. -- BUT If i install it as a Windows Service, I cannot connect to it from the network though it works just fine form the local machine. --And one more strange issue, If I install it using the InstallUtil.exe, it works fine ! That is I can connect to that port/Application from any machine on the network as well as from my local machine. ...Show All

  • Visual Studio 2008 (Pre-release) Convert between Func<T> and Expression<T>

    Are there facilities to convert a Func<T> and an Expression<T> in order to use something that was intended to be used as a predicate and use it instead as an expression tree -Scott Convert it Runtime I dont think so, its an compiler trick afaik . Im afraid they need an extra layer of indirection for that. So i guess its not possible yet. I tried to achieve the same thing for an kind of Linq query analyzer but ended up writing my own interpreter. There is however a sample on how you can create your own interpreter and create a delegate for it, i guess you can do the same thing with some ...Show All

  • Windows Forms Displaying a Word document into a RitchTextBox

    I was trying to display a Word Document into my RitchTextBox but i cant find the correct method to do it.. it work..but it dont keep the correcte format..its all screwup.. Try                 Dim FichierCV As String = dsEmp.Tables("Options").Rows(0).Item("opt_cv") & "\" & .Item("emp_cv")         ...Show All

  • Software Development for Windows Vista Alpha-Blended DirectX Overlay

    Hi, I would like to create an overlay with a surface that overlays another surface. The specific application is to take the video rendered from a AX control drawing using DX, then create an menu overlay with another DX surface and have the menu alpha-blended over the video surface. So far I have tried a transparent dialog box, but the video underneith flickers as the region is invalidated. The overlay box fades in and out perfectly, but only when the overlay menu is completely faded out does the video stop flickering. I do not have control over the video surface, so I would like to do it as a seperate overlay surface. Any ad ...Show All

  • Visual Basic Registry Key . . . ? ? ?

    Hello . . . :D I need some help on registry. I like to add some keys with their values to registry and that it is easy. I already have do that. Now i need to know how to check if the key that i'm trying to add already exists. Is any way to see if the key exists before i try to write on it Thanks a lot . . . :D You can call CreateSubKey() for a key that already exists without a problem. Use OpenSubKey() to check if it exists. For example: Dim key As RegistryKey = Registry.LocalMachine.OpenSubKey("Software\CompanyName\MyApp\Settings") If key Is Nothing Then Debug.Print("Does not exist") End If ...Show All

  • SQL Server Setting Passwords In Connections Using Script Task

    I have a situation where I have to read an encrypted password from a table and set the password and userID for the connections. I wrote functions to retrieve the data from a table, decrypt the password and UserID, and set the connection string for the connection. What happens, though, is that the connection string I wrote to the connection gets changed when reading it back so that the password is no longer included. Also, in testing the connection, it fails, telling me login fails. Can anyone shed any light on this Does anyone have sample code to show the setting of a password for a connection in a script task All of the examples I find are ...Show All

  • Visual C++ beginner C++

    Still in class for intro to C++ and I'm working on one of the labs. In this lab, the program prompts the user to input a number (x), from there the program sums up the numbers from 1 up to (x). For example: input      sum 1            1 2            3      //(2+1) 3            6      //(3+2+1) 4            10  &n ...Show All

  • Visual Studio 2008 (Pre-release) Problem with TextBlock text wrapping on window maximize

    I am having trouble getting TextBlock text to wrap when I maximize the window in is in. This happens in both xaml pad and in my app. I am using the Feb '06 CTP and running on XP Pro SP2. Here is the code I am using: <Window xmlns=" http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x=" http://schemas.microsoft.com/winfx/2006/xaml " Title="Text Wrap Problem" Width="350" Height="200" Background="White"> <TextBlock TextWrapping="WrapWithOverflow" Background="AliceBlue" HorizontalAlignment="Stretch"> This is a whole bunch of ...Show All

  • Visual C++ Automation detection

    I have an application that you can run through automation and that you can also run doing the standard double-click and it loads thing. well is there a variable or method i can query at any point during my application that will tell me whether or not the application is being run through automation or otherwise Thanks   Will   If you use the standard MFC way you have a command line with the /automatin option when started from OLE-automation The CCommandLineInfo class parses this parameter and setsthe flag m_bRunAutomated. ...Show All

  • Visual C++ Reading Bytes In IStream Object

    I'm saving an image in IStream Object as following long len = GetLen(hBitmap); LPBYTE   lpBits = (LPBYTE) GlobalAlloc(GMEM_MOVEABLE, len); IStream *pStream; HRESULT res = ::CreateStreamOnHGlobal(lpBits,TRUE,&pS tream); if(res == S_OK)     image->Save(pStream,&encoderClsid,NULL); i need to read the pStream byte-by-byte, how can I do this Yes! RTFM (Read the fine MSDN) :-) http://msdn.microsoft.com/library/default.asp url=/library/en-us/stg/stg/istream.asp ...Show All

  • SQL Server Problem upgrading clustered node to SP1

    Hi We just upgraded a sql 2K Active\Active 2 node cluster to SQL2005. The upgrade seemed to go OK. We also managed to apply SP1 to Node 1 after an initial problem But now when applying SP1 to NODE 2 we are getting this error " A recently applied update, NULL, failed to install " We had the same problem on NODE 1. Turns out after installing client connection tools and management tools SP1 succeeded. But it does not seem to work on Node2 And yes both nodes have been rebooted. Any help is appreciated. thanks Here is the error log 05/18/2006 11:39:57.414 =============================================== ...Show All

  • SQL Server Exceeding 1 physical CPU with SQL Server Express

    What happens if I put this on a machine with more than 1 physical CPU (I know cores aren't an issue). I assume it will run and I can do this, but it'll only schedule threads to 1 CPU and it's cores (like a kind of throttle). this is what Oracle is doing from what I understand. ...Show All

  • Visual C# Reading AssemblyInfo

    Is there a new improved way of reading the AssemblyInfo attributes. From the aboutbox template in 2005:         public string AssemblyTitle         {             get             {                 // Get all Title attributes on this assembly                 object[] attributes = ...Show All

©2008 Software Development Network