Software Development Network Logo
  • Audio and Video
  • Visual C#
  • Visual C++
  • Visual FoxPro
  • Game Technologies
  • IE Development
  • Windows Forms
  • Smart Devicet
  • Visual Basic
  • .NET Development
  • Microsoft ISV
  • VS Team System
  • Windows Vista
  • SharePoint Products
  • SQL Server

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

pdurbha

Member List

qwv
Vishal_LogicaCMG
Mr Pro Tools
MikeRt
arogan
Banhnam
Chuff
SuperJeffe
Babalicious
Emily Fong
crowsfoot
Dave987654321
LonelyPixel
Rajesh_webinteractive
NetPochi
Terry Smith
arikve
Michael_P2234
CanucksSQLServer
artu
Only Title

pdurbha's Q&A profile

  • Visual C# cookies

    hi.i need to retrieve the server name only from a header when i browse using my c sharp browser i created.the application is supposed to show me the server name.how help Hi, Try using this: //for servername //or use "System.Web. HttpContext .Current.Request.Url.Host" string serverName = System.Web. HttpContext .Current.Request.ServerVariables[ "SERVER_NAME" ]; //for Portname string Port = System.Web. HttpContext .Current.Request.ServerVariables[ " SERVER_PORT " ]; //Protocol -- http:// or https:// sample defines a secure protocol give value of "https://" string Protocol = System.Web. HttpContext .Current.Request.ServerVariables[ " SERVER_PORT_SE ...Show All

  • Visual Studio Team System A question about integration package data storage

    Here's a question I have been meaning to ask for some time. When building plug-ins or integration packages into team system is there any sort of object within the Team Foundation classes that could be inherited from that allows for persistence into the database of some of the plugin information -- something such as would be done if a custom field had been created for a work item Alternatively, regardless of how much it may be discouraged (my assumption), is it within the licensing to allow a plug-in to Team System to utilize the TFS SQL Server for data storage related to the plug-ins use within team system. Here is a poor example because I'd probably use ADAM versus storage in the DB but let's say I wanted to keep up with certain att ...Show All

  • SQL Server How to create a SAPConnection in .Net Code with .NET Data Provider

    In the SQL Server Technical Article Micro s oft .NET Data Provider for mySAP Business Suite is a Code example of how to invoke a BAPI in .Net Code. First line shows how to create a Connection to SAP, but there is no information in which lib the SAPConnection type is stored: SAPConnection con = new SAPConnection ( "ASHOST=<SAPserver >; CLIENT=<client>;SYSNR=<sysnr>;USER=<user>;PASSWD= <password>;LANG=<logon language>" ); con.Open(); Does somebody can help me ...Show All

  • SQL Server Cannot connect to admin:ServerName

    Hi All, When I try to connect to SQL Server 2005 by using Dedicated administrator connections by admin:ServerName. I encounter this error: Cannot connect to admin:ServerName Dedicated administrator connections are not supported. (ObjectExplorer) N.B.: I use SQL authentication to connect. SQL authentication is working without the "admin:" prefix. Thank you. Bishoy DAC for sqlexpress is disabled by default. Add trace 7806 as part of the startup trace for sqlserver. Restart the service to the effect. Don't forget to enable/start sqlbrowser service too. See the following kb for more info: http://msdn2.microsoft.com/en-us/library/ms189595.aspx ...Show All

  • Visual C++ "How to use use Excel like table in VC++ MFC Dialog with Combo controls in the excel table"

    Dear friends, I have visual C++ 6.0 version. I want to use excel like table in my vc++ Dialog (from CDialog class). The table should contain records and fields which can be added and deleted dynamically. Some of the fields should be combo boxes where in data can be selected. I tried datagrid control activeX control and I was unable to use the datafields as combo boxes. I can migrate to visual studio 2005 if necessary! One more thing, I want to deploy/use my application in machines where office XP is not installed. So the excel like table should work without MS office. Somewhere I read, certainly there are controls. Kindly help me how to do this. Thanks in advance. Regards, Nagesh Hi, Please see the codeprojec ...Show All

  • Visual C# How to always force rebuild C# project?

    Hey I have this C# project (.csproj extension).  I want to have it always rebuild every time, regardless.  How do I do that   Is there a flag or something I can manually throw into the project file (xml tag) That is basically what I want to happen.  I want to tell the compiler (for a specific project) to ignore whether or not it is up-to-date and just rebuild it.  So every time the project gets built it is instead rebuilt. ...Show All

  • Visual Studio Can I install VS.NET 2003 on a computer having VS.NET 2005 already installed

    Hi, I would like to know if it is possible to install Visual Studio.NET 2003 on my Windows XP Professional SP2 computer having Visual Studio.NEt 2005 already installed Will both IDE work properly Grateful for answers /M Your welcome. Mark the post as the answer, so when others search the forums, they might be more inclined to look at a successful post than a non successful one... in the search results the Answered posts are bubbled to the top before the unanswered . ...Show All

  • SQL Server Complex SQL Query.

    Ok, Table Structure : ------------------------------------------ FileProduct =========== ID int -> Unique Key (Long Integer) FileProduct Text -> Description of product. FileDetails =========== ID int -> Unique Key (Long Integer) ProductID Text -> Relational Link into the FileProduct Table above. Filename Text -> Name of the file. Version Text -> Version Details of File. PCDetails ========= ID int -> Unique Key (Long Integer) PCName Text -> Name of PC FileName Text -> FileName found on PC. Version Text -> Version Details. Table Data (what is in each table): FileProduct =============== ID FileProduct -- --- ...Show All

  • Smart Device Development CAB installing shortcut in "Games (1)" on PPC but not Smartphone

    For some reason my CAB isn't working right in the PPC emulator. On the Smartphone it installs the shortcut in "Games", but on the PPC it makes a new folder "Games (1)". Here's the section: [Shortcuts] "MyGame",0,"MyGame.exe","%CE17%\Games" Any ideas Yeah... Of course. Shouldn't the shortcut just be added to the existing folder That's what happens when I run it on a Smartphone emulator. PocketPC seems to have other ideas, at least version 2003. ...Show All

  • Internet Explorer Development Strange memory read error with BHO

    I have a BHO which launches my Explorer Bar. It has been working fine for some time now. But now I am seeing some strange behavior which I am unable to debug or explain. With my BHO enabled and my Explorer Bar in expanded state, when I close the browser it throws some memory read error. If I go to manage addons and disable AcroIEHlprObj BHO and Yahoo IE Services BHO on different combinations, the error doesn't show up. Even with those two BHOs enabled, if I browse to some web site in the main browser or click anywhere in the browser (like minimize and maximize) and then close the browser, then also no error is thrown! If my Explorer Bar is in minimized state then also closing the browser doesn't throw the error. When I debug ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. VMX library on XBox 360

    As my thread on 360 performance has somehow drifted way from my original theme, I'd like like to follow up on a comment made in that thread here:   EmoSaru wrote: Well, I think the BEST solution all around is to extend the API to provide optional use of intrinsics.  Just like with the standard devkit, let ME decide when I want to use intrinsics and vectorized code and when I don't. :) I would not be opposed to offering separate types for intrisic versions of vectors/matrices/etc., so long as the appropriate conversion operators/functions are provided.  It seems like this gives you the best of all words, insofar as within tight loops the native instrinsic code should not be hard to produce, but you don't have to worry ...Show All

  • SQL Server Simple Join Not So Simple

    Hi, I have the following situation (with a site that already works and i cannot modify the database architecture and following CrossRef tables -- you will see what i mean by CrossRef tables below) I have: Master table Hotel table AddressCrossRef (with: RefID = Hotel.ID, RefType = 'Hotel', AddrID) joins table Address (key = AddrID) table MediaCrossRef (with RefID = Hotel.ID, RefType= 'Hotel', MediaID) joins table Media (with MediaID,mediaType = 'thumbnail') foreach hotel, there definitely is a crossRef entry in AddressCrossRef and Address tables respectively (since every hotel has an address) however not all hotels have thumbnail image hence i have hotel inner join AddressXReff inner join Address ..... however i must have left outer j ...Show All

  • .NET Development Exception: An established connection was aborted by the software in your host machine

    I get following exception each time i try communicate: System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. ---> System.IO.IOException: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine. ---> System.Net.Sockets.SocketException: An established connection was aborted by the software in your host machine I have very simple flow: 1. Send synchronized HTTP request 2. Call WEB service API in block mode 3. Send asynchronous HTTP request. The third request always fails no matter what i do. All requests are sent to same host though different servlets. Host machine is running Tomcat WEB service within J ...Show All

  • Visual Studio Express Editions Null Reference Exception

    For some reason i keep getting this "Null reference exception was unhandled - object reference not set to an instance of an object" Does anyone what this or what is could be causing it. I'm using arrays to store stuff which then makes an instance of a panel. I have 4 of these, they are all identical and use the same panel, but one of them refuses to work and I get this message, I've checked it over and can't seem to see anything different between that 1 and the other 3. The error occurs in this line assaultDisplay(count) = New weaponDisplay(assault(count).weaponName, assault(count).ammo, assault(count).damage, assault(count).rpm, assault(count).reload, assault(count).heat, engineer(count).arm ...Show All

  • Visual Basic build application with sqlexpress

    Hi people, i have been working on a mp3 library system just to learn vb.net, everything works untill i build the app, when i run this i get a error messege stating that "Database 'xxxx' already exists." "Could not attach file" everything works when i run the app in the ide but not when i have built it, all paths seem to be correct, i am stuck. Anyone else come across this issue Chers rich How are you connecting to the database does the database already exist in SQL Express (Well, it apperently does otherwise you would not get the database xxx already exists message) Make sure you are not recreating/reattaching the database in your code, since it already ...Show All

©2008 Software Development Network