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

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

asiaindian

Member List

SenthilNathan
HedleySohn
Ceres629
cbpd86
Tao Lin
dotNET Dev
Skyler Fowler
ntsoo
swanwang
Sébastien Nunes
Gurpreet Singh Gill
hte
HariAdu
Auris
MgManoj
quantumboy
tass_flint
jason duncan
Sujithf
aditi shah
Only Title

asiaindian's Q&A profile

  • Software Development for Windows Vista Vista and com+ / MTS

    In Vista how does one find the Com+ console so I can manage com+ installed objects. Sorry if the answer was posted previous but i could not find it. Thanks, 1) Start->Run type "mmc" 2) File Menu -> Add/Remove Snap-in... 3)In Available Snaps-ins scroll down and select (Add) Component Services. 4) Click OK ...Show All

  • Windows Forms How to get pixel color from the screen?

    Hi,, I'm new to C# and I'd like to create a "Eyedropper" tool e.g. I want to be able to pick a color from anywhere on the screen, based on cursor's position. I found couple examples using "gdi32.dll" for VB (for example: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=74273&SiteID=1 ) but I wasn't able to transform the code to C#. Can anyone help me with this please thanks a lot wyktor maybe this would be of some help http://www.bobpowell.net/eyedropper.htm Thread moved to the appropriate forum ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. How to import a 3d Model in XNA framework?

    Can anyone explain me howto import a 3d model in an XNA project In which format I have to export my model from 3ds max 7 Hi, thanks for posting this converter. Now, I don't like to look a gift horse in the mouth and all that, but would it be possible for you to post this as source I understand if you are restricted by work or such but you will appreciate we have to be very careful about downloading .exe files and such. cheers, Joc ...Show All

  • Visual C# using .Net Framework 2 with .Net 2003 IDE

    Hi I'm writnig a C# project that needs to use a serial port (COM). I've been looking for examples and I've found an example that uses System.IO.SerialPort but it only exists in .Net framework 2. I downloaded .Net framework 2 and I tried to reference System.dll instead of the default one, but i got an error message. Can i use .Net framework 2 with .Net 2003 IDE If i can will I be able to keep working with my older projects (framework 1.4) If not is there another solution to work with a serial port(COM) btw, i can't upgrade to .Net 2005 IDE. Thanks in advance for any answer. I've used this and have been happy with it, although I did have to change a little of the exception handling: http://msd ...Show All

  • Smart Device Development Modifying Power Button Event

    Hi, This may sound wierd, but I've seen it done before, so I know it's possible. I would like to have something running (a console based program running in the background on Windows CE) that does it's own thing, but when the user presses the Power Button, it doesn't actually stop everything and go into suspend, but instead just turns the screen off (which I know how to do) and doesn't suspend. Does anyone know the way I can disable the power button sending hte suspend event and capture the power button key (VK_OFF) event to run my own code I can't seem to find anywhere how to capture a keypress event WITHOUT using a graphic window program. As my application runs in the background, I don't see the need for a windowed application. Cheer ...Show All

  • Windows Forms Change publish path by ClickOnce?

    Hello, Can I change the publish path by ClickOnce application. For example I want install my ClickOnce application into C:\Programs\MyApp\ or on share ( W:\Share1\MyApp ). Is this possible Thanks for any Answers. Regards, simon You mean the firm with 2000 employees and about 200 application will change policy because I have a problem with ClickOnce installation :) Forget it! I hope the administrator can change this installing path. But how simon ...Show All

  • Software Development for Windows Vista Cant install games in Vista RC1 (5600)

    Sorry guys. Not sure where else to put this. I need some help with installing software under windows Vista RC1 (build 5600) The games I have tried installing are Age Of Empires III and CivCity: Rome. Both get most of the way through the install before getting the following error: "Internal Error: 2350" Both games get the same error. From what i've read online this seems to be an error with windows installer itself relating to the installer being out of date and needing an upgrade. Obviously this isn't the case as Vista would have the latest windows installer version included. This is now proving very frustrating... Especially as i can't seem to install XP (the main board supplied drivers wont install) on my bran ...Show All

  • .NET Development Binary serialization to NetworkStream doesn't work from remote computer

    Hello, My problem is that the following code works fine when the client and server application are on the same computer, but fails, if they are on separate ones. The thing seems going well until the 'Deserialize()' call. During debugging I see the client's IPEndPoint is correct, the NetStream's members look ok. Than at 'formatter.Deserialize(netStream);' call it simply dies. Not throwing exceptions, not exiting the application (especially this message-receiving is running in a separate thread, it can be that this thread exits only, but no error message at all...), but if I put a breakpoint on the next row, it never reaches it. So here comes the code: Socket connectedSock = null; connectedSock = recSock.Accept(); IPEndPoint client = (IPEnd ...Show All

  • Windows Forms Has anyone made a native DirectX bootstrapper package yet?

    I'm looking for something to help deploy native DirectX that will simply download and install DirectX if it needs it. I was hoping someone had a bootstrapper package that would do just that. The managed one I've seen floating around doesn't download it on the fly, and is specifically for Managed DirectX. Any points in the right direction would be appreciated. Many thanks, Taylor I don't know of one, but if you put one together (say using Bootstrapper Manifest Generator: http://www.gotdotnet.com/Workspaces/Workspace.aspx id=ddb4f08c-7d7c-4f44-a009-ea19fc812545 ) , you can post it at: http://www.gotdotnet.com/Workspaces/Workspace.aspx id=7e8e8cbd-b447-4a9d-a984-9379d1a0c190 ...Show All

  • Visual Studio 2008 (Pre-release) Setting Window.Icon to Vista 256x256 PNG icon causes a FileFormatException

    If I set the Icon property to a Vista icon, I get a FileFormatException stating that the image format is unrecognized. If I try the same thing with an old Windows XP icon (without PNG compressed images) it works correctly. I simply cannot believe that WPF doesn't support Vista icons. Asbjorn When you save the icon file with a 256x256x32 size picture without PNG-compressing the picture, WPF seems to be able to cope with it. For example in Axialis Icon Studio you can rightclick the icon and disable the PNG-compression. I reckon there are other tools to do the same thing out there somewhere. ...Show All

  • Windows Forms Use Selected Property

    I added a row to the DGV. What are the commands for moving Focus to the new row If I want to move focus to another row in the DGV what must I do I'm using vb.net primarily and I also know C#. Hi In the case of editing a cell, this will make a selection but will not focus (ie. put the cursor) on /in the cell for editing. I cannot find a .focus() method on the Cell object. It would be nice if there was one. Is there a way to set focus on a cell for editing programmatically Thanks ...Show All

  • .NET Development .NET remoting - Updating main thread from a Backround worker thread...!

    Hi, Problem: I could not get the values of the remoting objects worker thread from the client application. The remotable object is actually a windows service. I have a client application with a statusbar, the statusbar has the timer event to show the status color in it based on some dynamic conditions. A windows service is running on the remote machine which internally calls a worker thread to process some pendingwork items. I access the windows service functions using client-activated remoting object. I could get all the functionalites of the remote object. The worker thread will be alive for ever to monitor the pending tasks. When there are background(pending) work I am updating a property bool varible in the main thread to ...Show All

  • SQL Server stripping decimal data from an nvarchar value...

    I have a table that contains an nvarchar column of data. The data is actually a monetary value; sometimes with a decimal point sometimes without. My problem is that I need to strip the decimal portion of the string if it exists. From a select statement I can use: SUBSTRING ( DW_OBP_ORD_TMP_IC . VALUE , 1 , LEN ( VALUE )-( LEN ( VALUE )- CHARINDEX ( '.' , DW_OBP_ORD_TMP_IC . VALUE ) if a decimal point exists. But if one does not the CharIndex comes back 0 and my equation does not work correctly. I need to pull the data from the table, along with many other fields. How do I do this without using a cursor I have millions of rows so need a solution that will be quick. thanks in advance, Marilyn ...Show All

  • SQL Server Train mining model - more info

    hi, I newly Installed my SQL 2005.When I try to train my Model its giving me " Key not valid for use in specified state. " Can anyone help me how to figure it out Thanks, Karthik hi yimin, i'm still facing the same problem.The scenario is like this when i rename the registry and restart the machine its working. I am using an assembly(clr sp).i am adding that assembly in analysis service. the code in that assembly is like this public static AdomdReader executePrediction( int iStudId ) { Microsoft.AnalysisServices.AdomdServer. AdomdCommand cmd = new Microsoft.AnalysisServices.AdomdServer. AdomdCommand (); cmd.CommandText = "SELECT ContractPerformanceModels.testPredict(StudID,(select $ti ...Show All

  • SQL Server Analysis Services

    How can you process multiple Analysis Services databases against the same SQL Server database without receiving table locks and the processing fails. ...Show All

©2008 Software Development Network