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

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

Ragas

Member List

MaryNick
shade29450
sathupadikesavan
Carolina Gomes
crazy_foo
Stephen_Sbh
Henrik Dahl
duancg
Gravy
Troy Lundin
TimoWo
Anand Raman - MSFT
MNaveed
Prabu.
Sahus
Bhaskar Sarma
hrubesh
jneilb
Preston Park
ShikhaVaid
Only Title

Ragas's Q&A profile

  • .NET Development AppDomain.Unload doesn't unload all assemblies

    Hi! I'm creating a small service app that on a timed interval checks a database for program updates. I would, of course, like this app to take as little memory as possible. Since a loaded assembly can't be unloaded until the AppDomain is unloaded, I decided to create a second AppDomain and load a service-class, that exists in a separate assembly, in it, that checks the database. However, AppDomain.Unload doesn't free the memory/assemblies that the service class/assmebly required. When the service app is loaded, it requires about 9Mb of memory, which is good. When the service class is executing it peaks at 29Mb. But when I call AppDomain.Unload, it only goes down to 21Mb. I would expect it to go down to something near 9Mb, wouldn' ...Show All

  • Audio and Video Development XPath spec issue -- iHDSim/player compatibility

    Identifying the following issue took hours... for the XPath/spec gurus, any idea why I get this behavior Who's "to spec" and who isn't This works in iHDSim but crashes the Toshiba player (directly from your blog, Peter!): <cue begin="//button[state:focused() and count(//button[style:opacity()='1'])=0]" end="defaultNode()[state:focused()=false()]"> <set style:opacity="1"/> </cue> However, with this minor modification (or workaround, as the case may be) the player now works fine: <cue begin="//button[state:focused() and count( class('overlay') [style:opacity()='1'])=0]" end="defaultNode()[state:focused()=false()]"> <set style:opacity="1" ...Show All

  • Visual Basic Unsigned Arithmetic and overflows

    I've had this discussion before with unint64s. Setting what would normally be the sign bit causes an overflow. Now I'm seeing this in unint32s. Dim a As UInt32 = System.Drawing.Color.Black.ToArgb will cause and overflow. Dim a as Uint32 = now.ticks and &hFFFFFFFF will cause an overflow depending in the time. This should not be. What it means effectively is the UInt32 is actually UInt31. MOVL does not care about signed/unsigned. Exactly !!!!!!!!!!!!!!!!!!!! but the entire purpose of declaring a Uint32 is to have that exact same behavior. ...Show All

  • .NET Development VB.Net]How to draw an image with Graphics object on an MDI form

    I have a problem that when I draw an image, a string, a rectangle, etc. My form cannot be an MDI form. How can I draw on an MDI form directly. I tried somthing like: Dim g As Graphics g = Me .CreateGraphics g.DrawString("hello", Me .Font, Brushes.Blue, 100, 100) Please help me. I'm using VB.Net 2003, Framework 1.1 Eslam, If you will review my initial answer I point out that there is a difference in how we handle affecting the control.backgroundimage vs. the control.creategraphic (the last section of sample code) Why this difference exists I'm not sure... but it is very real.. To access the control background image you use the form's paint event [NOT the paint eve ...Show All

  • Smart Device Development SQL mobile 2005

    Hi There, I'm currently writing an application for a windows mobile 5 device which will store data in sql mobile 2005. I would like to know which would be the most efficient way of writing the following example to work with the above. (up until now all the code i have written has been in vb6 and connecting to an access database) Set db = DBEngine.OpenDatabase("location\database.mdb") ' strSQL = "SELECT * FROM Floats WHERE AgentName = '" & lblAgentName.Caption & "' AND Status = 0 " ' Set rs3 = db.OpenRecordset(strSQL) If rs3.RecordCount > 0 Then rs3.MoveLast lngRecordCount3 = rs3.RecordCount rs3.MoveFirst Else lngRecordCount3 = 0 End If ' If lngRecordCoun ...Show All

  • Smart Device Development Why the DataGrid's Scrollbar is not visible?

    I use DataGrid to display data.But when the data is too much.the DataGrid althought can display data .But it's srollbar is not visible. Why Please Someone tell me. It’s not possible to tell without your source code, but most likely it's either disabled or you don't have enough records/columns for it to show up. ...Show All

  • Visual Studio Express Editions Yeah another hotfix!!

    So I've run into my 3rd bug that requires a hotfix and yet again I have no way to get it. The support site doesn't list Visual Basic Express in the products so it won't let me contact support. I'm running into this bug http://support.microsoft.com/kb/915038/ . It says there is a hotfix, but as usual, Microsoft won't actually provide a way to download it. I'm hoping somebody here can help so that I don't have to pay to contact support about a known bug. Maybe someday Microsoft will just post the hotfix rather than have me jump through a bunch of hoops. some hotfixes are like this for various reasons. Phone them up and tell them the problem again, and if they ask to whip out your card tell them that i ...Show All

  • Microsoft ISV Community Center Forums A question on the ISV/Software Solutions competency customer reference requirements

    Could you please clarify the ISV/Software Solutions competency requirements for customer references The “Competency requirements” web page ( https://partner.microsoft.com/40012621 ) reads: “Submit at least three customer references for tested packaged software solutions. The solution must be a business application, deployed for a minimum of five users.” I have the following questions related to the quote above: Do the references have to be provided for the same software product that has undergone the ISV Testing Framework testing and received a Product ID from third party testing vendor If the answer to "1" is true, does this indeed limit the kind of software product to multi-user business applications If the answer to "1 ...Show All

  • SQL Server Checkbox

    Hi, In the reports tollbox there is no Checkbox control,In my report i want to add the checkboc control,How to add checkboc control to the toolbox. Please help me. Thanks in advance Hi, I tried in that way.I put one multivaled parameter that display all the available columns,Suppose i have the multivaled parameter named "columns" with values:Date,Empid,State.When user select date and Empid,Columns parameter returns the string in this format:'date,empid',then how we set the visibility property for the table columns based on this string.With this iam struggling. Please help me Thanks in advance ...Show All

  • SQL Server Copying database using "Copy Database"

    I am struggling with the "Copy Database Wizard" in SQL Server 2005. I am used to working with DTS to copy data from one server to another, but with the new tools, I am having serious problems (in fact, it's unusable) 1. When copying a database using the "SQL Management Object" method, I always get errors concerning logins. If I select not to copy logins, I get errors "sp_grantdbaccess failed". If I do select to copy logins, the logins can't be created because the machine names are different (one the source machine, the login is called MACHINE1/mylogin, but on the destination machine, such a login cannot be created) 2. For small databases, I ALWAYS get the error "CREATE DATABASE failed. Primary file must be at least 3 MB to accommodat ...Show All

  • Visual C# PostMessages in to different app using C#

    I want to send keystrokes to another application.  Here is what I've done so far, but it doesn't seem to work... private IntPtr GetWindowHandle( string appName) {     IntPtr windowHandle = IntPtr .Zero;     Process [] processes = Process .GetProcessesByName(appName);     if (processes.Length > 0)    {         windowHandle = processes[0].MainWindowHandle;     }     return windowHandle; } [ DllImport ( "user32.dll" )] private static extern bool PostMessage(     IntPtr hWnd, // handle to destination window     UI ...Show All

  • Visual C++ Structure Alignment/Packing issue

    I have developed a VC6 X application. In X application i am reading/ writing structures in the binary file. These files are used by Y application which is also developed in VC6. Untill now everything was working fine but as soon as i changed the order of struture members i have started getting junk values in Y application. I have changed the order in both the application but my X application is reading them properly from the file but my Y application fails to read from the same file. Can anyone tell me why is this happening. Any kind of help will be appreciated Thanks in advance einaros wrote: If that's your criteria, you will have "misalignment" no matter which padding y ...Show All

  • SQL Server SQL SP1 Failed - Failed to read registry key: PendingFileRenameOperations

    Hi, Im trying to installed SQL SP1 and I get 'cancelled' status on the Database Services product. If I open the SQL9_Hotfix_KB913090.log I see a bunch of 'Failed to read" errors. Im not very good at debugging SQL Logs, could you please assists me or tell me where to look 02/15/2007 15:09:58.436 ================================================================================ 02/15/2007 15:09:58.436 Hotfix package launched 02/15/2007 15:09:59.405 Product discovery successfully completed during the install process for MSSQLSERVER 02/15/2007 15:09:59.405 SP Level check successfully completed during the install process for MSSQLSERVER 02/15/2007 15:09:59.421 Product language check successfully completed during the install process ...Show All

  • .NET Development How can I get my asp.net application faster with .net CLR

    Hi gurus, how can I optimize any asp.net application's speed with the help of using CLR. What rules should follow to do that any articles or checklist is required Cheers Agha, Unfortunately there isnt a silver bullet that will help managed applications run faster. Performance Optimization is done on several levels, not just the CLR. Infact in my experience, 99% of the cases run fine with the default CLR settings. Is there a specific performance problem you are facing Here is a basic guide to some elementary ASP.NET perf tuning. http://samples.gotdotnet.com/quickstart/aspplus/doc/perftuning.aspx For GC/Memory tuning look up Maonis blog at http://blogs.msdn.com/maoni/ There is an interesti ...Show All

  • .NET Development Web Services - can only be used by other ASP.NET apps?

    Can web services made with VS 2005 and published to an IIS web server (with .NET 2.0) be used by web servers not running ASP code Rob. The reason I qualified the yes is that there are a few odd interop problems between .net and various different possible callers things like nullableDateTimes and arrays of complex objects can trip up certian callers. Most of them have work arounds though and with .net 2.0 a lot of these problems have gone away. As for SSL this is not a problem. Here is a good article about it: http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnnetsec/html/SecNetHT14.asp Also, here is an example of how to interop with java (as an example of a possilbe non . ...Show All

©2008 Software Development Network