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

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

SanjayNarang

Member List

kkorolz
gorla
narasiman_jayachandran_2b5374
TriciaPB
Constantijn Enders
Josip Orec
jturpin
Themeros
matthew pearson
ChrisMcCabe
mliesmons
morphius1
scott bates
Michael J Brown
Binary
William Watts
MaX911
Angel Kafazov
lp75
Steve from adzac
Only Title

SanjayNarang's Q&A profile

  • Visual Studio Team System Excessive Load and response time

    Hi, We are trying to run a load test on 6 web pages over a period for 48hrs for 7 days(with an interval of 1hr between each cycle).Some of the pages have missing CSS and as a result the HTTP errors that are being gathered are huge and they are consuming a lot of memory in the machine,Hence the test is being aborted in a span of 2-3hrs. Can somone please help us as to how this test can be carried out Thanks Probably the best option would be to set the ParseDependentRequests option to false on the page(s) with the problem so we won't automatically try to get dependent requests. If there are any you actually care about, you would have to explicitly add them back to the web test. Josh ...Show All

  • .NET Development Question about nextsink of ImessageSink

    Hi Everybody, I want to know that when the nextsink of IMessagesink is called. Do we have to call it explicitly What if we have only one sink and one provider implemented. Will nextsink remain null How to handle it in when SyncProcessmessage of IMessageSink is called Regards ...Show All

  • Software Development for Windows Vista About Windows SDK's Installation's Issue

    Hi, Today I tried to setup 'MicrosoftR WindowsR Software Development Kit for Windows Vista and .NET Framework 3.0 Runtime Components', but it fails. The operating system is Win2003 Enterprise with SP1. The date published of .NET Framework 3.0,which was already setupped into the computer, is 11/21/2006. The computer was also setupped about .NET Framework 2.0, .NET Framework Compact Framework 2.0, .ENT Compact Framework 1.0 SP3 Developer and so on. How can I solve this issue Thanks. The installation log file's content is: 15:35:02 2006年12月10日: ------------------------------------------------------------------------------------------------- 15:35:02 2006年12月10日: [SDKSetup:Info] Begin 15:35:02 2006年12月10日: [SDKSetup:Info] S ...Show All

  • .NET Development Backup and Restore a sql database using vb.net

    i'm trying to create a windows application with two buttons one to backup a database and the other is to restore it, can so me one assist me with this Thanks, Rama Hi, The best and easiest way to backup/restore database is sql. So you have ust to execute Backup/restore sql commands on the server. Backup command : "Backup database YourDataBaseName to disk = YourFilePath" Restore Command "Restore database YourDataBaseName from disk = YourFilePath" You must notice here that the YourFilePath is a path of a file on the database server. You cannot do Backup/restore to/from files that are physically not on the database server. To execute the command just connect to the m ...Show All

  • Visual Basic Having problem in assigning value to data structure array

    Hi all, in VB6 the following statement wont gives me NullReferenceException, but in VB.net it does, can anyone tell me how to assign value into a variable within a data structure Helps! Dim lTemp As Integer = 5 gCI.CICC(gCICCTotal).CCId = lTemp Arrays inside structures need to be initialized before they can be used. Try something like this: Module Module1 Public Const CCICSize As Integer = 100 Public Structure CIStruct Dim CCIC() As Integer Public Sub Initialize() ReDim CCIC(CCICSize - 1) End Sub End Structure Public gCI As CIStruct End Module ...somewhere... gCI.Initialize() ...Show All

  • Windows Forms Populating a treeview recursively

    Hello, I have a self joined table named: Category. It contains 3 columns only: CAT_ID, PARENT_CAT_ID and Title. I'm using a data reader to get the categories from the database as follow: while (dbReader.Read()) { Title = (string)dbReader["Title"]; CAT_ID = (int)dbReader["CAT_ID"]; PARENT_CAT_ID = (int)dbReader["PARENT_CAT_ID"]; // MessageBox.Show(Title); <- Working!!! } Can anyone please tell me how can I populate a treeview recursivley with the data I pulled from the database Please note: 1. PARENT_CAT_ID = 0 for the root records. 2. Child records doesn't always follow parent record in the database query result, they can be mixed. I would appreciate any help. ...Show All

  • Visual Studio 2008 (Pre-release) netTcp - The server has rejected the client credentials

    Hi, I'm testing a simple tcp client/server and everything works fine locally. However, as soon as I go over the internet I get: SecurityNegotiationException - The server has rejected the client credentials This is what my config looks like: < xml version="1.0" encoding="utf-8" > <configuration> <appSettings> <!-- use appSetting to configure base address provided by host --> <add key="baseAddress" value="net.tcp://mydomain:8000/servicemodelsamples/service" /> </appSettings> <system.serviceModel> <services> <service name="Microsoft.ServiceModel.Samples.CalculatorService"> <!-- use base address provided by host --> ...Show All

  • Visual Studio 2008 (Pre-release) Binding the TabItem Content

    Hi! In the below sample I am trying to bind the TabItems of a TabControl to a CollectionView called EntityCollection. The objects in the collection inherit ApplicationEntity which has the properties Name and Container. Name is a string and container is a UserControl. As you can see I am trying to bind the Header of the TabItem to Name and the Content to Container. It seems silly simple to me! But it does only partially work. Here's the problem: The binding works fine. My CollectionView contains two items (subclasses to ApplicationEntity - one called HomeEntity and the other called PlanEntity) and the Name property binds butifully. It is the Content binding that fails. No matter what I try the Content of the TabItem ALLWAYS becomes the .ToS ...Show All

  • Visual Studio 2008 (Pre-release) How to get an xbap to show on a website

    Hey all, I am brand new to WPF, I made this very cool WPF application that is an image viewer that is painted onto a 3D cube. But on one of my http servers it shows a 404 and on another it shows XML. How can I get it to show properly. Thanks Much, Dvl http://www.windowspresentationfoundation.com/wpf/cube/VictorsFirstWPF_1_0_0_1/VictorsFirstWPF.exe.manifest file is missing ...Show All

  • .NET Development Sounds and Beep

    Hi everyone, using C#....... How can I make Beeps in different ferquncis and generally how to run sound file from my pc please answer any one of two or the both thanks One way to play soundfiles are with the SoundPlayer class . ...Show All

  • SQL Server Replication and IP addresses

    I want to replicate between 2 servers not on the same network. One has to be addressed by IP. Currently replication does not support IPs - anyone have a workaround. Will this be resolved in the future Seems this is a pretty common scenario if your db is on a hosted site. -cg Please refer this thread n hope this will help you.I also did experience this issue b4 but i already solved that. :) http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1018513&SiteID=1 Best Regards, Hans ...Show All

  • Visual C# Strange null reference problem within enum?

    Hi All, We've been having a strange problem. Recently we have seen null pointer exception coming out from our code. The exception trace is dead simple: Message: The run has errored with description: Object reference not set to an instance of an object. Object reference not set to an instance of an object. ------------------------- User: Source: mscorlib Server stack trace: at System.Collections.Hashtable.get_Item(Object key) at WGP.Adapter.IntToPrataEnum(String prataCode, String val) at WGP.Adapter.Curve.BuildCurves(Double[] date, Int32[] instrument, String[] currencies) ... Anyway what really strange is that the code in IntToPrataEnum method is dead simple and straight forward. As far as I can see, I couldn't find a single ...Show All

  • Visual Studio Accessing Crystal reports without .net being installed

    Hi all, I have developed a windows application using vb.net which displays crystal reports. Now I have to run this .exe in another system which does not have .net installed. Is this possible ..If 's' what are the files that have to be exported to that system.... Please can anybody help me out .It's very urgent....... plzzzzzz....... Hi, No, its not possible. Every .Net application needs the .NetFramework to execute. I suggest creating a setup program ang embedding the framework in your installation. cheers, Paul June A. Domag ...Show All

  • Visual Studio Question about how to get the description of Namespace

    I want to get the description of Namespace,like MSDN,but i don't know which tags can function it,or how can do... Thanks, But if i need build my solution many times and every time i need to generate the document,use this method i must to modify my command xml file every time by hand,it's to hard,and if it exist an easy method ,or if the next version supply an auto-method,not hand by hand like this best regards ...Show All

  • SQL Server Get percentage with variation of field values (country names)

    Any help here would be greatly appreciated... Unfortunately, data wasn't filtered prior to getting inserted into this table. Now I am stuck with cleaning it up. I have thought about writing a query to update all the values, but there are just too many variations, including spelling mistakes, so I've ruled that out as a possible solution. I have a table which has a Country field but the values per record vary. For example US, U.S., USA, United States, UK, United Kingdom, Canada, Can, etc. I'm trying to find the percent of records per country. Sample table data: mytable Id  Name  Country 1  John     US 2  James  UK 3  Jane     United States 4  Mary  & ...Show All

©2008 Software Development Network