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

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

narasiman_jayachandran_2b5374

Member List

Test1234525
GEORGE ROBINSON
redcode
vanu
Computer Guy69146
Baris ERGUN
Dietz
Timmy
maheshkg
CharlieRussell
Diango
xtw
robhare
Kaliko
bishoycom
kaborka
Pinkpanther_120
dvidal
Adriaan W
eax
Only Title

narasiman_jayachandran_2b5374's Q&A profile

  • Visual Studio Team System Brain dead rules...

    I'm sure you guys don't think about issues that are so obvious nobody would every write code that way. I've found out recently that there is a lot of bad code out there that could be easily caught in FxCop. In any case please consider adding the following rules to FxCop. I've written them myself and found too many violations to count. Anyway here we go. 1) Don't call ToString() on a String. I've found that some developers put .ToString() on the end of almost everything. This only catches part of the problem but is a good start. 2) Use Type.FullName instead of Type.ToString(). This is still the developer problem of always putting ToString() on the end of everything. I've also found that this finds a bunch of problems where the code is ...Show All

  • Visual C++ Native C++ Or C++.Net2005!!!???

    Common Guys, I Did Many Test, And Always The Rersult Tell Me That Native C++ More Faster Than C++.Net.How Is This Plz Tell Me, Does This Is True Well, if you just read the documentation on the .net framework you would understand why. C++/CLI gets compiled to ILASM. This is like java, where it is compiled partially to lower level but platform independent code. When it is run then it needs to be compiled from the ILASM to native binary code. On top of this there is runtime type checking, the garbage collection (automatic memory management), reflection, security and a lot more running on the code. Native code however is compiled from source to native binary code. It has minimal checking on it with only standard windows secur ...Show All

  • SQL Server SQLDependency Disconnects for Web application

    Hi, On my ASP.NET 2.0 application and SQL 2005 database server, i am using SQLDependency API to recieve notifications on the dataset changes from SQL 2005 server. I get the notification sucessfully (irrelevant of number of attempts). So here's the problem, i wait for 3-4 mins and make sure that there is no activity on my web server. Now if the data changes the service broker fires the event (i validated through trace). But the notification is never received by my web application. It gets lost in between. I read about this 'Abrupt client disconnects' problem in the article http://blogs.msdn.com/remusrusanu/archive/2006/06/17/635608.aspx but this didn't help much. Also i sometimes see following messages in the profiler <qnev:QNEv ...Show All

  • SQL Server Drillthrough with Return clause

    I am trying to perform a drillthrough with the return clause so that i can get the member keys. when the performing the drillthrough, i get the followin message: Errors from the SQL query module: The 'dim peiod' table either does not exist in the 'Dm GL' schema (or cube.), or the user does not have the necessary permissions to access it. I've dumbed down the query as much as possible i think - and it works fine without the return.... drillthrough maxrows 10 select {[measures].[amount]} on 0, {[dim acct].[account]} on 1 from [dm gl] return [dim peiod].[month] thanks much, sully I think the combination of the spelling and the missing "$" might ...Show All

  • .NET Development Which validator should I use?

    I have an array that is populated dynamically. It contains integers. I also have a dropdownlist. How do I make sure that the item that users select does not equal to any of the values in the array ie. each item in dropdownlist has value and text, with value containing an integer. I don't want users to pick the item whose value is any of the integer in the array. I tried using the comparevalidator but the valuetocompare is a fixed value, I can't assign it the array. any suggestions I think you should use Custom Validator and inside the client validation function, you have to implement this logic ! Also you didn't point out whether this array is server side or just a client side, however if it's ...Show All

  • Visual Studio 2008 (Pre-release) vs 2005 express an march orcas

    I am a bit confused with the downloads and maybe someone can help I am running vista and I have VS2005 C# Express and Blend. In order to develop xaml apps between express and blend what do I need to download As far as I can see I need the march orcas but that also points me to a batch of other downloads and do I need the VS extensions as well  Do I also need virtual pc thank you for any assistance thank you again Rob I think that having orcas and VS installed would cause an issue when you create a trigger event in Blend - it would surely pick up VS rather than orcas or indeed it may get confused thanks for the help ...Show All

  • Visual C++ vector::resize doesnt throw exception when allocation fails

    I had a vector which initially had zero size and when I tried to resize, it was returning normally though when I checked the size, it hadnt increased. I stepped through the code in the debugger and found the allocate function that resize uses internally was returning a null reference but no exception was being thrown. This was causing an access violation later. Any ideas if this is a bug in STL Thanks, KarthiKR   rKarthik wrote: Thanks einaros Happy to be of service  Sorry about the bad news, though. ...Show All

  • Microsoft ISV Community Center Forums Code for end of month activity submission in an activity system

    Hi there - can anyone help with my syntax - when a user presses the submit command button i want the date that they have entered into an unbound drop down date field called 'dls' to be inserted into a field called 'datelastsubmitted' into 'tblusers' and it should enter it against the appropriate user who is logged in (this logged in users are stored in a global variable called 'loginname'). Her is my syntax: Private Sub submit_Click() Dim sql As String dls = Me!dls Dim rsdbase As Database Dim rstemp As Recordset Set rsdbase = CurrentDb Set rstemp = rsdbase.OpenRecordset("INSERT INTO tblusers[datelastsubmitted] VALUES dls WHERE tblusers[loginname] = '" & loginname & "'") DoCmd.RunSQL sql End Sub ...Show All

  • Smart Device Development Application start fails on NETCF 1.0 SP3

    Hi, I have a big application for NETCF 1.0 SP3. Sometimes the app. fails when starting - without errors or Exceptions - simply the form disappears and this can occurs on different step of start (initialization) logic !!! Any ideas for the possible reason Regards Tihomir Ignatov Are you capable of stepping through the code until the crash occurs Can you comment out parts that use P/Invoke and see if it still happens Sounds like your condition is also memory-related, i.e. it won't occur unless memory is tight and something gets overwritten becase of heap reallocations. Check that you properly pin memory passed down to the native code ...Show All

  • .NET Development Can a Windows Service Return any value

    I am new to dotnet, but for our requirement we need Windows Service returns value. If possible send the details and example in C#. You should use some method of Inter Process Communication between your client application and the windows service. .....following some IPC methods: -MSMQ -Named pipes -Sockets -File mapping -Even simple files may be an option sometimes -Registry -Memory mapped files -Database -Windows messages -Remoting(as Micky said in his post) You may consider using xml web service instead of windows service of course. In this case the communication implementation effort is minimal(assuming you are using Visual Studio) ...Show All

  • Visual Studio Team System ics

    In windows server 2003 SP1, there is no ICS tab in the dial-up connection's advanced tab. I saw the option in win 2003 without SP, Can u tell me why This forum is to discuss TFS install issues hence it is unlikely you'll get answers. You might want to try windows server newsgroups at http://www.microsoft.com/technet/community/en-us/windowsserver/default.mspx . BTW, you might want to check if this site answers your question: http://www.microsoft.com/technet/prodtechnol/windowsserver2003/technologies/security/ws03mngd/33_s3ics.mspx ...Show All

  • SharePoint Products and Technologies MySite masterpage

    Hi All, On MOSS2007: I'm trying to change the default masterpage for mySites. I tried to edit the default.aspx in the 12/templates/sitetemplates/spspers folder, but I can't seem to let it point to another master ... as soon as I change the masterfile path, the page breaks. Any ideas on what's the best approach to link up my mySites with a custom masterpage Fred Hi, Well, I use a custom masterpage on the rest of the portal, so I'dlike to use that one. But if that doesn't work, customizing the default would be ok too ... if it affects only the mysites that is .. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Commercial Game Development like Age of Empires or Rise of Nations!

    Dear reader, Thank you for your interest in this thread. I am a software developer and own a meduim sized company but I basically concentrate on Application Programming and Web Development on .Net framework. My knowledge regarding Game Development is limited. But I now have been given the opportunity to develop a game on the above lines for the Windows OS. And this chance could be a really good one for my firm. I wanted to know if a commercial game on the lines of Age of Empires can be fully developed using Directx Sdk. Is this possible By what we read about XNA Express and future XNA Professional the code written on Directx SDK can be migrated to XNA. Obviously XNA Express will not allow a developer to develop a commercial ...Show All

  • Visual Studio Team System Import rolemembers

    I just imported a database into a Database project. Directly after importing I did a compare with the same database. One would expect this would result in no differences, but there were some. The difference is that for roles which have a role member, this role member is not imported. When comparing schema's, the following code is shown in the target object pane (database) while the bold part is missing from the source object pane (project). CREATE ROLE [aspnet_Membership_BasicAccess] AUTHORIZATION [dbo] GO EXEC sp_addrolemember N 'aspnet_Membership_BasicAccess' , N 'aspnet_Membership_FullAccess' GO If I do a update, the role members are dropped. This is not what I want. In trying to fix this, I added ...Show All

  • Commerce Server Error 8624

    We are experiencing a catalog search failure when trying to return the contents of an entire catalog catagory that contains more than 12,000 rows. This appears to be rooted in some dynamically generated SQL code. Here is part of what the Event Viewer is showing me when the error occurs: Exception information: Exception type: CatalogDatabaseException Exception message: Category search failed. Request information: Request URL: http://training.carpetone.com/CarpetOne/Templates/Misc/SearchResults.aspx NRMODE=Published&NRNODEGUID={1C4BBD4E-1A73-4A5F-AE39-32E7505C48F0}&NRORIGINALURL=/Search%2520Results searchType=ProductCatg&catg=Carpet&NRCACHEHINT=NoModifyGuest&catg=Carpet&searchType=ProductCatg I then turn ...Show All

©2008 Software Development Network