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

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

McWhirter

Member List

sandeep437
moss
xplosiv_1
Kieron Lanning
Gurpreet Singh Gill
Dave987654321
TonyX852
NextCodec
AboOmar
jack-n-jill
bbdobuddy
shailu155
b182f117
MaryOS
philip.engstrom
CJW99
Joshizzle
dagfari
OClaudiu
GNT FoxPro 8
Only Title

McWhirter's Q&A profile

  • SQL Server Unable to see data from Oracle client through SQL link server

    Hello, I was hoping someone had this problem and has a solution... :) Some background info: SQL 2005 Enterprise x64 Windows 2003 R2 x64 Enterprise (clustered) Oracle client 10.2.0.3 (latest as of 2/2/07) The issue I'm having is I have a link server setup within SQL 2005 connecting to a Oracle 8 database server. The Oracle client I'm using is 10.2.0.3 (latest version from Oracle). From the SQL 2005 server I'm able to query the remote oracle server through the link server I had setup if I query the table directly. If I perform a query to a view on the Oracle server I'm able to see the colum names, but not the data. This only happens when I'm using the Oracle client, if I use the MS client for Oracle it works fine OR if I us ...Show All

  • .NET Development IPC remoting exception

    Hi, I'm trying to setup communication between a ServicedComponent service and an application using IpcServerChannel and IpcClientChannel and I get the below error when I call one of the functions. There's a test function that just returns a string to the client, and that works fine. Does anyone know what can be causing this exception I can post the code if necessary. Exception: System.Runtime.Remoting.RemotingException was unhandled Message="This remoting proxy has no channel sink which means either the server has no registered server channels that are listening, or this application has no suitable client channel to talk to the server." Source="mscorlib" StackTrace: Server stack trace: at System.Run ...Show All

  • Smart Device Development Porting existing application on Win CE

    I am porting an application developed in C++ calling namespace "Sysyem" to achive some task. It seems its a Managed C++ application , becuase it is creating object by specifying __gc ( I am not sure). As shown in code snippnet sing namespace System; public __gc class TestEventArgs : public System::EventArgs, public IDisposable { private : System::Drawing::Graphics* m_graphics; System::Drawing::Font* m_font ; This application compiling smoothly on VS 2005 on windows XP. I am porting this application on Windows CE environement. These are the steps I followed here. 1. Create a new project of type MFC Smart Device DLL ( under VC++-> Smart Device) with default settings. 2. Included a ...Show All

  • SQL Server Using embbeded in software

    Hi, Is it possible to use Compact edition embbeded in an apllication that doesn't need to be installed. For example, out of a usb disk Thanks, Manuel Silva Yes - SQL Server Compact Edition is an in-process database so as long as your application can find the DLLs that constitute the components of SQL CE, you can run it in-place without worrying about registry or installers. Darren ...Show All

  • .NET Development Error when 2 programs connect to one MDF database file simultanously.

    Hi I have a web application (ASP.NET) that connects to a database file the connection string is : " Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\ASPNETDB.MDF;Integrated Security=True;User Instance=True" and I have a second application that uses the same connection string to connect to a database but if I run both projects I get the followind error:- 2006/11/06 03:36:00 PM : System.Data.SqlClient.SqlException: An attempt to attach an auto-named database for file C:\Inetpub\wwwroot\iBaseService\bin\Debug\ASPNETDB.MDF failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share. at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owni ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Microsoft.Xna.Framework.Graphics.GraphicsDevice does not contain a definition for 'BeginScene' ?!?

    I am confused, I keep getting an error telling me GraphicsDevice does not contain a definition for BeginScene. All the posts I find elsewhere (for example http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=684405&SiteID=1 ) show that as the method to use, as it was in MDX. Any idea what's going on here Thanks Well, as far as I have read elsewhere, I need to be calling .. GraphicsDevice.Clear GraphicsDevice.BeginScene //... do drawing GraphicsDevice.EndScene GraphicsDevice.Present This would make sense to me, as that is the same way it was done in MDX. However, maybe this has been changed. Do I not need to call BeginScene and EndScene any more I could always test this myself, ho ...Show All

  • Windows Forms Application Settings of User Scope shared amongst assemblies?

    VS 2005 final release. I have written a Class Library (dll) that is to be referenced by several other Windows Applications (exe's). This seems to be working well (I know - not a big wow) except that in my Class Library, I have several Settings of User Scope defined. The problem is that when I reference this Class Library in another Windows App and run the Windows App, the User scoped Application Settings from the Class Library end up getting persisted in a file that has the name of the Windows Application in it - in effect this will allow each windows application to store its own version of the dll's user settings. I could see how this may be good sometimes, but for this particular dll, I would like the user scope settings to be stor ...Show All

  • Windows Live Developer Forums Polyline Craziness

    I am working on a mapping project that allows the user to draw polylines. It all seems to work when the user clicks points of the polyline. From there I save the gps coords to a database. When I then retrieve the coordinates and display the polyline it does crazy things. It initially displays correctly but when zooming in, the line sometimes disappears, or draws in incorrect locations. If it does draw in incorrect locations and you pan, the polyline constantly moves. Can anyone please help, this problem is starting to drive me crazy. I have included "some" of my code. function loadMap() { mapDiv = document.getElementById( "myMap" ); new VEMap( 'myMap' ); map.LoadMap(); map.HideDashboard(); ...Show All

  • .NET Development Do I need to Upgrade to .Net Framework 2.0

    Hello!, We are using Visual Studio.NET 2003 with .Net Framework 1.1. The server is windows 2003 server SP1. I want to know If we have to upgrade to VS.NET 2005 and .Net Framework 2.0/3.0. If yes, how do I do it. VS.NET 2003 works fine with our needs, but I don't see much of VS.NET 2003 nowadays. Please suggest. Thanks, Krishna. the second question of how to migrate to VS 2005 is a valid question. Please post a similar question in Visual Studio Setup and Installation forum. I would move this thread but I see value to creating a new one. ...Show All

  • .NET Development Class serialization problem (with an Assembly as one of the members of the class)

    Hello, We are experiencing problem with binary serialization / deserialization of assembly (as a member of other class). Suppose we have (in C#): [Serializable] public class SomeDataContainer { public List<string> someImportantData; public Assembly dynCompiledAssembly; ... ... } dynCompiledAssembly is created with CSharpCodeProvider, contains a class and several methods. Then we serialize the SomeDataContainer class instance with BinaryFormatter (to disk). Everything's fine so far. While trying to deserialize the saved instance, a FileNotFoundException is thrown, specifying that it is not possible to load an assembly with certain name, version and evidence - in short, the same dynamically created assembly that was supposed (by simple ...Show All

  • Community Chat How to collect File Usage/Activity Statistics?

    Hey I am on a project to centralise several geographically dispersed file servers, and I need to collect some stats on file usage/activity at these sites. I need to know how often documents/files on these servers are opened , and how often documents (new or pre-existing) are saved , so that I can make some estimates of the bandwidth that these site servers will consume if centralised. I have been playing with turning on Auditing for the relevant folders, which logs events to the Security Log. While I think I can collect stats relating to documents being opened using these logs, getting to the stats about documents/files being saved or updated is more problematic as the events thrown in these cases don't appear to offer the sort of da ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. 3D Model Not Displayed Correctly

    I have a 3D model of a go kart and its textures are not being displayed. The textures have been imprinted into the the .FBX file(merged). all i get is a the model in black. The default lighting is enabled but i think its much more than that. could it have something to do with the file itself or should i add something into my coding Xna is reading the texture files imbedded since i corrected a problem where a textures didnt have the right size 24 * 131(my computer doesnt like this) or something like that so... im stumped as to where the problem is. just for some more info i use Maxon 4D Cinema and then exported it where it automatically imbeds the texture files. Thanx in advance Peter. This is the Code to do w ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. KW X file export no textures

    I'm exporting a model from MAX 8 using the latest KW X exporter. I need to have 2 sets of texture coords and my own shaders which is why I've switched away from FBX. When I use a standard material the texture name is exported to the x file (checked in an ascii version) but when I use a DX material, the effect name is exported but no texture names. This causes no textures to be loaded in game. Do I have to name the texture params anything special in the shader Does KW X work with textures & DX materials Here's a simple shader that I used to test : /**********************/ /* Global Variables. */ /**********************/ uniform extern float4x4 gf4x4WorldViewProj : WORLDVIEWPROJ; uniform extern TEXTURE Diff ...Show All

  • SQL Server No ADO type command for Data Flow?

    I'm probably not looking in the right place, but all I could find when creating a data flow task was OLE DB Commands.  I was trying to utilize a dataaccesslayer piece of code that we use every where in our projects, but because it uses ADO and not OLE DB, it caused an issue between the column data types. Is there an ADO command object available   Or are we forced to use the OLE DB command object   All I was looking to do was to Execute a SQL command.  There's an object on the Control Flow level to do that, but not on the Data Flow level---not sure why that is. Thanks, Jeff Tolman E&M Electric It's not necessarily a particular command. It's using ADO vs. OLE DB. Our DataAcc ...Show All

  • Visual Studio Express Editions Unresolved symbol for MessageBoxA?

    I'm trying to use the MessageBox() function and I'm getting the follow error: HGETest.obj : error LNK2019: unresolved external symbol __imp__MessageBoxA@16 referenced in function _WinMain@16 If I add "user32.lib" to my additional dependencies it fixes the problem, but do I have to do this for every project I create I think I'm missing a setting, because I'm trying to compile example projects and none of them have user32.lib in the additional dependencies so I'm wondering if I should enter user32.lib into some kind of "global dependencies" list or something... It sounds like you missed a step when setting up the PlatformSDK. By default only kernel32.lib is linked to programs, ...Show All

©2008 Software Development Network