Software Development Network Logo
  • Windows Live
  • VS Express Editions
  • .NET Development
  • Smart Device
  • Visual C#
  • Microsoft ISV
  • Game Technologies
  • Visual C++
  • Windows Vista
  • Visual Basic
  • Visual FoxPro
  • Visual Studio
  • SQL Server
  • Windows Forms
  • Visual J#

Software Development Network >> Bob Everland's Q&A profile

Bob Everland

Member List

DragonWalsh
Sumeet
Paulu
Andrew200
jooolaaab
garfield1969
williware
xyzpaul
Tom Kubit
Bek11
Jan Wiberg
lanerebel
rene schrieken
John T. Campbell
justadam
ZeeshanHashmi
dold
JMBC
BrianStevens
programmerInprogress
Only Title

Bob Everland's Q&A profile

  • .NET Development Calling a C++ dll from C# 2.0

    We have a third party C++ dll (black box, no source code), which needs to be called from C#. The C# process, fills in some structure variables and pass it by "reference" to C++ dll, which calculates, fills the results back into the structure variables. Members of the structures are of type byte, long, double and  arrays of double type. No string members. After I call the C++ dll, I just see NaN (not a number) in all the result variables. Here is what I do: [ StructLayout ( LayoutKind .Sequential)] public struct test { public long l1; public double d1; //output [ MarshalAs ( Unman ...Show All

  • SQL Server Multi Threading exception

    Apologies if this is not the right forum. We have some c~ code which calls a stored proc to trnsfer data from one db to another. We are using multi threading to allow a whole days data to be processed in parrallel. However, we are experiencing problems. After a while we get the following message: "An exception during changed data captured caused all processing threads to abort". Can anyone tell me what posssible reasons would cause this to happen It is not an area in which I have a lot of expertise, the code was written by a third party. Many thanks This is not an error message ...Show All

  • Visual Studio Team System Unable to connect to team server

    After completely re-building my 3 servers, I've got VSTS installed again.  Now a new problem:  When I try to add a new team project, I get an error "Unable to connect to this team foundation server". Possible reasons: - Server name or port number is wrong (it's not) - I don't have sufficient permissions (I'm logged in as the Domain Admin) - The Team Foundation Server is offline (how can I tell   The server machine is definitely up) - Password is expired or incorrect  (What password   Where's it stored   No passwords have been entered that are expired or incorrect). I'm begining to think that Team System is reall ...Show All

  • .NET Development Unsafe methods and managed code

    Dear all, I am re-designing an image/video processing package that I wrote a while ago to use C# for the GUI part such that development on that end is quicker. However, I want to keep the performance by having the processing run on unmanaged code. There are of course many ways to do this but the simplest that I have found was to have my interfaces declare an "unsafe" method that processing classes will override. However, I am not certain and couldn't find any info on it either, if "unsafe" also means that the code will run unmanaged. Brief code listing: C# public interface Processor {  unsafe void doStu ...Show All

  • Windows Forms AVI files

    Any way to play basic AVI files in a window form Thanks You might want to check out the <a href="http://msdn.microsoft.com/library/default.asp url=/library/en-us/directx9_m/directx/audiovideoplayback/audiovideoplayback.asp frame=true">Video class of the DirectX SDK.</a> Øyvind ...Show All

  • Smart Device Development How Visual C++ 8.0 is compliant to ISO C++?

    Hi, Could anyone point me to list of  new features of Visual C++ 8.0 compiler for mobile devices related to ISO C++ Standard compliance I'm using eVC++ 4.0 with latest ServicePack and AFAIK this compiler is based on the VC++ 6.0, so there is a lack of many C++ features, not to mention limited version of STL. So, I'm strongly interested in moving to the latest Visual C++  8.0 but I'd like to gather more information first, before I spend my money. Is Visual C++ 8.0 and related SDKs much more compliant to ISO C++ Standard Are there many imrovements in this direction Is C Run-Time library more complete than that shipped with pr ...Show All

  • .NET Development Remotely accessing system certificate stores

    I am developing a C application to use SSL/TLS.  Using the samples provided by MS, I have been generally successful.  I am using a stand-alone CA at this time.  I have been able to run my server and client with a SSL connection on the same machine as well as 2 separate machines.  However, to get this to work I have had to install the certificates on the machine on which the program is running.  The issue that continues to "dog" me is how to get "remote system store access" to work.  When I open the certificate store I am constructing \\<machine name>\My, but the opening of the certificate store only works ...Show All

  • SQL Server Deploying Jet OleDb Provider

    If I'm posting to the wrong forum, please correct me. I'd like to use an Access database for an application I'm developing for retail sale, and I need to do these things: Determine during setup if the target machine has the Jet OleDb Provider installed. If so, determine whether the version is adequate. If necessary, install the correct provider. I don't seem to be able to find any documentation or downloads covering this scenario, however. This seems odd, since I would have imagined the scenario to be rather common. Has anyone had any successful experience with these issues Thanks Hi, if you are having a ins ...Show All

  • Windows Forms Picturebox control

    Hi I'm comming from Access and are new to Visual Studio 2005 (BETA 2). I'm trying to get a picture box updated from a file location rather than from a database. I found this code in MSDN: Private Sub LoadNewPict() PictureBox1.Image = Image.FromFile _  (System.Environment.GetFolderPath _ (System.Environment.SpecialFolder.Personal) _ & "\Image.gif") End Sub How can i change the code to&nbs ...Show All

  • Software Development for Windows Vista Tech Writer Questions on Longhorn Help

    We have a technical writer who has been researching the new help tools, Longhorn Help.  She has the following list of outstanding questions:     What tools are (will be) available to create Longhorn Help (Microsoft’s website indicates that they will be providing a LongHorn help compiler. So far ComponentOne, AuthorIT, eHelp, E-Jot, KeyWorks, WebWorks and Rascal have all provided an indication that they will eventually support Help.Longhorn. MadCap Flare is not listed on Microsoft’s website but states support on its own website.)   What will be the primary or quick access method used to get to help As in wil ...Show All

  • Windows Forms passing a class as an argument

    Hi I wish to pass a class as an argument so I can search a collection and count the number of instances of that type, but I am unsure of the correct way todo this. Curremtly i have this. public Function CountType(aType As Type, col As Collection) As Integer dim intCount  = 0 for each aObject As Object in col            ...Show All

  • Visual Basic Microsoft Visual Basic 2005 Express - New Project dialog is empty!?

    Look at this screenshot: http://hjem.get2net.dk/dondata/Empty.gif I have allready tried to Repair the installation, and allso completely uninstalled VB and the installed it again, but the dialog is still empty. What is happening here And I didn't mean to ignore the last part of your post... It's by-design that VS has two different folders: " C:\Documents and Settings\USER\My Documents\Visual Studio 2005\Templates\ProjectTemplates " and " C:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\Projects " because VS understands a machine-wide cache of project te ...Show All

  • .NET Development Discard changes made to datatable columns of a Dataset?

    Hello, I have a windows form with several text boxes. OnLoad, I use a DataAdapter which calls a SQL sproc to retrieve it's info. The sproc returns has 3 select statements so when all is said and done, the dataset ends up with 3 tables. (table, table1 and table2) Next I use databindings.add for each of the textboxes and bind them to the appropriate column in the appropriate tables. The textboxes are readonly by default and I have an Edit button that allows them to be edited. When the edit button is clicked, a Save and a Cancel button are enabled. I have the Save portion of this working as well. The problem I have is when a User en ...Show All

  • SQL Server Exceedingly long update on large tables - why?

    We have a simple UPDATE query, joining two tables, that takes much longer than 10 hours to run, but if we break the table in six (10 million rows in each table), it takes only fifteen minutes to run each part. Why And how can we tell in advance whether a query will cross the threshold into l.o.n.g.r.u.n.n.i.n.g query Or, how can we prevent it The system is Windows XP Pro with 4GB RAM (/3GB switch), and SQL Server Standard 2005. Log files, swap files, dbf files are on separate drives. The system is dedicated to SQL Server. No other queries are running at the same time. The database is in Simple logging mode. Each table is a few GB with 60 ...Show All

  • Visual Studio custom Task

    I have my own class that I derived from Task and I'm calling it in my .targets file using the UsingTask element. In my Task class I'm am logging several errors and warnings using the Log property that returns an TaskLoggingHelper object. When I run msbuild from the command line against my project file I get all of the messages and it tells me how many errors and warnings there were, but it still says "Build succeeded". How to I change it to say "Build Failed" if there were errors Thanks, Mike When determining the return value of the Execute method, try checking the value of Log.Has ...Show All

©2008 Software Development Network