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

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

bluexx

Member List

Darrin Turner
Tomas Galvez
KervyChoa
IamWasim
Brett Metcalfe
chamsoft
RayDMS
dtlinker
jvinsky
Dwatney
JohnTMSDN
Jos Verlinde
MAyotte
Niksta
Paul Stringer
MathiasR
Jon Abbott
Ted.
clintsinger
PavanKumar
Only Title

bluexx's Q&A profile

  • SQL Server version problem

    This error message is correct. Is there a way round this problem The backup of the system database on device D:\msdb.backup cannot be restored because it was created by a different version of the server (134218488) than this server (134217922). RESTORE DATABASE is terminating abnormally. Thanks in advance for any help. You can't take a higher version (18488-sp3) backup and try to restore it to a lower version system (17922-rtm). You have to bring your system to at least the same version as the backup or higher (sp4 is recommended) before you can restore. ...Show All

  • Windows Forms How to Click a Button in another Application Programmatically in C#?

    I would like to invoke the button click event from one application to another application. Is there any to way to trigger the other application events from the main application. Please help. Thanks in advance. Hi Figo Fei, I am trying to ue the same concept you have given for invoking an exe (AppB) which is not visible.(For App B , Notify icon is present in system tray). In AppB in certain conditions, only the notify icon is present, the main window is not visible. In this case, how do is send a message to AppB i tried but it is not invoking the AppB function. Thanks Pradeep ...Show All

  • Windows Forms Listing filenames in a combobox

    How can I populate a combobox with filenames matching a specified wildcard pattern found in a given directory You can write some thing like string [] filename= Directory .GetFiles( @"C:\Windows" , "*.exe" ); comboBox1.DataSource = filename;   ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. End users shouldn't have to rewrite XNA math functions in order to improve performance.

    The overhead of passing a 64 byte Matrix by value is significant. Most especially when you are comparing two matrices for equivalency (==), or performing a Vector*Matrix multiplication (Vector3.Transform(Matrix)). The following matrix comparison function performs 5-10 times better than your built in == comparison. If the matrices are equal, then it is about 5 times faster. If they are unequal then it fails fast, and is about 10 times faster. public static bool Equals(ref Matrix a, ref Matrix b) { // i check the diagonal first for quick fails return a.M11 == b.M11 && a.M22 == b.M22 && a.M33 == b.M33 && a.M44 == b.M44 && a.M12 == b.M12 && a.M13 == b.M13 && a.M1 ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. How about this new Texture2D member?

    In addition to 'Width' and 'Height', how about 'Center' as a Vector2 Most times I find it more useful to draw my sprites from a center origin and I'm always using the good ol' "image.Width / 2, image.Hight / 2" for origin. It would make things a lot cleaner to just have "image.Center". You can always derive your own texture class from Texture2D and add a center property. If a sprite/texture doesn't fill up the entire width/height, then center will be calculated incorrectly. ...Show All

  • Visual Studio Tools for Office saving documents

    I have a VSTO project that creates a MSWORD document from a template within my project. The document is now built, printed, and saved to a network path, all within my code, no human intervention is needed. My problem is, once the document is saved, I then get a dialog box " Do you also want to save changes to the document template " My answer will always be no, I am not modifying this template, I'm just building a document from it. My "saveas" statement is very simple: path = "\\my400\mydir\test\" + RTrim(rs("wrkfld3")) + "_" + Trim(rs("wrkfld1")) + ".doc" Me.SaveAs(path) I'm not sure where I can control the extra dialog box Diane ...Show All

  • Visual Studio Team System iteration milestone dates - report

    What is the recommended method to store milestone dates for a particular iteration Management wants a report that will show when a particular team project's iteration completed a milestone like "testing complete". We could then give them a report that goes across all team projects that would give them this high level progress report on iterations. Thanks for the response. Could you please give me an idea of how you think you will be implementing it in the next release Should a milestone date be its own work item type, or just a property of an existing work item...like a task ...Show All

  • SQL Server Drill-down using "n" levels using a table?

    How should i create a "n" levels drill-down report using a table based on MDX query I can only seem to use the visible or invisible based on a know number of levels ("columns in the table") what if i don't know that exact number Or it is a unbalanced hierarchy I cannot use the Matrix because my columns are static and with two levels... ...Show All

  • Visual Studio Team System Extending the Check-in Behavior

    I want to write code to automatically calculate the number of hours since the last check-in and update the work item. However I want that to be done right before TFS updates the work item from Active to Resolved. How can I acheive this Thank you, Sammy Maybe it can be done with a CheckIn policy, which is the only way I know to do it before the change to the workitem is done, but the problem is you will need to deploy the policy to all yout clients of TFS. ...Show All

  • .NET Development The conversion of a char data type to a datetime data type resulted in an out-of-range datetime

    I am putting the current datetime in a microsoft sql server database in the following manner: System.Data.SqlTypes.SqlDateTime time = new        System.Data.SqlTypes.SqlDateTime(DateTime.Now); sql = "insert myTable (datetime) values ('" + (string) time.ToSqlString() + "')"; SqlCommand cmd = new SqlCommand (sql, conn); int result =  cmd.ExecuteNonQuery(); the column of my table has datatype DATETIME I tried it 7 times yesterday and today without problem. Now (at 00:45 hours) I get an exception: the exceptionmessage: System.Data.SqlClient.SqlException: The conversion of a char data type to a datetime data type resulted in an out-of-range datetime value. I have three questions: 1. how can the date b ...Show All

  • SQL Server SSIS Package Error

    Hi, we have developed SSIS package in machine1 .when we copy the SSIS solution from Machine1 to Machine2 .when we open the SSIS solution in machine2 we are getting the following errors what could be the reason .help us pls. 1. Error loading Package_test.dtsx: Failed to decrypt protected XML node "DTS:Password" with error 0x8009000B "Key not valid for use in specified state.". You may not be authorized to access this information. This error occurs when there is a cryptographic error. Verify that the correct key is available. d:\jegan\ssis prjs\fuzzy\fuzzy\Package_test.dtsx 2.Validation error. Data Flow Task: Fuzzy Grouping [3131]: The AcquireConnection method call to the connection manager "AIGS ...Show All

  • Visual C++ How to get PCI slot information from ACPI

    Hi, I need to get PCI slot info through ACPI using _SUN object. So I want to know how to retrieve the slot info from _SUN object. Can you tell me how to access the _SUN object I have couple of questions related to that: 1) Is there any signature in ROM for that object, so that we can map that and read that structure 2) What is the structure of _SUN object and how to get the handle to that structure 3) IS there any windows API or IOCTL to read the _SUN object Thanks in advance I do not know what a _SUN object is; are you sure it is part of VC and/or VS If it is not, then it is not within the scope of this forum. A computer's ROM is not supported by VC and therefore is definitely ...Show All

  • Visual Studio Express Editions Adobe Reader ActiveX control question

    I am using the Adobe ActiveX control on my form to display PDF files in my app. It is working just fine. However, if a PDF file has bookmarks in it, the bookmarks tab of the control opens up. Is there a way to set this so that it doesn't open by default or a way to programatically close it Thanks for any help... Try using the SetPageMode() method. You'll find it documented here... ...Show All

  • .NET Development Access to remote folder

    Hi, I have an app which must read, change and save (update) files on remote PC. I have a special user/password to access the remote computer. Is there any way to loging to remote computer from inside the app, do the job and then log off. App works fine if I logging to remote PC before starting nut I don't like this. I'd like to have evrething hidden from enduser. Thanks Oleg if its on the local network then yes, otherwise if its on the internet somewhere, then you may need to connect via FTP using the FTP classes in .NET 2.0 or some other way, perhaps by webservice or something. To access to the remote computer on a local network, you need to set up the credentials (username/passw ...Show All

  • Software Development for Windows Vista ExternalDataExchage object crosstalk

    I'm seeing some odd behavior with ExternalDataExchange and wondered if I was seeing the correct behavior or what. I have an app and workflow that share data objects (versus serialized XML or something). The objects, being reference types, are created on the heap and therefore are available to objects running in the same AppDomain. The issue is I expected to see the objects serialized when passing between app and workflow (or back again) such that I would have two different instances of the objects being passed. To me, this was the architectural point of ExternalDataExchange. But that's not what I'm seeing. The objects, being reference types, are merely being passed by reference, so that when they're updated in one location (say, t ...Show All

©2008 Software Development Network