Kevin Hoffman's Q&A profile
SQL Server Oracle odbc driver on windows 2003 64 bit, SQL Server 2005
God morning! I 've just installed SQL Server 2005 on Windows 2003 Server 64 bit. One of my databases need to connect to seveal Oracle databases. - I tried installing 64 bit Orcale 9 on this server. Got a strange message that the application (Oracle 64 bit) could not be installed on a 32 bit server! Strange! - I installed Oracle 9 32 bit on the server, but I could not find ODBC driver in the Data sources! Neither the oledb under providers in MSS Manager Studio! - Same result efter several desintall and installation. A college copied the .dll files och run a script to register the dll files. We could then se the Oracle driver in the Database sources, but we could not create any connection. - We have even tried an 10G version of Oracle with t ...Show All
Visual Studio Team System It is good practice in MSF to have several architect and projects managers?
Hi I'm in meddium project (15 persons) which is composited by several parts. It is a good practice to have a different architect and program manager to each part Thanks in advance Javier More than one sounds excessive. However, if the architect is a bottleneck and delaying the programming work on some parts then more than one architect may make sense. More than one project manager seems unnecessary. However, if the project manager is doubling as a business analyst then this may be acceptable. David ...Show All
Software Development for Windows Vista How to prevent Explorer to open the "Prepare this disc" dialog
Hello, I'm working on a tool to mount arbitrary sessions on a multi session disc. It works fine on W2k and XP. On Vista, it also works fine, as long I issue my mount commands via a command line application. Using a shell extension on Vista with a recorder device, quite frequently causes Explorer to open the "Prepare this disc" dialog. Clicking Next and confirming disc preparation usually damages the media. Question: How to avoid Explorer from opening this dialog Ahhhh, now I understand. I don't know of any tool like filemon that works on Vista, but I doubt that autorun.inf is being accessed. There is a difference between 'autorun' and 'autoplay'. I believe that Autorun is based on an autorun. ...Show All
Internet Explorer Development Why does IE7 always popup the prompt window in vista?
I have created a BHO and a Broker process, and I want the BHO can access the broker process without prompt. Therefore I add a key and values into the Registry , so that I can silently elevate the broker process to medium integrity level. more infomation for "elevate policy" ,please see " Understanding and Working in Protected Mode Internet Explorer ". 1. Add a key like this HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Low Rights\ElevationPolicy\{AA467279-FAA8-4154-94C3-71FBAD2FE3FE} 2.Add some values into the key AppName REG_SZ "test.exe" AppPath REG_SZ "D:\test\debug\" Policy REG_DWORD 3 CLSID REG_SZ "{BBD113D6-28F2-467F-B8D5-5F9508FC23BB}" ...Show All
SQL Server Get Reporting Services verison string in c#.net 2.0
Hi I want to get the version string for RS 2000 and 2005 in c#. Can I use the same object model to connect to both or do I need one for each. Either way could you let me know what DDL I should reference in Visual Studio. Thanks Steve ...Show All
Windows Live Developer Forums VEMap.ShowMessage blues
Hi I am using the map.ShowMessage("hello") function in my site. The div element is displayed right in the vertical-middle of the screen (my resolution: 1024X768). And extends horizinally from edge-to-edge. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Highly Optimized 2D Drawing
With the trends in hardware today, would it be worth the effort to render groups of sprites to offscreen surfaces For instance, we have an gui window composed of 9 sprites (All stored in 1 image, and will be rendered in a batch). 5 Of these sprites will every need scaled or tiled to draw the window every frame. Assuming that during the gui windows lifetime it's size and appearance will remain relatively constant, we can render it to an offscreen surface. This would allow us to minimize the scaling and vertex buffer operations to a single blit in future redrawings of the window. Or is it best to constantly push new quads to the GPU for processing like the Spritebatch object currently does The constant pushing of quads would only requir ...Show All
Windows Forms Problem with WindowHandle
Hello, I found the below code on the internet, I want to use this to hide my notepad, Well, the hide part works very well, but to restore it doesnt work.. Now i tried separate numbers but none of them worked. So i would like to ask, does somebody know a way to fix this Or do this otherwise using System.Runtime.InteropServices; using System.Diagnostics; namespace WindowsApplication1 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private const int SW_HIDE = 0; private const int SW_RESTORE = 9; private int hWnd; [ DllImport ( "User32" )] private static extern int ShowWindow( int hwnd, int nCmdShow); ...Show All
.NET Development SQL Server database creation using VB.NET Code...
Hello. I think its silly question but i expect some solution . Is there any way to create sql sever database by using VB.NET code I have to create database,tables,sps and also transfer the data from one database to newly created database. Please, if somebody have some solution then guide me in detail. Thanks in adv. Madni Abbasi Hello, Thanks for giving your valuable time. Actually i wanted to copy the database (dump) with all constraints and relationsships but without data. is it possible I am using VB.NET 2003 ...Show All
.NET Development Downcasting to a dynamically determined type, given a Type object?
Say I have an interface class called someinterface, and another class somederived that inherits from someinterface: interface class someinterface { public:static operator String^(someinterface); ... } ref class somederived : public someinterface { public: String^name; .... } And I'm trying to convert from a someinterface handle that points to a somederived object into a somederived handle that points to a somederived object. However, I don't know if the somederived object is actually of somederived type, or some other type derived from the same interface. But this doesn't work.. static someinterface::operator String^(someinterface^s) { return safe_cast<s->GetType()>(s)->name; } somederived^a = gcnew somederived; a->name = ...Show All
.NET Development Removing tags when generating XML
I am writing this post in the c# forum also as I don't know which one it is more appropriate in. I am writing code in c# that serialize a group of classes nested with lists of other classes and I get the following xml code < xml version="1.0" encoding="utf-8" > <kml xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance " xmlns:xsd=" http://www.w3.org/2001/XMLSchema "> <Doc> <Document> <name>Smily.kml</name> <open>1</open> <folder> <Folder> <name>Matts Folder</name> <open>1</open> <place> <Placemark> <name>Symantec Building</name> <desc ...Show All
Visual Basic Formatting a Cell within a GridView
I want to format a cell within a Gridview for currency....Like I have a cost column and I want that column to be in the format of money like $300.00 but in my Gridview is there a way i can format the cell for this You would expect DataGridView1.Columns(0).DefaultCellStyle.Format = "C2" to work but it doesn't. However if you also add DataGridView1.Columns(0).ValueType = GetType (System.Double) you should find it works ok. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. text mixed with 3d
thought id ask another question while im at it. i want to display text on the hud of my 3d engine. i did some searching and came across some of the text components out there and chose the nuclex.fonts componenet (very good imo). this works fine on its own or with other 2d objects (eg. sprites) but if i render any 3d objects, all the 3d objects have z buffer issues. i noticed this problem when i first introduced sprites into my engine and it was fixed via the spritebatch.begin methods savestatemode parameter. however, this functionality doesnt exist with the nuclex.fonts package, so my 3d objects are all screwed again. is there another option to prevent this, or can someone tell me how to manually save my renderstate and restore it after re ...Show All
Smart Device Development Plug-in code issue with CF 2.0
I'm trying load a plug-in and I'm using CF 2.0 The path is: C:\NewIntel\MCU\Plugin1\bin\Debug Interfaces.dll which does load Interfaces.dll but not Plugin1.dll which is in the same path for the Storage Card running the emulator. Look at FindPlugins function for the code that does Assembly.LoadFrom("Plugin1.dll"). This code works fine for for the Desktop framework 2.0. What can I do to fix it Error... System.IO.IOException was unhandled Message="File or assembly name 'Plugin1.dll', or one of its dependencies, was not found." StackTrace: at System.Reflection.Assembly.LoadFrom() at PluginServices.FindPlugins() at WCEMCU.frmMCU.frmMCU_Load() at System.Windows.Forms.Form.OnLoad() at System.Windows.Forms. ...Show All
Visual Studio 2008 (Pre-release) Threading problem in WPF
I'm having a problem which I expect is by design, but I can't find any documentation on it. When I create an object on another thread and then try to databind to it from the UI thread I get a System.InvalidOperationException with the message "The calling thread cannot access this object because a different thread owns it." That seems to make sense. The object was created by another thread so access to it is restricted to avoid potential problems. It's just that owning thread has exited and I want to go on using the object. If the object has been stamped with the ID of the thread that created it, is there a way to change it Just out of interest, if I call Dispatcher.CheckAccess() before I databind the object it returns tr ...Show All
