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

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

Fabiods

Member List

David d48701
Maryam
Willem Muller
Brian Konception
TrevorW
MarkG96
Shruti00
dev_bih
nowhereman1960
Sarosh79
tizza2k
Sal T
hendrikswa
KeithGWilliams
Hassan Ghaed
Brianedow
asalcedo
jamarnkin
Nick Gravelyn
MattinSpace
Only Title

Fabiods's Q&A profile

  • Visual Basic VB computing wrong value during execution

    I am receiving the wrong result when I perform the following computation using VB.NET 2005. MM = CDbl (LoCursr - 1) / CDbl (HiCursr) LoCursr and HiCursr are both dimensioned as Integers and have values of 85 and 87 and are passed into this subroutine as ByRef values. MM is a local variable declared as a double. If I execute this statement in the immediate window, I get the correct result of 0.96551724137931039 However, when this statement executes normally, I receive a result of 0.96551722288131714 which I also get if I execute Cdbl(Csng(84/87)) in the immediate Window. I've tried storing the LowCursr and HiCursor values in Doubles prior to doing the computation, but that did not correct the problem. Is there a se ...Show All

  • SQL Server sql express edition

    Hi I'm using sql express edition with vb express edition 2005 and when I try to run to program it is attached to the server goes down. I can refresh it an it will show that it is back up but I still can't save information to it. Can someone please email me and let me know if there is a setting I have to set to get it running when I run the program thank you Larry Hi, Could you post the error message!!! Or describe your question properly so that we can understand. You have wrote "server goes down" , means When you try to save information what error it gives Hemantgiri S. Goswami ...Show All

  • SQL Server Programmatic way to replace partition DSV Table bindings with Query Bindings

    I'm trying to programmatically replace all my partitions' DSV table bindings with query bindings. In the partitions manager, when creating a new partition that's restricted via a query binding, the wizard manages to pull a default query from the DSV definition. Is there a way to do this programmatically The closest thing I could find in the object model is the "Schema" property, but this isn't what I need. I am pretty sure anything you can do in XMLA is possible to do through AMO. The easiest way for you to figure out what classes and properties or methods to use is to use AMOBrowser sample application. It shows you the real hierachy of AMO objects. For instance, using that applica ...Show All

  • Smart Device Development Custom Owner-drawn ListView is flickering on update

    Using the OwnerDrawnListBox class (from gotdotnet.com) I've implimented a custom thumbnail viewing listbox (based around the FontListBox), the only problem is everytime it updates, the control flickers. I am creating the new graphic off-screen and then drawing it in place after and didn't think that it would be a problem, but sadly it is. Any suggestions would be appreciated. I haven't seen the code for this class, but I as a guess, make sure that the OnPaintBackground in overidden and nothing in it. Otherwise, you can use try version: http://www.opennetcf.org/PermaLink.aspx guid=d88b1a1a-a866-4247-a0c8-94ab3c124f63 The latest version is a part of SDF: http://www.opennetcf.org /sdf ...Show All

  • .NET Development Remote XML

    I have to post to a XML file on a web it requires updating the name of the file and only adding three elements how can I do this 1st way: Load XML file to XmlDocument. Perform required changes. Save document to different XML file (to change name). 2nd way: Write XSLT transform that does all of this. (XslCompiledTransform class) ...Show All

  • SQL Server What the hell is query parameter and why it's not working with a 0 or 1 or True or False entry for a boolean field?

    One of the fields that I want to filter is a True/ Flase Field, so in the DATA tab and in GRID PANE I am puting =@param1 in the filter box to see the results according to what is entered as a value for @param1, but it doesn't accept 0 or 1 or True or False as an entry for @param1. What the hell is wrong with it and how can I make it work OK, To view more on what I mean, and in general the problems that I have with working with QUERY PARAMETERS, go to: coosing more than 1 value in QUERY PARAMETERS Dialogue Box Thanks     ...Show All

  • SQL Server Performance hit using Compatibility?

    To your knowledge, is there any performance hit with SQL 2005 when you set a database to a lower compatibility mode. IE from 9.0 to 7.0 ...Show All

  • SQL Server The ALTER TABLE statement conflicted with the FOREIGN KEY constraint

    The ALTER TABLE statement conflicted with the FOREIGN KEY constraint "fk_Allergy". The conflict occurred in database "MSCPROJECT", table "dbo.Severity", column 'SeverityCode'. You did not ask a question. But, I suppose you want to know what this error means. It means that you are trying to alter the table in a way that violates referential integrity. If you really need to change the table in a way that does that, you will need to drop the foreign key relationship before you alter the table. What the database is doing here is enforcing referential integrity so that you don't get orphaned records as a result of your alteration. So, be careful and make sure the alteration is something that must occur ...Show All

  • Community Chat Interface device and control software

    I am developing an interface device that might be revolutionary. I have created a simple hardware prototype with an embedded processor to extract the data from the sensors and am having great difficulty getting the data into my PC for processing and analysis. I have done a lot of programming with assembly, C, and FORTRAN, but very little PC work. Moving up to the .NET and Windows environment is proving to be a significant challenge. Maybe if I describe my needs someone can tell me a way or help develop a roadmap to get there in a reasonable amount of time. My device will provide six integers representing acceleration in the six degrees of freedom (linear motion along X, Y and Z, and rotational motion about X, Y and Z). My ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. File Not Found, even though it exists!

    Hi I'm making an MMORPG in DirectX7 (NOT DirectX9, simply because DirectX7 is easier). I have made a 261-frame rendered intro sequence, and I have placed all these images into a DLL, which works fine and has absolutely no problems whatsoever. The problem is, when I extract the images to disk, then try and read them again in a surface loader, DirectDraw returns a File Not Found exception, even though the previous line of code tested the file's existence and found that it really did exist! Here's the code: Sub LoadIntro() Dim k Dim ddsd As DDSURFACEDESC2 ddsd.lFlags = CONST_DDSURFACEDESCFLAGS.DDSD_CAPS Or CONST_DDSURFACEDESCFLAGS.DDSD_HEIGHT Or CONST_DDSURFACEDESCFLAGS.DDSD_WIDTH ddsd.ddsCaps.lCaps = C ...Show All

  • SQL Server Looking for sqlrun_tools.msi

    Today my computer started doing something strange when trying to compile a setup&deployment project. This project doesn't contain anything related to sql server whatsoever. When i compile, it pops up a windows installer dialog that starts doing something. Eventually it asks me for my Sql Server 2005 Tools disc, specifically looking for sqlrun_tools.msi. I tried putting in the disc that i'm pretty sure it was installed from (my MSDN disc) but it told me that the sqlrun_tools.msi on that disc wasn't the right one. I have no idea why its asking me for this at this time, nor do i know to do to get it to stop. Thanks in advance for any help. I am having the same problem. Whenever I try and b ...Show All

  • Visual Studio E_NOINTERFACE when using CodeElements from command-line build

    Hi, I've written an AddIn that transforms source code before it is compiled, and it has worked for a year or so. Then I wanted it to be "command-line-safe", and implemented some checks that verifies in what environment it runs on and I think everything was ok with that code too. However, now when I run my add-in from the command-line (using devenve /solution /build) it is properly invoked, but when I have the statement foreach( CodeElement2 ce in ces ) { ... } (ces is a CodeElements reference) it generates an exception, saying that it cant find the CodeElements2-interface. I've checked the GUID and its there in the registry, and also, the code works fine when I run it from inside the IDE (build the solution from with ...Show All

  • Commerce Server Accessing Addresses in Total pipeline

    I'm trying to write a custom pipeline component, I've read all of Max's posts on everything I could possibly want to know about pipelines. I'm starting from the MinMaxShipping SDK example and am running into a problem. Basically what I want to do is assess at the Tax stage whether the billing address is in the same state, and if so apply a standard state tax rate to the entire order. I finally have been able to access an address ID, but the Addresses IDictionary (setup in the OrderPipelineMappings.xml) always has Count of 0. I had considered getting the address and putting it in the context, but the pipeline is being called from the BasketHelper.RunTotalPipeline() method and I am not certain (A) whether this method is doing anything else ...Show All

  • Visual Studio HTML Help Workshop versions

    I have not been able to successfully build the sandcastle samples. I believe that my problem is with my version of the MS HTML Help Workshop; in the hhw.exe's about dialog, my version is listed as 4.74.8702.0. I've downloaded the vesion 1.3 of the htmlhelp.exe installation file, but am prompted after installation that "This already has a newer version of HTML Help." in a dialog titled "HTML Help 1.31 Update". I've tried uninstalling my MS HTML Help Workshop before installing the v1.3, but I still end up in the same scenario. So, my question is: How do I get rid of this 4.74 version (dated from 2000), and get v1.3 installed Or, am i missing the boat with the versioning and the version I have is what I need t ...Show All

  • Visual C# DateTime.Today????

    I bind a label to DateTime.Today...and i thought it would just return 01/02/2006....but it adds the time too....what DateTime Function returns just that date value in that format or would i need to format it myself you could also use the ToString() overload to bring back the custom string format: this.theLabel.Text = DateTime.Now.ToString("yyyy/MM/dd"); http://msdn2.microsoft.com/en-us/library/zdtaw1bw.aspx http://msdn2.microsoft.com/en-us/library/8kb3ddd4.aspx ...Show All

©2008 Software Development Network