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

Software Development Network >> NP Rudra's Q&A profile

NP Rudra

Member List

yeos_lee
Andrew Buyan
kesim
Deza
Stormsys
osamaT
Speedy2000
HKT
nhaas
bpeikes
ximadyn
Jones Christopher
slimcode
Astericks
LuckyL
psling
Manoj G
John Freddy
spattewar
Clint_vbBoy
Only Title

NP Rudra's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. Math.Abs inner workings?

    I'm trying to decide how to structure my code based on Math.Abs function. Does it just flip the signed bit to make the number positive Or does it check for a negative value and if found, multiply the number by -1 Yes. Just to point out, though - implementing your own version of things like this is a bad idea. Computers (in general) do not use signed-magnitude representation of integers, they use 2s complement. Thus, flipping the sign bit doesn't actually produce a value with the same magnitude. Of course, you could be operating on a platform where that does work. The only way to ensure that your code works everywhere is to use operations that don't depend on the bit-representation of numbers. Either thing ...Show All

  • Visual Studio Problems loading August MSDN Library

    During the install of the August MSDN Library, my syste blue screened and rebooted. After coming back up I've attempted to restart the install, repair and remove the library and I always get the same error message: The wizard was interrupted before MSDN Library for Visual Studio 2005 could be completely installed. Your cmputer has not been modified. To complete installation, run setup again. Click Finish to exit the wizard and run setup again. How do I get past this so that I can complete the install Karl Jamie, I am glad your problem is resolved now. Thanks for providing steps that fixed your system. Please note that it is not necessary to have MSDN for VS 2005 and August 2005 insta ...Show All

  • SQL Server Send data to a network printer from a CLR trigger

    Hi, Does anyone know how to print from a CLR trigger Cheers James Hi, it really depends on what you want to print. If you want to create your own "report" from the CLR program you might want to use the http://msdn2.microsoft.com/en-us/library/system.drawing.printing.printdocument.aspx PrintDocument class for this. Otherwise, if you want to print some known file type like a acrobot you would have to use another method to print the data. HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • Software Development for Windows Vista Unable to install VS Extensions for .NET 3.0 , November 2006 CTP

    I have uninstall VS Standard Edition and then have installed VS Team Suite for Software Developers. When try install VS Extensions for .NET 3.0 , November 2006 CTP, the installation failed because valid VS version required. How to resolve this issue Here the list of installed VS products: Microsoft Visual Studio 2005 Version 8.0.50727.42 (RTM.050727-4200) Microsoft .NET Framework Version 2.0.50727 Installed Edition: Enterprise Microsoft Visual Basic 2005 77642-113-3000004-41884 Microsoft Visual Basic 2005 Microsoft Visual C# 2005 77642-113-3000004-41884 Microsoft Visual C# 2005 Microsoft Visual C++ 2005 77642-113-3000004-41884 Microso ...Show All

  • Visual C# foreach in C#

    Hi, I use C# in ASP.NET . 1. What is "foreach" and how can I use it 2.How can I have a collection of controls that are in a web page and use it bye foreach is a loop to iterate through some collection or arrays just like we do with for, do/while and while loops what foreach provides us is the safety of not getting out of range when iterating throgh some collection. The other things about foreach loop as compare to other loops is that it provides readonly access to objects accessed through it. When thinking about the proformance point of view foreach is not as good as other loops in its efficiency. I hope this will help. Best Regards, Rizwan aka RizwanSharp ...Show All

  • Visual Studio Team System Team Foundation - portal create failure - wsdl related?

    Hi - I have a Team Foundation environment that was upgraded from RC1 to RTM. Everything has been working flawlessly with the exception that I can no longer create new team projects. When I try to do so, I get an error when it tries to create the portal. I've looked at similar postings here but no solution so far. I have tracked the problem down to what appears to be maybe SOAP related. Specifically, I can browse to any of the .asmx files in the _vti_bin vdirectory under the default web site. But if I click on the description, I get back a 404 error. This only appears to happen for the vdirectories related to Sharepoint. I've traced this into the wswsdl.aspx file in the same directory and it appears to be throwing an exception when it tr ...Show All

  • Visual C# Naming a derived class

    I have a class derived from FileStream, that is actually just like it except that it has some extra functions (ReadInt16, ReadInt32, etc.). How should I name it best ...Show All

  • Software Development for Windows Vista Getting WLX_NOTIFICATION_INFO values like htoken and hdesktop

    Hi All, Since in VISTA winlogon notification is not there, I have written COM+ service which uses ISensLogon Interface to receive logon, logoff and startshell notification similar to winlogon notification in previous versions of windows. Earlier winlogon notification used to give WLX_NOTIFICATION_INFO structure pointer. But using ISensLogon interface i get only login username. Since I am creating a service(ie i am in system context) i am not finding ways to get "Handle to the user's token" and "Handle to the desktop that is currently active" which are part of WLX_NOTIFICATION_INFO structure. If any one knows please let me know how do i go about doing this. Thanks in advance -Praveen ...Show All

  • Software Development for Windows Vista Events not reaching Workflow...

    Very likely I am not doing it right but cant see the obvious. I used the "Communicating with the host application" lab exercise document as the base with some changes, I have host app (implemented as windows service) that, based on config, loads a couple of assemblies implementing certain local services. The app first registers an instance of ExternalDataExchangeService with the WF runtime which it then passes to the assemblies implementing local services. The assemblies then register instances of their respective local services with the external data exchange service. These satelite assemblies also expose remoting i/f which allows other app to deliver events to be routed to the workflow instances via the local service ...Show All

  • Windows Forms Master/Detail with subform

    Rather than have a master/detail based on a DataGridView (which only presents rows and columns), I would like to have a master/detail which is handled with a form and subform (with a Panel, GroupBox, or Form acting as the subform).  This way, I can position controls on the form and subform (corresponding to data columns)  in a non-tabular fashion . Assuming this can be done (and perhaps even if not), could a permo-FAQ be created that addresses this matter   In this forum, it seems reasonable to address this "other" common paradigm for handling master/detail. Hi,Mystagogue there is a sample in this download. http://www.windowsforms.net/Samples/download.aspx PageId=1&ItemId=220&tabindex=4 ...Show All

  • Architecture critique requested on thin Data Access Layer

    I have devised a way to save tons of code by calling stored procs with a single web service method, which takes a DataSet parameter, containing a DataTable with the name of the stored procedure and column names matching the parameter names, and row(0) contents matching the values to be passed. I have further simplified matters by making all parameters varchar, so a call from my client looks like: Dim paramVals As String() = { myString1, myString2 } Dim ds As DataSet = oneWsMethod("storedProcName", "param1,param2", paramVals) ... Dim params As String() = { this1String, thisOtherstring, thirdString } ds = oneWsMethod("anotherProc", "p1,p2,p3", params, usingTransaction:=True) My o ...Show All

  • SQL Server Conversion failed when converting the varchar value

    I keep receiving this error: Conversion failed when converting the varchar value 'INSERT INTO temp_tableZ (Customer_Category_Key, Item_Category_Key, Sales_Rep_Key, time_member_key, Revenue, Fiscal_Year ) select Customer_Category_Key, Item_Category_Key, Sales_Rep_Key, ' to data type int When running the code below. I believe the problem has something to do with the @time_member_key in the dynamically created SELECT statement. However, I don't understand the problem or how to fix it. Can anyone provide some advice thank you, Erik drop table temp_tableZ go create table temp_tableZ ( Customer_Category_Key INT NULL, Item_Category_Key INT NULL, Sales_Rep_Key INT NULL, Revenue money NULL, time_member_key ...Show All

  • .NET Development searching through an xml document

    I'm creating an application that needs to search through a large xml document for any text matching what the user has entered. Can anyone please tell me what would be the most efficient way to handle this as the xml file is fairly large (20mb) Many thanks I've decided just to use XmlText Reader as I don't need much functionallity. private void userSearch() { XmlTextReader xReader = new XmlTextReader("c://catalog.xml"); while (xReader.Read()) { if (txtSearch.Text == xReader.Value) { listBox1.Text = xReader.ReadOuterXml(); } } } No info from the xml file appears in my listbox though. I placed the xml file just inside the ...Show All

  • Windows Forms Open internal html file located in data directory with WebBrowser?

    Hi, I know you can set the home page in the WebBrowser property URL. However, what is the syntax to access an html file that is located in the data directory I am already using the following to access some pdf files: System.Deployment.Application.ApplicationDeployment.CurrentDeployment.DataDirectory + "\TestFile.pdf" Can you do this in the URL property or must you execute this elsewhere If not where would you use this and what would the syntax be Thanks very much, Daniel This is because, you are navigating, and you have implemented the navigated method, then within this, you are then re-navigating to a page, when then in turn raises this event once again because its navigated....in an endless ...Show All

  • .NET Development RemotingConfiguration.Configure not working

    Hi, I am new to .Net Remoting. I have created a SAO which returns a dataset. The client works when I hard code configuration settings. HttpClientChannel channel = new HttpClientChannel(); ChannelServices.RegisterChannel(channel, false); RemotingConfiguration.RegisterWellKnownClientType(typeof(DbConnect), @http://192.168.254.3:1234/DbConnect1); However, when I try to use configuration file it does not work. RemotingConfiguration.Configure("RemotingDemoClient.dll.config", true); RemotingDemoClient.dll.config contains: < xml version="1.0" encoding="utf-8" > <configuration> <system.runtime.remoting> <application> <client> <wellknown type="StepByStep3_1.DbCon ...Show All

©2008 Software Development Network