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

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

Ligesh

Member List

Keith Hill
Naveeeen
adb123
Raymundo Chapa94595
RajeshPKumar
rebecca M
Steve Eichert
Qayed
RMeier0388
monkeynova
jianghongtu
Sébastien Nunes
ReevesEdward
shafiqm
RamiEmad
Frank V
Idanz
vsnetdeveloper
Yuhang
Sudhakar.hcitek
Only Title

Ligesh's Q&A profile

  • SQL Server MDX Performance Issue with TOPCOUNT Using Calculated/Derived by Time Specific Members

    I am new at The MDX game and need some help. I have the following MDX that executes a wee bit to slow when I specify one of the following members (See MDX below) [Measures].[Prio Shp Unt], [Measures].[Unit Variance], [Measures].[Prio Cst Ttl], [Measures].[Prio Awp Ttl], [Measures].[BM Variance] in the TOPCOUNT statement. I have arrived at the conclusion that the problem is because I speicfy a period at the member selection that is different to the period on my where clause. Now the problem is that both the periods are user driven and can be anything from current back for the last three years. In other words the users have the option to specify which two periods they want to compare. Also the TOPCOUNT measure is user driven and can be ...Show All

  • Visual C# Breakpoint on exit of function due to exception?

    I have been looking through code that some of my collegues have written, and I have found many instances in their code where they do the following: public void SomeFunction() { try { } catch(Exception ex) { throw ex; } } When I ask them why they've done this, they tell me that its because they want to be able to put a breakpoint on the line "throw ex", so they can see if a particular function is throwing an exception. The problem is that this code goes into production, and I know that try blocks have performance overhead. Is there anyway to put a conditional breakpoint in a method, perhaps on the closing brace, such that it only stops if the function is exited due to an uncaught exception ...Show All

  • .NET Development Getting machine name of remote machine

    Hej (Swedish) Does anyone know of a way of finding the machine name of a remote machine on the same subnet, given an IP and/or a DNS name I need to build a list of all the available machines on a network (single subnet). I can ping the subnet, and ask for a dns-name using IPHostEntry host = Dns.GetHostEntry(IP); but I need to get to the acutal machine (NetBIOS ) name instead of just the registered DNS names... I am no ace at network programming so mayby I am missing something very simple here Is there anything in the System.Net namespace that will allow you to query a remote machine directly (for the name that is) (I know there are certain security issues involved in using machine names and also a certain degree of trust/mistrust between ...Show All

  • Windows Forms Starting a .NET Application from .NET Windows Service

    Hi there, I have been trying to strart a bunch of instaces of an application (XYZ.exe targets framework v1.1) from a service (also ABC.exe targets framework v1.1). Using ProcessInfo ( e.g. System.Diagnostics.Process.Start(ProcessInfo pi or String file)) object. This works alright until the count is less than or equal to 24 but as soon as I try to start 25th process I get the following error in the event viewer: The description for Event ID ( 0 ) in Source ( .NET Runtime ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. The following information is part of the event: .NET Runtime version 1.1.4322.573- XYZ.exe - Common Language ...Show All

  • Visual C++ MFC ?

    Hai, To Create a time critical application, which method should i follow Using MFC in shared DLL or Using MFC in static library Can anyone help .. Thanks in advance. ...Show All

  • Visual Studio ItemAdded, ItemRemoved, and ItemRenamed events not firing when moving a file

    I'm working on VS 2005 add-in that needs to capture details as files are added to, removed from, or deleted from C# projects. I can successfully got ItemAdded, ItemRemoved, and ItemRenamed events when user added, removed or renamed files. But I found the problem. For example, I have for following files and folders in Solution Explorer: --Folder1 -- File1 --Folder2 -- File2 I selected "File2", drag it to "Folder1" and drop. No events I got !!! The same situation when I cut "File2" and paste in the "Folder1"! Can anybody advice me, how can I track events when file moved into another directory Please help! I filed a suggestion to the VS team ...Show All

  • Visual Studio VS as PHP editor

    I like to use VS as my editor for most things. I understand that VS does not have a specific mode for editing PHP files but is there a way for me to tell it to treat .php files the same way as .html files You may be interested by this thread: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=577845&SiteID=1 which was about registering a custom file extension to use the html language service. This will give you colorization, syntax highlighting, etc. You may also want to check out the editor topic FAQ that has information about this issue. It mentions: "Opening custom file types in Visual Studio requires that you associate the file's extension with an editor. This is done by setti ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Where do I buy the whole devkit for XBOX 360

    I am working as a leturer in a University, and my department would like to developing game for XBOX 360 ,it's all for teachings only. So I am asking what do we need to develop a XBOX 360 game, and how much will it cost Is there any beta devkit including the devBox Any clues Thanks  a lot. Game Studio Pro does not even exist at the moment, and no details have been released about it, what it will be capable of, or who it will be made available to. You may (or may not) have to be a registered developer with a proper dev kit - the FAQ originally stated that the pro version would be for registered developers only, although I'm not sure if it still does. Right now, having a dev kit and thus being a registered develo ...Show All

  • Smart Device Development "\\Storage Card\\" path name in China?

    Hi Is the "\\Storage Card\\" path name the same all over the world or does it differ depending on language If so how does one get the current Storage Card path in runtime without using .net Many thanks, Martin Malek FindFirstFlashCard/FindNextFlashCard should be fine. If your device has more than one storage card (or internal flash storage which also looks like a storage card) it would be enumerated. There’s no way for you to determine which one is which since they both look the same form software point of view. If you found more than one storage ask user which one to use or pick one at random assuming they both have enough space. Some devices can have more than one removable storage cards, e.g. Dell x50v has both SD and ...Show All

  • Windows Forms DataGridView date and time

    I am querying DB2 tables that have many date fields that store dates in the format MM/DD/YYYY . Example: 03/15/2006. The DataGridView displays these dates in the format MM/DD/YYYY HH:MM:SS AM (or PM). Example 3/15/2006 12:00:00 AM. In fact, the time is also always 12:00:00 AM (as you would expect, given that the source doesn't have a time). Following is the code: private System.Windows.Forms.DataGridView dataGridViewOutput; OdbcCommand odbcCommand = new OdbcCommand(sqlStatement, odbcConnection); OdbcDataReader odbcDataReader = odbcCommand.ExecuteReader(); DataTable dataTableTemp1 = odbcDataReader.GetSchemaTable(); DataTable dataTableTemp2 = new DataTable(); for (int i = 0; i &l ...Show All

  • .NET Development Add SSL WebService Reference to VS.NET Project

    When i try add web reference to ssl webservice. the error 403 appear . How can i add reference to SSL webservice the error print screen attached . This problem is known BUG in VS-2003. but you can used the workaround. 1. On the website change security configuration to to not require certificate. 2. add webreference to your project and change the security configuration on website again to require certificate. 3. You must download the WSE 2.0 SP1, if you haven’t already ( http://www.microsoft.com /downloads/ThankYou.aspx familyId=dab3ad9f-be8f-42e1 -95fe-9aae41a487f3&displayLang =en ), and add a reference to Microsoft.Web.Services2 in your project. and you need change your c ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Communicating with C++ DLL

    Hi, I am having some C++ code written that will create a triangulated model for me. I will be rendering this Model in managed DirectX , so I need to decide what is best way to communicate with this code. I will be using a Vertex and Index Buffer to render the model. The choices as I see are: 1) Use C++/CLI. Performance of the Model generation is of the utmost importance. As I understand it, with C++/CLI we can retain the power of native C++ but as the DLL ultimately created from the code will be managed, we can do what we want to communicate between assemblies. The author has no experience of C++/CLI, but may consider going this root. 2) Use Platform Invoke to communicate with a completely native ...Show All

  • SQL Server sqlmangr.exe program error (Please help)

    Whenever I run the sqlmangr.exe after the system reboot, the sqlmanagr.exe generated program error. "sqlmangr.exe has generated errors and will be closed by Windows. You need to restart the program." I am using MSDE 2000. The OS is Windows 2000. One thing I noticed is that sqlmangr.exe will not crash if I disconnect the system from the NETWORK. (By unplugging the network cable.) YOUR HELP IS APPRECIATED. hi yuner i found the problem you are having at least one sql server 2005 in your network with no transport protocols specified. your old client tools send udp broadcasts into the net and the sql server 2005 answers with a corrupt udp package (it answers with no protocols). Because your old client expect ...Show All

  • .NET Development Setter never called on serialized generic list?

    So here's a question that is challenging to me... I have a property in a "Web Service Friendly" class called WsfQuoteConfiguration. The property is exposed with this signature: public List < WsfCustomer > WsfCustomers { get { } set { } } The getter functions properly. However, the setter is never called. FYI, it's not a logic problem. When I changed the return type to WsfCustomer[], it functions properly. I understand and am fine with the fact that generic lists serialize to arrays, but why do I have a problem pushing a value back into that property So the question is not, "How do I fix ________ ", it is "Why is a setter that exposes a generic list never called " Than ...Show All

  • Smart Device Development [C# WM 5 CF 2.0] Incoming call manager

    Hi, I read that some events could be send when a incoming call/sms/e-mail froms the Microsoft.WindowsMobile.PocketOutlook.MessageInterception.MessageInterceptor for sms/e-mail and Microsoft.WindowsMobile.Status for incoming call. My question is what's happen : 1- For sms/email I intercept the message and I can choose if he goes in the Inbox or not Or i just see him passing and i can't do anything on it 2- For an incoming call, a event is raised, I catch it, and check the incomming phone number but can in overwrite the incoming call manager of the phone i.e dispaly my own" incoming call" box and be sure that the native "incoming call" box won't be raised Tks The windows mobile te ...Show All

©2008 Software Development Network