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

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

Maharjan

Member List

Interflex
Binu Jeesman
Ben Hall (UK)
SAADEDIN
poruchik_rzhevsky
Annihil8
jjakspaw
AdityaC
renz2k7
andrew17
Batikit
joejoe2079
Programmer Chang
HSBF Lewe
fatquack
Dave Gurr
champa
shmulik_segal
alumni
fibonacci1123
Only Title

Maharjan's Q&A profile

  • Community Chat DirectX in Internet Explorer

    I think it would be really cool if we could use Managed DirectX on a web page. Being able to leverage our skillset in DirectX on a web page seems like a logical next step. Anyone else agree Look into the Windows Presentation Foundation. Its not quite the same as what you're looking for, but its along the same lines. It allows you to develop much richer graphical apps that can run in the browser as well as on the client. -Reza ...Show All

  • .NET Development Webservices return object problem

    Hello. I have one problem with webservices and that problem is: I have one application 3-tier. In Data tier i have a class Address(example). In Business tier (exposed by webservices) I have two webservices that returns class Address. In Client or Interface Tier i have one module aspx that makes management of addresses. But in this class i only can import Webservice1.Address or Webservice2.address. But i want import only class Address, and not webservice1.address and webservice2.address (in client this 2 address classes are not the same). I could i do that Thank you. Antonio Dias I think you can't change the "update web reference" behaviour but you can ...Show All

  • Windows Forms Missing Icon in Add/Remove Programs for ClickOnce Application

    I am currently working on a ClickOnce application, and I noticed that a default icon is used instead of the actual application icon in the Add/Remove programs list. The icon displays correctly in the start menu. Is this a known limitation of ClickOnce applications, or can it be fixed Was there an answer on this I too would like to have a custom icon appear in the add remove programs while using click once. I don see where there was an answer regarding how to do this. These only seem to be a questions as to why one would want to do it. Can it be done I definitely would like to provide a custom icon in the add remove programs window. It helps with application identification, and it also looks ...Show All

  • SQL Server Using RMO (Merge) in Visual Studio 2003 (.NET 1.1)

    Hello, is there any way to use RMO in .NET 1.1 application Using "native" RMO is obviously unavailable (Microsoft.SqlServer.Replication namespace is not present in "add reference" dialog box in VS2003). I tried using ActiveX object (SqlMerge class v. 9.0 in sqlmergx.dll), but execution of Run() fails and "2.0 is not valid version" exception is thrown. For some reasons I must write application running in 1.1 Framework that allows synchronizing SQL 2005. And I mustn't use command line agent executable... Thanks in advance Kuba ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. ||| Collision |||

    how can I detect collision of complex 3d objects for example, on this "platform" http://img85.imageshack.us/img85/7749/newbitmapimageiq4.png help please!   Catalin Zima wrote: You might first do a BoundingSphere / Bounsing Box detection, and if collision is detected, you can then iterate through the list of triangles in the model and check for collision with each one of them.   1. can I iterate the list of triangles without bounding box / bounding sphere detection it will be hard for cpu 2. give me this code pls (triangles iteration and check for collision with each one of them)     ...Show All

  • SQL Server Reindexation

    I have a very large database, in wich the indexes are constantly "getting lost". I execute DBCC Reindex and everything goes back to normal. Still, I don't know why this happens. I have to run this process once or twice a week, sometimes as a scheduled task, some others manually. Why are the indexes 'getting lost' What could be wrong with the database Thanks in advance I'm deeply sorry for not being able to put this in other way. It's just that i do not understand what is happening, even less how to ask it or explain it... someone told me that "the indexes get corrupted". Still, I don't know what this means, or why... Thans again Eduardo ...Show All

  • SQL Server Calculated measure based on field in fact table that is not a measure in cube.

    I have several fields in the fact table that are not measures in a cube. In this case I have a OrderEntryDateId, WantDateId, and InvoicedDateId. If the order has not invoiced the InvoiceDateId is 0 (zero). My cube joins the fact table to the time dimension table on the wantDateId. The cube has measures for feet, dollars, pounds, material cost... I want to create a calculated measure called "Invoiced Dollars" that is based on iff(invoiceDateId>0;TotalDollars,0) however invoiceDateId is not a measure nor is it linked to time in this cube. Any ideas I already played with this a bit this afternoon and it is not what I need. I guess the best way to do this is to add a column to the ...Show All

  • Visual Studio Team System Cannot pass a GCHandle across AppDomains

    While working on my Automaton framework for build automaton with Team Foundation Server I've come upon this rather cryptic exception. It seems to happen only once in a while, something I'm able to do successfull requests without this exception. What I have is an .ashx which returns some HTML content to my .aspx, and the .ashx is called using Xml Http javascript call (AJAX). The error occurs when I try to read the .WorkItems property on an instance of the Changeset class. Full exception stack: [ArgumentException: Cannot pass a GCHandle across AppDomains. Parameter name: handle] System.Runtime.InteropServices.GCHandle.InternalCheckDomain(IntPtr handle) +0 System.Runtime.InteropServices.GCHandle.FromIntPtr(IntPtr value) +92 CPr ...Show All

  • Visual Studio Express Editions registration key, invalid e-mail

    hi! I'm trying to get a registration key after I downloaded Microsoft Visual Studio c# Express Edition, and it alway writes when I try to register Invalid e-mail, can someone help me thanks Check this thread, jluca777's solution seem to work for others. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=567005&SiteID=1 Found a solution. Goto profile.microsoft.com, signin and make sure all info is correct especially the email address. When the profile is successfully updated, try registering again. should work. ...Show All

  • Software Development for Windows Vista Hang with InvokePattern - Invoke

    Hi guys, I'm having a problem with the invoke functionality. I made a small test application which contains one button. The code in the click event is the following: Thread .Sleep(1000); MessageBox .Show( "MSGBOX1" , "MSGBOX1" ); Now from my other application that uses UIAutomation, I click the button with this code: InvokePattern ctrl_invokepattern = ( InvokePattern )control.GetCurrentPattern( InvokePattern .Pattern); ctrl_invokepattern.Invoke(); MessageBox .Show( "Hmmm it doesn't get here " , "MSGBOX2" ); The code to click the button works, but the 'Invoke()' functions DOESN'T return So when the next line would be: click the OK button on MSGBOX1, this doesn't work! I first have to manually click on the ok button of MSGBOX1 ...Show All

  • Visual Studio Team System Weird Compare Issue

    When I click the "Check-In" button on a TFS SCC project in the source control explorer I get a list if .vspscc and .vssscc file conflicts that occur. When I click on resolve and then click the compare button I get a pop-up window that has the notification icon, 2 buttons but no text at all. Not even on the buttons. What is going on here I installed TFS about 4 days ago. Cheers, Mark Regardless, the fact that it repros in both providers is interesting -- there's only so much shared code between them. Some things that might be helpful: - a screenshot showing the state of the resolve dialog(s) when the pop-up appears - a stack trace from a debugger at the time of the bug - configuring a 3rd-party di ...Show All

  • .NET Development Error is occuring while accessing object which was created in different appdomain

    I have created c# assembly to create COM add-in for Excel. Class A in this assembly get reference to excel(Excel.Application object type) object. My problem is that I have class B in same assembly and I am loading it in different app domain. While I load it in different app-domain i am passing excel as argument to constructor of class B. So any method in class B can use excel object. But now I found out that after 5 minutes of ideal session if any method try to access excel object it gives me following error System.Runtime.Remoting.RemotingException was unhandled by user code Message="Object '/dc79c4f3_02d7_4ff8_9225_9d7916e4f039/bmaba5wbpxtwirzqkkhapvkx_2.rem' has been disconnected or does not exist at the server." S ...Show All

  • .NET Development Add account into the Performance Counter Users Group or give admin rights?

    My user has non-admin rights; from remote machine launches an application; getting exceptions below. However, admin account has no problem. I have done that part: <configuration> <system.windows.forms jitDebugging="true" /> </configuration> it did not help me out. From link http://msdn.microsoft.com/netframework/programming/bcl/faq/SystemDiagnosticsProcessFAQ.aspx I found about Performance Counter Users. Do I need to add user into this group; in that case HOW How do I use the Process class under a non-admin account From Windows Server 2003, you will get an exception if you try to get process performance information under a non-admin account. The workaround is to add that account into the ...Show All

  • .NET Development Notification windows for certain times each day?

    Is it possible to have a window appear everyday telling me if someone is having a birthday or not and who it might be by querying the employee database One way to do this is to write an application that runs as a windows service. Inside this service, you create a loop that checks the database every 24 hours. Here's an article that describes how to create a windows service in .Net http://msdn.microsoft.com/msdnmag/issues/01/12/NETServ/ Here's information on the Thread.Sleep method you can use to wait 24 hours between calls to the database: http://msdn2.microsoft.com/en-us/library/274eh01d(VS.80).aspx ...Show All

  • Visual C++ Converting ColorDialog Selected Color to Hexidecimal

    How do I get the hexidecimal value of the color selected with the Color Dialog. I tried the ToArgb but its not giving me the proper color. When I choose red it gives me some dark color... Here's the code that I am trying... private : System::Void button41_Click(System::Object * sender, System::EventArgs * e) { ColorDialog *dlg = new ColorDialog(); if ( dlg->ShowDialog() == DialogResult::OK ) { int cl = dlg->Color::ToArgb(); String *temp = String::Concat(S"<html><body bgcolor=\"",cl.ToString(),"\"></body></html>"); FileStream* fsOutput = new FileStream (String::Concat(MyPath,"bgchange.htm"), FileMode::Create,FileAccess::Write); Stre ...Show All

©2008 Software Development Network