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

Software Development Network >> .net sukbir's Q&A profile

.net sukbir

Member List

exal
Grayson Peddie
Socrates Kapetaneas
cygnusx
Mario Montes
svxtc
Santhosh Pallikara
HMariana
Hi_i_am_Amit
Ray Z. Yang
Hummer
Cameron D
ahmedilyas
Toby Broom
Ceex
GSK_phili
golfdude54
NURBY Nerd
pgems
Leo Diao
Only Title

.net sukbir's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. Keyboard/Mouse Input under XNA Framework

    From my reading, my understanding is that XNA Framework will use XINPUT. By design, XINPUT handles game controllers specifically and does not address keyboards, mice, or other HID devices. AFAIAA, current guidance given for DirectInput to XINPUT transition on the Windows platform is to handle keyboard and mouse input via traditional Windows messages or System.Windows.Forms events. However, we are now being advised that cross-platform application implementations built on XNA Framework will need to refrain from referencing the System.Windows.Forms namespace, and that ideally our application window will be managed by GraphicsComponent. Furthermore, on the 360, there would likely not be any Windows message stream from which to handle input fro ...Show All

  • Visual C++ Clock

    How would I code a live simple 12 hour format clock that keeps up with my system's clock on my program with "hours, minutes, and seconds" on a status strip on the bottom right http://www.codersource.net/mfc_working_with_timers.html That's an article on using timers. WM_TIMER is probably what you want to type into your search engine for more info, if you need it http://msdn.microsoft.com/library/default.asp url=/library/en-us/vclib/html/_CRT_localtime.asp This MSDN article shows you how to format the system time into a string. You need a slight modification of the code in the second link ( to remove the date part ) to run inside a timer event, and then to assign that string to your status bar. ...Show All

  • Windows Live Developer Forums Adding a local.live map to a web page.

    Hello First I would like to say I am clueless when it comes to code but I have a question. I am a scale model railroad enthusist and I started a map documenting the travels of an Nscale box car that is being sent from member to member on our website. We were wanting to if possiable put the map of its travels on our webpage. What I have read I believe it is possiable to do it but I dont have a clue and the webmaster asked me if I could find out. Here is the map http://local.live.com/default.aspx v=2&cp=41.508577~-86.088867&style=r&lvl=4&tilt=-90&dir=0&alt=-1000&cid=3C9A3DE13EAE41C7!102 We want to put it up on a page here. www.scalerailsonline.com a free model railroad site. Is there an easy way ...Show All

  • Windows Forms Working with a MDI and ToolBar

    This app uses the Main form TAMain as container for several small windows with specific functionality, for instance, one interface withe the user for adding and maintaining Item Details, another for Users, another for Products, a so. Mi problem is that I got a main ToolBar set on the right of the screen that's the one that open such an such windows and makes sure no two windows are open at the same time. For instance, once the Items window open I'm settin the enable propperti of that particular button to false and all other buttons; since each window is open as a Dialog Window, the user won't be able to use any othe window but the activa dialog and its controls, I'm usign theregular : ItemDescription ProductsWindow = new ItemDescr ...Show All

  • Visual Studio Getting Parameter Values - Need Perspective

    Have several server reports (RDLs, not RDLCs) that use report parameters (text boxes, dropdowns, etc). Is it possible to view these reports in web pages using the report viewer control and use the report parameters as they were originally intended From what I've experienced so far, reports behave as if parameter data was not entered. I've tried to extract parameter values, but only know how to find the parameter metadata. Do I need to hide the report parameters and substitute them with visible web controls instead I know how to programmatically set the report parameters, just don't know the best, if not the only way to extract user input. Thanks for the plug for your book. However, as it might be in ...Show All

  • Visual Studio Urgent - The application failed to initialize properly - 0xc0000005

    4 hours ago while working in Visual Studio 2005 with C# something must have happened to the .Net Framework installation. The last thing I did was deleting a bunch of files from the open solution after which the computer/Visual Studio appeared to work much slower than before. The compiled program did not run anymore instead I just get a dialog box "The application failed to initialize properly - 0xc0000005" which i can only confirm with "OK" and have to do twice to dismiss the close the application. Now no .Net program does run anymore, even a fresh ConsoleApplication with an empty Main function crashes the same way. The error dialog comes up even before the console window opens. No other programs seem to be affected, ...Show All

  • SQL Server AVG function on an integer column- truncation

    When I use the AVG Function on an integer column, the result is truncated Example: Select AVG(field1) from table1 Field1 is an int field and has 4 rows with the values 114,115,115 and 115. This will return 114. I can get the correct result by using the following SELECT: SELECT CAST(AVG(CAST (field1 as decimal(18,1)))+ .5 as int) from table1 Am I missing something here Is there an simpler way to do this Any help will be appreciated. Steve D. You are correct on the problem, but I am certain you can do it a little easier. Try this example: DECLARE @v_test TABLE ( [num] INT ) INSERT INTO @v_test VALUES ( 1 ) INSERT INTO @v_test VALUES ( 2 ) INSERT ...Show All

  • Visual Studio 2008 (Pre-release) Peer Channel Chat Sample - Not working for me

    Hey guys, I've been searching the forums but haven't found any answer. Here's the deal, I have .NET 3.0 on my laptop, and I installed the WCF samples. I can successfully build and run the Peer Channel Chat application, however, when I send a message, it does not send to the other clients. :( So it's not working... what do I have to do to get it to work I did not change any of the code. What are the necessary steps needed to take before I can get this specific sample to run I noticed the links to the "One time setup for WCF samples", but all those steps were for IIS hosted services over http. This app is tcp only, if I have read the code correctly. So what is needed to get just this sample to run I installed it on my wo ...Show All

  • Visual Studio 2008 (Pre-release) Communication between applications in same machine.

    Hi, I have a requirement to pass massages between windows applications developed on .NET 3.0, deployed on the same machine. The requirements are 1. 2 way communication between the applications. App # 1 should pass a message to App # 2 and in return App # 1 should get back response. 2. App # 2 should send a message back to the caller App (in this case App # 1). I was considering System.Diagnostics and win32 ShellExec. But recently i came across WCF. I was wondering if any one tried their hands in WCF for interprocess communication. Can some one please let me know if WCF is a good fit for my requirement and also, if there are any samples to demostrate it, please let me know. Note: I am planning to use WPF to develop the win ...Show All

  • SQL Server Mirroring problem between pcs in different location

    I am facing this problem here. Well , I did setup mirroring in LAN successfully (using certificates). Then I try to implement the same method for WAN. Here's the info : Principal : location A (111.222.333.444,1234:5022) Mirror : location B (444.555.666.777:5022) Witness : location A (111.222.333.444,5678:5022) For the mirror side, I didn't put any firewall settings at all; and both principal n witness , i did open the specific port for mirroring endpoint n sql. However, when I start mirroring , it shows 'The server network address "TCP://444.555.666:5022" can not be reached or does not exist. Check the network address name and that the ports for the local and remote endpoints are operational. (Microsoft SQL Se ...Show All

  • Visual Studio Team System How can I deploy only the stored procedures have been check-in on Source control?

    My database project have been create from existing database by import shema database. I put my database project under source control. I check put a stored procedure to modify something but I have not yet check in the stored. After that, I built the project and deploy(with update option) back into the existing database . Oh my God, I saw the changes in the stored(have not yet check in on source control) have been update into the database, why is the stored have not been check in but It is deploye into database How can I deploy only the stored procedures have been check-in on Source control Is there any way to do that In general if you have objects in your project that you do not want to deploy, you sho ...Show All

  • Visual Studio Express Editions Trouble with TAB control

    I am trying to write an app for work and want to have a similar interface for contact details as used within Outlook, but I can't seem to get the tab control to resize with the form that its on. Could anyone please tell me what Im not doing to make this work. Thanks Try the following: Drag a TabControl onto your form At the top of the Properties window, ensure the newly created TabControl is selected in the ComboBox In the Properties window, change Anchor to Top, Bottom, Left, Right The TabControl will now resize with the form. ...Show All

  • Software Development for Windows Vista Can the WMAsfWriter be configured to Append to an existing .wmv file?

    Hello, I'm trying to determine whether it's possible for the WMAsfWriter filter can open an output file in "append mode" so that the graph output is added to the end of the existing file rather than overwriting it. The WMAsfWriter filter implements the IFileSinkFilter2 interface, which includes a SetMode() method, but based on the documentation, it only supports overwrite mode. Any tips or tricks for effecting an "append" mode within DS would be greatly appreciated. Thanks! MMCompton AFAIK, no. There is a wmvappend sample in the WM Format SDK but that requires two separate files (created using the same profile). ...Show All

  • Visual Basic The value violates the MaxLength limit of this column

    pleas help me vs.net2005 i have textbox that binding to dataset table1.name my database in sqlserver 2000,my lenght name= 100 and nchar but i update sqldataadapter e error ecord The value violates the MaxLength limit of this column. please help me what error happen my lenght is 50 and my input 20 my database lenght is 100 but my input char is 20 but this error happend please help me Try deleting some of the space to the right of the value in the field, then modify the field. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Redistributing XNA executables

    I have a question is the result of the Release build folder (bin\Release) sufficient if I want to distribute an XNA appplication to another computer. The folder contains an XNAFramework.dll, but the other computer doesn't have XNA Framework installed. Is there an XNA redist executable What other dll's should I include. I tried as it is, (with only the xnaFramework.dll) but it doesn't seem to work please help I've had a little luck with including the dlls in: < .\Program Files\Microsoft XNA\XNA Game Studio Express\v1.0\References\Windows\x86\ >, namely, Microsoft.Xna.Framework.Design.dll and Microsoft.Xna.Framework.Game.dll and their corresponding .xml files ( Microsoft.Xna.Framework.dll ...Show All

©2008 Software Development Network