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

Software Development Network >> John Hennesey's Q&A profile

John Hennesey

Member List

arch_angel81
Locke355
CharlieRussell
Mike Aleksiuk
jackycn
crystak
newbiedogg
Stefano Triulzi
Christian Sciberras
Missouri Mule
roni102
mohdtmn
jgd12345
laboremus
compucv621
Celios
0xDEADBEEF
Dylan Smith
Vaish
icelava
Only Title

John Hennesey's Q&A profile

  • .NET Development Using Internet From C#

    Is it possible to use some .NET library to download a file from the internet automatically to a specified directory Let's say I have an excel chart on my website, and I want to download it to C:// Also, I want to be able to do the same with a web page, i.e., I want to go to www.mywebpage.com/index.html and download index.html to a certain folder by using .NET. Will this take a lot of complicated code Can I just use a .NET library, or must I use Win32 API or something like that No I'm using the System.Net.WebClient Class.. All the event handlers etc. are in there, but I dunno how to even get the bytes and all that..if i did, it would be somewhat easy to get the percentage and update a progress bar.. ...Show All

  • Visual Basic Form wating a parameter from another from

    Hi, i'm using VB.NET 2005. What i'm trying to do, is from one form, open anotherone and perform a search to SQL Server 2005 and the value selected return it to the first form. I actually do it, opening the second form, performing the search and when i select an item, call a sub in the first form sending the info, close the second form, and try to display the information in two labels in the first form, but the labels doesn't refresh. if i show the info retrieved from the second form in a message box, it displays, but the labels doesn't chage its text . . . Care to show us some code If it were me I would create parameters on the first form, create the second form doing the search and when you select ...Show All

  • Visual Studio 2008 (Pre-release) System.ObjectDisposedException

    After use SubmitChanges() in my Sql Server 2000 database, the application fails and show the next exception:  Unhandled Exception: System.ObjectDisposedException: Cannot access a disposed object. Object name: 'Transaction'. How can i do to resolve this problem.  I use Sql Server 2000 and Windows XP Service Pack 2 Thanks. Keith, since you asked about the source code, I get this exact same error when I just follow the steps in the Visual Designer Walkthrough. When I click the Save button that we are testing in the "Test the Application" section on page 7 of the document, I get this exception every time. Thanks. ...Show All

  • Visual Studio 2008 (Pre-release) WCF and N-Tier Web applications

    Hello, I would like to know how would WCF add value in a typical n-tier web application, where the presentation layer talks to the business logic layer in-proc for performance purposes. i.e. there's no physical seperation between all layers and hence the UI layer has access to the db server. Please note that web services are not always necessary as an additional layer as the main purpose of web services is to expose the application functionality to other consuming applications, and so decisions to make the contract coarse-grained is not valid since no network overhead is incurred. Please advice. Thank you, But the application design should be flexible enough to allow for either running locally ...Show All

  • Windows Forms How can I set Form's position to most behind?

    I want to do this: When I leave Form1, it should go to behind of other all forms. How can I do this Thanks and regards... When the form is deactivated call SendToBack to send it to the bottom of the Z-order. Determining when the form is deactivated is a separate story. You could do that when the form loses focus or when it is truly deactivated. Michael Taylor - 2/1/07 http://p3net.mvps.org ...Show All

  • Visual Studio MakeDir task fails sporadically...

    In my TFSBuild.proj file, I have a customized sequence of targets that the AfterEndToEndIteration target depends on. This sequence removes two folders to clear old data, then recreates them so that my build can drop certain release files into them. Exact code: <!-- Target 35.2: Remove old release folders --> < Target Name = " RemoveFolders " DependsOnTargets = " SetFolders " > < RemoveDir Directories = " $(CurrentFolder) " /> < RemoveDir Directories = " $(ReleaseFolder) " /> </ Target > <!-- Target 35.3.1: Current current folders --> < Target Name = " CreateCurrentFolder " DependsOnTargets = " RemoveFolders " > ...Show All

  • SQL Server Buildind a report builder.

    Hi all, Does anyone have information on coming up with the report builder The Microsoft bookonline do not help to much. Thanx in advance. If you want to play around with some samples, you can use the new BOL samples (which are renewed within the new July release of the BOL) or this link here: http://msdn2.microsoft.com/en-us/library/ms345268.aspx HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • Visual Studio 2008 (Pre-release) WPF is Gold

    Runtime: http://www.microsoft.com/downloads/details.aspx FamilyID=10CC340B-F857-4A14-83F5-25634C3BF043&displaylang=en SDK: http://www.microsoft.com/downloads/details.aspx FamilyID=7614FE22-8A64-4DFB-AA0C-DB53035F40A0&displaylang=en VS Extensions November CTP: http://www.microsoft.com/downloads/details.aspx FamilyID=F54F5537-CC86-4BF5-AE44-F5A1E805680D&displaylang=en - Doug In the description for the November CTP is the following: "This is the last release of this technology that will be in the form of a set of extensions for Visual Studio 2005. Any new technology in this space will be included in CTPs of the next full version of Visual Studio which is currently code named “Orcas ...Show All

  • Visual C# Typing in Visual Studio 2005 Text Editor is extremely slow

    Has anyone else noticed that typing in Visual Studio 2005 is extremely slow   Whey I type it seems that the screen is always 2 words behind where my hands are.  It makes it extremely frustrating to get anything done. I'm mainly referring to C# code.  It seems like Intellisense is going nuts trying to guess every word I'm going to type and never actually prints the characters to the screen. Has anyone else experienced this   Is there an option I can turn off to get my text editor back ! By the way, I have a very fast computer with Dual 3.0 GHz Zeons with 3GB memory and everything else that should make "typing" very fast.     Sub ToggleCSharpNavigationBar()        ...Show All

  • Visual FoxPro form help

    hi! i am new in vfp now i am creating new proj and icreate form with theree grid i would like to auto increment id field (tab not to stop on this field) also when i click add buton it will refresh only parent form field ( not grid field) thanks lavesh thanks for your reply i am using vfp 6.0 what is the code for when i save record it will auto increse no and when i add record i want to refresh parent field and grid field ( e.g if you create invoice with order detail and when you save invoice the new invoice no increses auto and customer and order detail both are blank for new invoice) ...Show All

  • Visual Studio 2008 (Pre-release) Getting the Mesh position co-ordinates after Rotation.

    Hello, I have a MeshGeometry3D object in which I have set the Positions and TriangleIndices. I have added it to a GeometryModel3D object also. I then Rotate the Geometry Model using Transform3D group, Axis Angle Rotation 3D and Rotate Transform 3D. I now wish to obtain the new positions of the mesh. It seems that the rotation of the geometry model (and the mesh within) does not change the mesh positions. Kindly help. Regards, Rohit. PS: BTW could Geometrymodel3D.Transform.Value be of any use for this Hello, Thanks for your reply! I tried this but the problem still remains. I am further clarifying you about what I am doing. Please note that the code may contain minor s ...Show All

  • .NET Development How to specify the encoding for XmlTextWriter?

    In the following code, I want to specify the encoding of XmlTextWriter to UTF8 .         private string SerializeData()         {             StringBuilder sb = new StringBuilder();             StringWriter sw = new StringWriter(sb);             XmlTextWriter writer = new XmlTextWriter(sw);             writer.Formatting = Formatting.Indented;             writer.Settings.Encoding = Encoding.UTF8 ...Show All

  • Visual C# Differences between delegate invoke and call a method directly??

    Hi! I'm studing about delegates and how works before studing asynchronous callbacks, i understand differences between call a method directly and call a method by delegate asynchronously with BeginInvoke, it launchs a background thread aganist the pointed method, but i don't understand which's the difference between call a method directly and call a method by delegate with Invoke ... i think that both are the same way to call the same method ... probably because i don't understand well the difference :P Can somebody light up me Thanks in advance. Regards. Ultimately they are identical. The difference is in performance and benefits. If you directly call a method then the compiler will generate the necessary code to look up ...Show All

  • SQL Server YTD

    Hi, In my Time dimension, there are 8 different hierarchies exists, including calendar and fiscal calendars. There are Time utility functions created through BI wizard. { edited to incorporate drill down to lower levels of the hierarchy } But this is not working fine in all situations. if i apply 2 filters for week and year, the MTD and YTD shows N/A only. So my question is how to modify the MDX to handle all the scenarios. here is the code for YTD i have used.' ( [DIM CALENDAR].[Calendar DIM CALENDAR Calculations].[YTD], [DIM CALENDAR].[AS_OF_DATE]. Members , [DIM CALENDAR].[CY_YEAR].[CY_YEAR]. Members ) = Aggregate ( { [DIM CALENDAR].[Calendar DIM CALENDAR Calculations]. DefaultMember } * ...Show All

  • Visual C# Open an C# Form in C++

    We have an C# form that need to be open in MFC C++ (Unmanaged), how can this be done easily If you have a small example of that it will be appreciated. Thanks xRuntime wrote: Wouldn't you be better off asking this in a C++ forum or IRC chat because the coding would be done in C++ more so than C#... I've done a good amount of C++, but I haven't dealt with MFC so sorry can't help... Yeah, you are absolutly right, I don't know what I was thinking.... ...Show All

©2008 Software Development Network