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

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

kbsreejith

Member List

SteveK1111
derekyeong
dhooger
rtaiss
ifaber
Robs Pierre
HemantKulkarni
MuscleHead
magicalclick
Jegant
Vjy
lachlanj
BAZOOKAMEGATRON
WolframW
Faraz_Ahmed
mingda
GoingGreyFast
Kosmo007
GNLuver
Haojun
Only Title

kbsreejith's Q&A profile

  • Windows Forms Datagrid "Focused Grey Box" problem?

      Hi Everyone, I have got 2 grids and they behave like master and detail grids. One grid lists all the order and 2nd one lists all the items for the Order. All the orders are filled in Top grid and when user click on different orders its items are shown. Now when user clicks on product on orderitem grid(below) and then clicks on other Order in Top Grid the orderitem grids leaves a focused cell(Grey Box) on the cell clicked. i have implemented the functionality of colouring the cells from this example http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnwinforms/html/wnf_CustDataGrid.asp I have temporarliy uploaded the screenshot at following location to get the clear picture. ...Show All

  • Visual C# __DATE__ equivalent

    I'm new to C# coming from a C background. I would simply like access to the build date of my application. In C, I could do this using the __DATE__ macro. How would I do this in Visual C# TIA JeffM OK, I was close... It is "days since 1/1/2000" -- this code will work: Assembly assem = Assembly .GetExecutingAssembly(); Version vers = assem.GetName().Version; DateTime buildDate = new DateTime (2000, 1, 1).AddDays(vers.Build).AddSeconds(vers.Revision * 2); Console .WriteLine(vers.ToString()); Console .WriteLine(buildDate.ToString()); ...Show All

  • Visual Studio 2008 (Pre-release) WCF hosting: NT Service X IIS?

    Hi Everybody! We are starting a new project for a high available web system and we are thinking about using WCF to provide the required services. Probably we will use server clusters in order to provide the required availability, but we don't know yet if the solution shall use 3 levels of clustering (web, application/business and database) or 2 (web/application and database) as it depends on the customer budget. I'd like to know which solution would be more suitable: hosting the WCF services as NT Services or within IIS. Could you help me regarding the pros/cons of using each one considering: 1 - How easy each one adapts to the clustering hardware solution 2- Performance 3 - Security ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Why are posts being ruthlessly deleted?

    This forum is strictly for discussion of Direct3D 10 issues ONLY . This is not a forum for DirectX 10 hardware questions, unless they relate directly to Direct3D 10 development. If you have questions about DirectX 10 hardware, please contact your local harware vendor. Microsoft does not manufacture DirectX 10 cards, nor do we speak for GPU companies. Sorry about being so ruthless about this, but this forum was created with a VERY narrow purpose. ...Show All

  • Smart Device Development Exchange data trough USB

    Hello, I've a pocketpc which is connected to a host pc via a Cradle with an USB-cable. Now a file from the Pocketpc has to be send to the host, or the host has to get a file from the pocket pc. How do I solve this I'am programming in Visual Basic Net, another language is also OK Thanks by advance Assuming you have Active Sync connection, you could use RAPI to access device file system from desktop. OpenNetf.org has managed wrapper. ...Show All

  • Windows Forms How to total up a column in datagridview?

    Hi, I have a datagridviewComboBox which specify the ProductName and after user choose the product, the Qty as well as Unit Price, the LineTotal will reflect the total amount for that row. I need to add up all the rows od LineTotal and put the total amount into a textbox. How can I go about doing this Thanks There are many places you could place this code, but in your case, where you're binding your DGV to a data table, try catching the ColumnChanged event of your data table (dt) - whenever the value of that column would change (goes for every row), this event will be triggered and the sum recalculated. Also, you need not to Dim result as new decimal. Instead, this would do: Dim result As Decimal = dt.Comput ...Show All

  • Windows Forms Vista UAC and ClickOnce Issues

    Hi, I am working on certifying our applications on Vista. I'm running Vista RC2 build 5744 and Visual Studio 2005 with SP1 Beta. The issue I have is that, as a certification requirement, applications have to be proven to install and run under a limited user account. I have no problem with that requirement in theory but in practise this seems to be a totally different matter given the tools available. I have done a lot of testing using ClickOnce publishing under different scenarios but there are some difficulties and inconsistencies. In the end I used a simple "smart client" windows application with just one form. Our deployment scenario would be similar. I tested different trust levels etc. Now this is what I found: ...Show All

  • .NET Development URGENT!!! PLEASE HELP... *whimpers*, Need Help With system.drawing and the color, brush and pen classes

    Hi i'm building a raytracing application in VB.Net 2005 EE, and my raytracing app does the following: Divide A View Window Into A 'Grid' 1 Pixel = 1 Cell/Square Builds Virtual 3D-SPACE Points On X Y Z Axis, And Adds Them To Lists Sends A Virtual 'Ray' Of Light Out Of The Grid's Cell Ray 'Bounces' Off Of The Objects From The 3D Points, Picks Up Red,Green & Blue Colour Values As It Goes Along When The Ray Returns To The View Window, The Colour Associated With The Cell, Then Becomes The Same As The Colour The Ray Now Has. The Process Is Repeated With Every Cell. The Challenge Is This: Drawing Pixels On The Image, To Match The Colour. As there is no pixel draw in the graphics base, you have to use the drawelli ...Show All

  • Visual Studio Express Editions warning C4244: '=' : conversion from 'double' to 'float', possible loss of data

    Hi, I'm having the following error: warning C4244: '=' : conversion from 'double' to 'float', possible loss of data in this code: float *in1 = inputs[0]; float *in2 = inputs[1]; float *out1 = outputs[0]; float *out2 = outputs[1]; float previous1 = *in1; float previous2 = *in2; while (--sampleFrames >= 0) { // filtering (*out1++) = (0.5 * *in1) + (0.5 * previous1); // here (*out2++) = (0.5 * *in1) + (0.5 * previous2); // and here previous1 = *in1; previous2 = *in2; } Why Many thx You have specifed the constants 0.5, which default to type double. To inform the compiler that they are floats, add the 'f' suffix like 0.5f ie: while (--sampleFrames >= 0) ...Show All

  • Visual Studio Express Editions database tables doesn't update

    Hi. I have few tables in my database and they don't want to update. I changed database property "copy to output directory" to copy if newer. Then after I'm inserting data in my database everything works but changes doesn't show in the tables. Below u can see part of my code, I'm using Insert, Fill and Update. I can compile program over and over again and changes stay but when I open "Show table data" everything is going back to beginning. What should I do Dim datasave1 As New MaintenanceDatabaseDataSetTableAdapters.EmployeeTableTableAdapter Private Sub Add_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click firstname = TextBox1.Text lastname = TextBox2. ...Show All

  • Smart Device Development Revisited - How to retrieve PPC phone number

    Hello, I am trying to retrieve the phone number of the a HP 6925 device running on the cingular network.  I have not been able to successfuly do this.  I have been succesful getting the device phone number on a HP 6500 running on the Rogers network in Canada. In this forum I found this class:  (which works great on Rogers networks - located below++) .  This is a guess but I think Rogers keeps the phone number in the SIM card, but cingular does not. Here is the question:  Is there a way to get the phone number on a HP 6925 device running on the cingular network public class Sim { private static long SERVICE_PROVIDER = 0x00006F46; [ StructLayout ( LayoutKind .Sequential)] priv ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. PlayerIndex?

    I need some help and explaining of PlayerIndex and how to use it. this is an example of what I want to do: "for (int i = 0; i < Players.Length; i++) { if (XInputHelper.GamePads[i\].APressed) { GamePad.SetVibration(i, 1.0f, 1.0f); } }" Players is an Array of all the player objects. I want to cycle all my players and start to rumble that specific controller, but I don't know how to easily transform the int i = 0 too PlayerIndex.One (i\ should be only i in brackets but this forum displays a light bulb if i write that) Cheers Alfons Hi, How about : foreach( PlayerIndex thePlayer in Players ) { if ( XInputHelper.GamePads[ thePlayer ].APressed ) { GamePad.SetVibra ...Show All

  • Commerce Server Purge Basket Error

    When I run the PurgeCommerceData utility program to clear out the inactive basket data I receive the following error message. We increased the CreditCardIdentifier from 40 to 60. I also checked to make sure that the OrderObjectMappings.xml was update to < Column Name =" CreditCardIdentifier " DataType =" nvarchar " Precision =" 60 " IsNullable =" true " /> I am not sure why I would still be receiving the following error. C:\Documents and Settings\lbaier\Desktop>D: D:\>cd program files D:\Program Files>cd microsoft commerce server 2007 D:\Program Files\Microsoft Commerce Server 2007>cd tools D:\Program Files\Microsoft Commerce Server 2007\ ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. joystick

    I am writing a game and attempting to enumerate the joysticks. Only problem is the program never goes into the EnumDevicesBySemanticsCB callback. Can anybody think of why it doesn't Here's the relevant code: enum xDIActions {  INPUT_MOVE_LR,  INPUT_MOVE_UD,  INPUT_MOVE_LEFT,  INPUT_MOVE_RIGHT,  INPUT_MOVE_UP,  INPUT_MOVE_DOWN,  INPUT_VIEW_LR,  INPUT_VIEW_UD,  INPUT_VIEW_LEFT,  INPUT_VIEW_RIGHT,  INPUT_VIEW_UP,  INPUT_VIEW_DOWN,  INPUT_KICK,  INPUT_GRAB,  INPUT_USE,  INPUT_JUMP,  INPUT_PAUSE,  INPUT_MENU, }; DIACTION xDIActionMap[] = {  { INPUT_MOVE_LR, DIAXIS_ARCADES_LATERAL,   0,      ...Show All

  • Visual C++ Fatal error C1083-ddraw.h not found while in VS 2005...help requested

    Hi, I have developed a Capture Filter (as a DLL) for capturing the screen activities. It requrires STRMBASE.LIB and a number of header files in C:\DX90SDK\Include and a bases class of directShow found in C:\DX90SDK\Samples\C++\DirectShow\BaseClasses.My whole project is in C# while the capture filter module is in C++. I am building in release mode and as a MixedPlatforms option. All worked fine while i was in VS 2003. Now, when i migrated to VS 2005, i am getting such an error saying "ddraw.h" is not found. How do i resolve this I tried including the "C:\DX90SDK\Include" directory in addition to the C:\DX90SDK\Samples\C++\DirectShow\BaseClasses directory and that lead to more errors. I am able to open streams.h which is ...Show All

©2008 Software Development Network