kenambrose's Q&A profile
Visual Studio Problem With VSS 2005
Hello, I am using Visual Source Safe 2005 with Visual Studio 2005. I have three control library projects and two website projects in my solution. its like this Solution ----- B ( control library ) D ( control library ) U ( control library ) A ( web site ) US ( web site ) Now each of these websites ( A and US ) have references to project B,D and U. in turn B and U have refercnes to D. Now we are keeping this whole solution under source control ( VSS 2005 ). Now everytime when somebody in my team build at there end, they get a messge that PDB is checked out by somebody else. As far as I know, it should just keep the source-code file under repositry, why it is is kepting pdb and dlls there. How can I i ...Show All
Visual C# Using Type specific collections
Hopefully I titled this post correctly.... I have three classes (just for clarification sake: ChildClass1, ChildClass2, and ChildClass3) all of which inherit from one parent class called ParentClass (again, clarifications sake). My library is obviously much larger than this, but I just wanted to keep it as basic as possible. Ok, what I need, is the ability to have a Type specific collection system that would allow users to add ParentClass Type objects to each other in a hierarchical fashion. Then what I would like to be able to do, is have a property inside ParentClass called Children that would allow users to iterate through the collection. So, say I have an object "pc1" of the ParentClass type, along with ...Show All
Visual Studio Express Editions Screen Saver (Starter Kit) Won't Work in Windows 2000
I have compiled the Screen Saver starter kit at my desktop at home (which is Windows XP Pro). The code has not been modified as this was meant to be just a clean test of Visual Basic Express Edition itself. The compiled screen saver seems to work fine at home on XP. However when I bring it to work to run on a Windows 2000 desktop, I get a crash. The Windows 2000 desktop is running the latest .NET 2.0 framework. Does the Express Edition compile only for the OS that it's running when it compiles What needs to be done (besides installing the latest .NET Framework, since I've already done that) so that you can run your application in Windows 2000 and Windows XP To answer you question. No the compiler does not generate code that will ...Show All
Visual Studio Express Editions how to Export DataGridView to excel in c# 2005 ?
hi i want to export My DataGridView to an Excel 2003, How to do ( I found an article from this site that convert datagrid to excel : http://www.codeproject.com/csharp/export2excel.asp but it is datagrid and i want DataGridView .. how to do ) thanks. Hi Hamed_1983, You should be able to use the code that is provided in the example, the .Net framework 2.0 include 99% of the original .Net Framework, its just been improved and given more functionality. Also have a look at http://msdn2.microsoft.com/en-us/library/system.data.dataview.aspx http://msdn2.microsoft.com/en-us/library/system.windows.forms.datagridview.aspx Hope this helps Scott ...Show All
Visual Basic To Microsoft staff about vbNull.
Hi, Why is vbNull not Chr(0) instead of "1" or = System.DBNull.Value See>> Dim s As String = Chr(0) MsgBox( " String 's' is = " & s) or>> Can yourselves not make it the default value for a string instead in future versions of Visual Studio please Dim s As String = System.DBNull.Value.ToString MsgBox( " String 's' is = " & s) I presume Chr(0) = System.DBNull.Value.ToString See also http://asciitable.com/ about Chr(0) Regards, S_DS Well NULL (Nothing, null, nil) is just a pointer to the 0 address. That's how it went originally. an empty string is "", which is a string that consists only of \0. A null string is when ...Show All
Game Technologies: DirectX, XNA, XACT, etc. The thread 0xf900000c has exited with code 0 (0x0)
Hi, I get this message constantly appearing in the output window. Has anyone else had this, is it bad, can it be fixed Cheers, 71M Exit code 0 means successful/normal exit, so there's nothing to worry about, even when thread 0xF900000C is not known to me (it is most likely some background helper thread used for launch specific operations.) ...Show All
Visual Studio 2008 (Pre-release) Unique Constraints and Range Values
Hey Team, Is there a way to specify that a certain value (such as product name on a product) is to be unique across a context Also, is there a way for restraining values on a number field That is, I want to specify that prices can only be from $0 to $100. Thanks! Mike There are currently no value constraints in the EDM (e.g. to restrict a value to a certain range and stuff like that). As for unique constraints, it's not there now and may not be there for this version. In both cases, these are things that we're looking at, but we need to phase the features so we can actually ship a version at some point :) Pablo Castro ADO.NET Technical Lead Microsoft Corporation ...Show All
.NET Development Host Header Value
Hi, i have a site on windows server 2003 and develoment env is visual studio 2005.it is running smoothly.my problem is as follow: For creating web site i did following configuration in IIS: Description:-> MySite IP Address:-> All Unassingned Host Header value:-> osd.mysever.com Port:-> 80 when i try http://osd.myserver.com/vd/default.aspx from other machines, it works perfectly but when i try from local machine(where my web site is) ,i get " The page cannot be displayed " and " can not find server is a page title" what should i do now.please help me. how many all in all websites you created is your domain registerd with the dns server first type ping osd ...Show All
Visual Studio 2008 (Pre-release) Add Formatted text to TextBlock?
hi there, i want RichTextBox to edit text and display that formatted text in the TextBlock. how to add richtextbox content to textblock richtextbox contains blocks and textblock accepts inlines how to convert blocks to inlines and vice-versa or is there any other way thanx advance, srissh Lee's right.. missed the formatting part... :) As an alternative you could use the readonly richtextbox... with the borders stripped... ...Show All
Microsoft ISV Community Center Forums opc
I am trying to develop an opc - da client using .net technology. Have gone through the documents on opc and opc client and all, but am still not sure how to implement it, can someone give me a direction on how to start with it Genius That's a wee bit over the top, let's just say I've experienced a thing or two about OPC. However, if you're fishing for a response, flattery will get you everywhere :) As the other replies pointed out, the question is a bit open ended. 'using .NET technology' offers a few possibilites, depending on your develpoment language C#, VB.NET, managed C++, etc. The easiest way, would be to make use of the OPC Client .NET wrapper supplied by the OPC Foundation. You do have to b ...Show All
SQL Server Installing SQL Server 2005 on Windows VISTA ULTIMATE
Hi, Trying to install SQL Server 2005 on Windows VISTA Ultimate, received following error: - SQL Server Edition Operating System Compatibility (Warning) Messages SQL Server Edition Operating System Compatibility Some components of this edition of SQL Server are not supported on this operating system. For details, see 'Hardware and Software Requirements for Installing SQL Server 2005' in Microsoft SQL Server Books Online. Please help. Yes, I log onto the system as local administrator. During the install I select local account rather domain. When the install setups the db service I get the error that it cannot find the local sql server account. The account is something like this: "\USERNAME\SQLSer ...Show All
.NET Development 64 bit remoting app searching for VJSharpCodeProvider
We have a remoting app we are currently trying to port to 64 bit. It is written in C++/CLI. Whenever we try to connect to our application on the server throws the following exception: The assembly with display name 'VJSharpCodeProvider' failed to load in the 'LoadFrom' binding context of the AppDomain with ID 2. (Full exception included in the bottom of this message). We do not use any J# in our application. As there is no x64 j# runtime I am at quite an impass as to what to do. It may be worth noting that we are connecting from a 32 bit client. I would be thankful for any suggestions. Mike The assembly with display name 'VJSharpCodeProvider' failed to load in the 'LoadFrom' binding context of the AppDomain with ID 2. The caus ...Show All
Visual Basic Notepad program wants to write Fonts and Colors in XML.
Hello, I have a notepad program which saves file in xml format. It saves current color and font along with all features in FontDialog and ColorDialog like underline etc. Here is the sample of a file i created in the program. < xml version="1.0" > <File> <Format> <Fontface>Tahoma</Fontface> <Fontbold>True</Fontbold> <Fontitalic>False</Fontitalic> <Fontsize>15.75</Fontsize> <Fontunderline>True</Fontunderline> <Fontstrikeout>True</Fontstrikeout> <Fontcolor>Color [Red]</Fontcolor> </Format> <Data>Testing</Data> </File> Now as you can the problem is with Color... coz sometimes the Col ...Show All
Visual Studio Express Editions Backgroundworker copyfiles with progressbar
with reference to ahmedilyas code below to copy specific file types with progressbar... how can I run this code with progressbar in a backgroundworker and trigger the progressbar progress http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=833129&SiteID=1 Dim theExtentions() As String = { "*.jpg" , "*.bmp" } For Each currentExt As String In theExtentions Me .ProgressBar1.Minimum = 1 Dim theFiles() As String = Directory.GetFiles(Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments), currentExt, SearchOption.AllDirectories) Me .ProgressBar1.Maximum = theFiles.Length Me .ProgressBar1.Value = 1 Me .ProgressBar1.Step = 1 For Each currentFile ...Show All
Visual C# Creating a solution without creating a directory
I've looked around for a workaround to this - but when you create a new blank solution in my current configuration of VS 2005, I cannot create it without the solution being placed under a directory of the same name. The checkbox to avoid this operation is disabled . I'm really annoyed by this and I'm tired to moving .sln files out of the directory and deleting it - does anyone know how to tweak this Andy I'm not sure if this is what you want, but have you tried New -> Project from existing code This option doesn't create any directory. ...Show All
