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

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

EricSmith

Member List

BubbaRichard
giddy
Nick Karasev
Monah84
sennekeennes
Jakec045
airwalker2000
XNA Rockstar
Francoisgh
Cosmin Nicolaescu
John Belli
dj1s
Rick T
Chandler Chao
Helen999888
ItsMe!!!
AlxJ
lung123
Flame Thrower
Josh Smith
Only Title

EricSmith's Q&A profile

  • Windows Forms Modify ConnectionString

    Hi, I searched, but couldn't find an answer. Is it possible to modify a connection string at runtime This code throws an exception, not sure how to fix. string connectionString = this .txtConnectionString.Text; ConnectionStringSettingsCollection col = ConfigurationManager .ConnectionStrings; ConnectionStringSettings section = col[ "MyConnection" ]; section.ConnectionString = connectionString; The last line throws this: System.Configuration.ConfigurationErrorsException was unhandled Message="The configuration is read only." Is this something I can configure I have a requirement to allow certain users the ability to change the connections string, rather than forcing them to modify the app. ...Show All

  • Visual Studio 2008 (Pre-release) WCF and Atlas, A little explanation please

    Hello there! I recently started to develop ATLAS enabled WCF service hosted within IIS. Now when I load the .svc, this error shows up: Method 'ProvideFault' in type 'Microsoft.Web.ServiceModel.AtlasErrorBehavior' from assembly 'Microsoft.Web.ServiceModel, Version=2.0.50727.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' Resulting in a LoadTypeException. What I'm trying to find out is if there is actually something wrong in my configuration/setup/code or there are some compatibilities issues between ATLAS July CTP and WCF from .NET Framework 3.0 RC1. The same issue has been raised once on the asp.net forums with no answer. If I remove the Factory attribute pointing to Microsoft.Web.ServiceModel.Atlasfactory in the ServiceHost dir ...Show All

  • SQL Server Maintenance Plan Changes in SQL Server 2005 SP2

    Users of SQL Server 2005 maintenance plans should be aware of a change in SP2 that affects existing cleanup tasks until updated using SQL Server SP2 tools. Who is affected You are affected if you use SQL Server 2005 maintenance plans, those plans include a History Cleanup Task or a Maintenance Cleanup Task, and you install SQL Server 2005 SP2. Users of SQL Server 2000 legacy maintenance plans are not affected. What is the issue Some maintenance plans might include the Maintenance Cleanup Task and the History Cleanup Task, which allow users to delete information older than a specified interval. When SQL Server 2005 was released, this interval was measured in days, weeks, months, or years. In response ...Show All

  • Software Development for Windows Vista Imapi2 on Vista RC1

    My builds are now broken on the SDK (which is now at version 6 ! !) that matches Vista RC1. http://www.microsoft.com/downloads/details.aspx FamilyId=117ECFD3-98AD-4D67-87D2-E95A8407FA86&displaylang=en Anyone know what is going on I don't see the sample code or anything that corresponds to ImapiV2 anymore. This is very confusing :-| I guess I won't be getting much work done this week... I got it now thanks Garrett! Part of the confusion is because (I thought) the SDK versions were supposed to match the major release versions. But apparently the platform sdk that matches RC1 build 5600 is sdk build 5536. ...Show All

  • .NET Development The process cannot access the file because it is being used by another process

    Hey all This is annoying, I want to perform a copy or move or read operation on a file but the file is already open in word or notepad, whatever. No when I try for example to rename the file that is open in word the system tells me that I can't do it since word holds it. How can I do the same in C#, meaning checking if the file is open and alert which application holds it. Itzik I came accros this problem too... I'm trying to send a file from the Server i worte and I am SURE that no program use this file and still i cant open the file in order to send it away, lets say that a program is using this file (its a BMP) even then, Why we can't Open file for READ ONLY even if it is Locke ...Show All

  • SQL Server How to use already created Dimensions in SSAS project in new Cube

    I have an task in which I have to use already created Analysis Services project for building up new cube. now for building up new cube i need to use some of the dimensions that are already in place. and some i have to create.. Till Data Source View I have almost done. But while cube designing from Data Source View I am facing problem. I am not able to use already present dimensions. I am using wizard to construct CUBE. now what happens when i create the cube using wizard it automatically creates already present dimensions under new name by appending 1 or 2 etc. I tried the other way by unchecking the already present dimensions but this generates other problem after finishing this way i couldn't see relationships presnt in fact and dimen ...Show All

  • Windows Networking Development How to Enable TCPIP.SYS in kernel Mode?

    Hi, everyone, I want to set the TCPIP.SYS BootStart to zero so it can enable in kernel mode. But it's always hang or raise BOSD. if the TCPIP does not start in BootStart mode, the WSK function of WskCaptureProviderNPI with WSK_INFINITE_WAIT will blocked. I also create a system thread to call WskCaptureProviderNPI with WSK_INFINITE_WAIT, I still can not create any WSK_SOCKET if tcpip's start value as 1. Does anyone know how to deal it Under 2000/XP with TDI, tcpip bootstart to zero is OK. Thanks in adavnced. Hello Stone, Both the WSK subsystem and the TCPIP transport will eventually start as the system boots up. You can wait for the WSK subsystem to come up by calling WskCaptureProviderNPI in a thread different from the one your Dri ...Show All

  • Visual Studio Express Editions Save RadioButton Settings "vb Express"

    hi how can i save settings of RadioButton For example: If i have 3 RadioButtons, when i'm select one of them, in the next time when I run my application, the checked RadioButton must be the same that was checked at the last time. Thanks I have tried the code you provided but when I write the lines where .rbtn1 rbtn2 and rbtn3 are mentioned a blue line underlines them. what are rbtn1 ..... Do i have to do something before ...Show All

  • SQL Server How to get nextcounter for each row via a stored procedure and use it in insert into clause for each row

    Insert into TestJobTable (BookNumber,BookCode,IsActive,SourceId,ContactNumber) select [exec getnextBooknumber 'Book'],BookCode,'1', @SourceId ,[exec getnextBooknumber 'contact'] from TestBookTableTemp where SourceId = @SourceId and BookCode not in ( select BookCode from TestBookTable where SourceId = @SourceId ) Here i have to select records from the temprory table and insert it into actual table. During insertion I have to execute stored procedure for two columns and get counter for that coumlumn for each row. What can i do Can any body please give me a solution of my problem even by using cursor Thanks ManiD Its look like a simple and common solution. Please guide me how can i change my Stored procedure to use ...Show All

  • Audio and Video Development Using one Button to open and close menu

    I'm trying to change my menu trays to open and close with the menu button. The problem is I cannot think of a way in markup, to end one of the actions properly. I thought about just making a class that is set to either open or close. Any ideas <timing clock="page"> <defs> <!-- Effects for opening and closing main menu. --> <animate id="OpenMenu" style:x="-450px;0px" /> <animate id="CloseMenu" style:x="0px;-450px" /> <set id="Hide" style:display="none" /> <set id="Show" style:display="auto" /> </defs> <par> <seq begin="(id('BTN_MENU')[state: ...Show All

  • SQL Server Connecting Visual Studio 2003 to SQL Server Express 2005 Edition

    I was wondering if it is possible to connect the SQL Server 2005 Express Version to Visual Studio 2003.If its possible , how can it be done Cos i seem to have an error if i do so. You can check here for basic connectivity information: http://msdn2.microsoft.com/en-us/library/ms345332.aspx And make sure you check out the complete Express tutorial that Microsoft puts out for free: http://msdn.microsoft.com/vstudio/express/sql/learning/default.aspx Buck Woody ...Show All

  • Visual C++ Visual C++ Coding Help

    Hello everyone! May someone please write a quick code for me I've did some re-search on www.google.com , but no luck... Start Button Click { x = www.microsoft.com load time in milliseconds y = 2000 - x z = y * 2 If x is over 2000 milliseconds: { Pop-up message box reading "An error has occured." } If x is not over 2000 milliseconds { Loop Load www.msn.com in y milliseconds. Load www.yahoo.com in z milliseconds. Goto Loop } } I've tried to explain that in best detail as I possibly can think of... If you need any help or don't understand want I want, pelase don't hesitate to ask! Thanks! SDKCodeMonkey wrote: ...Show All

  • Smart Device Development to check if any memory cardis present on the device or not

    hi all, how do i check if there is a memory card present on the device or not is there any api to check this any small piece of code snippet which does this will be a great help.   thanks in advance cheers kulkarni You can use the APIs FindFirstFlashCard and FindNextFlashCard for this purpose. Michael ...Show All

  • .NET Development ADO.net and Excel

    I am trying to open an excel file from a asp.net page (C#) using ADO.net. all works good...but if the the excel worksheet has a name different from [Sheet1$] the code goes in error... Any idea how to solve this problem... how can i discover the name of the worksheet Here my code: String sConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;" ; sConnectionString += "Data Source=" + DirFileName + ";" ; sConnectionString += "Extended Properties=\"Excel 8.0;HDR=YES;\"; OleDbConnection objConn = new OleDbConnection (sConnectionString); try { objConn.Open(); OleDbCommand objCmdSelect = new OleDbCommand ( "SELECT * FROM [Sheet1$]" , objCo ...Show All

  • Visual Studio Tools for Office Databinding in Excel

    Hi! I have an VSTO Excel project. I added a workbook that has 3 sheets in it and has all the formulas and functions built into the worksheets. It needs to stay there! I had a datasource and try to bind to a listobject or named ranges or anything and it over writes my functions etc that are already in the sheets. How can I databind using code to get the full results returned to the worksheet in the specified cells for each of the stored procedures, each sheet runs a different stored procedure. If I use the list object it over writes the code in the sheet and doesnt do all the calculations so I need a way to get data into each sheet just like I would import a csv file and copy and paste into the worksheet spaces. I hope ...Show All

©2008 Software Development Network