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

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

DataConversions

Member List

Sniper167
Dirty Steve
McVicar
Exploder
anjelinio
bmacneal
haihtomy
jameyer
Prasant Swain
McDunkey
IlCapo
Sizro_Spunkmire
jsedlak
John David
I.HJ
Fatlabmonkey
AlpanaDhole
MaliGogi
Siteadm
Kevin Hoffman
Only Title

DataConversions's Q&A profile

  • Visual C++ Any interest in building an FAQ?

    I'd like to propose that we put together an FAQ to address some of the issues that pop up regularly here. It seems like we have an awful lot of questions like: - "How can I call my C#/VB/FORTRAN routines from C++ " - "How do I compile and run my project " - "I've included the correct header files, so why am I getting LNK2019 errors " - "How on earth am I supposed to use destructors/finalizers/IDisposable " And of course these are all valid questions! But since they are common questions which tend to be answered in the same way from one thread to the next, I think it would be very helpful to have all (or at least most) of the common answers in one single place. This would be helpful both to aske ...Show All

  • Smart Device Development Dictionary<int,struct> and System.MissingMethodException

    I have a problem with a Dictionary-Class on the Compact Framework 2.0. I created a struct with some primitive-type members like this struct myStruct { double a; int b; } and put it into a Dictionary-Class like this: Dictionary<int,myStruct> foo = new Dictionary<int,myStruct>(); The assembly where i use this Dictionary-Object runs under the standard NET Framework 2.0 whithout problems. But when i try to run it on CF 2.0, i get this error-message: System.MissingMethodException / couldn't find method: .ctor My.Assembly.Name.dll could not be loaded. (or something like that - on my pc the second line of the error-message is in german) after simply changing my struct-type into a class-type it runs on CF 2.0. Shouldn't i rather ge ...Show All

  • SQL Server atabase Tuning ADvisor and index recommendations

    Hi there. I love this tool from what I've read, will it also tell me what indexes I DON'T need (I think that would be helpful - especially when I'm not the one creating indexes all the time). Thanks! More or less it does as per my experience, but in this case you might need to run thru full analysis using the profiler trace. Refer to http://blogs.msdn.com/sqlcat/archive/2006/02/13/531339.aspx for more information. ...Show All

  • Software Development for Windows Vista Biggest Vista UI change: dropdown lists now look like buttons

    In Vista, a drop down combobox list (CBS_DROPDOWNLIST) now looks exactly like a standard button control (except with a small dropdown arrow on the right). Previously it looked like a CBS_DROPDOWN except it was non-editable. I haven't seen much written about this - why did you decide to make drop down list controls look like buttons In many cases, this makes some dialog boxes look very ugly (especially those with a mix of many dropdown combos, edit controls, buttons, and dropdown lists) Is there a way to force Vista to give me an old style looking dropdown list Some of my users have been complaining or thinking the control is "disabled" i.e. greyed when actually it just looks like a button. They expect it to look like a pre-Vista CB ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Scaling a mesh or primitives object

    Hello, I have a cylinder (standard Primitives) made in 3dmax exported as a *.fbx file. My question is that I would like to scale or resize the height or radius of the *.fbx (mesh) in realtime later. Sometimes i would only want to adjust the radius and sometimes only the height. For every update a variable that is holding the value for the height would be read and feed into the height of the mesh. Is there any simple ways of doing this Regards BJ Sure. Just take a matrix that scales your mesh when applying the transformations to it just before drawing. Assuming your cylinder's base is placed on the XZ plane and its height follows the Y axis, the scale matrix may be build as such: fl ...Show All

  • SQL Server Query to return database file names and locations

    Does anyone know a query that will return all the databases (SQL 2005) on a server with their file names and locations   Thanks In SQL SERVER 2005, catalog view sys.master_files exposes this information. So, select db_name(database_id) database_name, * from sys.master_files will return all database file names and locations (except resource database) ...Show All

  • SQL Server Simple update query problem....

    Hi, I have a table called " Cust_Vehicle_Specialisation" consisting columns named "Vehicle_Specialisation_Id", "Motortrade_Id" and Effectdate(datetime). My data in the table consists like this.. Vehicle_Specialisation_Id Motortrade_Id Effectdate A94ACDEE 007094C1 2006-05-16 13:01:00.000 2EC8B2BF 007094C1 2006-06-05 12:19:00.000 A1C617D2 007094C1 2006-06-12 17:37:00.000 458C5F70 007094C1 2006-07-25 09:44:00.000 139954DE 007094C1 2006-08-01 12:05:00.000 1F3D7BDB E1A50F16 2006-05-22 12:00:00.000 F85EA44A E1A50F16 ...Show All

  • Software Development for Windows Vista Audio/Video Mixing (need some hints)

    Hi, i'm coding an app with the objective to merge 2 audio/video streams into a single file. the resulting file (.mpeg) will have left audio channel from the 1st video and right audio channel from the 2nd video (so if input audio is stereo conversion to mono is needed) the video instead can be described as 2 separate adiacent windows. Searching for useful filters i found MediaLooks Video Mixer that seems to be very appropriate, but it is for sale.. But the biggest problem seems to be the Audio.. does anyone knows some filters(preferably free) to solve the problem any help is welcome :) and thanks in advice. We are expecting a DirectShow filter for audio mixing to be released soon. Please che ...Show All

  • Visual Studio Team System Error "Cannot pass a GCHandle across AppDomains." while creating New WorkItem in TFS with SP1

    HI, I am getting following error while creating WorkItem through WorkItemTracking API. " Cannot pass a GCHandle across AppDomains. Parameter name: handle " I am having single server installation of TFS. Previousy I read that this is a known bug and it is resolved in SP1. I installed Sp1 on my server. But I am still getting the same error. Please help. Thanks in Advance.. I have already installed SP1 for TFS on my TFS server. My application is also installed there. But I am still getting the same error Installing SP1 should install these assemblies. Should not it Do I need to install them separately Thanks in Advance Madhukar ...Show All

  • SQL Server Incremental processing in cube

    We have a cube in SSAS which has one partition and there are currently 10 million rows. The growth is so much that I'm trying to do incremental processing of the cube using a query. But the problem is there is not only data that has been added to the fact table but it also has some updates done to the rows which has already been aggregated. So in this case the aggregated total becomes low because of the updated rows. I'm not sure how to handle the updated rows in incremental processing. Can someone help me out If you are using the enterprise edition of SSAS2005 you have the option to use partions. You can divide a cube/partitions by time if your updates of the fact table only occurs in the latest time per ...Show All

  • SQL Server Access/Server

    How do you change the connection string of a DataSet We have been using MSAccess for our database, but have recently upgraded to SQLServer Express. I was able to successfully upsize the Access database and now all information resides on the server. In my VisualBasic program, the dataset itself has around 200 queries total spread out on multiple table adapters. The problem now is that none of these queries work because the dataset is bound to the Access table. I have changed connection string through code and am able to display the information, but am unable to interact with it until i get the dataset connection changed. I would rather just change the connection of the dataset somehow rather than build a new dataset, reconnect all form ...Show All

  • Windows Forms AcceptButton problem

    I have a dialog window with some buttons. Button2 is my CancelButton and have the DialogResult set to Cancel. Button1 is my AcceptButton but I have set the DialogResult to None because I don't want this button to close the form. I only want it to be affected every time I hit the ENTER or RETURN key. When I click another button on the form and after that hit the ENTER key, the AcceptButton is not affected. How do I get it to allways be affected when I hit the ENTER key I read something about using eventhandlers for keyUp events for other buttons to "guide" the keystroke back to button1_click event handler. Do I have to make keyup eventhandler for every other button on the form to make ENTER key allways affect button1 or ...Show All

  • Visual Basic reading binary data from varbinary(max)

    I used to do this with an Image data type (sql2000) and an array of bytes. Worked great. Now , in sql2005/vb2005 we are supposed to use the varBinary(max) type . Fine. Anyone know how to get it to work the reader code is straight from the help docs in the section: "Working with large value types" I'm trying to use some of the new functionality but I can't get anything to work well yet with this datatype. Error is on this line at design time: Dim binaryData() As Byte = CByte(reader.GetValue(8)) .....This is supposed to read the 9th column into an array of bytes..... "***value of type Byte cannot be converted to 1-dimensional array of byte***" Here's the code: blob is a varBinary(max) column Private Sub GetImageF ...Show All

  • Visual Studio Express Editions Timers - Reminder.

    Hi! First of all I'm just a newbie! Ok, so here is the problem! I'm making a program reminder program. For example. Like Prayer times.... I don't want the users to select the prayer time but I want want to assign it. eg. Morning Prayer : 7: 00 AM Afternoon Prayer : 3:00 PM Then for each prayer time the program should remind the user with a sound. Can someone please help me out I'm sorry but I wasn't able to test that code before I sent it.. :) Date.Time.Now.Minutes is totally wrong. I don't know what I was thinking when I wrote it. The right way is to do it like this: System.DateTime.Now.Minute ...and here's your code: System.DateTime remindertime = new System.DateTime(2007, 1, 28, 7, 30, 35, ...Show All

  • Visual Studio Team System Sql Server Error When Performing Merge

    I'm trying to perform a merge from a parent tree to a branched tree and am encountering the following error: A database error occurred (SQL error 2627) --> Violation of PRIMARY KEY constraing 'PK_tbl_Lock'. Cannot insert duplicate key in object 'dbo.tbl_Lock'. I'm running TFS RTM and SQL Server 2005 Standard Edition SP1 as a single-tier deployment. How can I correct this problem Mike To find the list of candidate changesets * If using the command line, add /candidate to the merge command. * If using the Merge Wizard, choose “select changes to merge” and hit Next. Then you could review each changeset. Obviously if this is a real-world deployment, the scale might make it impractical. We’d ...Show All

©2008 Software Development Network