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

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

morphius1

Member List

LindaR
I.You
Deeps_123
sonicphc
Juan64
sny
Woyler
bluestar
bikerchick
Bapa
iamtgo33
mschelstrate
Lionel Johnson
zenkick
Kamii47
Matt Casto
Ravencraft
Crish
Abdul Basith
JIM_LANGDON
Only Title

morphius1's Q&A profile

  • Visual Studio 2008 (Pre-release) installation and VS setup script succeed, but still no IDE support

    I've done LINQ installation on several other occasions and have never encountered this problem. I was trying to install LINQ on a new machine running SBS 2003. The installation was successful. I then ran the IDE setup script which also succeeded. However, when I opened an existing MS solution which has several DLINQ projects in VS 2005, the new C# 3.0 syntax is not being recognized. And I didn't get the usual C# 3.0 warning when the project was loaded as I had expected. The compilation, however, was able to succeed because the LINQ build target was included in the project file of these existing projects. But I could not create a new LINQ project. I went to the VS template directory and no template zip fi ...Show All

  • Windows Forms move focus to next control,whaterver that control is--> at Form's level

    I have many control in the windows form, some are custom controls from different "programming way". How can I set a method to change focus from one control to next one, when you hit enter key, so you actually have a controls ring including buttons, listbox, textbox, ... thanks in advance for your help, Edward On buttons, to get the enter key, I think you also have to create your own button and override ProcessDialogKey or ProcessCmdKey: http://msdn2.microsoft.com/en-us/library/system.windows.forms.control.processdialogkey.aspx http://msdn2.microsoft.com/en-us/library/system.windows.forms.control.processcmdkey(VS.80).aspx - Charlie ...Show All

  • Software Development for Windows Vista LoadXml() causes bizarre error

    I'm attempting to load an internal XmlDocument in a WF class using doc.LoadXml(string). I keep getting the "Compilation Failed. Exception has been thrown by the target of the invocation" error when I build. I've narrowed it down to that single line of code, and what's even crazier, is that the following line will build doc.LoadXml("<test/>"); whereas doc.LoadXml("test"); will throw the error at compile-time. The real code, though, was trying to load a string property on the class. public string OrderDocument { get { if (this._orderDocument == null) { this._orderDocument = new XmlDocument(); this._orderDocument. ...Show All

  • Visual Studio Team System Tracking requirements, scenarios & tasks through iterations

    I think I know the answer to this question having read some of the answers on this forum...but I'd like to make sure I have this is clear in my mind. In the MSF for CMMI process there are requirements, scenarios and tasks (plus other work items). In a development there will be multiple iterations to develop various features of the system. I would like to be able to track a requirement to its implementation in one or more of the iterations. I'm assuming that I would analyse the requirements to create scenarios and link them together (e.g. "customer creates wibble" and "customer views wibble history" being two scenarios that fufil the "customer's can manage their wibbling" requirement). From the scenarios ...Show All

  • Visual Studio 2008 (Pre-release) Cascade delete support ?

    Hi, I've hit a problem concerning cascade deletes on foreign keys in SQL. I have in my 'noddy' app again a contact with many address emails . This is managed via a ContactAddressEmail table. This table has a unique PK and corresponding non-nullable FKs. Now I've marked the foreign key betwen Contact and ContactAddressEmail as 'Cascade' for the Delete Rule on the relation. Same for the AddressEmail and ContactAddressEmail relation. When testing in TSQL this is fine - any Contact I delete results in the associated ContactAddressEmail record being removed. Likewise for the AddressEmail record. Magic. However, in LINQ when I db.Contacts.Remove(c), I get a problem as the non-null constraint fires. Why is the cascade not firing f ...Show All

  • Visual Studio Express Editions How to convert char string to Unicode?

    Hi -- I'm looking for a simple way to convert an ASCII string to Unicode. More specifically, I've got a function that starts out... int main (int argc, char *argv[]) And I need argv[1] converted to Unicode because I want to feed that string (it's a file name) to a Win32 API call SetNamedSecurityInfoW, which requires a filename (logically) but needs it in Unicode. I have tried using MultiByteToWideChar, but it doesn't like my argv[1]. Any help would be much appreciated. M Minasi wrote: I belatedly realized that the easiest way to do it was what you suggested -- I just found the non-Unicode versions of the Win32 API calls and just converted the app to use them. Many thanks. ...Show All

  • Visual Studio Team System No backslahes in regular expressions for work item rules? (MATCH pattern attribute)

    I attempted to write a regular expression to disallow backslashes in work item titles. It looks like this in the work item type definition XML: <FIELD name="Title" refname="System.Title" type="String"> <MATCH pattern="^[^\\]*$"/><!--disallows backslashes--> </FIELD> However, the server rejects it: Xml validation error at row 11, column 13: The 'pattern' attribute is invalid - The value '^[^\\]*$' is invalid according to its datatype 'http://schemas.microsoft.com/VisualStudio/2005/workitemtracking/typelib:NonEmptyPlainConstant' - The Pattern constraint failed. Looking up the "Non empty plain constant" in typelib.xsd, I can see that backslashes are prohibited! <!-- Non-empty plain constant --> ...Show All

  • SQL Server How to make distributed query by SQL Express

    I am going to make a distributed query, but in the query design view I cannot add the tables from another server, why hi, AFAIK, the designers only show objects local to the connected server (and database)... but you can easely insert the required code pointing to remote linked servers... regards ...Show All

  • Visual Studio Express Editions Webbrowser problem

    I want it to check url and url is from a string variable but...it dont let me ....i tryed lots of ways and still.. this is the code. *variables are at form_Load private void timer3_Tick(object sender, EventArgs e) { if (webBrowser1.Url = (one)//one is the string variable name { button1.Enabled = false; } else if { if (webBrowser1.Url = (two)//two is the string variable name } else if { if (webBrowser1.Url = (three)//three is the string variable name } else { button1.Enabled = true; } } if its the URL is one of the variables name it will make button enbaled = false if its not then enable the button ...Show All

  • Windows Forms datarelation and dataview

    Simple q regarding .net 2003 I got several tables A master and e few details/child tables add datarelations to it and bind it to controls... so far so good Now i wan't to filter/search the mastertable, Sound easy but when  i use a dataview i lose sync with the detail/child tables Remco Sorry for the late respond, i had e few days off Ik got some simplebound controls like textboxes and labels, binded to the master table, and a datagrid binded to rhe details/childtable. now that works great What need to do is to filter the mastertable So in stead of using the mastertable i use dataview for the mastertable, that part is easy How do you bind the grid to the detailta ...Show All

  • Visual Studio Custom Project Item Templates

    Hello everyone, I am developing a new project wizard, and from it I am trying to use an existing project item from a template I created that is working fine. The problem I have is when I call GetProjectItemTemplate from the solution2 object, I get: The system cannot find the file specified. (Exception from HRESULT: 0x80070002) So, I started testing some things, and replaced my call for the custom template with a call to a microsoft supplied template, class.zip: string classTemplate = soln2.GetProjectItemTemplate("class", " csharp" ); I found that this works just fine. However, if i replace "class" with another microsoft supplied template, Form for instance: string classTemplate = soln2. ...Show All

  • .NET Development Object Allocation Performance

    I have been implementing a geometrical algorithm in C#. The algorithm performs boolean operation on triangle meshes of arbitrary size. This implies that meshes sometimes get rather large (500,000-1,000,000 triangles) and as a result a lot of objects need to be allocated (triangles and vertices of the mesh). The allocation seems to be the primary bottle neck of the algorithm, instead of the very large amount of arithmetic computations. So my question is if there is any way to fasten or tweak the allocation of such a large amount of objects (avoiding the managed heap by using structs is of course not an option as the vertices are not unique for each triangle neither are triangle adjacencies). Pre-allocat ...Show All

  • SQL Server How to change configured value for the ServerName property of a Connection via DTEXEC

    I am launching a package the following way: DTEXEC.EXE /SQL "\ProcessReportingDatabase" /SERVER RTG23SQLDB01 /REPORTING V /SET "\Package.Variables[User::RunID].Value";35 /SET "\Package.Connections[RSAnalytics].Properties[InitialCatalog]";"Fnd Prj 1 Dec29" /SET "\Package.Connections[RSAnalytics].Properties[ ServerName ]";"RTG23SQLDB01\UAT1PROD" The problem does not happen with the [User::RunID] variable or the [Initial Catalog] property of my [RSAnalytics] connection object. But I am not successful in setting the [ServerName] property. What happens when executed is that the package retains the ServerName property of the deployed package (Value=" RTG23SQLDB01\UAT1QA & ...Show All

  • Visual Basic windows media player

    The only way this could be acheived when windows media player is in fullscreen mode is this: Make a new form that acts as the panel you want to be at the top of the player, and set its TopMost property to true. Also, reduce its opacity so that the user can see WM player through the panel. ...Show All

  • Visual C++ Is there a macro which converts a 32 bit signed integer to 64 bit unsigned integer ?

    Hello All, Is there a macro which converts a 32 bit signed integer to 64 bit unsigned integer Thanks in Advance, CPPUser7 This code compiled and executed without problems at /W4: int i1 = -1; unsigned __int64 i2 = i1; System::Int32 i3 = -1; System::Int64 i4 = i3; ...Show All

©2008 Software Development Network