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

Software Development Network >> Dave Fackler's Q&A profile

Dave Fackler

Member List

dustinto
Zoltan Schavel
ChiragKhabaria
JavierGT
Siva116
peng_taoo
Puzzled
Dave Massy
vasu pulipati
Baji Prasad
Malleswar
JanusKH
K.R. WEBER
miker55
sachin kumar rana
AVVIT
cdemez
JGP
smoon
Jay433882
Only Title

Dave Fackler's Q&A profile

  • Visual Basic Intercept/Detect File Modifications (Create, Delete, Modify)

    I've checked out the FileSystemWatcher sample from MSDN. It works perfectly to notify you that a file was deleted/modified. But only after the fact. My question is, how can VB intercept a file operation I'm trying to create an application that protects files from being modified or deleted. Or at least display a dialog that a file is going to be modified/deleted. Similar to these applications... http://www.syssafety.com/product.html http://winpooch.free.fr/page/home.php lang=en&page=home nobugz : I had no idea it wasnt possible in vb2005. spotty: Thats an idea. Mainly I was wanting a "real" anti-malware app. Your idea reminds me of XP's system file checker tool. I forgot about t ...Show All

  • Visual C# Reading the end of an XML file

    I have a program that cycles through an XML file and outputs to another file every 1000 records. Thyis works fine until the end of the XML file is reached, when it fails saying my 'root' tag is not closed - although it does for the previous files. It seems to be having issues with recognising the end of the XML file, so can someone please confirm how this is done Currently I have a while loop to do this, with a for loop inside to cycle through the records, ie: while (XmlReader.Read()) { ... for (int i = 1; i <= 100; i++) { while (reads in a node here) { does the work } } Close the XmlReader and XmlWriter } This works fine for the beginning, until the end of the file is reached; is my way of reading the XML file correct (I have also trie ...Show All

  • Visual Basic sql server db access in a dll

    I am trying to create a dataset from a dll. The db file is from SQL Server 2005; I'm using VS2005 VB.NET. After trying numerous recommendations, I still get the error: Error No. 91 Object reference not set to an instance of an object. Here's the code: Dim dataCommand As New SqlCommand dataCommand.CommandType = CommandType.Text dataCommand.CommandText = sSQL Dim sqlConnection1 As New SqlConnection(ConnStr) dataCommand.Connection = sqlConnection1 'Tried with and without: sqlConnection1.Open() Dim myAdapter As New SqlDataAdapter myAdapter = New SqlDataAdapter(dataCommand) Dim myDataSet As New DataSet myAdapter.Fill(myDataSet) ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Games within a IE brower

    Not real sure if this is a new thread or not, but is it possible to create a game (actually more of a simulation) using the XNA game studio that would run in a browser window Does not necessarily have to actually run from a online web server, just be browser based. Thanks Currently, that is correct. The XNA Framework and WPF/E have nothing in them to facilitate them working well with each other. We are investigating a number of technologies and options right now to address the desire for a more "lightweight" download. --Stephen ...Show All

  • SQL Server SQL Server 2000 Connects to Remote DB but not Local DB. Why?

    I am using MS SQL Server 2000, installed on my local machine. I use JCreator 3.50 as my development IDE for Java. I have Norton Internet Security, but it does not block port 1433, which I use for SQL Server. Windows Firewall is turned OFF. My hard drive died, and my backup died then as well (it had been fine 1 week before). I had to start from scratch. I installed Windows XP SE2, JDK version 5 (version 1.5.0_06, I had previously used 1.40) and SQL Server 2000 with SP 2 as well. When it didn't work, I uninstalled SQL Server 2000 and did a clean install of SQL Server 2000. Instead of the default instance, I gave the instance a specific name, so I would know what to put in the Java code. I can connect with a remote DB using the standard URL a ...Show All

  • SQL Server Icons for Custom Tasks won't show up.

    All aspects of my custom task work well except for the icon! I have included the .ico in the assembly as an "Embedded Resource" and the icon has both 16X16 and 32X32 images. I have edited the IconResource property of the DtsTask attribute as follows: IconResource="MyNamespace.MyDLLName.MyIconName.ico", Where the output assembly is called "MyNamespace.MyDLLName.dll". Has anybody got this working before The Icon just never shows (I get the default blue square task icon). Thanks in advance. Someone changed it. I updated the IncrementTask sample to include an icon. 1 - Open project and select Add Existing Item, select any icon you have. 2 - Set Icon fil ...Show All

  • Visual C# How to Delete a XML node on a particular line using C#!!

    I am trying to delete a particular text value along with its root in an XML file  on a given line number, using C#. But i do not know how to do it, Please can anyone suggest me a solution!! This is not possible using XML apis. Mark gave you work-around to do that but without using line number. Another workaound may be, - Use File apis, Open file and get the StreamReader object for that file. - StreamReader has "ReadLine" method which give you line from the file as string so till EOF read each line and add that into some variable - Then you can compare it with the text you have on that line and if its that line then dont add that to the variable - At the end, save that value in varible to ...Show All

  • Visual Studio Team System TFS host name change problem

    After changing Team Foundation Server host name from "foo" to "foo.mydomain.com" according to the procedure described in  http://geekswithblogs.net/etiennetremblay/archive/2006/07/28/86542.aspx  everything works fine except for one thing. When users are notified about changes in VersionControl through e-mails, the pages (for instance, http://foo.mydomain.com:8080/VersionControl/Changeset.aspx artifactMoniker=496&webView=true ) referred in the messages can not be displayed. After the initial investigation the problem seems to be in incorrect xml-stylesheet instruction < xml-stylesheet type="text/xsl" href=" http://foo:8080/VersionControl/V1.0/Transforms/changeset.xsl " > in the generated by Changeset.aspx ...Show All

  • Visual Studio Team System "IN" Folder

    The "OUT" folder is obviously the loction the tests run. Can somebody tell me what the "IN" folder is used for The In folder contains coverage result files and and reverse-deployed files, e.g. files added by UnitTests's TestContext.AddResultFile. Thanks, Michael Koltachev, VSTS ...Show All

  • Visual Studio Express Editions Clipboard Help

    Hello all, good morning :) need some help with this one please: I have 6 textboxes on my form. I need to assign each textbox with a shorcut key (eg. alt + 1, atl+2 etc..) and then copy the contents to the clipboard. I take it that I would have to put the code in a timer event & would the shorcut keys still work even if the form is not displayed on the screen Thanks, Stuart ok thanks, how about the shorcut keys working with the form not visible and how to I achieve a keypress in code i.e (Ctrl+v) ...Show All

  • .NET Development Fetching URLs with axWebBrowser component

    Hello, I have been using HTTrack combined with ASP.NET and SQL Server to archive web sites for Washington State. HTTrack fails to get all of the references from a web page, many of which can be found by using the DOM interface. With that said, I am working on a C# application that will crawl a list of URLs (about 55,000) and extract any references to web documents missed by HTTrack. My C# application uses the Web Browser class (have tried the axWebBrowser class as well) and the IHTMLDocument2 interface. If I use my application and crawl about 5,000 URLs it works like a champ. However, once I pass the 5,000 mark I run into problems. Is there a limit on how many times the Web Browser control can have it's navigate function called Is there a ...Show All

  • Visual Studio Team System TFS Broken after installing Service Pack 1

    I am having some rather distressing issues after updating to the newly released service packs. Symptoms: 1. after install of TFS and VS SP1 on TFS server, Cannot open TFS from Team Explorer. Error message: TF31001: Team Foundaction canot retrieve the list of team projects from Team Foundation Server XXXX. The Team Foundation Server returned the following error: The request failed with HTTP status 503: Service Unavailable. 2. Browsing to: http://localhost:8080/services/v1.0/Registration.asmx on TFS server returns "Service Unavailable" 3 . In System Event Log this message appears: A failure was encountered while launching the process serving application pool 'TFS AppPool'. The application pool has ...Show All

  • Audio and Video Development JavaScript on protected and non-protected disk

    Hello, I visited this forum already some time ago and I did read a thread that said that not all JavaScript commands do work on a non-protected disk (so a disk without AACS). I searched the forum, but was not able to find it back. Can anybody shed some light on this Is it true and if so, which commands are affected Thanks in advance for any info ! To test network delivered content you need either -. the Toshiba tools with software emulator - Sonic Simulator I streamed network trailers from http in the Sonic Simulator. It is easy. ...Show All

  • Visual C# Operator '+' cannot be applied to operands of type 'T' and 'T'

    One day, the Microsoft C# team will stop treat us as kids, and this code will become possible:   public static ABIDataVoidNull<T> op_Addition_NV_NV<T>(ABIDataVoidNull<T> inValueL, ABIDataVoidNull<T> inValueR)        {            if (inValueL.IsVoid)            {                return (ABIDataVoidNull<T>)inValueR;            }            else if (inValueR.IsVoid) ...Show All

  • SQL Server Foreach Loop and distributed files

    Hi - I'm new to SSIS and am having problems figuring out how to do the following. I need to load data from flat files into SQLserver 2005 and have created the data flows ok, but my data files are *not* located in a single directory so I cannot use the foreach file enumerator option in the foreach loop container collection. Please correct me if I'm wrong My approach has been to execute a SQLcommand to get the filenames from another database table and to use the foreach ADO enumerator option and mapping the returned filenames to a project scoped variable (data type object since it is a rowset). My problem comes when I edit the properties of the connection manager to try to use that variable for the connectionstring property in the e ...Show All

©2008 Software Development Network