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

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

MartinDolphin

Member List

Ian Heyns
RedHedToo
Srikanth valdas
Arnon Rotem Gal Oz
mjschwenger
kotan
TQSystems
Peter Butler
Amarendra
MikeC#
Leon Bouquiet
PeteCarterGreenan
Carl J
Christophe Kung
bettyday
Johan Nordin
PedroAntonio
r3n
Ulrich Vogl
KeithGarrett
Only Title

MartinDolphin's Q&A profile

  • Windows Forms Switch connectionstring for TableAdapter

    TableAdapter is great. But, each TableAdapter needs itself connectionstring. Now, I need to switch Sql Server database, do I need to reset connectionsstring for my more than 50 TableAdapters Is there a better way to do it Thanks I believe you should have put your connectionString in app.config. If not, try doing search and replace. ...Show All

  • .NET Development How can i check if my username and password are correct with FtpWebResponse

    Hi, How can i check if my username and password passed in my FtpWebREquest.Credentials are correct without getting an exception   When i am giving a wrong password i am getting an exception that i want to avoid...   Please help me :-( I believe if the server returns with an error condition, such as invalid credentials, it is returned to the user of FtpWebRequest/Response as a WebExcepti ...Show All

  • Visual C# don't understand AppDomain.CurrentDomain.SetPrincipalPolicy

    Hi, I don't understand what: AppDomain.CurrentDomain.SetPrincipalPolicy(PrincipalPolicy.WindowsPrincipal); Is made for. Thread.CurrentPrincipal return always the same with ou without that piece of code. Does anybody has an example demonstrating a difference thank you OK thank you Vikram. Your link is very interesting and help me to clarify some details. I also disassembled some classes like thread, appdomain and httpapplication and I t ...Show All

  • Visual Studio 2008 (Pre-release) Questions about creation of certificates in an application

    I am building a p2p application using the WCF peer channel. I would like the messages between peers to be secure (signed and encrypted).  To do this I need to have each peer use a certificate that is unique to that user.  The only things I have found on creating certificates has to do with testing of code signing, not use in real applications.  What I think I need to do, but have not found a way to do in code are the following: 1) ...Show All

  • Visual Studio Express Editions A small complaint from nobody

    I have long been a Visual Basic coder. I read C++ quite well but really struggle to write it. Primarily because nearly every "example" I try to compile, will not. This makes it nearly impossible to understand how things are put together. Most of the time I can't figure out if I am formating my code the wrong way or just don't have one of the many compiler or references set correctly. So if anyone at Microsoft is paying attention, or ...Show All

  • Windows Forms data access blocks

    I don't know how many Saturdays I've wasted because of this horrible block of code 1. Data access block - does it provide ANY advantage   Does it really reduce the number of lines of code (4 ) enough to justify its horrible performance (by  ...Show All

  • Visual Studio How to categorize properties?

    Hi all, I tried to categorize some properties by filling the Categorize property in the Code Generation category. It doesn't seem to work, so I tried adding a CLR attribute (System.ComponentModel.Category), which also doesn't categorize my property. What am I missing Kind regards, Ronald Hi Ronald, It should just work with the 'Category' property on your property. Did you transformed all the templates ...Show All

  • Software Development for Windows Vista If switch to another window, cann't see the video graph when switch back

    I am doing a project by using DirectShow, win32 API and ATL. I created a black static frame in dialog box to display the video. In the dialog box I also created few push bottons such as play, pause, stop, etc. Every function goes well except when I clicked pause or stop button and switched to another window such as IE, then back to the video window again, I cann't see the paused video player picture, only the black static frame. How to fix t ...Show All

  • Visual Studio Express Editions unable to install SQL server 2005 express

    I try to install SQL server 2005 express, but not success. pls advise, Below are the info shown: my hardware : pentium celeron 1.7Ghz, 512MB RAM, 40GB HDD System Configuration Check- WMI Service Requirement (Success) WMI Service Requirement Check Passed - MSXML Requirement (Success) MSXML Requirement Check Passed - Operating System Minimum Level Requirement (Success) Operating System Minimum Level Requirement Check Passed ...Show All

  • Visual Basic Control codes - how to type them into a programme

    Here I am struggling to get my PC to talk to an electronic sign board (junk from an old callcentre that will now do service as a score board at the school I teach at). Background: I am able to have the sign working using it's own software, so it does function. Unfortunately this is a SCO UNIX box that runs a mass of other things, with the sign being a miniscule part of the functions. This footpring is too big! Problem: I have the pro ...Show All

  • Windows Forms Databinding and custom control

    I have a custom combobox  that has a on it.  When I databind to that property, it doesn't seem to work.  What do I need to add to the property code to make it databind compatible Public Property SelectedKeyID() As String Get Dim obj As Object Dim _SelectedObject As Koolsoft.ListItem If Me .SelectedItem IsNot Nothing Then obj = Me .SelectedItem If obj.GetType.ToString.Trim.ToLower.EndsWit ...Show All

  • Windows Forms ClickOnce, Updates, and Settings

    I have updated a windows app that is deployed with ClickOnce. Lets say this version is 1.0.0.1. I make some changes to the Settings (via Properties of the project). I actually added a setting and changed the string for one of the existing settings. I republish my application (now version 1.0.0.2) and now when clients try to install the new update (automatically on startup of the application), it fails. I have a feeling that the new settings aren ...Show All

  • Visual Studio 2008 (Pre-release) Debugging Problem

        It appears that my WPF apps won't debug inside the VS 2005 instance im currently using by defualt. I get the "There was a problem send/dontsend/debug" screen, pick debug, get the choice to open a new debugger or use the current one, and then get a very vague exception i have to drill down into. Is this normal It's really annoying and slows down my debugging. Does this happen with all the WPF a ...Show All

  • Visual C++ Binding Navagation Like buttons

    I'm creating a program in Visual Studio 2005 Beta 2 (i dont have a subscription to msdn so i cant get thet CTP i'm just a student so the cost is a bit steep)using datasets and I want to allow the user to fill in text boxes and add fields without having to see the datagrids.  In doing this I would like to add buttons to add (and save) a new item (row) to a dataset and also buttons to scroll through a data set (i tried this ->Binding ...Show All

  • Windows Forms Redrawing issues

    I am building an explorer-style application with a treeview on the left and a panel on the right.  Depending on the selection within the treeview, I add one of a set of controls into the panel.  My problem is that when I do this& ...Show All

©2008 Software Development Network

powered by phorum