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

Software Development Network >> David Smit's Q&A profile

David Smit

Member List

Grumpy McNasty
dreadjr
Arun Narayan
A.Kahn
like_antani
enric vives
Frank N White
Michael Barrett
SankaraNarayanan Nagalingam
CarmineM
mkamoski
PlanetWilson
MikeRisher
Thena
perf101
REche
MyLady
Emre Çetinkaya
RoggA
Larry Chen
Only Title

David Smit's Q&A profile

  • Visual C# {"Specified array was not of the expected type."}

    Hi, I'm trying to interface between OPC (OLE for Process Control) and C# using Siemens' OPCAutomationDAServer (comes with a package called PC Access). Now, there are some VB6 examples, and indeed they work perfectly fine. There are many such occurances of the above message. One has the following signatures: VB6: AddItems(x as int, y() as string, z() as long, k() as string, l() as string...) from C# the signature reads as : AddItems(int x, ref Array y, ref Array z....) I tried using the same array types that are in use in VB6, and I tried arrays of objects and I tried System.Array.CreateInstance(). Nothing worked. If someone can shed light on this, I'd really appreciate this! Thanks in advance I ran into a ...Show All

  • Visual Studio upgrade patch cannot be installed by the Windows Installer service

    Hi Is the 20-DEC-2006 SP1 Update for VS2005 the most recent version I tried to patch the Team Edition for Software Developers running on the 6000 build of Vista x64 and i get the following error The upgrade patch cannot be installed by the Windows Installer service because the program to be upgraded may be missing, or the upgrade patch may update a different version ... Am I using the wrong patch ( http://www.microsoft.com/downloads/details.aspx familyid=FB6BB56A-10B7-4C05-B81C-5863284503CF&displaylang=en ) - is there an x64 version Dave As mentioned in the Visual Studio 2005 Service Pack 1 Update for Windows Vista release notes it is supported on both the x86 as the x64 editions o ...Show All

  • Windows Forms How to install windows and web application using a single setup file

    Hi, I have two applications. One is a windows application and the other is a web application. I created two msi's for these projects individually. I want to create a setup file, that will combine the installation of these two files together. Also, i want to know, how to modify the config file to change the connection strings for these applications, after getting the user input for these. Also, provide us with some help on how to create a setup file same like that of the SQL Server 2005. (with same installation steps and the screens). Thanks Prasanna There are about 20 tools that build MSI files, and some of them let you customize the UI sequence and add your own dialogs, fire custom action ...Show All

  • SQL Server application error

    My SSIS package will just hang (do nothing) after validation of the package tasks. I realised that it does 2 validation. It then hits "starting exectuing" and then nothing. I mean nothing. It just stays the same. When I look into the logg file, the same message as in the output window. My package has parallel extract of data from the same datasource, but different tables. I dont know if that the problem but i really doubt it because i have done parallel table downloads countless times in version 2000. When i go into the data task window, the source task does no even indicate that its downloading (color yellow). Is there any reason why this will happen Ooo, but the tasks executes just fine when i execute them individually (right c ...Show All

  • SQL Server Offline/remote backups

    Hi What is the best way to perform daily offline/remote/off-premise backups of our websistes Sql Server 2005 database I've looked into using SSIS but for one reason or another am having serious problems with this. Ideally we'd like to be able connect over the internet and/or lan and pull the entire database down in one go. Our db is ~600mb so isn't major. We used to use Sql Server 2000's DTS and this worked well, but I'm having a real hard time using SSIS to do the same so was wondering what the other options are Many thanks Ben Hi Kevin The reason we used DTS originally was that it allowed us to backup over the internet. Obviously, upgrading to Sql Server 2005 made SSIS the logi ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. xbox 360 controller thumbsticks

    hello, I'm trying to move a Sprite with my 360 controller thumbstick, the X directions are working but the Y directions go the wrong way. can someone help me here's my code: void UpdateBall() { GamePadState gamepadstatus = GamePad .GetState( PlayerIndex .One); if (gamepadstatus.IsConnected == true && gamepadstatus.PacketNumber != gamepadvorigestatus.PacketNumber) { if (gamepadstatus.Buttons.Back == ButtonState .Pressed) { this .Exit(); } if (gamepadstatus.ThumbSticks.Left.X > 0) { int thumbstickX1 = Convert .ToInt32(gamepadstatus.ThumbSticks.Left.X); ball.ballposition.X += thumbstickX1 * 4; } if (gamepadstatus.ThumbSticks.Left.X < 0) { int thumb ...Show All

  • Visual Studio Express Editions Can any one give a way

    Hi all I need help to read a word document.The problem is not to use a COM component or third party software. Can any one provide a solution for this regards keshav Dear ahmedilyas I will tell the actual problem.I want to read the word document and convert to xml is the main goal.We can do this by using Ms word COM object.I think there is definitely another way for doing this, without using COM component.I am looking for that.Can you figure out this. Regards keshav ...Show All

  • Visual J# Undergrad J# Course

    Anyone know of any colleges/ universities offering a VJ# course as opposed to a J2SE course in a comp sci or IS program TIA I understand that University of Illinois at Chicago was and may still be using J# as well. ...Show All

  • SQL Server How to populate a junk dimension?

    Is there any best practise to populate a junk dimension Should I just create the table and fill-in all the stuff using some SQL I believe most records in the junk dimension are static. How about create the table by myself and fill-up the table Is there anything that I need to be aware of I want to do this before I am just having a few fixed items in this dimension and I want to add a description to these rows. e.g. different sales type. ...Show All

  • Smart Device Development AutoSize Label

    I am using VS 2005 and writing a VB.net application for a Windows Mobile 5.0 Smartphone using .Net CF 2.0. I need to determine the text height of multi-line wrapped text in a Label control so I can set the height of the Label to ensure that all text is visible, and then reposition other controls based on the new height of the Label. Unfortunately, CF 2.0 Labels do not have an AutoSize property. I have tried some examples using CreateGraphics and MeasureString such as the following... Private Sub AutoSizeControl( ByVal ctlControl As Label, ByVal textPadding As Integer ) ' Create a Graphics object for the Control Dim g As Graphics = Me .CreateGraphics ' Get the Size needed to accommodate the formatted Text Di ...Show All

  • Visual C++ SendMessageCallback or Alternative Example

    Hi all, I am currently using SendMessage in a series of activities that must be carried out in sequence. However, using SendMessage will result in a "hanging" state since it will complete the activities before returning control to the caller. As I I need to perform an activity on the completion of another, the PostMessage method will result in the triggering of a later activity without waiting for the completion of a required activity. SendMessageCallback seems to be able to solve my problem but does anyone has an example on this (e.g. how to call as well as how to declare and use the callback function) Or is there any better alternative such as hooks Regards cleohm Hello ...Show All

  • SQL Server Security Update for Microsoft Data Access Components (KB832483)

    I recently reformatted my computer and am using Windows 2000 Professional. I enabled Automatic Update. This morning I noticed that the "Security Update for MS Data Access Components (KB832483)" kept showing up. My records indicate that it successfully installed (several times), but the same update keeps showing up to be installed. I finally disabled the Automatic Update function in order to keep it from constantly reappearing. Any ideas Fix doesn't work for me either. The file on the MS update server is newer than the one available through this link and consequently the system will not update to an older version. However, the current file on the server for KB832483 is 0 (ZERO) bytes and I ...Show All

  • Audio and Video Development Standard DVD

    Is it planned to create a tool that can convert existing standart DVD content to hd-dvd application, that declares the same list of video titles and chapters Polina wrote: Is it planned to create a tool that can convert existing standart DVD content to hd-dvd application, that declares the same list of video titles and chapters FYI: http://www.apple.com/de/finalcutstudio/quicktours/ quicktours/delivery/qt_dvsp_1_convert_sd_to_hd ...Show All

  • SQL Server Can I access SQL Server 2005 via a Window XP pro workgroup network?

    Hi, I am new to SQL Server and I am trying to install SQL Server 2005 Express or Stnadard Edition on a computer runing XP pro on a XP's workgroup network using a router. Can I access the the database from another computer running XP pro on the same network If I can, what setting do I need when installing SQL 2005 in order to do this Any help is appricated. Make only sure that you enable remote connections, see the Screencast for this on my site for a detailed explanation. HTH, jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • Windows Forms The fillerror event will not fire while using strong typed dataset

    I'm using strongly typed dataset and trying to add code to the partial class to fire the Fillerror when the fill command has a conncurrency error.  But for some reason the fillerror event never fires.  I've included the code that I would like to work but I've also tried inserting it into the generated code of the datatset.  Neither approach generated an fillerror event while testing. Here the code striped down to technique example using northwind data table customers. I know the errors are happening because I can iterate though the dataset and show rows with errors and even the datagrid view shows the row errors.  Does anyone out there have any idea or docs specific to this issue Namespace Nor ...Show All

©2008 Software Development Network