Tufan Erdinc - MSFT's Q&A profile
.NET Development c++/cli for anycpu
I created a test program using c++/cli under safe mode (i.e., entirely managed code) with beta 2 (8.0.50110.28) using the flags cl /clr safe /Ox. The compiler is generating msil code, but it seems that it only runs in 32-bit mode - can't find a way to get an "anycpu" executable like C# allows. Is there a magic chant that I don't know about Or is this not available under C++/CLI karel I'm going to close this thread. It seems to work fine on the machines that I have. If the user still has a problem, feel free to email me. Thanks, Kang Su Gatlin Visual C++ Program Manager ...Show All
Visual Studio Crystal Reports Field View
Hi I am using VS 2005 beta2.When creating a crystal report you have a Field Explorer for for the current DB tables that u are working with. Welll for some unknown reason i can enable mine or just will not show... the Field view options stays greyed out all the time and i have everything to get VS2005 beta2 to show me this Field View so that i can drag and drop fields on to my report. Please help me here. I've tried reinstalling VS... help! Hi Keith This is very disapointing news but thank you for coming back to me. I though i was being very smart writing my reports in to an appplication but this still means ...Show All
Windows Forms DataGridView Columns Changes Lost
I am having a problem with changes that I make to the DataGridView columns using the Designer being lost. The DataGridView is bound to a binding source object and is not changed and no other changes are made to the data grid. The designer automatically regenerates the code sometime during a recompile and does not keep the changes that were previously made. I have not been able to pinpoint the exact sequence of events to consistently reproduce the problem. This problem is preventing me from relying on the Designer to setup my columns. Has anyone experienced this behavior Thanks in advance Jorge ...Show All
Windows Forms Referencing RichTextBox from outside the form class
I have made a class Startscreen and intialized it by the standard class Program: static class Program { /// <summary> /// The main entry point for the application. /// </summary> [ STAThread ] static void Main() { Application .EnableVisualStyles(); Application .SetCompatibleTextRenderingDefault( false ); // Startscreen s = new Startscreen(); //Application.Run(s); Application .Run( new Startscreen ()); } } From other classes outside the form class I occassionally activate a method within my utilities class to send a error or message line to the richtextb ...Show All
SQL Server SQL Server error '80040e14' (The server encountered a stack overflow during compile time. )
I am getting the above error when selecting the largest amounts of data on a database that i am currently working on. On occasion, I also get a "Timeout" Error that seems to present itself intermittently. Any suggestinons on eliminating it Thanks so much! "travelerkgd" Microsoft OLE DB Provider for SQL Server error '80040e14' The server encountered a stack overflow during compile time. You mean the exact same query, with just a different number of returned records, is causing this error This error happens at query compilation time, so all things being equal, you ...Show All
Windows Forms How do you get the My Documents directory?
This may be an obvious question, but I'm going to ask it anyway. I'm writing an app in which I'm providing the ability to export data to Excel. When I display the Save Dialog box, I want to set the default directory to be My Documents. But I'm not sure how to determine the actual path to My Documents on the user's directory. Can any ...Show All
Visual Basic Vb.Net Sound Adding to a form
Hi, I'm New One For .net. I won't to add MP3 Sound Clip To My Project. If It's Posible Pls. Send the replys to my e-mail wvbotha@gmail.com ...Show All
Visual C# mainMenu button options
Hi all, I am very new to VS and having some problems trying to develop a mobile application. I have created the form and imputted two mainMenu buttons onto it. However on one of the button i need multiple values for the user to choose from. I can not seem to enable a further selection when this button is clicked. Please help Paul ...Show All
Visual C# how to insert a new line programmatically in a richtextbox control?
in my form load event i want to set \n newline rtb.Rtf = string1 + \n + string2 + \n + string3 the output should look like this: string1 string2 string3 i got it, i added these lines: if (i == 0) { toAppend = "\n\n" + rtb2.Text .ToString(); } else { toAppend = rtb2.Text .ToString(); } ...Show All
Visual Studio Team System Optimizing Test Rig machines
does anyone have a link or suggestions on how to best optimize a windows XP professional machine for load testing with VSTE Thanks! John If the machine has more than one processor (or 'core'), it can help a lot to enable the server GC. This process is described in this thread: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=210575&SiteID=1 Other than that, I'd say make sure you have plenty of RAM and a fast network connection. Josh ...Show All
Visual Studio Team System Checkout behavior on non-mergeable file types
I understand that in general TFVC encourages concurrent development by defaulting a checkout to just marking the local version as editable. However, IMO for non-mergeable files, TFVC should always do a get latest when checking out this type of file. Since the file is not mergeable, allowing devs to checkout anything but the latest version is setting them up or a *bad* experience. It would also be very nice to have a command line switch on TF CHECKOUT to have it grab the latest first. We're received a lot of feedback on the behavior of not getting files on checkout. W ...Show All
.NET Development Side by Side Execution
I have a little problem in my application: Assembly1.0 and Assembly1.1 is in GAC Application is referecing Assembly1.0, how can i tell Application to use Assembly1.1... and if Assembly1.1 is removed from GAC how can i tell Application to use Assembly1.0 thanks in advance i am just newbie.... I guess if you set the "specific version" property in reference to false, it will handle the problem for you. ...Show All
.NET Development C# Generics and Constructor Constraint
Hi I want to add contructor contraint on generic type that accepts string parameter. I know that this is possible class Node<T> where T : new() { public T GenericType; public Node() { GenericType = new T(); } } I need this class Node<T> where T : new(string attribute) { public T GenericType; public Node (string attribute) { GenericType = new T(attribute); } } Is that possible, and how should I implement this in c# Thanks, Indigo Cowboy No it's not possible the way you want. The only constructor constraint there is - new() - is for paramet ...Show All
Visual Studio Team System Installing an updated Process Template
I have downloaded the newest build of the MSF Agile process template. I would like to install it into my Beta 2 VSTS install put don't see how to do that other than just overwrite the existing files. The web site says to read the ReadMe file after extraction but that file does not exist. Any help would be appreciated. You have run into a version issue. The CMMI process template was made to be used with Beta 3 where the name of the main xml file has changed from Methodology.xml to ProcessGuidance.xml. There are other changes so just renaming the file won't allow this process template to impor ...Show All
Visual Basic Quick question
I'm running this proejct on vb. net 03 pro. This is a small project sample that i want to developed a little bit more, but i have a problem with the output... code: Module mainmodule Public usernamedatabase(4) As String Public passworddatabase(4) As Integer Public r As Boolean Sub main() Dim objLoginform As frmlogin objLoginform = New frmlogin Dim x As String Dim y As Integer usernamedatabase(0) = "joe" usernamedatabase(1) = "angel" usernamedatabase(2) = "sam" usernamedatabase(3) = "mary" usernamedatabase(4) = &q ...Show All
