Ricky A Jones's Q&A profile
Visual Studio Express Editions Optimization and processing macros
I am doing a product comparison for my company and I am having trouble finding answers to two questions. I was wondering if anyone could help me out. Does the express edition allow for optimization and other compiler directives . Does it have the ability to process macro's, and use make or project files The compiler includes the optmizations except advanced ones like PGO. You can find a list for comparing editions at http://msdn2.microsoft.com/en-us/library/hs24szh9.aspx The main difference is in the supported technologies. Thanks, Ayman Shoukry VC++ Team ...Show All
Visual Studio Team System I want to Delete a WorkItem Type and all its existing Work Items
I've added a work item to my system that I no longer want. How can I delete that WorkItem Type and all its associated Work Item entries -- JonPL Unfortunately, it's not supported to delete workitemtypes in V1. There are 2 ways you can work around this: 1. If your test workitemtype and workitems are on a test project, you can delete the project and create a new project (the recommendation is to use a different project from your active production projects to test out workitemtypes). 2. You can filter out those workitemtypes from subsequent queries by either adding a clause like (workitemtype <> ...Show All
Visual Studio Team System TFS RTM Project portal problem
Hi all, I'm not able to add existing web parts to my team portal, which is based on the MSF Agile template. I get an .NET Framework 2.0 eventing error... Has anyone had the same problem Regards, Bjorn Bjorn, I too am getting the same error. " An unexpected error has occurred. Web Parts Maintenance Page: If you have permission, you can use this page to temporarily disable Web Parts or remove personal settings. For more information, contact your site administrator. " Its funny the maintenance page does not allow addition of existing webparts. Also existing parts, when d ...Show All
Software Development for Windows Vista can't get my policy activity apear in the toolbox
Hi, I created a policy (in the same assembly as my WF) and added the attribute: [ ToolboxItemAttribute ( typeof ( ActivityToolboxItem ))] Yet, I can't see it in my toolbox, reset toolbox did not help. I don’t know exactly what I've done, but sometimes it works... Is this a known issue Thanks, Haggai Hi HaggaiS I think it is a WF bug. You should try to close and reopen the solution. If it does not resolve your problem you should remove the Activity project and readd it to your solution. Good luck. ...Show All
Windows Forms Comparer Inconsistency
I have a ListView that is populated manually with items from a custom collection. When the list view is sorted I attempt to apply the same sorting rules on my custom collection but for some reason they don't sort the same. Both sorting functions implement IComparer, can anybody see why they shouldn't sort in the same way My ListView comparer is: Public Function Compare( ByVal x As Object , ByVal y As Object ) As Integer _ Implements IComparer.Compare Try 'String Return [String].Compare( CType (x, ListViewItem).SubItems(col).Text, CType (y, ListViewItem).SubItems(col).Text) Catch End Try ...Show All
Visual C++ Can C++ develop web-based applications?
Hi, All New to C++ programming. and have put resource in C++ and VC books and time learning it. But now I was told that C++ can not develop web based apllications. Is this true or some extensions of C++ can go around this limit I need develop a web-based database, so the users can input company names, location, phone numbers. etc. and the users can have a full text search on this database. Do I have to learn C# and and SQL to do this Thanks. You need to learn SQL no matter what. You can write web apps using VBscript and C++, that's call ASP. It really sucks. You should learn C# and ASP. ...Show All
Visual C# running C# windows app from the console does not return prompt immediately
Try and run a Windows App written in C# from the command line. It will not return the command prompt until the app exits. How do we get it to return the command prompt like native WinAPI applications It does return to command prompt after launcing the application. I tried couple of Win Form apps. Give us more details about Win Forms app you were trying. ...Show All
Smart Device Development VS2005 resets the size of my WinCE GUI project window
I want my Windows CE GUI project window to be a certain size. The same size as it is on my WinCE device. Every now and then when 1. I double-click on the file in solution explorer to show the GUI designer view, or 2. click on the tab for the file, or 3. right-click in the solution explorer and choose view designer, VS2005 resizes my GUI. Is there any way of avoiding this You can add a custom form factor by editing the datastore. Open (in XML editor, such as Visual Studio) file "C:\Documents and Settings\All Users\Application Data\Microsoft\corecon\1.0\addons\Microsoft.WindowsCE.2.0.xsl" ...Show All
Visual Basic [OTP] C# XML values to txt control
How do i get the values of my XML doc to these txt controls...I thought i was doing it right but i get an exception saying that the object is not set in an instance....do I need to add the NEW keyword to the string i didnt think i had to do that any help on this private void btnread_Click( object sender, System.EventArgs e) { string [] thefiles; thefiles = System.IO.Directory.GetFiles("c:\\vfg"); XmlDocument xd = new XmlDocument(); string thefile = thefiles[1]; if (thefile.Substring(thefile.Length-3, 3).ToLower() == "xml") { xd.Load(thefile); XmlNodeList list; string fname = ""; str ...Show All
Visual Studio Team System Popup from portal page - "Unable to locate control: ctl00oReportCell"
Next problem: The Builds report and Quality Indicators report produce MessageBoxes with the text in the subject. (xposted on your blog entry) Thanks for posting this! Just a couple of points I ran into when doing these steps: When compiling your code above on a clean Beta 2 machine, I get the following errors: Error 1 The type or namespace name 'UI' does not exist in the namespace 'System.Web' (are you missing an assembly reference ) C:\Projects\AmaxoReportViewerHostExtension\AmaxoReportViewerHostExtension\Class1.cs 5 18 ...Show All
Visual C# Threads problem
I have moved the call to Renderloop to the form's Shown event and now everything goes as intended - except that it doesn't. As long as I have breakpoints, my time display gets updated, but as soon as I remove the breakpoints it doesn't anymore .... OK, I got my time display running by wrapping all the threading in an outer loop. What happens is that I now let the threads run for one second, at which point the TimeKeeper sets a flag, the threads are aborted and joined, and then recreated again. Simplified code: private void RenderLoop() { TimeKeeper .Start(); timeButton.Text = Calendar .Date() ...Show All
Visual Basic Inherit from Abstract Form not supported
Make an abstract Form and inherits from it is not supported!!!! --> The Form (inherits from AbstractForm) is not usable in the FormsDesigner! Is there a HotFix available Horst Horst, The reason why you can't inherit from an abstract form and use it in the designer is because the designers neet to create an actual instance of the base class, and then apply the changes specified in InitializeComponents to it. The form you see in the design surface is actually a real running instance of that particular control's base class, with your specific changes applied to it. If your base is abstract, the ...Show All
SQL Server What component to use for Calling View
In SSIS 2005 what component can I use inside my Data Flow task to call my View and use it as a datasource I know I've used an Execute T-SQL Task but I don't know what component to use inside an actual task itself. What I'm trying to do is in my Data Flow task, instead of using 3 OLE DB Source components, I want to actually call 3 stored procs and use those 3 components as the data sources to merge on using the merge and sort components later on Eh You have 3 options. 1) Select a table or view from the dropdown 2) Write a SQL statement 3) Use a SQL statement stored in a variable. My article said don't use #1. If yo ...Show All
Visual Basic Starting a process in a thread
I am curious about being able to launch a process such as Process.start(c:\SomeDoc.doc) as a thread. I don't really understand threads very well so if this does not make sense let me know. If it does, can I see a code snipetf for using using a thread for a process. Thanks, Fred H Hi Fred, You can launch a process on threads. The following code snippet shows how you can do the same: Public Class ProcessLauncher Dim strProcessPath As String Public Property ProcessPath() As String Get Return (strProcessPath) End Get ...Show All
.NET Development What attribute should i use?
Hello. I have created a custom object that im passing through web service methods, i would like to know which attributes i should add on the propertys on the custom object for the xmlserializer to serialize as effiecent as possible, the only attribute i use now is the [webmethod] attribute on the web methods. Hello, Diego is correct. You do have a few other attributes that you can apply to control serialization. Some apply to class level and others apply to member level. Checking the following resources for further information: - Attributes That Control XML Serialization ...Show All
