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

Software Development Network >> Sam Spencer's Q&A profile

Sam Spencer

Member List

daveNETGuy
tyther
hinchi
ali_kiran
Stef Shoffren
Harald Kostinger
DemonStration
Sprite64
Ian Darke
Gary-unisys
Pablo A Castillo
PanBocian
Notdino
AlanuB
MrMojoRisin2000
CISCBrain
Qixxin
Chippen
Deepakc
Ian Logan
Only Title

Sam Spencer's Q&A profile

  • Visual Studio how to find common script folder

      Accessing common build scripts,   We have a couple projects those are checked into source control, generally people use vs.net to do development and build.   I want to enable use of msbuild along with that I want to simplify project files so that it imports common properties. It will enable future changes esier.   Issue is how I find the common script folder which in build sub folder under root source folder (which may be different for different users), I don’t want to declare it in env because user may have more than one .   Any solution how can I traverse part folders to import a commo ...Show All

  • Windows Forms Error starting Windows Service Programatically

    Hello, I am using the ServiceController to start a service programatically. However, every time i do a start(), it gives me a C0000005 exception related to the security settings I believe.  The other message I get is  The service DialingService cannot be started from machine '.' and it forces me to shutdown my computer. Is there a way to get around this&nbs ...Show All

  • Visual C# Returning delimiters with the tokenizer

    The way to tokenize a string in C# that I came across is using the String.Split() function. However, this function does not return the delimiters. I am trying to build a parser but for that I need the tokens as well as the delimiters that split the tokens. Is there something to that effect in C# I note that there is no StringTokenizer (Java/J#) kind of class in C#. Can I get to complete my project in C# or do I have to rever to Java You could add the delimiter to every token after the split, programatically. Why do you want the delimiter to be part of the token The delimiter is known so if you need to join the array later you can spe ...Show All

  • SQL Server RSS feed with ISO8859 encoding

    We have an XML source that reads an RSS feed. The document uses ISO8859 encoding, which causes an error in SSIS: "System does not support ISO8859 encoding". Is there any way around this Thanks, Dirk You were all right. I had the code ISO8859 -15 in my feed, but as described the code is not supported. I didn't knew the importance of the "-xx" at the end so I did not post my extension "-15". After some mails with the developer of the feed I was able to get the RSS feed now with "UTF-8" encoding - This works perfect! Thanks for the help! ...Show All

  • Visual C# Saving a Solution

    How can I save a solution created in VS 2005, so it can be opened in VS 2003 and compiled Hi. You can't save a solution of VS2005 to VS2003. VS 2003 use .net framework 1.1 where as VS2005 use .net framework 2. So u can't just compile it vs2003. You need to modify your coding. That means you have to do it manually or you can look for third party conversion tool. Regards ...Show All

  • SQL Server this should be easy but it's not.

    I have written 2 custom connection mgr’s. One connects the data from an oracle source One connects so I can put the data on a sql server. These both work well and it makes it a lot easier across development, test, production. But now I would like a good way to do this I have 10 tables to copy from oracle. The only difference is just the name of the table. static string [] g_tables = { "table_name_1" , "table_name_2" , "table_name_3" , … }; foreach ( string str_table in g_tables) { Oracle.DataAccess.Clien ...Show All

  • SQL Server where do i find the examples that come with sql server

    books online mentions examples stored on the pc when sql is installed, but the examples are not on my machine. i know they are on the disk somewhere, but i dont have the disk. i have tried going to add remove programs and adding extra sql components but i cant find the examples there either. can anyone tell me where to find them Hi, what examples do you mean, sql examples in sp / functions There is a sample DB that comes with SQL Server the successor of the famous Northwind its called Adevntureworks. HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • Windows Forms combobox?

    hello how can i make when the user type in the combobox a letter then the combobox will open as a list and then gives him all the items that begin with the this letter that the user had typed. thank you for the help and for the time  ...Show All

  • SQL Server Filter Records returned on report builder based on User LogOn

    Dear Anyone, Is there a way to filter the records returned by a report model in report builder depending on the actual user that is logged on the report If so, how do we go about this Thanks, Joseph This has been vexing me as well for quite some time as well. At times, it seems like I'm getting real close to an answer just to get shot down by restrictions on what entities are available when inside the Expression Editor. In my case, all data goes through our web services and users have no direct access to the database, so that leaves making filtered views out of the question. ...Show All

  • Visual Studio Tools for Office Revisions in Bookmarks

    When I access a Microsoft.Office.Tools.Word.Bookmark object in my code I was hoping to use the Revisions property to get the revisions within only that bookmark.  I seem to get all of the Revisions of the entire document.  Is this the way it is supposed to work Bill Microsoft.Office.Tools.Word. Bookmark book; IEnumerator books = Controls.GetEnumerator(); while (books.MoveNext()) {     if ( books.Current.GetType().ToString() ==       "Microsoft.Office.Tools.Word.Bookmark" ) book = (Microsoft.Office.Tools.Word. Bookmark )books.Current; else   conti ...Show All

  • Smart Device Development Emulator debugging - 'unable to start program'

    Hi I'm trying to debug the memwatcher SDK tools sample today item using VS2005. First I get a message "Program to Debug A non-executable project cannot be started directly. Please set a command to use to start debugging this project. Do you wish to continue ' If I click yes I get a message "unable to start program '%CSIDL_PROGRAM_FILES%\memwatcher\memwatcher.dll'. This used to work - I don't know what I've done to break it. I've tried re-installing VS2005 and the SDK with no luck.Other SDK samples that compile to exes debug fine. If I load the dll and registry items by and the sample works as expected (not debugging) - it als ...Show All

  • Visual Studio VS2003 +IE7 Beta2 crashes...

    With IE7 Beta2 installed on my machine, the help system crashes VS2003 frequently when the internal help option is used. DocExplorer crashes sometimes when used as an external viewer. Also, some entries lose all formatting and display as black text on a white background. Is anyone else having these problems I haven't tested this with VS2005. I could uninstall the IE7 beta but I'm hoping there is some way to force DocExplorer to use a different version of the WebBrowser control. Is there such a customization Thanks, Jeremy Boschen While I have not seen any crashes, I have definitely seen all the entr ...Show All

  • SQL Server Using HTTP Post to secure parameter values?

    It is mentioned in "MS SQL Server 20005 Reporting Services" (good book by the way) that you can get around URL access limitations by employing the HTTP Post method. I have employed the HTTP Post example from the book and parameter values are still exposed in the URL. Am I missing something I have searched the internet trying to get a definitive answer to this issue and came across this blog ( http://blogs.msdn.com/tudortr/ ) entry which states "You can try to hide the parameter, so it will not show up in the report viewer toolbar, or not show the toolbar at all, but parameter values will still show up in the URLs generated ...Show All

  • Visual Studio working folder with vss2005 Internet plugin

    Hello, I'm using Visual studio 2005 and visual source safe 2005 plugin in "Internet Mode". I can not find how to define the working folder for my project I retrieve from a vss2005 using the internet plugin in visual studio 2005. If there is a folder define on sourcesafe in local, I can't open the project. If i don't define one, it wants to store the project in MyDocuments(where i dont want). So, can I change the working folder when using vss 2005 over internet Thanks for your answers. Jean-Baptiste Hi Jean-Baptiste, When you navigate the VSS database folders to open from ...Show All

  • .NET Development Creating 64-bit applications on 32-bit platform using Visual Studio 2005

    Hello, How can I create 64-bit apps on x86 processor Do I need a x64 or IA64 machine to do that I have installed VS 2005 and the .NET Framework on x86 machine. I have my 32-bit apps ready. How do I proceed Any suggestions will be appreciated. Thanks! Sonia. Any dot net application(vb 2005 or c#) which is compiled for anycpu (the default) will be a 64bit application when run on an x64 or IA64 computer ...Show All

©2008 Software Development Network