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

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

Leahx

Member List

Harrympower
Orzes
sabmni745
xelax
Cory.Isakson
mig16
James. L.
Targe309404
Phan
Jessica Alba
Ranier
Kutlu Araslı
pompöös
nabeelfarid
Vidhya Sagar
M.N. Ahmed Sahib
huabing78
AndyL
deen
Samuel Martins
Only Title

Leahx's Q&A profile

  • SQL Server count problem

    Hi. I have a table containing two groups and a detail area. I want to add a counter near the second group area. It should start from 1 and increment by one as second group value changes.(1, 2, 3, ...) I tried to use count, countRows .... but they didn't work. I don't want to learn total count of group value. How can I do this In the group header, you can use a running value based on the CountDistinct function: =RunningValue(Fields!Id.Value, CountDistinct, Nothing) Explanation: The first argument in the running value should be identical to your grouping expression. The second argument specifies that the CountDistinct function should be used during the calculation. The third argument specifies tha ...Show All

  • Visual C++ About this Forum

    I read the heading of this forum, which says " General questions about Visual C++ 2005, including the development environment, libraries, setup, debugger , samples, and documentation." Seeing the word "debugger," I asked a couple questions about the VS2005 debugger, and they were both moved to a debugging forum.  In which case, I wonder why the word "debugger" is part of the description of this forum.  Anyway, the questions being moved wouldn't be so bad, except that nobody has answered my questions on the much lower traffic debugger forum.  The questions can be found here: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=658102&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=654161& ...Show All

  • SQL Server Merge synchronization does not synchronize the data

    Hi! I've the following replication topology: SrvA (Publisher/Distributor) -> (Transactional Publication/Push Synchronization) -> SrvB (Subscriber, Publisher/Distributor) -> (Merge Publication/Pull Synchronization via HTTPS for remote clients) -> Client (Anonymous Subscriber) To test synchronization with this tier I do the following: 1. Update data on SrvA 2. Push changes to SrvB (there are transactions that replicated) 3. Run RMO Merge Agent (.NET application) on Client and get messsage "No data needed to be merged", although there were changes made on publisher SrvA and SrvB I saw the thread where similar problem have been discussed ( http://forums.microsoft.com/TechNet/ShowPost.aspx PostID=664153&a ...Show All

  • Visual C# Debug vs. Unit Testing

    I was hoping to get some opinions about using the System.Diagnostics.Debug class instead of or in addition to NUnit unit testing. What do other developers favor more, Unit Testing or Debug Also what are your thoughts on using the Trace class with TraceListeners to implement logging of an application, say versus using a framework like log4Net Thanks. There is no way you can substitute unit testing for simple use of the Debug class (I'm assuming you mean use of Debug.Assert here ). This is useful for checking that you are in the right state within a class, but does not act as a test driver. You need to unit test to try and create the conditions that could cause your assertions to fail. I tend to use Debug.As ...Show All

  • Windows Forms Locating a program's installation folder

    I have an application that will be used by other applications installed on the client machine if the other applications see that my application is installed. Currently, during installation, my application places a value in the registry that points to the location of my application's executable. When another application wishes to run my application, it can look for this value to locate the executable. This method is all fine and good for now, but we're trying to minimize how much our applications write to the registry. I'm hoping to find a method by which another application could discover the installation folder of my application, perhaps through entries created by Windows Installer during the install process. Unfortunately, I have been un ...Show All

  • SQL Server DB2 Write Image to Blob field

    I need some help in SSIS Package I am trying to write a byte array to an image (blob) in DB2 destination. I am getting SQL code -290 Invalid Description, if i set the output column to a byte stream. If I set the output column to an Image data type then I get a different error the package will not at that time even process it errors out right away. At least using a byte stream datatype it errors out when it is about to write to the olebd destination. Anybody have success using BLOB fields in SSIS package data flow Thanks for any help. Are you using IBM DB2 .NET Data Provider If not, get it as part of the IBM DB2 Clinet from https://www14.software.ibm.com/webapp/iwm/web/preLogin.do lang=en_US&source=swg-d ...Show All

  • Visual Studio Language filter on earlier version of MS Document explorer ?

    Hi, I prefer earlier version of MS document explorer( which still ships with MS Platform SDK ) to MS document explorer 8. However language filter settings (am I right ) are not persistent and preserve default values after displaying each new page. I just want to set language filter once, and never use it again. Is it possible thanks Vilius It seems to me that the problem exists for every possible pair of URLs, however, since you ask, here are two: http://msdn2.microsoft.com/en-us/library/system.globalization.datetimeformatinfo.shortdatepattern.aspx and http://msdn2.microsoft.com/en-us/library/system.argumentnullexception.aspx Which I got to by clicking on one of the links on the first p ...Show All

  • Windows Forms Toolbar - Toolstrip

    I have coded in Visual Studio 2005 for a while. There is a "ToolStrip" component that allows buttons, text boxes, and more to be on one strip. I have to code an application in VS 2003. I tried to use the "ToolBar" but it only supports buttons. Is there a way to get it to have text boxes, combo boxes, etc Hi, Write some code like : TextBox tx = new TextBox(); Button btn = new Button(); ComboBox cmb = new ComboBox(); this .toolBar1.Controls.Add(tx); this .toolBar1.Controls.Add(btn); this .toolBar1.Controls.Add(cmb); Help this helps.Regards. Shin Ye ...Show All

  • Visual C# Numbering convention on drag and drop controls in IDE

    I have a situation where when a user creates a new Foo object using the default constructor, a name is automatically created for this Foo object internally. The purpose of the name is because this Foo object will be immediately added to an internal Dictionary, and the name that was created for it will end up becoming the key of the Dictionary, whereas the Foo object itself is the value. These names obviously have to be unique, otherwise they wouldn't be able to be added to the dictionary. Ok, now the first thing that came to my mind on how to solve this situation was being in a .NET IDE, and I drag and drop a new TextBox onto the form, the name that gets created for this textbox is "textbox1". Now, at first I figured ok, maybe it just a co ...Show All

  • Visual C# Added a .Net Reference, error message "the type or namespace cannot be found"

    Hi All, I am sorry to bother you all with a stupid question, but I installed a new custom .Net control. I then opened up one of the example projects and tried to compile. I am receiving the same message, "the type or namespace cannot be found". VS05 throws up an exclamation symbol next to the reference. I got the same problem, when I opened up a project of my own, added the reference and then added a couple of lines to use the new object. How does the build engine (compiler, linker, whatever) know about the location With VB6 the installation of a COM object and then registering the control is all that is needed. Do I need to do something different here Thanks in advance, Marci Weinberger Hi, ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA compiling problem

    Hi. I've just downloaded and installed XNA GSE. I've opened my first XNA Game aplication with Visual C# 2005 Express, but when i trycompiling it i get an error on line: " this.GameComponents.Add(this.graphics);" with following error message : "Microsoft.Xna.Framework.Components.NoSuitableGraphicsDeviceException was unhandled Message="The values used in the attempt to create the GraphicsDevice were invalid." I've read that it should get a blue screen when i compile a default XNA project with no other code in it, but that ain't happening. What could be the problem I haven't installed DirectX SDK yet...could that be it Thx for the help That is a DirectX 7 card that does not sup ...Show All

  • Visual C# how can I reverse the hexa code?(Right to left languages problem)

    this fuction help me to convert the arabic words to hexa .. and it doing the job 90% because it convert it in reverse   this means that the true hexa for example is (062F0645) but the function returns it like this (0645062F) and this makes each word come in reverse order   for example ... I love you becomes uoy evol I   how can fix that     public string ArabicHex( byte [] b) { string temp,s="",h=""; int i=0; while ((i <= b.GetUpperBound(0))) { temp= "00"+b .ToString("x2"); h = temp.Substring(temp.Length-2); if (h == "000D") { h = ""; } s = h + s; i += 1; } return s; }   thanks in advance ...Show All

  • Visual Studio Team System Unable to see information when user added to project administrator group

    I add three user to Builtin Project administrator group and try to loging with that user, i am not able to see any information of project and it give error that u not have enough permission on TFS. Then i made custom group and give all permission for project then everything goes fine. Can some one guide me what would be wrong It is not giving error when we connect to server or project with that user name. It allow user to connect but when we click on all workitem query it is does not show any workitems. when we try to add workitem through excel. At the time of publish in Issue it show "Access Denied" and in the screen at down it show user does not have sufficient permission to save w ...Show All

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

    I created an animation component, and it works fine on my computer, and on my friends computer, but he had compiled the source into a DLL. My question is, what would prevent a distributed dll from working in XNA Shouldn't I be able to just compile the source and hand the dll out to clients I know this is a broad question - but I'm sort of bewildered. "didn't work" - does really help us - is there an error/exception 99% of the time this is usually missing dependencies or assumptions about file paths for resources. Using filemon form http://www.sysinternals.com can help diagnose there as you can watch the files that it looks for and fails to find. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. By the numbers - why so big?

    My content, using JPG's, is roughly 14.4 MB. However, the XNB version is roughly 515 MB. About 38 times bigger than the original. Is this normal What steps do I need to take to reduce the size of this I'm just begining with my development but if I can't augment this behavior of the Framework I'll have to serverly strip down my game. Maybe, I'll have to replace Content<T> altogether ( ) My guess is that your JPGs are converted to a non-compressed format and that's just how big it is. JPG is a lossy compression format. They don't necessarily store pixels in a bit-array format (like BMP, TIFF, etc..). This allows JPG to save considerable amounts of memory. Textures on the other hand need to be accessed in a bit-a ...Show All

©2008 Software Development Network