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

Software Development Network >> C.P.Hardcastle's Q&A profile

C.P.Hardcastle

Member List

gr8Kiwi
Francisco Parrilla
Trent Ballew
HastaVista
Hirén
dallanadia
BigDaddyOKC
Dot Net Guy
ndhuy
LaserCorey
m ghandour
Robuk
norisk
DotNetNinja
straylight
TomTogg
Mish
nrb1955
Camden Bainwright
asureus
Only Title

C.P.Hardcastle's Q&A profile

  • Visual Basic How would I update a whole ACCESS database???

    In my application I currently connect to three different Access databases via the Table Adapter, Dataset and databinding source.... The software will ship with 2006 data......when 2007 comes around is there a way to post an updated database to my website and have the program merge the newer data with the older data Let's say for argument that the 2006 database has 1200 records and they added another 12 themselves. Then when 2007 comes around I would like to be able to let them somehow click get 2007 data and have the 2006 local database go out and grab JUST the 2007 data and not overwrite the whole database.... Possible Can someon ...Show All

  • .NET Development Async Remoting With Callback

    Hello All, We are trying to develop a n-tier app with async remoting. We are using Interface based callback mechanism for Async invocation. The code looks something like this interface IDataReadyCallBack {       OnDataReady(object res1, object res2, object res3); } class RemotingClient : IDataReadyCallBack {       public SomeMethod(object param1)       {                SomeRemoteObj remObj = Activator.GetObject(..........);        &nbs ...Show All

  • Visual Studio Team System no coverage result for website

    How can I get code coverage results against my website in my unit test projects I tried adding the website to my test solution and add it to test run config to be instrumented. But after doing that, my test case can't work fine and I'll notice the weird error message: Failed to connect to an IPC Port: The system cannot find the file specified. Anybody has any idea Hello Shu, Unfortunately, I am not sure that there is a workaround for the Beta2 problem, you are experiencing. I would recommend that you upgrade to Release candidate version. Just be sure that you fully remove the Beta2 before that (there is a t ...Show All

  • Visual Basic Line Color / Outlining

    Hi, i know this is simple, but i cannnnot seem to find, where to change the line color. Of the thin Seperation Line that appears between two modules (or at end of module, class, definitions, and all that). And also cannot find the hotkeys for expanding/shrinking the modules-classes outlining. Thanks. Oh & this is for Visual Basic Express 2005 Beta 2 thnx Just an FYI.  When Visual Studio 2005 is released, you will be able to change the color of the procedure line separators.  The lines will use the same color as the outlining regions.  You'll be able to change the color by following th ...Show All

  • Visual Basic Catching Exceptions from a Subroutine

    Say you have a Sub that calls a second Sub and an exception occurs in the second Sub, which you catch. Then when the second Sub drops out, execution continues with the next line of the first Sub (i.e. the calling Sub). I'm wondering if there is anyway to let the first Sub know that an exception occurred in the second Sub and allow the first Sub to also drop out instead of continuing. Here is an example in code. You can recreate it by creating a Windows Application and copying the code into the Form1 code. Public Class Form1 Private Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Han ...Show All

  • Software Development for Windows Vista Mail to James Conrad

    Respected Sir, I have a problem with the example code for ASP.net Workflow example which was given in the Windows Workflow offcial site private void StartWorkflow() { // Define the parametes for the Dictionary < string , object > parameters = new Dictionary < string , object >(); parameters.Add( "FirstName" , txtFirstName.Text); parameters.Add( "LastName" , txtLastName.Text);   WorkflowRuntime workflowRuntime = WorkflowRequestContext .Current.WorkflowRuntime; // Attach to the WorkflowCompleted event workflowRuntime.WorkflowCompleted += new EventHandler < WorkflowCompletedEventArgs > ...Show All

  • Visual C# Searching Directories?

    Im trying to search specific directories by file name (and maybe content), but have no idea hwo to do this There's no easy way to search inside the file, as the routine requires to determine the type of file between textonly and binary; searching textonly file would be easy, since we can simply open it using TextFileReader and read the entire content then perform the search. However, searching for patterns in binary files is different (specially if it includes compressed files), and there are many approach (algorithm) for searching patterns inside binary files which are none of these are easy to implement. F ...Show All

  • Visual Studio Tools for Office How do I Edit Word Template in Visual Studio 2005 VSTO

    I created a word document outside of Visual Studio 2005 in word with headers, footers, bookmarks, and tables. I then started a new project and used this document as a starting point for the new project. I now want to change the table add bookmarks etc.. However, my word menus seem to be disabled. I can only edit the document with the word tool bars that are embedded in the content area of the visual studio content area. Is there some type of option or security setting that will allow me to use all the word editing features on my document with in visual studio Thanks Brady Hi Brady I have ...Show All

  • .NET Development converting xml to html using xsl and preserving newline / formatting ??

    I want to build a web page on the fly based upon data stored in SQL. I currently read the data into a datatable and extract the xml representation. Using xsl I then apply an xslt stylesheet to produce an html representation of my data. This works great, however ... Some of the data contain embedded \n character (entered via a richtextbox). How do I preserve these so the resultant html reflect the formating. Currently all formating characters are removed and I get one long string instead of a set of coherent paragraphs. Also, is there a way in which I can transform rtf formated text direct to html Thanks, Nick ...Show All

  • .NET Development partial data sent?

    1 man 4 days 15 hours / day   I have this problem and think I have made no progress after 4 days.   I am having SEVERE serialization problems from Server to Client. Client seems to be the problem. I thought it could be my smartphone mobile device but no, even If I do this on the PC the result is almost the same.   When my Server serializes over a network stream, Server seems to send the data fully, Client 99% of the time seems to not recieve it in its fullest, therefore when de-serializing I will get an exception. Code for listening to incoming communication:   while ( this .theC ...Show All

  • Windows Forms System.Security.Permissions exception when loading a DLL from a network

    hello, I am making a DLL reference to a dll residing over a network. Everytime I do that, it gives me a system.security.permissions exception. Is there any work around. I do know that we can go to the VS.NET wizards and set the assembly to trusted, but I dont know how I will be able to convert this dll reference into an assembly. Is there&nbs ...Show All

  • Windows Forms Business days

    I need to get only the business days of the week between two dates.  Here's my code to add 10 days to a given date: string DateDocsRec = txtDateDocsRec.Text; DateTime dateTimeValue; dateTimeValue = Convert.ToDateTime( DateDocsRec ); System.DateTime today = dateTimeValue; System.TimeSpan duration = new System.TimeSpan(10, 0, 0, 0); System.DateTime answer = today.Add(duration); txtRecNED.Text = answer.ToShortDateStri ...Show All

  • Visual Studio Team System Source Control Nightmares

    We are using Beta 3 TFS with Visual Studio RC and having complete source control nightmares.  Some of the issues I'm having: *  I will open solutions that I haven't opened for a few days only to find all or many of the bindings have gone invalid.  Most of our solutions contain a mix of class libraries and .Net web sites, but the hosed bindings seem to effect both types of projects. *  When I unbind and rebind the projects, attempts to Get Latest say all my files are up to date when in fact they look nothing like what is on the server.  Performing a "Get Specific Version" with the "Get files already in workspace" opti ...Show All

  • Visual Basic AnalogTVTuningSpace and MSVidCtl

    I´m trying to develop a decent tv tuner/capture application (since there are no such apps, nowhere, I say) in Visual Basic 6.0. I´m using the MSVidCtl component together with the AnalogTVTuningSpace and IChannelTuneRequest object to achieve this, as described here:  http://msdn.microsoft.com/library/default.asp url=/library/en-us/directx9_c/directX/htm/hostingthevideocontrolinavisualbasicform.asp  and here:  http://msdn.micro ...Show All

  • Windows Forms Graphics.drawString() looks terrible

    I have SmoothingMode set to AntiAlias... all the lines and polygons come out nice and smooth, but the text is not antialiased, it looks terrible. I'm creating a new bitmap, and getting the graphics object off that. I have noticed that if you load a .gif into your bitmap, and then drawstring on top of that you get much better results. Anyone know how&nb ...Show All

©2008 Software Development Network