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

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

John Patterson

Member List

JeffOzvold
dan123
Nestor Dominguez
laura-magma
bruce2005
Paulbo99
GunasekaranT
Srock
DillonJoe
marie-devBiz
CSFDeveloper
James Todd
Richard Ames
Wrongun
WarAngel
QuickFox
skyfire
Kirk Marple
arc_dev
Gobra
Only Title

John Patterson's Q&A profile

  • SQL Server Failed to manage image field

    In my simple table in MSDE 2000A, I have an image field. I have enabled 'text in row' using the stored procedure 'sp_tableoption'. How do I get jpeg images in the table, and how do I read them Now, I ask a naive question. Has anybody ever captured an image from the file system, and saved it in SQL 2000 (or MSDE 2000A, which I am using for development) If you don't save image direct to database, how do you manage yor images stored seperate from the database (i.e on the filesystem) For the last two days, I have searched the net and I regret to say I am not making any headway. Lots of stuff on the net have not been very useful. ...Show All

  • Software Development for Windows Vista HandleExternalEvent: event filter / correlation

    Hello folks, I am new to WF and I am completely baffled by correlation. What I am trying to do is very simple: I have a State workflow activated by a single event from my local service with a parameter in the event args to do the disambiguation. The HandleExternalEvent activities knows those values at design time, but not at compile time. What I wanted to do initially, and what is my preferred solution, is to derive a new class from HandleExternalEventActivity, add a design-time property that will match the eventarg and filter the events for events matching the property. The problem with this approach is that HandleExternalEventActivity's vi ...Show All

  • Visual Studio Team System CA1812 Problem with Resource Files

    Any resource file seems to generate error CA1812 on the auto-generated code.  I have seen this with C# Windows Forms apps, and with C# Web Sites. Is this a false positive   I'm unsure how to make Visual Studio generate code that fxCop is happy with. I've experienced this one myself. This is because the autogenerated code outputs an internal constructor. The fix of course would to be change the autogenerator to output a private constructor (or make the class static) however, this would prevent others from deriving from the class to add functionality. I have reported a bug report on the Mi ...Show All

  • Visual C# What's wrong with this code?

    I'm using the FormClosed event and i get an exception: Error 1 No overload for 'frmMain_FormClosed' matches delegate 'System.Windows.Forms.FormClosedEventHandler' C:\C# Projects\Reporting_System\Reporting_System\frmMain.cs 16 32 Reporting_System here's my code: public frmMain() { InitializeComponent(); this .FormClosed += new FormClosedEventHandler (frmMain_FormClosed); //error is here } private void frmMain_FormClosed( object sender, FormClosedEventHandler e) { } See bold: private void Form1_FormClosed( object sender, FormClosedEventArgs e) { } Best regards, Johan Stenberg ...Show All

  • Windows Search Technologies How to kill a process that is not even listed in task manager?

    Hi, I'm having a problem to kill a process. For your information, the process is not even listed in the task manager. I would like to delete that particular file, but it seems like there's a process of software currently associated with that file. When i try to rename, move or delete that file, an error came out saying: "Cannot delete filename: It being used by another person of program. Close any programs that might be using the file and try again." For your information later, i am remoting this computer from my site. I don't know wether by restarting the server would solve this problem, as if that the only one thing i wouldnt want to ...Show All

  • Software Development for Windows Vista Questions about workflow instantiation/constructor behavior

    I have a sequential workflow, and notice that its constructor is getting called 2 times. Why is this And while I haven't created a state machine workflow (yet), I saw another post that said that these types of workflows had their constructors called 3 times. What's up with this I set a breakpoint in my workflow constructor, but the constructor code executes without hitting the breakpoint. It eventually hits my breakpoint, but not before executing is at least one time without breaking. I'm guessing this is related to (1) above. Why does this happen 1. It appears that the first time we use C ...Show All

  • Visual Studio Team System No binaries when built!

    Hi, I have configured a build machine associated with TFS. I successfully created few team build types using my Team Explorer, and the builds run successfully every time. But when I look at the folder where the output binaries should be created, I cannot see any project output files. No executables, no config files, no DLLs. I checked in both the folder and network share (which is configured as part of team build type) But I cannot see the binaries. Any help appreciated. Thanks, Praveen Praveen Can you check Manish's blog and see if this helps. Please check if the platform/configuration that ...Show All

  • Visual Studio Team System How to enable NTLM V1 in TFS?

    Since I need to access TFS through Teamprise eclipse plugin, and the plugin only support NTLM v1, I need to enable the NTLM v1 in TFS. That's a setting that you'll have to tweak in Windows. You can find a description and links regarding NTLM at http://mit.edu/ist/topics/windows/server/winmitedu/security.html . Buck ...Show All

  • .NET Development Select reccord

    Hay, I load data from a database and show this in a form ,whit the Bindingnavigator i can move to the Next reccords whit the " MoveNextItem_click event." But how can i move to a reccord on a specific search string     Find solution Dim index As Integer Dim zoekstring As String zoekstring = Me .BindingNavigatorTextBoxZoeken.Text index = TVogelBindingSource.Find( "Ring nummer" , zoekstring) Me .TVogelBindingSource.Position = index Me .Invalidate() You should find the position in data source, in your case (assumin ...Show All

  • Visual Studio ReportViewer Cause error after deploying the webserver

    Dear all, When I deploy my web project into my Web server,everything is work,but except the report does not work properly. The config of my webserver is win2003 with IIS 6.0.And I make use of the report in the local processing mode and set "sessions state mode=InProc","cookieless mode=UseCookie"on the page of the state management in IIS. The error message is showed below Server Error in '/' Application. There is a known bug with the report viewer and cookie based sessions. If you use a cookieless session, the report should render correctly. ...Show All

  • Visual C++ importing VB.net dll (controls) into C++ .net

    I had to create custom controls in vb.net for moving in databases in C++.net now my only problem is how do i import that dll or add it to the C++ .net project so that i can use it in any of the forms i'm using. If i dont use the #using and AI/ i get undefined Identifer and all that other stuff that comes along with it. by the way i dont know if i said im using the VS .net 2005 Beta 2 ...Show All

  • SQL Server Where are the SSI files saved when saved to the server?

    This is a pretty simple question, but I'm going nuts trying to find the answer. After creating an SSI package, I told it to save to the SQL server... Now where do I go to pull that package up again and make changes and/or execute the package msdb .. sysdtspackages90 is the actual table that stores the package. To edit a package you use Visual Studio (aka BIDS), not SQL Server Management Studio (SSMS). You can work with the original file, or if you don't have that for whatever reason you need to export the package from SSMS, to a file. ...Show All

  • Visual Basic Multiline strings in components

    Hello, how can I build a multiline string in a component as the Items-Property of a ListBox-Component See this article at codeproject. ...Show All

  • Visual C# pros and cons of using Microsoft Enterprise library components(Application blocks)

    Hi All          1) What are the pros and cons of using Microsoft Enterprise library components(Application blocks) in our applications 2) Is it a good Idea to use Microsoft Enterprise library components in the new development when relase Visual studio 2005 is comming near Thanks!! Ave - The Enterprise Library has been updated for .NET 2.0, so yes, it would be a good idea to use them. You can find information on them here: http://msdn.microsoft.com/library/ url=/library/en-us/dnpag2/html/EntLib2.asp HTH, Karen ...Show All

  • Windows Forms is it possible to check "download group" or dll. file version before download

    Hi, I am developing an app. and deploying it with clickOnce. The app. needs 3 extra dll's to work. 2 of the dll's are not changing frequently and their sizes are big ( approximately 2-3 MBs). Even I don't change the version numbers of these dll's they are downloaded with the whole package. Is it the default response for the clickOne API. If so, is it possible to check the remote files' versions before downloading them (i couldn't see any method like "checkFileVersion" in System.Deployment namespace). Thanks very much. Suppose I have 10 DLL's in my application. Whenever any dll is changes i need to give only that dll. I do not want to ...Show All

©2008 Software Development Network