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

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

KeithM

Member List

interscape
boxerboy
rachana.agr
chaser7016
Scoob
superhugo
Shen Liu
rebcharles
christormpher2
anametrix
Santito
Haw
pramod Bavchikar
Piyush Soni
Jose Rojas
NBarbosa
Niels R.
DamianH
balupton
Ralph Deleja-Hotko
Only Title

KeithM's Q&A profile

  • Visual Studio 2008 (Pre-release) How can I determine the remote IP in WCF Service? (1)

    (Repost from 2 months ago http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=335969&SiteID=1 ) -- maybe someone has some info now :) I understand that the title is fundamentally flawed -- the binding used might not have the concept of an IP. But, assuming I'm using HTTP or TCP bindings, how can I access the remote IP and similar data I looked into OperationContext, and it seemed to have a lot of interesting things, but I couldn't figure out what exactly to look for. It seems that the message headers aren't exactly useful (like OutgoingMessageHeaders.To) -- they always return an http://...Anonymous Uri. The scenario I'm trying to e ...Show All

  • SQL Server Scale issue with oracle Numeric types and OLEDB or datareaders

    Hi, I saw some threads here about related issues however I am still trying to find a workaround. I use the Sept CTP. When pulling data with a query from oracle 8 or 9 against numeric [DT_NUMERIC] columns set with a scale 0f 2 on the Oracle side, I allways get a scale of 0 on the SSIS side. I tried datareader and oledb, it is the same. When I use datareader, I can change the input column to a scale of 2 however i get an error when I try to change the output column to a scale of 2. When I use an oledb, then I can change both input and output scale to 2 however I get an error for the Source error output column which must have the same scale. pr ...Show All

  • Visual C++ how to let visual studio not to find certain dll?

    hi i can compile my program, but i can not run it, because it will popup an error message saying the system couldn't find dkcert.dll. I've removed a software which provides the dkcert.dll, because i want my program not to link to the dkcert.dll, but to ep2pk11.dll which i put in the same folder as my source code. but it seems visual studio will always keep searching for the dkcert.dll instead. i've uninstall and reinstall visual studio a couple of times but the problem still arise. any help is greatly appreciated. thanks. p/s: dkcert.dll and ep2pk11.dll are dll provided by two different companies, but both utilize the cryptoki library. ...Show All

  • Visual Basic BUG: NextValue method of .NET PerformanceCounter object returns zero

    Hi, The NextValue method of the .NET PerformanceCounter object may return zero (0) for the following LogicalDisk or PhysicalDisk performance counters: ? % Disk Time ? % Disk Read Time ? % Disk Write Time ? % Idle Time ? Avg. Disk Queue Length ? Avg. Disk Read Queue Length ? Avg. Disk Write Queue Length http://support.microsoft.com/default.aspx scid=kb;en-us;324548 How can i get the disk utilization (i.e 100 - % Idle Time )through the .Net Performance counters. Rishi Hi, Please take a look at the fol ...Show All

  • Visual Basic how to change path for saving excel

    hi I'm using excel object and when I close the excel object, it generates the save dialog. But the path is set to MyDocuments. I want to change this path. Is there a way Thanks. I just want to change the main directory the save file dialog shows. I don't want to save the file as the same name always. I think the only way I can think of is to change the directory option in the excel itself. ...Show All

  • Visual Studio Express Editions A VC++ 7.1 Solution in VC 2005 express edition - libraries incompatible?

    Hi folks, I am trying to build a project which uses static libraries compiled using a VC++ 7.1 compiler. The project (solution) was imported from 7.1 to 8.0. I do not see the expected results. I have certain part of code as source code and the rest as libraries. Are the outputs of 7.1 and 8.0 compilers not compatible In other words, can I link libraries generated using VC++ 7.1 into an 8.0 project TIA. Girish Mixing libraries built from different VS versions is not a supported scenario. Thanks, Ayman Shoukry VC++ Team ...Show All

  • Software Development for Windows Vista A critical analysis of Vista 5270 Aero & GUI

    Admittedly I know about visual composition and graphics design. When Apple introduced Aqua and OS X in '99, it was the first thing out of the grey vector boxes that computers had been about. Apple introduced "reality", elements that appeared touchable, smooth, Hi tech, and in motion. Glassy elements that looked beautiful to the eye. Progress bars that were 3d, white and blue barberpoles, etc. It was about desireability, touchability and excellence. Microsoft (probably knowing it could not compete at that level (shadowing, motion), released the playdough or clay friendly Mom and pop in Oklahoma look of XP. On the surface a friendly ...Show All

  • Visual Studio 2008 (Pre-release) IDE crash after unhandled runtime exception + memory corruption error (WinFX involved)

    This problem may be related to other threads I've read such as http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=102399&SiteID=1 however I have a specific repro program, described below. Summary: During an uncaught runtime exception with WPF, depending upon the user's response the VS IDE closes without warning, sometimes with or without a Watson report dialog. Installed: Visual Studio 2005 Team Edition for Software Developers WinFX runtime components, SDKs, and VS Extentions as in the order described by Tim Sneath http://blogs.msdn.com/tims/archive/2005/11/18/494526.aspx . Previously installed: VS2005 Beta2 and WinFX beta 1, but ran ...Show All

  • Visual Studio Team System Source Control - default working Path

    Hi! Is there a way to set the default local working path If someone opens the project, he has to set the working path, but I want to set a default path! regards Simon Sort of. If you have a workspace you want other people to mimick, they can create their workspaces using the command ‘tf workspace /new <WSname> /template:<templateWS>;<username> /server:<server>’ ...Show All

  • .NET Development .NET UI Application Crash

    Hi, We have a vb.NET client UI application which calls a number of web services. The application is intermittantly crashing completely without any evidence of an exception etc. The application is single threaded for the most part, the only area that deviates is a class managing serial port comms via win32 calls. (we do not use p invoke..) I understand the most likely cause for an unexpected termination of this nature is threading - more specifically that referencing UI elements unsafely... I can say after a very large code review that this does not take place. Can anyone provide any advice on what might be the cause or where else we might lo ...Show All

  • Windows Forms Treeview Bug

    It is not possible to make a single node bold without the end of the node text being clipped.  The work around this problem, I tried setting all nodes to bold and then setting all but one to regular.  The problem now is that the selection box when selecting a non-bold node is too big! This is quite a major problem as it means . ...Show All

  • SQL Server ODBC Destination in SSIS

    Hi! I have a problem that stops me from using Integration Services as THE ETL tool. My goal is to load a data warehouse type of a database. The database is MaxDB (former SAP DB), but this is not the point. Let's take ANY ODBC compliant DB and assume all I have is ODBC driver - no OLE DB driver. I figured out how to read from ODBC source (using Data Reader and ADO.NET provider for ODBC). Now my question is how do I output/write my data into ODBC source When I try to use OLE DB Destination it does not give me an option to use .Net Provide for ODBC. I tried other "destinations" with no luck. I use this version of SQL Server 2005: (Mi ...Show All

  • .NET Development Encrypting the app.config file

    My application will use the DataProtectionConfigurationProvider to encrypt my app.config file. I can encrypt the file from within my applicaiton, but I would like to be able to encrypt it outside the application so that the file is encrypted when it is deployed. I know that you can encrypt web.config files with aspnet_regiis.exe. Is there a tool that can encrypt app.config files as well Eric No there is currently no tool available to encrypt your app.config automagically...well at least to my knowledge so don't quote me on that. The difference between app.config for desktop apps and web.config for web a ...Show All

  • SQL Server Can't get SQL Manager to connect to server instance SQLEXPRESS

    I installed SQL Server Express and SQL Server manager, then tried to start manager. SQL Service is running, but SQL Manager attempt to connect to SQL Server instance times-out even though I correctly identify instance as SQLEXPRESS Everything seems to be normal - both SQL Server and Manager are on a single Windows  XP home machine. Any suggestions. Thanks Hi, There are only two datatypes that could handle date and time values in sqlserver. These are DateTime and SmallDateTime . Both of these types cold not handle data between 1/1/0001 to 31/12/9999. But you can store these dates as a varchar and just pa ...Show All

  • .NET Development multiple readers on one connection

    can any one tell how and if it is to have multiple sqldatareaders open on one connection. we keep on running into this problem........ It is not possible. From MSDN While the SqlDataReader is being used, the associated SqlConnection is busy serving the SqlDataReader , and no other operations can be performed on the SqlConnection other than closing it. This is the case until the Close method of the SqlDataReader is called. For example, you cannot retrieve output parameters until after you call Close . http://msdn2.microsoft.com/en-us/library/system.data.sqlclient.sqldatareader.aspx ...Show All

©2008 Software Development Network