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

Software Development Network >> Sanjaya Yapa's Q&A profile

Sanjaya Yapa

Member List

Burd
software tester
Matt Stum
MyName Dot
Gabriel Muñoz Luna
Max Noyeke
NURBY Nerd
James_Steven
bomberchia
mts2325
sianan
Nightmare_BE
search and deploy
logtorahul
Jules Dcoder
Dan-Teklynx
allpdoff
Alexandre Defalque
Willempie
Poma
Only Title

Sanjaya Yapa's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. Visual C++ Studio Compiler error

    Hi, I compile a C file with Visual Studio 8 with the C compiler flag. I seem to crash into a compile errors with the following lines of code: DXGI_SWAP_CHAIN_DESC sd; ID3D10Texture2D *pBackBuffer; D3D10_VIEWPORT vp; MSG msg; The error is "illegal use of this type as an expression" ... any help is appreciated. I can see that in the headers the struct and the typedef have the same name. I tried to change this to see if it makes a difference, but I can not remove the write protection from the header files ... see my other post. Maybe I should do something different now :-) Thanks for any help, - Wolf P.S: it works with a C99 compatible compiler :-) ...Show All

  • .NET Development request help with DLL on database machine & thin Client application

    Hello, Here is what I'm doing: 1. SQL Server 2005 database is created on machine using Transact-SQL (this includes dropping any previous files). This is created onto the Defaul instance (MSSQLSERVER). 2. a DLL (class library) is made in VB.NET using ADO.NET connection objects. The connection string looks like this: strConnection = "Data Source=.;Initial Catalog=" & dbName & ";Integrated Security=True" where "dbName" is "SQLdatabase1" 3. the Client application adds a Reference to this DLL and will run from the development machine. Here is the problem and the question: When I install the DLL onto the database machine, and I shut off the .MDF database on my developm ...Show All

  • Visual C++ Passing Managed Array to VC++ and Back

    I am having a bit of a frustrating problem. I am trying to pass an array of unsigned short to a c++ .dll which the dll will populate and return. I have tried to convert it to a managed dll, but I am still having issues. The debugger in the vb.net side( 2k5) is returning 'getMeasurement' has a return type that is not supported or parameter types that are no supported for the below highlighted statement Any help/advice is greatly appreciated! Here is the code I am using: vb 2005 code Public Shared usSampleBuffer() as UInt16 Public Shared iResult as Integer Public Property bReadingStatus() as Integer Get Return iResult End Get Set (ByVal iHold as Integer) ReDim usSampleBuffer(256000) Dim lRoutine as New RoutineDLL.cl ...Show All

  • Visual Basic List box Items..how do you refer to them?

    I wanted to refer to a specific listbox item....but how do you do that I tried using the same method as one would do with tabs, ex. Listbox1.Items.Item(1) Using an index number... but that didnt work apparently, I got an exception error... So how would I refer to the first item in a listbox, the second I cant use their specific name because I have code set to change the listbox items at user intervention... You are getting this error because the list box is empty, which means there is no item 0. You have to add an item to the list box using Listbox1.Items.Add -Scott ...Show All

  • SQL Server Can't see a New Data Driven Subscription link

    Hi: I have SSRS 2005 standard but can't see the New Data Driven Subscription link so I am not sure how to create it! Please help.. Thanks. ...Show All

  • Visual Studio Team System Comments not cleared after Unshelving changes

    The comment entered during the shelve process does not clear after the changes have been unshelved. I had to manually delete the comment but to find that it reappears the next day when I log back into TFS. Has anyone reported this issue Maggie Actually I liked it and thought it was a "feature". I was using it as a template because most of my comments in shelve follow a templated form. Also it is useful if I shelve various versions of my changes everyday because each shelve has same comments effectively. ...Show All

  • .NET Development Microsoft .NET Framework 3.0: x86 (KB928416) will not install.

    The following updates are already downloaded on my computer: --------------------------------------------------------------------------------------- Definition Update for Windows Defender - KB915597 (Definition 1.15.2321.2) Root Certificates Update Microsoft .NET Framework 3.0: x86 (KB928416) --------------------------------------------------------------------------------------- But they won't install. Everytime I try to install them my computer shuts down. And at night when I want to shut down my computer, it says on the screen that updates are going to be installed. I shut down the computer but it restarts, and the updates still aren't installed. I have -Windows XP -Service Pack 2 -Home Edition -Version 2002 ...Show All

  • Visual Studio Team System TFS Permissions

    I want to create a project group that has permissions to add users to contributors but can not start a build. Is there anyway to do this Besides what Matt said, another option is to: create an Active Directory security group and add that to contributors Give the user AD access to add members to this group Also give the user TFS access for starting a build That way, the user's only TFS permission is starting a build, but you've given them a mechanism (through AD) to add users to contributors. ...Show All

  • Software Development for Windows Vista TransactionScope & TSQL Transactions

    I was able to discover that if we use TransactionScope with a particular IsolationLevel (ReadCommitted, for example), all the child scopes need to use the same IsolationLevel, or else an ArgumentException will be thrown. Now the issue that keeps boggling me is what will happen if someone else (another developer on my team) writes a TSQL procedure with a different IsolationLevel, and this SPROC will be called from within my TransactionScope Will I still receive an ArgumentException, will the TransactionScope behave in some unexpected manner, or will TransactionScope behave as advertised (i.e. it will promote itself to a distributed transaction even if the IsolationLevel in the TSQL SPROC is set to something else, say SERIALIZE, for example) ...Show All

  • Visual Studio Team System Passing Context Parameters Into Custom Validation Rules

    I have created a context variable from an extraction rule called $Parm1. I have added a custom validation rule with a public property to pass in this parameter. I have tried passing $Parm1, {{$Parm1}}, {$Parm1}, etc. When debugging I only see the parameter string passed into the property and not the value. Is it possible to pass a variable into a property May I know why you want to pass the value to the property If the property is only used by the custom validation rule, then in function Validate(), you can use e.WebTest.Context[ParameterName] to get the value. ...Show All

  • SQL Server Report Startup Options

    Is there a way to stop a report from loading on open When we have reports with defaults set, the report loads on open. We would like it to wait until the "View Report" button is pressed. I had thought I could set a hidden parameter that would be set to false originally and then to true once the View Report button is pressed. I cannot see where I could custom code an event to update this parameter. SQL Server 2005 Thanks! Brian ...Show All

  • SQL Server import OpenSSL certificate with private key into sql server 2005 express edtion

    hey, i have a problem, to import a self signed openssl certificate into the sql server 2005. my final idea is to get encrypted columns from the database over an jdbc connection in a java client. when i use a certificate generated by the sql server 2005, i can encryt columns of a table. then i catch the the result in my java client. but in java, i need a keystore with the private key of the certificate. ok. i have export the the certificate and the private key of the sql server 2005. problem: in a keystore i can only import the certificate (signed public key) but not the private key. my new idea is to import an openssl certificate or an certificate generated by the keytool (java) into the sql server 2005 and encypt t ...Show All

  • SQL Server 2005 transactional replication statement delivery

    Hi There WHen creating publciations under 2005 i saw a very interesting option under stament delivery, for inserts , updates , deletes there is an option that simply says insert/update/delete statement. I could find very little in BOL about this under " Article Properties ", is this what it soudns like FOr example if you say : update Table set Cloumn = 'whatever', this will not trigger the update sp for each row at the subscriber , will it actually deliver the update statements and literally do the update/insert/delete statement at the subscriber Thanx Hi Dietz, Change delivery method to "SQL" won't help the performance as replication will still deliver the changes r ...Show All

  • Visual C++ What does the ^ refer to in 'System::Drawing::Image ^'???

    What does the ^ refer to in String^, Image^, etc. Is it a pointer operator Please don't say XOR, unless if it is XOR, in which case please explain it's operation in the above contexts. Thanks. Hi, that is a new punctuator introduced in the new managed c++ (or c++/cli) language and it represents a handle to a managed object. Although it may appear similar to pointers in conventional c++, these handles are different from regular pointers. ...Show All

  • .NET Development How to handle a "stored function" ?

    I handled a "stored function" like a "stored procedure" and got the exception: "The request for procedure 'XY' failed because 'XY' is a function object." Can someone provide me example code how to handle "stored functions" HI, Or if your function returns a table as a result the you can use it like a normal table: SELECT * FROM dbo.MyFunction() cheers, Paul June A. Domag ...Show All

©2008 Software Development Network