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

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

perryf

Member List

overgaard
peitor
doug finke
C.P.Hardcastle
Scott Mason - MSFT
apk23886
Kathleen_H
KrishnaSrikanth
Ken Powers
liljester
Cristiano Leite
Alan_98
slumley MSFT
Mohamed Raafat
Mariouche
TeLLTaLe
DanL_DeLorme
ShadeZero
gmeh
zppro
Only Title

perryf's Q&A profile

  • Visual Studio Team System Any way to e-mail bugs to the server?

    We are currently deciding to go with TF server or not so any help would be appreciated. Our bugs are reported in by e-mail from users and entered into bug tracking sytstem currently in consideration. We are also looking into TF Server and was interested to know whether this can be accomplished without major work. I have tried to see whether this is possible, but I have had no luck. I know you can set the server to e-mail out bugs assigned to a team member, but can one mail in a bug to a special category Any help to find an answer quickly would be appreciated. TIA, Noorbakhsh To enable users to submit work it ...Show All

  • Software Development for Windows Vista Custom ActivityValidator crashes VS.NET

    Hello, I have Jan CTP and I am building a new activity validator for my custom activity. According to several articles I write the following code: public override ValidationErrorCollection ValidateProperties(ValidationManager manager, object obj) { MyActivity activity = obj as MyActivity; if (activity == null) { throw new InvalidOperationException("the parameter obj is not of type MyActivity"); } ValidationErrorCollection errors = base.Validate(manager, obj); // ... check all parameters return errors; } Whe I build the solution the editor crashes. I have to change the line ValidationErrorCo ...Show All

  • Visual Studio Tools for Office Save worddocument

    I am building an Word application and I want the user to save the document to a special place. Can I make a byte[] array of thisDocument that contains the worddocument. Because when I try this. It crashes when I try to load it to a filestream. _d.SaveAs( ref fileName, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing); _d.Close( ref t1, ref t2, ref missing); FileStream fs = new FileStream (fileName.ToString(), FileMode .Open, FileAccess .Read); BinaryRead ...Show All

  • SQL Server Transfer Object and Click Once

    I have an application which uses SMO to perform various database tasks. When deployed using ClickOnce from a Website and set as a FullTrust application the application has the following behaviour when attempting to transfer database\data: ... transferObject.TransferData ... Error: 'HRESULT: 0xC0011008', ie DTS_E_LOADFROMXML error All other database connections\functionality within the application, which connects to MSDE and SQL Server Express databases, appears fine. At the moment it is just the TransferData() method which gives the error. I have published this locally to confirm the the deployment mechanism - Local Web Server: I ...Show All

  • SQL Server How to reset the identity counter on a table referenced by a FOREIGN KEY constraint?

    I know that TRUNCATE TABLE can be used to reset the identity counter, but it can't be used on a table referenced by a foreign key. Anybody knows how to do that Thanks. Hi, if you want to use truncate, you have to drop the constraints first, othwerwise you could use DBCC CHECKIDENT (jobs, RESEED, 100) to reseed you identity. HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • Visual Basic VB 2005 Compiler Optimization Discussion

      There's been something percolating in the back of my mind. I come from a computing environment that preceeded windows and the Intel Architecture and instruction set. n comparison to the instruction set that i'm used to, the Intell instruction set looks like a house wreck which may or may not be important to the discussion at hand. Everyone knows that moderators agree on everything and that in moderator space we just stand in love circles and sway back and forth. So when I was discussing a compiler one day, I said I really admired a language which had a seven pass compiler. "Nonsense", was the response, "two will do it." Wi ...Show All

  • Windows Forms How can I create a collection class with properties and methods...

    Hi all,      I'm not even sure I worded that right.  I'm new to collections (designing at least). I want to create a simple class, that when I implement it I can do the following: dim oNos As New Numbers dim oNo as Number dim MultiNo as int32 oNos.Add("N1") oNos.Item("N1").MyValue = 1 MultiNo = oNos.Item("N1").MyValue.MultiplyBy(5) oNos.Item("N1").Grouping& ...Show All

  • .NET Development Is assignment to ServicePoint.ConnectionLimit thread-safe?

    Hello. Is the following code (sample from some Microsoft article) safe enough to be called from multiple threads. Do I need to synchronize access to it Uri uri = new Uri("http: //www.contoso.com/"); ServicePoint sp = ServicePointManager.FindServicePoint(uri); sp.ConnectionLimit = newLimit; While I could do this one-time during start-up, I've read that ServicePoint objects get removed once they become idle. So I would like to be able to set the ConnectionLimit anytime I need to send a request to the URL. That way, I'm guaranteed that the ConnectionLimit I want is in effect. I could also set the DefaultConnectionLimit but that wo ...Show All

  • SQL Server T-sQL questions

    Hi: Some basic T-SQL questions please: 1) When I make changes to a stored proc (drop and recreate ) I have to reissue EXEC permission to users. Is there a keyword that helps to avoid that 2) In a SP I have multiple select statements. I'm only interested in the results of the last statement. When I run the SP from Query Analyzer it returns a result set for each select statement and When I call it from ASP.net I get .rowcount = 0. What am I doing wrong 3) Is there a way to return a result set from a SP to another SP that avoids cursors I'm using a temp table in the outer proc and filling it in the inner proc. Thanks, B. ...Show All

  • Visual Studio Tools for Office Visual Basic 2005 and MSWord Rule Bar

    I am trying to create a word document that integrates the MSWord Rule Bar. I have looked everywhere and I do not see where this can be added to the rulebar or the form itself. I am using the basic version that was given away at the .net meeting. Could that have something to do with it Please email me. Yes, this level of detail does make a difference... This is a VSTO forum - VSTO is a special sub-set of the .NET Framework. Your question is definitely not VSTO-related, so you're less likely to get a good answer, here. You should try asking in a group that specializes in Windows Forms questions. There ar ...Show All

  • Smart Device Development How to read the vendor ID of an USB Memory Stick

    Hi Folks, I wonder if it is possible to read some information out of an USB Memory Stick. I would like to read the vendors name and the hardware serial number. I did that on a PC but now I'd like to do that on Win CE 4.1, CF 1.1 Thanks in advance, taucher ...Show All

  • SQL Server Unable to drag stored procedure onto component

    In VS 2003 I was able to drag a stored procedure from sql 2000 straight onto a component designer. I can't do this under 2005. Anyone managed it ...Show All

  • Visual Basic Radio Button Data Binding

    Hi All, I am a vb beginner and I was wondering how you bind a radio button to a field in a database that has choice of 2 values. For example the field in my db is CoverType and the user should be able to select Hardcover or Paperback. Don't seem to be able to do get radio buttons to represent this on my form. Thanks very much Hi Colin, This is a tutorial about binding data to lookup control, which includes the CheckedListBox and ComboBox control: http://msdn2.microsoft.com/en-us/library/ms171924(VS.80).aspx . The walkthrough uses a ComboBox against Northwind database, using CustomerID field in O ...Show All

  • Smart Device Development When using "InternetOpen()"...

    I am working on a smartphone 2003 project. I want to use the " InternetOpen " function. What to import Where is it Thanks! InternetOpen is defined in #include <wininet.h> Is it what you want --- Lao K Visit my Blog for Windows Mobile Pocket PC Smartphone Programming Hints and Tips ...Show All

  • Microsoft ISV Community Center Forums Preventing keyboard shortcuts

    I'd like to prevent a user from continuing on in a powerpoint presentation until they have clicked on an action button or something. How do I disable the person from going on by clicking on spacebar or enter or the arrows key etc. I do want them to be able to type when the click inside a control text box though. Any ideas Thanks in advance. I've figured it out my self. Kiosk mode does this. ...Show All

©2008 Software Development Network