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

Software Development Network >> Martin Cowen's Q&A profile

Martin Cowen

Member List

Lee321
Flashx
gifa
GoldenBrown2
jeffwu
JPurd
Alireza_Izadimehr
RobClark14
Kole
SP_UK
JohnRC
IGlez
lhoward
KSchlueter
JensMB
bafidi
SharonGuinee
TGAR
Gwyn Williams
Marts
Only Title

Martin Cowen's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. Specular reflections aren't working right

    I'm having a problem with specular reflection.  It flickers as I move around my object. Sometimes when I'm looking at a face, and I swivel the camera just a few degrees, I get specular reflection.  When I swivel a few more, the reflection is gone - leading to the flicker. But specular reflection is only based on the position of the camera, not the direction it's looking.  So it confuses me that swiveling the camera would change the specular reflection in any way, much less so drastically. Also, I find it confusing that I should see specular reflection at all ...Show All

  • .NET Development socket.Receive() on blocking socket throwing WSAEWOULDBLOCK exception?

    I'm using a UDP socket for network communication with socket.Blocking == true and SocketOption(ReceiveTimeout) set. After several thousand packet exchanges, socket.Receive() starts throwing WSAEWOULDBLOCK (SocketException.ErrorCode == 10034) and seemingly continues to do so indefinitely about every second or third call to socket.Receive().   Can someone shed some light on what might cause socket.Receive() to throw a WSAEWOULDBLOCK exception on a socket with Blocking == true I wouldn't expect a WSAEWOULDBLOCK exception on a blocking socket. This is happening with .Net 2.0 Beta2 on WindowsXP Pro with service pack 2 (and updates). T ...Show All

  • SQL Server ~* Print Button Active X Control *~

    Hi, i have installed service pace 2, for the print icon to appear in the report viewer tool bar. it works fine, but for the first time it prompts for the installation of Active X control. But the users are not allowed to download any active X control. are there any ways to resolve the problem. Thanks in advance. Thanks for ur response Mr.Brad. are there any code snippet for downloading the active x control programatically. ...Show All

  • Windows Forms Bootstrapper downloads the prerequisite instead of installing from app folder

    dear members, although i'v configured the prerequisites (crystalreports,dontnet framework) and selected the option to download from the application folder, first of all it doesnot copy the prereqs on setup project build and even if i copied the two prereq in app folder it doesnt install from there instead it starts downloading from vendorsite, plz guide how can i direct bootstrapper to install prereq from app folder regards faraz Faraz, May I ask what version of Visual Studio you are using Are you building a setup project or a ClickOnce application It sounds like you are doing the correct ...Show All

  • Visual Studio Express Editions microsoft visual c++

    hello,anyone there ..were using microsoft visual c++ 6.0 at school but since it is in japanese(im not japanese anyway,just studying here) i cant hardly follow the lesson so i bought a book about it and my question is..... is it ok to download microsoft visual c++ 2005 express edition without the need to uninstall microsoft visual c++ 6.0(were using it at school).. You can install VC 2005 and VC 6.0 on the same machine. There are no known problems. BTW: I moved your thread from the announcements forum to the VC++ Express forum. ...Show All

  • Windows Forms How to serialize with TreeView?

    How to serialize with TreeView in .NET 2.0 Well, it's apparently not a good idea to serialize a UI component like a tree view, instead, you should serialize a data structure that represents the tree view. The problem with serializing a TreeView (or any other UI component) is that if you have to deserialize it, you have to remove the old version of your tree view and replace it with the deserialized version.  Which is anoying because if you created your form with the form designer in VS 2005, then you have to syncronize all your settings with the deserialized tree.  This is really anoying during des ...Show All

  • SQL Server Self-join ?

    Hello all, First of i'm not sure whether I post this thread the correct place. If I don't, please forgive me. This is possibly a rather simple Q, but nevertheless a challenge for me: On a single table, I have information about people and their abilities. Each ability is located on it's own row. Person     Ability -------------------   A            See   A            Hear   B            See   C       &nbs ...Show All

  • Visual Basic Microsoft Visual Studio Tools for the Microsoft Office System

    Microsoft Visual Studio Tools for the Microsoft Office System is this available for visual studio 2002 and where can i find it There will be an abundance of information on that here: http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=16&SiteID=1 ...Show All

  • SQL Server Problem with SQL Server 2000 DTS Package:Column Delimiter not found

    I am trying to import data from a text file to SQL database through a DTS package. i am always getting "Column Delmimeter not found" error at record number 8000. i copied the 8000th record into the beginning of the file to test if there is any problem with data but still i got the error at 8000 th record. i know it was a problem before and was fixed with sp1. i installed SP4 and still gettting the same error. any help on this is appreciated. Thanks Venki Hi I'm having the exact same problem, with sp4 installed, and i can't find a solution did u find a way to solve that problem ...Show All

  • Visual Basic Try...Catch statement Question

    I have a Try...Catch statement that contains 12 Operations inside it. On the catch I want to display a msgbox that tells exactly which operations failed. I was looking through the exception methods and couldn't find one that worked. All of the methods provided relative information but nothing specific. The reason I want to pinpoint exactly which operations failed is so that the user can email the error message to me and when I get it I will know exactly how to fix it. Thanks. Hey Troy. . . Lets go an entirely different direction!!! Lets let the wonderful Windows.Forms namespace work for us!!! play along with me - create a ...Show All

  • Software Development for Windows Vista EventHandler won't fire in state machine when calling event from host

    Hi, I have written a simple state machine which is very similar to the order example comes with WWF Jan Lab Beta 2. I created the following service public class NavigationService : INavigationService { public event EventHandler < NavigationEventArgs > StartPageStart; public void RaiseStartPageStartEvent( Guid instanceId) { if (StartPageStart != null ) //StartPage is null when host calling RaiseStartPageStartEvent { StartPageStart( null , new NavigationEventArgs (instanceId)); } } In the state workflow, I have bound the "InterfaceType" and "EventName ...Show All

  • .NET Development client status

    hi all, From my server i have to watch my client for every 15 min whether client connected to network or not.... how can i implement this one... any idea about this are welcome..plz help.. with regards, balaganesh It would be better if the client could connect to the server, and then you would know if it's active or not. An example of this is the lease system in remoting. More exactly, what are U doing ...Show All

  • Windows Forms How to debug data adapter fill errors

    Hi. I've got a C# application that uses an ODBC connection to retrieve data from a DB2 database. When running the application I get the following error: [OdbcException: ERROR [HY000] [IBM][Client Access Express ODBC Driver (32-bit)][DB2/400 SQL]SQL0802 - Data conversion or data mapping error.] Now it just so happens that this application is designed to retreive the data through a mail merge in word. It's using the Microsoft.Office.Interop.Word assembly to create a Word.Application object, then passing the necessary ODBC connection string and sql statement to the word document's MailMerge.OpenDataSource() function. When I run the applicat ...Show All

  • SQL Server SQL Server 2005 Replication and views

    Hi, I read that views can't be published with SQL Server 2005 replication. Is this planned for the future If not what alternatives are there for this Simple collecting the data needed in a new table ain't a solution for us (memory consuming). And joining the data on the PPC ain't a good solution either (memory and time consuming). We only want to pull the data. Greets, Ivo Klerkx Just to confirm your statement, it is true that (other than the INFORMATION_SCHEMA views) there is no support for other user-creatable Views in SQL Mobile, whether they are created on device or on the server/replicated ...Show All

  • Visual Studio Express Editions Connecting to an Access 2003 Database from VB 2005 Express

    Hi ! I have a form with some textboxes and a button. I have an Access Database on my desktop. I want to write the values from my textboxes to a table in the database. I havesome code to do this, and it should work, but It throws an exception that is far too complicated for a Newbie like me to decifer. Here is the Excption (on top) with the code I'm using below that. Heeeeelllllp! P.S . The values in the "TextBoxes" are numbers, and the value in the "MaskedTextBox" is a value from a "DateTimePicker". System.Data.OleDb.OleDbException: Syntax error in INSERT INTO statement. at Syste ...Show All

©2008 Software Development Network