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

Software Development Network >> Kyle Leitch's Q&A profile

Kyle Leitch

Member List

Nathan R
Alastair Q
ElectricBliss
srfitz2000
hammerstein06
r3n
Iamscott
mks033
wei jia jun
Geogie
pappascd
ZopoStyle
BlackMan890
TomHL
K Webber
jon_c04
Edward1
Colin Reid
Matty1stop
Driescox
Only Title

Kyle Leitch's Q&A profile

  • Visual Studio Express Editions Open excel files from a button click event

    i am having a huge problem finding a way to open an already created excel workbook from a button click event from my forms in visual studio express...does anyone know the coding to do this or how it can be done well if the file already exists, you can launch it like so: System.Diagnostics.Process.Start( TheFileNameAndPathToExcelFile ) this will start a process, launching the specified file externally. The code can be placed any where in your code, for example as you stated, on the button click event. This will open the excel file, just as if you double clicked on it manually. Does this help/answer your question ...Show All

  • Smart Device Development Selecting items in Listview

    I am trying to select items in a listview. The Listview is enabled but when I add "msgbox "hello" into the "click" event of the listview nothing happens The listview is enabled, just can't understand it I also need to get the selected "text" from the item that is "clicked", how is this done Thanks is advance. Thanks for that, it works great !! How do you get the "text" from a selected item i.e the first / second column ...Show All

  • Visual Basic how to delimit string?

    I have many fields must be delimited,just like that below "abc","aaa","ccc","ddd","abc,adf","daf,qwer" I have to delimit this via comma,but must consider a field followed by double quote how should i do thanks if this is a text file that you are trying to parse then the textfileparser is what you need: Dim tFp As FileIO . TextFieldParser = My . Computer . FileSystem . OpenTextFieldParser ( "FileName" ) tFp . Delimiters = New String () { "," } tFp . HasFieldsEnclosedInQuotes = True Dim CurrentRecord () As String = tFp . ReadFields ...Show All

  • Windows Forms How can I override DataSet codeDom serialization ?

    What I want is to override the default serialization for a typed dataset. I need this to replace the default dataset creation statement wich uses the default contructor with my own. I've already created a custom CodeDomSerializer acording to MSDN documentation like this : public class DataSetSerializer : CodeDomSerializer { public override object Deserialize( IDesignerSerializationManager manager, object codeObject) { CodeDomSerializer baseClassSerializer = ( CodeDomSerializer )manager. GetSerializer( typeof ( DataSet ).BaseType, typeof ( CodeDomSerializer )); return baseClassSerializer.Deserialize(manager, codeObject); } public override object Serialize( IDesignerSerializationManager ...Show All

  • .NET Development 2.0 OracleClient + Oracle 8: oci exception (System.AccessViolationException: Attempted to read or write protected memory.)

    hi, From time to time we get an execption when we try to create an Oracle connection. Could anyone give an indication what might be wrong or how we can examine this problem... The 2.0 application is a batch application executing on a win2003 server. The DB Client is an OracleClient 8.1.7 client and the DB server is Oracle 8. We use the .NET 2.0 System.Data.OracleClient. System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. at System.Data.Common.UnsafeNativeMethods.OCIEnvCreate(IntPtr& envhpp, MODE mode, IntPtr ctxp, IntPtr malocfp, IntPtr ralocfp, IntPtr mfreefp, UInt32 xtramemsz, IntPtr usrmempp) at System.Data.OracleClient.TracedNativeM ...Show All

  • Visual C# custom attribute

    Hi is it possible to write a custom attribute that accepts an array of objects as constructor parameter For example, I would like to have an attribute like: public class AuthenticationAttribute : SoapExtensionAttribute { // UserRights is a class containing various data regarding the // "rights" a user has to call methods in the system. private UserRights[] rights; public AuthenticationAttribute(UserRights[] rights) { this.rights = rights; } // ... + other methods for this soap extension attribute ... } But while this in itself will compile, I can't work out how to apply this attribute to methods in other classes.... For example, on the following method: [WebMethod] [Authenticatio ...Show All

  • Software Development for Windows Vista Can't download .NET Framework 3.0 June CTP SDK

    When I try to download it, it reports : The download you requested is unavailable. If you continue to see this message when trying to access this download, go to the "Search for a Download" area on the Download Center home page. This has been a particularly difficult release to publish live, and it has caused us a lot of late nights and internal conversations. Bottom line is that it took a long time for all bits to be fully live, and now they are. We on the SDK team apologize for your frustration on this, and we're using this as a lesson to help drive how we manage future releases. If you continue to have problems, please email me with a copy of your log. ...Show All

  • Windows Live Developer Forums vista and live messenger

    hi, i dont know if im posting this in the right place but ive recently bought a new laptop ACER Aspire 9300 with Vista. It will not let me run Live Messenger and says something about a DEP (Data Execution Prevention) Can anyone tell me how i can get Messenger to work because as soon as it opens it get shut down again. Thanks. Hi, I am having same problem on Acer 5636. Have found if you right click on the MSN Live Messenger Icon and select Sign in as Administror it runs. However sound on video calling was very broken and cracky. Must be something to do with compatability to vista although I find that very strange as is Microsoft Progarm. i am no expert and finding this very frustrating as well having just upgraded to Ne ...Show All

  • Visual C# Why Modifier can't be set like C++

    I am using C++ Language and learning in C#. But I used to set Public modifier as class cls { -----param public : -----method and param } Why C# don't have this. I think all modifier should be able to set as this method like C++. And can set like Java too. Or Microsoft has some reason Why it can't is syntax. Why it was designed that way has already been pointed out: to clarify member modifiers and to increase quality (by avoiding accidental and un-obvious modifier changes because a declaration's class offset was changed resulting in a different modifier). ...Show All

  • Visual Studio Express Editions How do I get the Windows Service Template?

    The windows service template is missing in my VB 2005 express edition. How do I get it How do I install it Plss help someone I do have VS2005 standard Edition, I do NOT have window service template Have tried many ways even reinstall it, HOW CAN I get it ...Show All

  • Visual C# How to hide code of .NET dll [aspnet + c#]

    Hello, I have found few days ago that .NET dll can be reversed to view all source code. I have used Dotfuscator but it only renames variables etc. I want to hide code. Please reply with some concrete solution. thanks in advance with regards, Hi, Is there any other way by which one can hide code .... I also heard about some private/public key mechanism. What is this and how can we use it .... and please also tell me about its merits & demerits. thanks ...Show All

  • SQL Server Utility to push stored procedure updates to all the databases

    Hi, Is there a utility to push stored procedure updates to all the databases in one or multiple instances Thanks... THe new Visual Studio for Database Professional can do this for you, you can compare database with each other and propagate the differences as changes to the compared database. http://msdn.microsoft.com/vstudio/teamsystem/products/dbpro/ HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • Visual FoxPro How not to print the image if there is no image file?

    My data table contains an image field holding the path and file name of image files. In my VFP report, I dragged in an OLE control and difined in the " Print When " option as "!empty(image)", meaning print only when the image field has data there. and I checked " Remove line if blank " option. My purpose is not to print or display the image (OLE control) if there is no image attached. But it still display a big blank space or simply a blank sheet. Anybody can help Thank you in advance.   Anybody can help try this I do appreciate your time and effort. I would say it might be a bug in VFP6 - 9. First: prepare data Create table test (Product c(10), descr m, photo c(20)) Add 5 rec ...Show All

  • Windows Forms how to add combobox in datagrid

    there are 2 datagrid combobox columns country and capital if i select country the capital of the country automatically display. if i select capital the country display accordingly... Note: i want to fill the comboxbox value from the table(sql). how we add datagrid combobox column thanks I think what you want is a master-details list in datagrid, please refer to this: http://msdn.microsoft.com/library/default.asp url=/library/en-us/vbcon/html/vbtskcreatingmasterdetailslistwithdatagrid.asp ...Show All

  • Visual Studio Team System Filter on checkin event

    In a team project we use continuous integration for builds. Every time a file is checked in, a build starts. Now the problem is, we also check in documents and other files that don't affect the build in any way. Is is possible to subscribe to the CheckinEvent in a way that a build only starts when code files are checked in Checkout http://blogs.infosupport.com/marcelv/archive/2005/10/18/1635.aspx to see all available fields for CheckinEvent. For example if your code files are separated in specific folders, then you could filter folders in filter expression such as 'Artifacts/Artifact[starts-with(@ServerItem, "$/MyProject/MyFolder/")]' <> NULL OR 'Artifacts/Artifact[starts-with(@ServerItem, "$/MyProject/MyOther ...Show All

©2008 Software Development Network