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

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

Paul Seymour

Member List

jfyfe
chadiswar
Prasadi de Silva MSFT
pravin333
Thomas Israelsen
dct-val
TheOneAndOnly
MSRez
annemarie
Ignus
Shelly
Patrick ODay
Chrisbzd
Frank ORourke
Voltzz
psiegers
achalk
sandraFaust
grumpy3b
Greg Bowie
Only Title

Paul Seymour's Q&A profile

  • .NET Development IntegerValidator is silly...

    Class, Test and very strange results below. Last time I checked, 2 was right there between 1 and 3.   namespace Fido.SnmpPollerServer.Configuration { using System; using System.Collections.Generic; using System.Configuration; using System.Text; /// <summary> Represents a host element tag on the PollConfigSection </summary> public sealed class HostElement : ConfigurationElement { internal static class Tags { internal const String HostName = "hostName" ; internal const String Community = "community" ; internal const String SnmpVersion = "snmpVersion" ; inter ...Show All

  • Visual Studio Express Editions installation help

    I just downloaded Visual C++ Express Edition and then tried to install it. The framework installed well, but when installing VC++, the computer gives a error saying that a folder could not be created. It doesnt work even after retrying the procedure. Can someone please help me Any help will be gladly appreciated. Thank You. The install needs to write to several system directories and the registry, for this the user that you are running under will need to have the correct permissions to install to those points. This means that the user will have to be a power user or a local admin on the machine. I would ...Show All

  • Visual Basic Database Design advice

    Hi, I am trying to design a database for an IT Asset Tracking Management system and so far have added these example tables. I just want to know whether the design is ok or needs to be improved as I am trying to break my tables down as much as possible. The aim is not to store too many ID values in the main tables. Make table MakeID (int), Make (varchar) (This table will store values such as HP,Dell,Fujitsu,IBM etc) PCModel Table PCModelID (int), MakeID (int), PCModelTypeID (int),PCModel (varchar) (This table will store the models of the PC) PrinterMake Table PrinterMakeID (int),PrinterMake (varchar) ...Show All

  • Visual Studio Express Editions no answer so i will ask once more! please help!!!!

     thanks for any help just want (in Windows ) the person who opens a text file -that it will open with my note pad type program not windows notepad,     no answer so i will ask once more! can some one please tell me how to click a text file and get it to open with my vb notepad program i use file open with my program bt when my program opens the rich text box is empty   Dim MyFileStream As New FileStream( FilePath , FileMode.Open) RichTextBox1.LoadFile(MyFileStream, _ RichTextBoxStreamType.PlainText) MyFileStream.Close() ----------------------------- file path is the text file they ck so how to ...Show All

  • Visual C# source code for .NET classes

    Is it possible to obtain the source code for built in classes in .NET More specifically, I would like to see the source code for the PictureBox class, preferably written in C#. Is it possible to get this piece of source code Yes, here are some articles about it and links: Shared Source Common Language Infrastructure 2.0 Release Microsoft Shared Source Initiative Encourages Academic Innovation Microsoft Releases Shared Source CLI and C# Implementation If you just want to browse and search through the BCL is suggest a reflector, the best one is: Lutz Roeder's .NET Reflector , this will generate sourc ...Show All

  • Windows Forms Can you run a seperate process as a child form?

    We'd like to write some functionality in a child MDI window that can be "plugged into" several different applications but we don't want to have to recompile those container apps when the child changes (nor vice-versa). Is there a way to run a different process (exe) as a child MDI window in other exes I only get it as a child window, not as a MDI child window. I pass the MDI forms Handle property on the command line to the new executable In the new executable I have my own class derived from IWin32Window class Win32Win : IWin32Window { public Win32Win( String strHandle) { ...Show All

  • Visual Studio Tools for Office Excel Protection - Stopping selection of locked cells

    In Excel, if you choose Tools | Options | Protect Sheet you get the option to stop the user selecting Locked cells. In VSTO I can use the Globals.SheetName.Protect() method, but I can't see any parameter that matches the "Select locked cells" option. This option is ideal for my particular situation as I don't want the sheet protection password protected, but the error message the user gets when trying to edit a protected cell tells them how to turn off the protection, removing the ability to select the cells stops them ever getting this error box. Hey Michael, Use the EnableSelection property o ...Show All

  • Visual Studio Team System Problems with build type configurations and 'Publish'

    If I want to build 2 solutions in one build type, each with a different configuration, I just make sure that both of the configurations are defined in tfsbuild.proj. Then the build will attempt all four permutations (sln1, config1;sln1, config2;sln2, config1;sln2, config2) but skip the ones that are not valid for each solution, is that correct   Also when I try to publish, I would expect it to do a build first, or do I have to be explicit and define a 'SolutionToBuild' and a 'SolutionToPublish' item for each solution I want to publish in tfsbuild.proj I have attempted to do a publish, however the build log says:   ...W ...Show All

  • Visual Basic KeyDown not working with Web Control

    Issue: When the web control has the focus, the form can no longer capture keystrokes through the KeyDown event, even with KeyPreview set to 'True'. Platform: VS 2003 running on XP Pro Web Control: AxWebBrowser1 (imported into tool box) 1. Create a single form Set KeyPreview to 'True' Add key trapping to the 'KeyDown' event In Form1_Load event add the following line of code: AxWebBrowser1.Navigate2("www.microsoft.com") 2. Add one TextBox (made sure it is set to TabIndex 0 ) 3. Add AxWebBrowser1 (made sure it is set to TabIndex 1 ) 4. Run the app and anytime the TextBox has the focus, the KeyDown event ...Show All

  • Visual C# Writing a basic shell extension.

    Looking to write a basic shell extension and can't find where to look for this info. I would like to write an extension that is added into the context menu in explorer so that when I left click on any file or folder, one of the options is my program. Also, is it possible to execute command line statements in C# - Chris There are a series of 4 articles in Codeproject- C# Does Shell http://www.codeproject.com/csharp/csdoesshell1.asp Hope this helps ...Show All

  • .NET Development Constructors

    I have a WebService that uses a lot of 'support' classes in order to function. For example, one of my WebMethods has the following structure: OutputData Execute (InputData data) { .. } OutputData and InputData are classes within the Web Service but are not themselves WebServices - they are just normal classes. The problem is that only the default, non-parameterised constructor is available whenever I use this web service in my application. I can understand why WebServices cannot have constructors with parameters - since they are stateless - but I cannot understand why my support classes can't. Can someone explain And, ...Show All

  • .NET Development How to read a column's value

    Using VB 2005 Express I have a form that is populated from a Tableadapter. One of the columns is a value that represents a height in cm. I want to use that value to display the corresponding inch value in a textbox on the form. So I want to read that column's value and then convert it to inches and write that into the text box - but I don't know how to identify which is the current row I'm in (when I navigate through the table with the BindingNavigator, how do I keep track of the current row ). Can someone tell me just what I should be looking for in the MSDN help files - I'm very new to this and cant suss it out! Thanks... ...Show All

  • SQL Server Print Preview button doesn't work

    Hi, I made a smart client sample project and added reportviewer control to the winform. It's by VS2005 Beta 2 and Sql 2005 CTP. Open the Smart Tags panel of the ReportViewer control by clicking the triangle on the top right corner and click report server and select <ServerReport>. value is : report server = " http://localhost/reportserver " report path = "/report1" the problem is, when I select a <ServerReport>, print preview button is enabled but doesn't work, nothing happened. But I change to existing report - use local report definition - from <ServerReport>, It works. Showing Preview report image and ...Show All

  • Visual C# How to set a form run when project includes somes forms like Visual Basic ?

    Please tell me how to set a form run when project includes somes forms like Visual Basic Thank you very much ! Hi, you can show a form with this code: Dim f As New Form2() f.ShowDialog()   ...Show All

  • SQL Server parameters of a given stored procedure

    hi, is it possible to get the list of parameters of a given stored procedure i need the parameter information like name of the parameter, data type of the parameter, size, type (input or output) etc while the name of the stored procedure will be provided. with regards, oh, found it. select * from information_schema.parameters where specific_name = 'stored procedure name here' ...Show All

©2008 Software Development Network