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

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

AHachmann

Member List

GWild
Jombi
Naolin
Alex_bg
Gopal Ramamoorthy
Joel McCormick
Prakashnet
skl5973
IvoM
Vinodonly
Magius
Bernard Yves
Mark van Bree
Shmeep
ajay_dekavadiya
johane
averageJ
TurboTom
Bosse A
Dhiraj Thakur
Only Title

AHachmann's Q&A profile

  • Visual C# Get a list of Delegate on Event

    Ok, What I want to do is retreive all the delegate that is attached to an event. Let's say i'm attaching several deletages to a button: IE: myButton.Click += new System. EventHandler ( this .myButtonClick1_Click); myButton.Click += new System. EventHandler ( this .myButtonClick2_Click); myButton.Click += new System. EventHandler ( this .myButtonClick3_Click); myButton.Click += new System. EventHandler ( this .myButtonClick4_Click); Is there any way I can get my 4 eventHandler later on in the code Something like ArrayList EventHandler myButton.Click.GetAllDelegates(); I need to get the list because I want t ...Show All

  • Visual C++ MFC CArray conversion sintax for MFC CAtlArray

    Hello! I'm new with ATL and i need some help in this problem: which is the equivalent MFC CAtlArray for m_Array variable declaration using MFC - CArray: CArray<CFVector3D,CFVector3D&> m_Array; kind regards, Ioan Thank you Martin! I'm using the m_Array to work with a class called CFVector3D. I have following your idea.. but i get 2 error error from compiler: error C2558: class 'CFVector3D' : no copy constructor available or copy constructor is declared 'explicit' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\atlalloc.h(292) : while compiling class-template member func ...Show All

  • SQL Server Internet explorer script error

    When trying to configure task scheduler on my mcafee virus scan i get the error notice: keyset does not exist The specific error is 0x80090016 It also says General page initialisation failed. An error has occurred attempting to retrieve task account onfo. You may continue editing task object but will be unable to change task account info. Does anyone have a solution so I can schedule automatic updates for my virus scanner Sorry the original error was: Internet explorer script error. An error has occurred on the csript on this page. Error is: Keyset does not exist Line 719 Char7 after further attempts to sche ...Show All

  • Visual Studio Tools for Office HtmlBody problem's

    Scenario : VS2005 OUTLOOK 2003 inside a MailItem I have a commandbar with a button. this button have the following code on click event : Private Sub _mailButton_Click(ByVal Ctrl As Microsoft.Office.Core.CommandBarButton, ByRef CancelDefault As Boolean) Handles _mailButton.Click Dim posizioneBody As Integer = m_olMailItem.HTMLBody.IndexOf("<body") Dim posizioneChiusuraBody As Integer = m_olMailItem.HTMLBody.IndexOf(">", posizioneBody) m_olMailItem.HTMLBody = m_olMailItem.HTMLBody.Insert(posizioneChiusuraBody + 1, "SOMETHING") End Sub the first time that I click the button, the code work fine, so the bodyHtml change in the MailItem. from ...Show All

  • Visual Studio Team System Customizing default SharePoint site

    I have successfully made changes to the SharePoint site for a test project, using FrontPage, but I need to make the changes to the template (or whatever) so that all new projects will have the change. I saw an old post here that says the SharePoint files are stored in the db somewhere, though I looked and didn't find them. Is this true, and if so where are they If not, same question. Thanks, Nathan Hi Nathan, Probably the easiest way to do this is to replace the site template that VSTF uses when creating the site. You will need to do the following: 1. Save the site you have created/modified as ...Show All

  • Visual C# Returning delimiters with the tokenizer

    The way to tokenize a string in C# that I came across is using the String.Split() function. However, this function does not return the delimiters. I am trying to build a parser but for that I need the tokens as well as the delimiters that split the tokens. Is there something to that effect in C# I note that there is no StringTokenizer (Java/J#) kind of class in C#. Can I get to complete my project in C# or do I have to rever to Java Why aren't you using a tool dedicated to lexing/parsing if you're building a progamming language ANTLR generates C# code. It's great for any of your parsing need. see www.antlr.org ...Show All

  • Smart Device Development Reference/Value Types In The .NET CF

    Using C#, I've created a .NET CF App, which has a variety of forms. I want these forms to update a centralized class with their data as the app progresses through forms. The problem I'm having is, when I pass in an int (into a constructor) by ref, the original variable isn't updated. Looking at the following post, this appears to be caused by the fact that a value passed by reference is only updated after the function returns. What I need instead is a reference variable as it is updated in realtime (hense a pointer). http://msdn.microsoft.com/library/default.asp url=/library/en-us/csref/html/vclrfPassingMethodParameters.asp What is ...Show All

  • .NET Development VB6 and CCW's

    Hi, I need to start writing a set of classes that will be used by our VB6 application. Because I have'nt done much in the past with COM interop, I was getting a bit confused as to what attributes I need to use on my managed classes. for example, do I need GuidAttribute and ClassInterface and ProgId, or just a few of these Remebering that these .NET classes will only be used by our VB6 code, nothing else. Thanks for your help Graham The attributes are optional, yes - as is defining a class interface - but these are important things to do or you will have development and deployment hastles. I've answered many, ...Show All

  • Visual C# StreamReader ReadLine

    Hi I need to access to text file like this: textfile.seek(address1); result = ReadLine(); textfile.seek(address2); result = ReadLine(); textfile.seek(address3); result = ReadLine(); But if i have a streamreader created from FileStream that i want to seek in FileStream, but the seek works only first time, and other "seek" are ignored and file is read sequetially. How can i do it Thanks StreamReader buffers its data. Use its DiscardBufferedData() method to discard this buffer, after you call Seek() on the underlying stream. ...Show All

  • Visual C# How I can fill a DataTable with a DataGridView cell's data to insert that to SqlServer Database

    hi Gurus; How I can fill a DataTable with a DataGridView cell's data to insert that to SqlServer Database. can i set like this DataTable dt= new DataTable(); DataGridView dg; dt= dg.Table or dt=dg. please help! if my question is stupid forgive me :) in order to answer you I need to know how do you have filled your datagridview DataGridView object shows data from underlying object you need to insert data from this object to database as far as i understood ...Show All

  • Visual Basic How can I upload a file True FTP in VBA???

    Hi, I need help to upload a file in VBA true FTP. Is there anyone who has the VBA-Code for this Thanks Ive These forums are for VB.NET questions. VBA is a very different product from VB.NET and there are some other locations where youy will probably get a quicker and better response to your VBA questions. Y ou may find more assistance in following which specifically deals with VBA development. http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=74&SiteID=1 Or if you are using VBA from within on of the office applications Office Automation: office.developer.automation newsgroup http:// ...Show All

  • .NET Development Where does ObjectSpace fit?

    and all the architecture discussion Yes the release of ObjectSpaces has been postponed along with the WinFS technology. However there was some news that WinFS would be backported to work with Windows XP and Windows Server 2003. This is the case for the other pillars of Longhorn such as Indigo and Avalon which can be added on to Windows XP and WinServer 2003. Vikram ...Show All

  • .NET Development Please Explain "A Proxy Class" and "System.Net.CredentialCache.DefaultCredentials"

    What is the difference between using (1) a proxy class,  and (2) the  below code Dim ws As New <hostserver>.Service1 ws.Credentials = System.Net.CredentialCache.DefaultCredentials ___________________________________________________ Are they the same Depending on the context. With regard to a WebRequest:   A proxy class (ie System.Net.WebProxy) allows you to specify proxy server settings for connecting to the Internet. The code you have specified is simply telling the WebRequest to use the current credentials of the current user context (ie the logged in user) ...Show All

  • SQL Server International Characters

    Could SQL Server Express store international characters, such as Tradtional Chinese Please give the instructions in greater details. Hi, SQL Server can store any characters present in the unicode schema. Simply use the unicode types to store those data. So in the example for VARCHAR use NVARCHAR to store unicode data. More information can be found in the BOL, simply search for either UNICODE or the datatype which are accessible in SQL Server. HTH, jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • Visual Studio Team System Message "rsItemNotFound' in Web Part

    Hi, After I change the Web Part appearance in my Team Project site (just for quality indicators), I’m now with this following Message: The item '/SAGAAdvanced/Quality Indicators' cannot be found. (rsItemNotFound) Does anyone know how can I fix it ...Show All

©2008 Software Development Network