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

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

alka_mehta

Member List

Prashweenet
mike6271
arkiboys
senlance
DTHMTLGOD
Michaelo1
mahima
Simmy7
R.D.
Naolin
Spyder_Snyper
Zero_
Ian Cook
Kamii47
sniwas24x7
James Randle
drscape
ultra03
freadomfee
akin_l
Only Title

alka_mehta's Q&A profile

  • Windows Forms Drawing on[/underneath!] Controls

    Is it possible to draw a line as shown in the pic on a single form The line in the image is drawn on a second form which is transparent so form1 is visible. Try this instead: using System; using System.Drawing; using System.Windows.Forms; public class Line : Control { protected override CreateParams CreateParams { get { // Turn on the WS_EX_TRANSPARENT style CreateParams cp = base.CreateParams; cp.ExStyle |= 0x20; return cp; } } protected override void OnPaintBackground(PaintEventArgs pevent) { // Do *not* paint the background } protected override void OnPaint(PaintEventArgs e) { // Draw the line, just a demo here: e.Graphics.DrawLine(Pens.Black, 0, 0, this.Width, this.Heig ...Show All

  • Audio and Video Development VC-1 and PEP

    Given the promise of so many good things from MS's adoption of the VC-1 codec and the wonderful marketing campaign surrounding WMES , despite downloading all possible tools I still remain unable to do a simple operation : rejoin .wmv segments without glitches or artifacts showing in WM Player . I have heard a few people say that it is down to the player being unable to deal with the artifacts left behind during the splitting process, but I can see these problems even before the files are joined and whilst they are played individually. Can anyone help me solve this mistery Thanks to all in advance. Claudio Hello, Can I get some more info: What program encoded the WMV files What were the general settings you us ...Show All

  • Audio and Video Development How clockDivisor works?

    Hi, Can anyone explain how clockDivisor works in HDiSim Frankly speaking I cannot catch the idea :) Simple sample below is to display "OK" on the screen after 1s. timeBase is 60fps, clockDivisor is 120. When "OK" should appear After 1s, after 2s, after 5s... And why Thanks in advance < head > < timing clock =" page " clockDivisor =" 120 "> < cue begin =" 1s " select =" id('ok') " dur =" 5s "> < set style:visibility =" visible "/> </ cue > </ timing > < styling /> </ head > < body style:font =" file:///dvddisc/ADV_OBJ/font.ttf " > < p id =" ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Update frames for 2D animations

    Hi all, In my previous program (C# + MDX), I use the Timer in System.Windows to update the frames by using suitable time interval. Now I would like to change to use XNA. But I don't know whether the Timer class will be supported in XBox360. Therefore, I would like to ask whether there are better ways to show 2D animations. I have read the 2D animation in "HELP". But I would like to know whether there are any other approach. All the animations update the frames in the 'Update" function and therefore all the 2D animations update the frames in the same time. If the fps varies, the timing for refreshing the frames also varies. That's not what I want. Thank you very much Here you go. Just make s ...Show All

  • .NET Development Command Length for SqlCeCommand

    OS: Windows Mobile 5 DB: SQL Mobile 2005 Language:  C#  using VS2005 I am trying to make long INSERT statement using StringBuilder and then use ExecuteNonQuery to execute it. StringBuilder sql = new StringBuilder ( @"INSERT INTO myTable SELECT '" ); while (reader.Read()) { //Insert rows. for ( int j=0; j<reader.FieldCount; ++j ) if ( j+1 < reader.FieldCount) sql.Append( reader[j] + "','" ); else sql.Append(reader[j] + @"' UNION ALL SELECT '" ); } sql.Length-= 19; m_cmd.CommandText= sql.ToString(); m_cmd.ExecuteNonQuery(); Last statement fails if there command is "too" long. It does work if there are at most 4 rows t ...Show All

  • Software Development for Windows Vista Adding a custom service to sharepoint hosted workflow runtime

    I have a custom service that I would like to add to the sharepoint hosted workflow runtime. I don't see a corresponding configuration section in the web.config file of the sharepoint website. Does anyone know how I could do this Thanks! Tom, Thank you very much for your quick reply. It would be extraordinarily helpful if this restriction is added to the WSS/MOSS SDK documentation. I have seen many posts asking this question, albeit in round-about manner, with no answers. While I can appreciate the necessity to restrict certain aspects of functionality, whether it's due to time constraints, scope, functional behavior issues, persistence compatability, etc, I do think that participation in t ...Show All

  • Visual Basic Code to Convert numbers to time

    I hope I am in the correct forum it is my first posting I have a database which has three fields for Hours Minutes and seconds these are just numbers and have no relation to time. I need in a report,code that will convert the numbers to time and add the seconds to minutes and add the minutes to hours. Thanks Bartley What are you using to create the report. Crystal or something else... Are your values coming from a SQL Database or are they just variables in your application. ...Show All

  • SQL Server Reporting Services Count

    Hi All, I am trying to compare two dates: actual shipping date > promise shipping date. If the sctual shipping date is greater that the promised shipping date than count that order number if not than it is null. This is in the report designer in the "edit expression" =Count(iif(Fields!act_shp_dt.Value > Fields!prm_shp_dt.Value, Fields!ord_nbr.Value, "")) It is counting everything as true. Can anyone help me.   Thanks, Kerrie Kerrie - did this work for you - I am trying a very similar thing but when I use martins solution I get compilation errors. I have tried using a hidden field to show a 1 against exh record if condition is true  - then I try to do a simple count on this field but RS will only allow m ...Show All

  • Visual C++ Error messsage

    The version of SP is 20040803.231319. It has been suggested that I post my query in another forum. This I will do. Thanks for responses. Please post your question here - we do not know where you posted it already, so nobody here knows what your question is. -- SvenC ...Show All

  • .NET Development Rewriting elements of a web service SOAP body

    Web services I am building take XML arguments that conform to an industry standard schema, and I must transform it on the way in to enable internal extensions. It seems that one possible way to implement this is to leverage WSE 3.0 and construct a pipeline which, in addition to security-related things, transforms the appropriate XML into the desired internal structure. Another approach might be to write a SOAP router that does what is needed and then invokes an internal service. Does anyone have ideas about how this best should be accomplished I would prefer to avoid having developers have to force their XML to match my internal form ... it seems like I should be able to do this easily enough. Thanks you for any insights, Tom ...Show All

  • Visual C# Closing a form before opening another

    Hi, I am trying to develop a simple application. I have a login Screen and on successful login the main screen. Now when the login is a success, I want to close the login form and show the main form. P.S. 1. login form is the startup form 2. I do not want frmLogin.Hide() 3. when I try frmLogin.Close() before frmMain.Show()..flags error (I guess this is logically correct, but then whats the work around ) Please suggest the way in which i can accomplish this. Thanks in advance Sorry about taking a bit to get back to you on this... Now then... as you described it is not really possible without doing that work at a higher level or keeping frmLogin around in memory until your program quits. When you call Application.Run() as you see ...Show All

  • Visual Studio Team System Web analytics tool interfering with webtest execution

    Our product currently uses Instadia as a web analytics tool. When I run webtests, the call to Instadia is invoked just after the login. Unfortunately, the webtest does not recognize the call, resulting in the test failing. I don’t see anywhere in the test code where I can instruct the test to ignore the call. The use of the Fiddler tool doesn’t give me anything either. I’ve tried to configure a proxy server per the response recommendation to no avail. Has anyone else seen this interaction between webtests and a web tracking tool Here’s the call: http://se1.instadia.net/cgi-bin/gather 0d012r5&Trucks+Dealer+Portal+%3a+TDP+Dual+US+English+%3a+VTC&http://xnet.volvo.com/tdp/dual-us/en-du/home.htm&http://xnet. ...Show All

  • Audio and Video Development Unsetting an 'actioned' button

    Below is my js and markup. This is a basic button test with three states: normal, focused and selected/actioned. The test works, but I want a slightly different behavior. Right now when a button is pressed/selected, it stays actioned (in appearance) until I focus on another button. What I'd like is for the button to revert back to focused. I've tried setting it to that state in the js, immediately after I jump in the title, but what happens then is I never see the action state. I'd like the button to stay actioned for like a second. To give it that pushed look/animation. markup ##################### < xml version="1.0" > <root xml:lang="en" xmlns="http://www.dvdforum.org/2005/ihd" xmlns:style=&q ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. InvalidCallException in 3D primitives code attempt

    Hello, Lacking full examples in the docs, I threw together some of the sample code in the How to: Draw 3D Primitives section, probably incorrectly, and am getting an InvalidCallException on the following line: graphics.GraphicsDevice.DrawUserPrimitives<VertexPositionColor>(PrimitiveType.TriangleList, 12, nonIndexedCube); The details of the exception are not helpful. They say "External component has thrown an exception." My code is below, hopefully this forum formats it ok, without smiley faces etc. Any suggestions appreciated. By the way, I am using an ATI Radeon Mobility X600 and had no problems compiling and running the Spacewar demo. - Matteus using System; using System.Collections.Generic; using Microsoft.Xna.Framework ...Show All

  • SQL Server Format numbers on chart y axis

    Hi! How can I format number on chart's y axis I wanto to show 1.000 instead of 1000. Thank you! Set the format property on the y-axis tab of the chart properties dialog. More information about chart label formatting is available in the following whitepaper: http://msdn.microsoft.com/library/en-us/dnsql90/html/MoreSSRSCharts.asp frame=true#moressrscharts_topic3 -- Robert ...Show All

©2008 Software Development Network