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

Software Development Network >> Paul Turner's Q&A profile

Paul Turner

Member List

GaryBROE
Lisa Smith
chiln1208
sairambab
David Holcomb
EvelynR
parth1729
Jérôme Bonnet
szary
PCarrier
marioc
SVNR
C2O
fdgrau
Jack Catheline
Squintz
Robbie Mark
Bill Sampler
TonyMan - MSFT
Saptagiri
Only Title

Paul Turner's Q&A profile

  • Smart Device Development Automatically scrolling to the bottom of a multiline textbox with scrollbar in CF 1.0

    Hi, Is there a way to automatically scroll to the bottom of a multiline textbox with a scrollbar in CF 1.0 I would like to generate the equivalent of "scrolling output" in my CF 1.0 application, and I am using a multiline textbox to hold the text that I would like to scroll as I add more text to it. Thanks, Mark Rejhon Mark, The whole .NET CF is built on a top (wraps) Win32 API's. If you still think SendMessage is "non-native" to CF then there's managed MessageWindow.SendMessage that'll do the same. ...Show All

  • Windows Forms Using 1.0.21.288 being a firewall as the DMZ?

    I have been running with version 1.0.22.290 of the terrarium which seems to work successfully behind my firewall since I am configured to be the DMZ, but almost no one is using this version.  So I wanted to be able to use the older 1.0.21.288 version which seems to have somewhat higher traffic, but when I install it and point the server to&nb ...Show All

  • SQL Server Save password as MD5

    A friend of my self asked me how he can save a password not as clear text. He wanted to encrypt the password and save the encrypted string in the database. How can he do this. I heard from somebody that he might do this with SSIS. Unfortunately I doesn't understand what he ment. Maybe somebody can help me here. Regards Markus I'm also not sure what password he means, and what exactly he wants to encrypt By the way, MD5 is not encryption algorithm, it is "message digest" (secure hash) algorithm. If you have bigger picture, we could try to suggest how SSIS or new SQL Server features may help. S ...Show All

  • Visual C# How to navigate from a (custom) attribute to the element/object it is assigned on???

    Hi all! Is it possible to navigate from a (custom) attribute to the element/object it is assigned on Szenarion: I want to write an intelligent attribute, which wants to do something with the field it is assigned on, e.g. initialize the field's value from a persistant storage. But the problem seems to be that the attribute by itself does not know to which element of a type/object it is actually assigned on... I know that I can "externally" iterate through a type's (custom) attributes an react on them, but is the inverted way also possible I thought about something like [ AttributeUsage ( AttributeTargets .Field, AllowMultiple = fals ...Show All

  • Visual Studio DDEX and schema information

    I am trying to write a DDEX provider and am having trouble figuring out an error condition.  The connection shows up in the Server Explorer along with the appropriate nodes (tables, views, etc.).  The tables expand and show their columns, column type information shows up in the properties window.  But when I drop a table onto a dataset, it gives the following error: Could not retrieve schema information for table or view test. I get the same error if I go through the menu Data\Add New Data Source...  The error seems to be the generic top level "something failed" error because it appears in response to any number of thing ...Show All

  • Windows Forms FileOk Event problem

    My handler for the FileOk event of a dialogbox just won't work.My code for the handler goes like this : void saveFileDialog1_FileOk( Object^ sender, System::ComponentModel::CancelEventArgs^ e ) { label1->Text = "test" ; } label1 is a label on the form and i want to change its text property just to check if the handler works.The saveFileDialog control shows itself after a click on a menu button.And when i click on the save button of the dialogbox, nothing happens.Any help I just typed the code under some other event handlers my program uses.Well this is my first windows ...Show All

  • SQL Server Instance name contains a dash

    Hello We are in the process of upgrading our SQL 2K server to a cluster environment. Currently the server is setup as a default instance running on a single box with log shipping as a warm backup It is required to create an instance name for the new cluster to work. My question is 1) Has anybody tried to have an instance name that dash (-) in it. Example: \\SERVERNAME\xxx-xx-xxx I am told that it is not possible to have a server instance named this way. Would like to know if this naming convention is possible under SQL2K If not what is the suggested workaround This will save a lot of time in application modifications ...Show All

  • Visual Studio Team System Feature request: see history of line changes

    Hello TFS Team! I'm not quite sure that here is the best place for such requests, but I have no better idea. In concurrent source control system (Subversion), one useful feature was implemented - you can see for each source file line, from which changeset this line came from. It is very useful if you want to restore history of some change and need to know, who and why have added/changed this line (or block of lines). What do you think, is this feature possible to be implemented with TFS BTW: Developers, if you will find this feature useful, I think it have a sense to post vote for this post. Hi ...Show All

  • Visual Studio Express Editions Connecting to a remote registry in VB 2005 Express

    Hello everyone, I don't know if it is possible in the Express edition to do any sort of remote work. I seem to have seen something somewhere that sounded like it was not possible. Anyway, here is what I would like to do: Connect to the registry on a remote PC and read a key. My program works on my local machine. But, I am not sure how to change the code to run it against a remote machine. Presently I am using the: "My.Computer.Registry.GetValue" method. Any pointers would be much appreciated (my appologies if this question has already been answered somewhere. I tried looking ) Thank you much, Oozle_Finch ...Show All

  • .NET Development List files on ftp server

    Hello all, i have created an ftp client in C# using Wininet and i am able to download upload files from and to my ftp server, what i would like is to have the list of files and directories on the ftp server using wininet. any help would be great. With WinInet you'll have to PInvoke FtpFindFirstFile and InternetFindNextFile . Just FYI: there is an FtpWebRequest class in 2.0 that can make some operations easier, but doesn't actually provide as detailed an API as WinInet. ...Show All

  • SQL Server Tie together custom logging and SSIS logging?

    I recently read the project real ETL design best practices whitepaper. I too, want to do custom logging as I do today, and also use SSIS logging. The paper recommended using the variable system::PackageExecutionId to tie the 2 logging methods together. The only variable I see is ExecutionInstanceId, which is also a GUID. In the sysdtslog90 table, I see sourceid and executionid, both GUIDS. When I run my package, the system::PackageExecutionId does not match either sourceid or executionid. Anyone know whats up Google came up with this... http://www.microsoft.com/sql/solutions/bi/projectreal.mspx ...Show All

  • Windows Forms DataGridView extending with Validator Control

    I have a Validator Control for textbox's like the one described by Hollis in Validator Controls for Windows Forms   http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnadvnet/html/vbnet04082003.asp .  This control uses Extenders so you have more properties for the textbox.  For example a required property. Is it possible to extend the properties of the columns/cells in the DataGridView so I could get a few more properties and set the errortext of the cell when it is validated             You should ask Billy ...Show All

  • Visual C++ Has casting to int from double changed completely in VS2005?

    Has casting to int from double changed completely in VS2005 Numbers that are too big are always -1 now. Which has caused me much pain to track down and is not compatible with code we currently use. Here is an example, it used to be that if you cast a big number to an int, you would some value that was related to it in some way: (int)1.0957837e+011 => -2090779696 But now it is always -1 if the value is out of the range of the int: (int)1.0957837e+011 => 0x80000000 Is there anyway to make Visual Studio 2005 use the old style of casting Thanks John Petritis John: I'm not see this behavior. Her ...Show All

  • Visual C++ Setup was unable to create a DCOM user....

    Hi. When I try to Install VS6.0 …. Setup Error Setup was unable to create a DCOM user account in order to register ” ..\Program Files\Microsoft Visual Studio\Common\Tools\VS-Ent98\Vanalyzr\valec.exe” I couldn't Install VS6.0, What should I do Thanks. Are you running as administrator I suspect that you need to be administrator in order to install the Visual Studio 6.0. You should also note that Visual Studio 6.0 (and related products like Visual C++ 6.0) are no longer supported. ...Show All

  • Windows Forms playing alert sound

    Hi, I simply want to play and then stop an audio alert message without opening media player or any other sound player application. How can I do this Thanks, See http://forums.microsoft.com/msdn/ShowPost.aspx PostID=83764 ...Show All

©2008 Software Development Network