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

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

barkingdog

Member List

Rajesh Bharath
John1010
ranjith_radha
Rweasel6
SolveIt
Ed.S.
RICH525234
Kevin Rodgers
BhuttCrackSpackle
AboOmar
StarsFire
Abbasi
vtortola
PMA
cwest
Jing-ta
Zetabyte
Trevor E Hilder
Ian_E
duck thing
Only Title

barkingdog's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. No ID3DX10Line?

    I do not see any documentation for a D3D 10 version of ID3DXLine. Granted the DX9 ID3DXLine interface is a complete joke -- both in performance and quality, at least there is a way to get a few stylized lines in the 3D view. While games don't use stylized wireframe, this is a cornerstone for profession graphics packages (e.g., modelling and drafting). Current hardware supports accurately rendered, deterministic zbuffered, accelerated lines with widths up to 5 pixels wide. Common screen space dash patterns are sufficient for 90% of all display purposes. There are also several hidden line algorithms that only function correctly if the wide lines are rendered with correctly depth buffered Bressenham step patterns. Until Direct3D provides acce ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA Express - Windows XP Home Support?

    I've been looking around and trying to determine what version of Windows is needed to be able to install and run XNA Game Studio Express. My main question is whether or not it will work with Windows XP SP2 Home Edition. The FAQ just states Windows XP SP2 (as I've pasted below). I have in the past tried to install programs that say they work with Windows XP SP2 only to find that they really mean Windows XP SP2 Professional edition. They wouldn't work with Home edition. I'm assuming that it will work since it's an Express edition, just like all the other .NET language Express editions, but I just wanted to make sure. I don't want to have to upgrade my machine if I don't have to. (And please, no arguments about why I should upgrade to Pro. I ...Show All

  • Visual C# generics in constructors

    Hello, I have a question about generics in constructors. Assume I have two constructors, e.g.: public Constructor1(string param1, string param2) { ... } public Constructor2(T param1, string param2) { ... } This will compile without problems (by contrast, I'd get a compile error if I had "public Constructor2(string param1, string param2)" because there would be two constructors with "string, string"). However, if at runtime I call Constructor2 with the generic parameter as a string, I get runtime problems (because Constructor1 and Constructor2 cannot be distinguished). Does anyone know how to deal with this in a clean way I know that I could, for example, change Constructor2 to something like "Constructor2(T param1 ...Show All

  • SQL Server Calling Stored Procedure from SSIS

    Hi I am trying to call a stored procedure which akes 1 input param from SSIS. I am using Execute SQL Task->Expressions->"exec s_Staging '"+ @[User::tblName] +"'" @[User::tblName] is the variable with Data Type:String ,Value:My_table SQLStatement->Stored Procedure Name But It throws an error [Execute SQL Task] Error: Executing the query "exec s_Staging 'My_Table' " failed with the following error: "Incorrect syntax near 'My_Table' ". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly. What connection type are you using ...Show All

  • Visual Basic Overriding Enum members

    How can I override or overload Enum public methods e.g CompareTo or ToString There is a specific reason why I want to do it with enums... Enums make the process of defining a number of values form which a vraiable can assume one, a lot easier. In addition, the symbolic constants also increase clarity. Now, my problem is that I want symbolic constants with spaces in between them, like... Enum Sample Sample Text1=1 Sample Text2=2 Sample Text3=3 End Enum So, now can someone suggest me a way to do it with enums. (Now, it should be pretty clear why I wanted to override ToString, to return strings with spaces)... ...Show All

  • Visual Studio cant debug a stored procedure

    Hi guys am wondering why i cant debug a stored procedure from visual studio ! i followed instructions below(link) http://support.microsoft.com/default.aspx/kb/316549 in server explorer i select a stored procedure and right click but there is no "step into" menu item. i searched on the internet and some guys suggested that resetting user settings in VS but that did not help either. any ideas on this one please . Thanks for your advise. btw am using VS2005 standard edition and sql server 2005 standard edition Thanks Liz Your link very useful. I use standard edition so cant debug stored procedures ...Show All

  • SQL Server Schedule your own reports

    Can i in reporting services 200 create some application that loops through and generates the reporting services report and email to the recepiant I specify in the mini application. I do not want to schedule the job in reporting services as the person receiving the email will be different each time based on criteria. If anyone knows the syntax to generate a report and pass the parameters, email and format it would be much appreciated Lee, You can using the Reporting Service Web API or you can write .NET code to generate our report, connect with System.web.mail. to email it, and you can use the render of the response to give for different type whether it's HTML, EXCEL and etc... Here's ...Show All

  • .NET Development ignoring namespaces in xslt

    Hi all, I have an xml file that I am trying to run through XSLT, but the namespace on some of my source objects are causing the xslt to not find the node. Can't I tell xslt to ignore the namespace xml file snippet: <Shipping xmlns="http://soa.channeladvisor.com/webservices/"> <NameTitle>Mr.</NameTitle> <FirstName>John</FirstName> <LastName>Doe</LastName> </Shipping> xslt snippet: <xsl:value-of select="ShippingInfo/NameTitle" /> If I delete the namespace from the Shipping node, my xslt works fine. But of course I don't have control over the xml to remove the namespace in production. Thanks! This is a FAQ. In XPath unprefixed names be ...Show All

  • SQL Server Unable to install SQl Server 2005 SP2 - Unexpected error

    I am trying to install SQl Server 2005 SP2 but it was throwing an unexpected error when trying to install "setup support files". O/s: Windows Server 2003 SP1 Product: SQL Server 2005 Standard Edition Log file shows: +++++++++++++++++++ === Verbose logging started: 2/20/2007 16:05:42 Build type: SHIP UNICODE 3.01.4000.2435 Calling process: F:\SQL2005sp2\hotfix.exe === MSI (c) (74:68) [16:05:42:635]: Resetting cached policy values MSI (c) (74:68) [16:05:42:635]: Machine policy value 'Debug' is 0 MSI (c) (74:68) [16:05:42:635]: ******* RunEngine: ******* Product: C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\Cache\SQLSupport\x86\1033\SqlSupport.msi ******* Action: ******* CommandLine: ********** MSI ...Show All

  • Architecture Use serialized domain model entities as web service messages?

    I am wondering about the viability of using domain entity classes as the return types and method arguments in web services. The motivation is to avoid having to create a layer of data-transfer/message classes, and the mapping of domain objects to/from them. Technically it works - the IDE autogenerates the proxy classes and does all the serialization. But when you get into the particulars of the domain entity classes (their relationships with each other, aggratetions, exposed collectons, etc), I can see there being practical problems. This is done fairly commonly but it seriously compromises the principle of loose coupling because both the caller and the service must have the class definition to be able to ...Show All

  • Windows Forms Problems with PrintPreviewDialog

    I have the following code: try { printPreviewDialog.ShowDialog(); } catch (InvalidPrinterException e) { MessageBox.Show(e.Message); } When it runs on computer where no printers installed, I get error message as expected. But when user selects the same function second time, the following exception is shown: System.InvalidOperationException: Form that is already displayed modally cannot be displayed as a modal dialog box. Close the form before calling showDialog. printPreviewDialog is the same instance as in first call. I can solve this problem by disabling menu item, using another dialog instance or handling InvalidOperationException. But I want to know right way to do this - how to cancel running dialog, which is still active, ...Show All

  • SQL Server SQL 2005 Index Issue – General Network Error

    Info: CE.Net 4.2 CF 2 SQL Server 2005 First of all, sorry for the cross post but i need a quick answer on this. I am executing a CLR Stored Procedure from a Windows Mobile device and regularly get a general network error. The stored procedure cycles through up to 70 tables, checking for any records between two dates. The LastUpdate field is in each one of the 70 tables and is indexed. The mobile device regularly reports general network error, which is due to a timeout. Command timeout is now set to 10 minutes but the timeout still occurs. The stored procedure appears to get stuck on a particular table. If I rebuild the index on this table, it will get pas ...Show All

  • SQL Server Connection manager validation within UI

    Hi all, I need to validate a custom connection manager within its custom user interface, like the FlatFileConnectionManager does it, by showing errors and warnings at the bottom of the window. How can I do that since SSIS provides only a ConnectionManager object with the IDtsConnectionManagerUI::Initialize method, and this object doesn't contain any Validate method Note that for a custom data flow component, SSIS provides a ComponentMetaData object which supports a Validate method. Thanks. Pascal I can't call the Validate method of my custom connection manager because SSIS doesn't give me my object but a ConnectionManager which is not a ConnectionManagerBase type... ...Show All

  • SQL Server How to call proc on linked Oracle server

    Sorry if this is very stupid question, but i've spent too long searching for the answer: I have a linked Oracle server set up for RPC in SQL server 9 db. How do I call it I've tried this, but gives Unspecified error: " OLE DB provider "OraOLEDB.Oracle" for linked server "SANSORA1" returned message "Unspecified error". " From this: declare @UserName char ( 20 ) -- Current Username declare @Password varchar ( 20 ) -- Current Password declare @PasswordNew varchar ( 20 ) -- New Password declare @PasswordCfm varchar ( 20 ) -- Confirm New Password set @UserName = '900878' set @Password = '900878' set @PasswordNew = '777' set @Pa ...Show All

  • Visual Studio Tools for Office Exporting data from Crystal Report to Excel

    Hi,   I'm exporting data from Crystal Report to Excel. When I export I'm not able to see the borders, hence I'm using Excel namespace for showing border lines, the following is the code I'm using in the Web Application: using Excel; string workbookPath = "c:/SomeWorkBook.xls"; ExportOptions export = new ExportOptions(); DiskFileDestinationOptions ex = new DiskFileDestinationOptions(); ex.DiskFileName=workbookpath; export.DestinationOptions = ex; ReportDocument.Export(); Excel.Application excelApp = new Excel.ApplicationClass(); // Creates a new Excel Application excelApp.Visible = true ; // Makes Excel visible to the user. // The following code opens an existing workbook Excel.Workbook excelWorkbook = excelApp.Workbooks ...Show All

©2008 Software Development Network