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

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

Darkbob

Member List

Brad Feaker
Manash
WinFormsUser13232
tackett
williamtcurtis
IMBack
cool714
ctroyp
Sumit Chawla
Joshizzle
Thilakavathy
Steve Huckett
KillerKryptos
tackett
Abu Yaman
DrawMusic
ShadowOfTheBeast
onur.yilmaz
StephanieR
srjing2
Only Title

Darkbob's Q&A profile

  • Software Development for Windows Vista System.Transactions and MSDTC

    I've recently tried using System.Transactions.TransactionScope to handle my transactions. Although it's very handy and simple to use in my business layer, i cannot get the code to run unless the Distributed Transaction Coordinator service is running on my pc. (SQL Server 2005 is running locally so i can test on a local version of our database) My question is: why does this service need to run if all i'm trying to do should only require a standard Transaction, not a distributed one Is my transaction being promoted (and thus suffering a perf hit) This is the codeblock where i'm using the scope: Dim scope As Transactions.TransactionScope = New Transactions.TransactionScope Dim newname, oldname As String Dim sjabloon ...Show All

  • SQL Server how do I disable "strong password required"?..

    how do I disable "strong password required" because I want to allow to add a user with the config-tool with no strong password ...Show All

  • SQL Server SQL 2000 CALs on SQL 2005

    Hallo are CALs bought for SQL2000 valid for SQL 2005 We're going to move the database servers from 2000 to 2005, and would like to know if we need to buy new CALs too. thanks ...Show All

  • Visual C# attempt to read or write protected memory

    hello everyone. i'm trying to open an excel workbook using c#. this is the code: using Excel; Excel.Application excelApp = new Excel.ApplicationClass(); string workbookPath = "c:/SomeWorkBook.xls"; Excel.Workbook excelWorkbook = excelApp.Workbooks.Open(workbookPath, 0, false, 5, "", "", false, Excel.XlPlatform.xlWindows, "", true, false, 0, true, false, false); when i run the program on the same pc that has the c# environment it runs without problem, but when i try to run it on another pc i have the following error: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corru ...Show All

  • Smart Device Development Hi Help required immediately

    I am doing developement in WINCE I have installed CompactFramework in my system I could not find the system.Data.SQLCE .and system.cf namespaces are not available. I have installed servicepack also, I am struck in development can any one help in this regards. Thanks & Regards Please see this, items 7, 9, 10, 13 and 17: http://www.danielmoth.com/Blog/2005/03/please-read-before-posting-to-ng.html ...Show All

  • Visual C++ Problem with ReadFile(), used to read from a Asynchronous Pipe

    Hi All, I am getting this unusual problem. I will try to explain as clearly as I can. I am working on two processes in which one is parent and other one is child. Now the STDOUT of the Child process is connected to Parent process using a asynchronous pipe. Now, when I am trying to read the content of STDOUT of the child process using the pipe, the processes get stuck at some point where ReadFile() is used and it doesn't progress further. When I hit CTRL+C to abort the execution, following message appears on the CMD: "The pipe in which you are trying to write doesn't exist" But when I tried to debug it, the pipe handle was still present. Please help me regarding this. Please ask the questions if the problem is no ...Show All

  • Windows Forms Why does the ClickOnce 'Install' button generate an xml page instead of starting download?

    Hello, I just published my application for ClickOnce deployment to my web site. When I click on the Install button on the publish\publish.htm page on my website, the browser returns the contents of an xml file and does not start the download. Does anyone know what might be causing this Any help or suggestions would be greatly appreciated. Thanks! Jason I too am experiencing this frustrating ClickOnce behavior when installing from IE 6.0. We tried adding the mime type application/x-ms-application to our apache server but this had no effect. This is our current solution which I call " ClickOnce and Fudge " Publish your application as normal Edit your deploy file (i.e deploy.htm ) ...Show All

  • Smart Device Development Detecting which Compact Framework installed in the device

    I need to determine which compact framework installed in the device during deployment of my application. Based on the result I need to deploy Compact Framework 2.0. Can someone give/pont me code sample in Visual C++ If possible give me code sample in C# also for future use. What is the key value for CF2.0 SP1 Is there any device being manufactured with CF2.0 in ROM yet Thanks, Vijay The following resources should help: http://msdn.microsoft.com/mobility/understanding/articles/default.aspx pull=/library/en-us/dnnetcomp/html/netcfdepl.asp http://wiki.opennetcf.org/ow.asp CompactFrameworkFAQ%2FDetectVersionFromInstaller I'm not aware of of any Windows Mobile devices that do ship wi ...Show All

  • SQL Server For loops in Tsql

    Can somebody please tell me how can i write a tsql statement in sql server 2000. Same time how can i get the last digit of a inteager variable through tsql .What i want is to write 'right(intVariable,4) which is in vb .I want that in sql server 2000 Thank you Hi rohanfernando, I moved your question over to the Transact-SQL forum. The folks over here should be able to help you with your question. Cheers, JJustice [MSFT] ...Show All

  • Visual Studio Tools for Office Outlook Add-in : best way to deploy minor/major updates after using setup project?

    If I initially deploy my Outlook add-in using the setup project (to test for prereqs, grant security and create registry entries), what is the easiest way to deploy minor updates Do I just need to over write the assembly and application manifest files on the target machine What if I want to use the Publish wizard Can I mix the deployment methods in this way or is there an issue with the fact that the publish wizard creates subfolders for updates For more major updates where I need to uninstall the add-in via add/remove programs, how can I code my setup project so that it uninstalls any existing versions of the add-in before trying to update the new version Thanks, Tad Hi Tad, Yes ...Show All

  • Visual Studio Team System ConverterException TF60087 Failed to initialize user mapper

    Hi, I've never had this problem of migrating to Team Foundation but today, its taken exception to my user name. Its saying that the user name in my usermap file is invalid. This is running the VSSConverter comman. The thing is, using the same user name and password to login into the Visual SourceSafe Admin, i have no problems opening the application. Am i doing something wrong Can i get some help ...Show All

  • .NET Development Where is Sysem.ServiceModel?

    I just installed VS 2005 with version 2.0 of the framework. I'm attempting to work through a WCF example. I don't see the ServiceModel in the AddReference list. Is this a 2.0 or 3.0 component So, if I understand correctly do you have to install both the SDK and orcas to get VS 2005 to recognize the System.SystemModel .dll in the AddReference screen I installed 3.0 framework and it still does not show in the list. ...Show All

  • Windows Forms How to change appearance of toolstrip overflow button?

    Hi there I derived my own class from the toolstrip, to implement a few changes. My toolstrip uses a blue background color. This works fine, but i got a little problem: The overflow button is nearly invisible, until you hover over it with the mouse. It uses the same background color as the toolstrip and only has this little black arrow which is nearly impossible to see with the blue background. I only want to get this button better visible! I tried to change the BackColor and ForeColor properties of the overflow button (which is accessible via toolstrip.OverflowButton), but ForeColor changes nothing at all and BackColor only draws a little line on the button in the desired color. I also tried to write my own ToolstripRenderer. I override th ...Show All

  • Visual Studio Express Editions BackColor of text in TextBox

    My application has a search TextBox1 containing a search term. The search results show up in TextBox2. I would like for the search term in TextBox1 to have a yellow backcolor property in TextBox2 to make it easy to find ( like this ). Here is my best attempt so far: Dim searchTerm As String = TextBox1.Text If TextBox2.Text.Contains(searchTerm) Then searchTerm.Format( Of String , BackColor.Yellow)() End If I get an error message: Type 'BackColor.Yellow' is not defined which leads me to wonder if I am heading in the right direction with this code since I am interested in defining a string property value rather than data type. Any thoughts on how to proceed would be appreciated by this VB Newbie. ...Show All

  • Software Development for Windows Vista Windows Vista RC1 crashes with a critical error when accessing AD domain

    Please help, in testing vista RC1 on our AD domain, when connected, accessing any network resource causes Vista to become unstable and it throws a critical error and must restart. If I take it off the network, it is fine other than its own programs crashing here and there. This is a clean install and we have tried it pre staged in AD and not prestaged. We have installed this on multiple systems and they all do the same thing. Anyone experience this Any Ideas ...Show All

©2008 Software Development Network