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

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

Paul Diston

Member List

NickNotYet
Yelnik
Tadwick
Sniper167
Asbj0rn
monkeynova
dave987432987
Duane Douglas
programmer01
AndrewBadera
Dhivya.S
senfo
Danny Tuppeny
Martin Unterholzner
calbear
gfheiche
Hyde
BonnieB
Skiperr
MrOctree
Only Title

Paul Diston's Q&A profile

  • Visual Studio Express Editions Select/Open Tree Node

    I have two ways of getting to data you can either click on it manually or use the tree of nodes to get to it. I'd like to be able to when I click on something I can have it open and select the correct tree node child. Any ideas The "key" is the node name: Me . TreeView1 . Nodes . Add ( Key , Text ) I set the key to an obscure string just as an example... You have the name, text and tag properties of the treenode ,,,the find method searches by node name (key) ...Show All

  • Visual C# Data migration from Cryptography Application block 1.1

    Hi I have an application developed using CryptoGraphy Application block 1.1, which is already deployed at client end. Now i have to Migrate that application to .Net 2.0 which will use CryptoGraphy Application Block 2.0. Now how to migrate data which from 1.1 to 2.0. All the Articles talk about migrating Code, but have missed most important aspect that is migrating existing code. In short if there is a string which have been Encrypted using CryptoGraphy application block 1.1, how will i decrypt it using Security Application blpck 2.0. Thanks ...Show All

  • Software Development for Windows Vista Task Switcher

    Hey did anyone else notice that they have removed the task switcher in build 5308 Hi, did anyone know how to uninstall Task Switcher Pls. Send me an email to juancgms@hotmail.com . Tnxs! ...Show All

  • Visual Studio Express Editions Disabling the vertical scrollbar from a listbox

    Any suggestions on how to would be greatly appreciated! That code is perfect, but is there any way you can make it so I can toggle it on and off Thanks for all the help by the way :) ...Show All

  • Software Development for Windows Vista Dynamic Delays help Please

    Hi i'm making a Task manager for clients. I am representing a time period by a Parallel activity and each task to do that time is a Listen with a HandleExternalEvent and a Delay. What i need to do is have the Delays to be "the rest of today" + some presubcribed window. I'm Creating the WF instance from a XAML file so i can easily edit the first time period using System.DateTime.Now and some simple math. But once the WorkFlow is Instantiated is there away so that once one time periods Tasks are complete the next set of delays will be the rest of that day plus their own timespan I was thinking of building a Custom Activity that Inherits from DelayActivity and making it's Execute method something like: Execute(){ ...Show All

  • Visual C# Print to printer

    I have an application that I am writing that needs to be installed as a printer. Basically when you do a File -> Print, you should get the printer dialog, this application needs to be in there.. That way I can capture the document and do what I need to do.. the capture the document and do what I need to do part is fine.. But how do I get an application to install as a printer Any help would be great.. thanks BlackIce has developed a great Printer Driver API! You should take a look, The Printer Driver API . ...Show All

  • Visual C# Why is fixing runtime bugs expensive?

    I am a novice C# programmer. In the title “Learning C#,” the author states that it is much more expensive to fix a bug at runtime than at design time or compile time. I am wondering if it would indeed be as expensive as he says if the application goes through an SQA cycle before it is deployed. Whether you catch it at design or compile time, or rather at runtime, why would there be more or less cost involved Please shed some light on this. I think you're missing the point, TAG. Lets say there is a logical flaw in the design that would cause the resulting program to behave incorrectly in some cases.  Lets say that, in order to fix this error, it would require that we change a number 10 functi ...Show All

  • Software Development for Windows Vista Removing Shortcut Arrows

    Removing Shortcut Arrows Submitted 3/28/99 An easy way to remove those irritating arrows from your desktop shortcut icons and not change their properties Right click the Desktop / Properties / Appearance tab Select Item Scroll for Icon The default size is 32 Change this to 30 Clicking Apply ...Show All

  • Visual C# Prevent class from raising event

    Is there generic way to prevent class to raise specific event, execute some code and then restore this event, without knowing event sunscribers For example, this is non-generic way: checkBox1.CheckedChanged -= checkBox1_OnCheckedChanged; checkBox1.Checked = true; // doesn't call checkBox1_OnCheckedChanged checkBox1.CheckedChanged += checkBox1_OnCheckedChanged; // restore subscription I want to do this by generic way, without knowing anything about CheckedChanged event subscribers. Pseudo-code (not compiled): EventHandler e = checkBox1.CheckedChanged; // keep existing subscribers checkBox1.CheckedChanged = null; // cancel notifications checkBox1.Checked = true; checkBox1.CheckedChanged = e; // restore subscribe ...Show All

  • Windows Forms setup project

    hi all.. i made setup project for my solution..but after install the program to another pc "v1.exe" ( my solution ) doesnt work..pc has dotnetfx 2.0 too.. what must i do any idea ...Show All

  • Visual Studio Express Editions Action on Click Question.

    I am trying to make a program that utilizes an SQL Database to save data. I want to be able to click on the line in a table and have a very detailed screen pop up that the data would be entered into (Not all the data would show up in the table). I cannot find a way to do this, and figure it must be possible. Does anyone have any ideas or is able to point me in the right direction Any information would be greatly appreciated. I would also like to resize the columns and possibly change the column header colors, etc. Thanks again for any help. -Matt Thank you very much for your help. I am a little unsure as to where this code would go. For example, I have a DataGridView, and when I click on a partic ...Show All

  • SQL Server Textbox rotation or display horizontal vs vertical

    Is it possible to align a text box to display text with rotation For example can I display it rotated 90 degrees left so that it reads from the bottom towards the top of the page All I can find is left/right alignment and top/middle/bottom alignment. I want to rotate the text. Thanks. I get the error at runtime : The report references the code module ‘System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’, which is not a trusted assembly. So I added ReportViewer1.LocalReport.AddTrustedCodeModuleInCurrentAppDomain("System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=bla bla bla"); to my pageload...but i still get the error ...Show All

  • Visual Studio Team System Is Microsoft.Cci.dll redistributable?

    I'm writing a standards-checking program which primarily parses C# source code (using the NRefactory library from SharpDevelop), and I sometimes need to relate the information in the source code to the compiled code in the resulting assembly. I'm currently using regular-old reflection to do this, but I've been poking around with the Microsoft.Cci dll from FxCop 1.35, and it's really nice. I'd like to use it in my app, and I was just wondering whether I'm actually allowed to do that. The license at http://www.gotdotnet.com/team/fxcop/Misc/eula.htm  specifically says the component parts may not be separated for use by more than one user.  I would say no, you can't redistribute. ...Show All

  • Microsoft ISV Community Center Forums dtpicker MicrosoftWord Template

    Hello, I am new to VB, but have general understanding of other programming languages. I am trying to create a Microsoft Word Templete document which incorporates the dtpicker control. I would like the users to be able to select the date they made changes to the form. This form will be passed via email from rep to rep until all data is collected. Problem: 1 - when a document is created from the templete and saved; Upon openning the document at a later date the date picker does not hold the value of the last date selected. 2 I tried using text box along with the date picker and some code behind to assign the value of the date picker to a text box upon date changed. Problem when this document is passed over email this functiona ...Show All

  • Visual Basic circular references between usercontrols and 'main' form in vb6->.net upgrade

    in upgrading from vb6 to vs2005 user controls are introducing a circular reference problem in the following way. In the vb6 solution, user controls could access methods in the 'Main Form' upon which the user controls are used. In VS2005, I create a separate Windows Control Library Project for each User Control. For composite controls I 'reference' any other controls as needed. However, there are controls which call methods/functions on the 'Main form' within a Windows Application project. That project includes the references to all the user controls ( which show up in the ToolBox.) Circular references have been introduced which didn't exist before. The Mainform references the User Control. The User Control calls MainForm methods. ...Show All

©2008 Software Development Network