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

Software Development Network >> Eric Sanders's Q&A profile

Eric Sanders

Member List

Waheeda
S.Creasey
Allan E
Noa
devram
Thomas Gurtl
JHorn
Fraze
OGData
Tony Roebuck MSFT
HHH MMM
Luis Forero
Yitzhak Khabinsky
Netferret
ChildGuidanceCenterGB
Msiza
kiwilad66
agentpastone
MouleeswaranSwaminathan
Kian01
Only Title

Eric Sanders's Q&A profile

  • .NET Development SocketConnection error in Async call when network drops

    Hi all, I have an asynchronous web-service call happening in the background of my application just after it starts. If my device (I'm running on a Windows Mobile 2003 device) drops off the network (I move out of wi-fi range) the application crashes with a SocketException. The error is something like:    An operation was attempted on something that is not a socket    at Socket.Poll()    at Connection.Read()    ... Obviously the async call to my webmethod is failing because the network connection is not there any more. What can I do about it How do I handle exceptions from async web s ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. VC++ 2005 Express - Creating a Level Editor - Creating Render Panels ( Views )

    Hi, i am creating a game, the normal level editors can't fill my requirements so i decided to create one that uses my game engine (1st Person Shooter, reltime Lighting / Shadowing, HDR and so on). My Problem is: i need to render my views( top, left, front, Perspective ) in somewhere in the main form, How with a panel Image ... You're really asking for a lot in such a small question. Lucky for you, somebody wrote a book for such questions. Check out "Game Engine Toolset Development" by Graham Wihlidal. ...Show All

  • Windows Forms Organism Traces issue

    Don't know about others, but in my Terrarium: When i open Trace Window in the game (with "Show Organism Traces" checked) and then select any creature (mine or else) the Terrarium stales, unless you close Trace Window after about 30 sec the Terrarium is restartarting. I had this in Terrarium for .NET 1.0 also. So my first question is: Is it possibl ...Show All

  • Smart Device Development WINCE400\OTHERS\SAMPLES\MFC Where is it?

    The following is stated at this link: http://msdn.microsoft.com/library/default.asp url=/library/en-us/dv_wcemfc4/html/aforisampleprojects.asp Sample applications show how to use MFC for Windows CE classes and demonstrate some of the differences between MFC for Windows CE and the standard desktop version of MFC. You can choose File | Open in the eMbedded Visual C++ IDE to open any of the samples in the WINCE400\OTHERS\SAMPLES\MFC folder. Sample applications include the following: I have searched for a couple of hours and cannot find these sample anywhere. Please send me a link where these can be downloaded! (and perhapos make a n ...Show All

  • SQL Server Cannot open database

    My mdf file was deleted. I was able to restore the said file but unfortunately I can no longer open it. I have also noticed that the recovered mdf file was smaller than the file before it was deleted. What can I do to open the database file I have tried the following lines using osql utility. 1> use db1sql1 2> go Msg 946, Level 14, State 1, Server JDI11-31, Line 1 Cannot open database 'db1sql1' version 525. Upgrade the database to the latest version. Hi Paul! I got the following message upon execution of sp_attach_db. Msg 5180, Level 22, State 1, Server JDI11-31, Line 1 Could not open FCB for invalid ...Show All

  • Visual C# Calling C dll in c#: please help: AccessViolationException

    Hello, I'm trying to call a C dll from a C# project and here is the error message that I get. And following it is my source code. I tried many alteration of the code, since I think this is coming from the ptr of an array of double in the C dll function (last parameter). MTIA Franck System.AccessViolationException was caught   Message="Attempted to read or write protected memory. This is often an indication that other memory is corrupt."   Source="Client"   StackTrace:        at Client.Class1.C_client(Int64 valueDate, Int64 issuedate, Int64 maturitydate, Double spotprice, Double strike, Int64 ...Show All

  • Visual C++ Atlthunk.lib help.

    I'm using Visual C++ 2005 Express with SAPI 5.1. I managed to fix the header file compilation errors, except that atlthunk.lib does not exist. Is my solution the same as with using WTL with Visual C++ 2005 Express (I'm referring to the site here .) Yes it is. The page you mentioned describes how to entirely remove the need for atlthunk.lib. That's what providing definitions for AllocStdCallThunk and FreeStdCallThunk does for you. ...Show All

  • Visual C++ Can we get to the bottom of this.

    What is required to actualy be able to use MFC, more along the lines of... WHAT IS NEEDED TO FINALY BE ABLE TO INCLUDE "AFXWIN.H" T his is starting to make me mad. And I wish I could use it. Not to mention my other problem of rescource files. Hi, Jack. If you've made other posts, I can't see them, you've only made one post under this username, unless other posts were deleted. If I could see your resource file question, I'd try to answer it. In response to the question - what you need is well documented. You need visual studio, and if you have the Express Edition, that won't w ...Show All

  • Windows Forms Suggestion for a TimeOfDay control

    MaskedTextBox looks great and will definitely be a step in the right direction! One thing I think there is a strong need for is a control that provides a rich user experience for entering a time of day. This control exists other places in windows (for example in the dialog that sets the system time) and acts like a masked text box that a ...Show All

  • SQL Server What happened to good old object search ???

    Hi There I have been working with MSS Management Studio for some time now. One thing really bothers me, i cannot find the equivalent for object search found in good old query analyser. I have many QA databases, and the all have tens of thousands of tables and views. If i need to find a table or view i go to query analyser and do an object search and i get the result within a second. The only thing i can do in Management Studion is filter the views or tables for the one i am looking for , problem is with the number of objects in these databases i can go for a smoke and come back before i get results. Am i missing some ...Show All

  • Visual C++ C++ header files and forward declarations

    Anybody either have some good tips, or point me to some sources with good tips for avoiding problems with header file includes when classes reference each other, i.e. class A has a member variable (or reference or pointer to B) and B has a member variable (or reference or pointer to A) Forward declaration tips would also be welcome! Thanks. To Rivorus and all, I think I found what was causing this problem.  I asked a co-worker to look at my code. Sorry for the inconvenience! Mike ...Show All

  • Visual Studio Problem with Links and Paths when renaming project

    Hi all, I am working on a project with SourceSafe 6.0d build 31222 and encounter following problem when renaming a project: The projects in VSS have e.g. following files $/One/Two/ThreeA/File1.txt $/One/Two/ThreeB/File2.txt $/One/Two/ThreeC/File3.txt Paths and links for files inside folders ThreeA,ThreeB and ThreeC are correct: e.g. for File1.txt Paths contains $/One/Two/ThreeA/File1.txt When I rename project Two to e.g. TwoA, paths and links for for "most" files are changed accordingly, but paths and links for some files are wrong e.g. Paths for File1.txt becomes $/One/TwoA/ThreeA/File1.txt which is correct Paths for F ...Show All

  • Windows Forms Inherited Click handler

    I have an MDI application in which all of the child forms inherit from a base form. This base form handles all of the common functionality of the child forms, including form initialization and closing logic. I have a protected method called CloseButton_Click which is supposed to be the Click handler for any button on a derived form which closes the form when it is clicked (primarily OK and Cancel buttons, but there a few other cases as well). The method sets the DialogResult of the form to the DialogResult of the button, and then closes the form (similar to the functionality of modal forms, but my forms are not modal). However, when I look a ...Show All

  • SQL Server DTC Transaction Abort error

    We are using MSDTC to handle our transactions and some clients seem to be getting these errors more and more when we went to framework 2.0. Any ideas what could be causing this Before in framework 1.1 we would ask our clients to re-register their computer into the domain and/or rename their computer and this worked but it seems like in framework 2.0 it doesn't do the trick. Also, the wrong dns setup causes this too but after trying to fix both things it still doesn't work. I believe this error means either the server has finished the transaction and can't find the client to return the result or the active directory account/computer accoun ...Show All

  • Visual Studio Tools for Office Excel Automation

    People, I need make a integration from an application written in C++ (Visual Studio C++ Express Edition and MS Plataform SDK) and Excel. The problem is that i cann't use more than this 3 systems (Visual Studio Express, MS Plataform SDK and MS Office). The application must run the spreadsheet in Excel executing the macros solicited for the application and obtain values from some cells. The application must run on Windows 2000 and Windows XP, with MS Office (Excel) 97/2000/XP/2003. Anyone can give me a light, at where i must look or use (there is an API to use) Thanks in advance, Flavio ...Show All

©2008 Software Development Network