ivanatilca's Q&A profile
Visual Studio Team System Performance Problem #2
We've got a project with 3200 objects. The project contains about 10 errors. When we attempt to double-click on one of the errors to bring up the file, Visual Studio will hang for anywhere between 3 and 10 minutes. The Task Manager shows 'devenv.exe' consuming about 90% of CPU resources for this entire time. We're using the RTM version of DBPro. Amos. Amos, What are the error numbers of the 10 errors Also how much memory do you have on the machine Is this project under source control If so did you try the same when it is not under source control or using manualy check-in check-out instead of automatic Thanks, -GertD ...Show All
Visual C# events response time?
this problem faces me alot which is some of the events didn't execute the code that it responsible to execute until i put a messagebox in the beggining of the execution block,take this as an example which is a event from a combebox events "SelectedIndexChanged" private void CB_SelectGroup_SelectedIndexChanged(object sender, EventArgs e) { //System.Threading.Thread.Sleep(2000); MessageBox.Show("kk");// <----------------1 int counter = editDataset.Tables[1].Rows.Count; for (int i = 0; i < counter; i++) { if (editDataset.Tables[1].Rows .ToString() == CB_SelectGroup.SelectedText && selectedTextInfo[CB_SelectGroup.SelectedIndex, 1] == editDataset.Tables[1].Rows [1 ...Show All
Windows Search Technologies Lookout Problem
I can load and use Lookout OK in Outlook 2003. But, after closing Outlook the Lookout toolbar disappears. It's not in the list of disabled items. Help! Reading this message I'm wondering why the ability to index public folders has been dropped, or at least has been changed after Lookout. We have a big public folder store with 5000+ folders and 80000+ messages. We always used Lookout to index these folders and had the index on a server so everyone could access it. This worked pretty good. I hear everyone yelling that Windows Desktop Search is superior to Lookout. But it isn't on the Outlook bit I think. Creating a cache of a favorite public folder crashes Outlook 2003. So WDS isn't the way to go for us. ...Show All
SQL Server Aggregation design wizard - A connection cannot be made. Ensure that the server is running ...
In my SSAS SP1, I received an error msg in Aggregation design wizard "A connection cannot be made. Ensure that the server is running ..." while I was tryng to start "Performance gain reaches%" box. I verified that the local source SQL 2005 sample "AdventureWorksDW" is running without a problem. Thanks God! I fixed this problem, but I really do not know how and why. I will do some experiment and try to find it out (this may take me several hours or days or never), but now, I only list what I did - (1) There is an error " Could not add the requested component. The error is: ...."(sorry for lost details) when I try to install Microsoft TCP/IP version 6 on my Network Adapter; (2) There is an err ...Show All
Visual C++ Manifest issues with VC2005
Hi I'm trying to build a production application in debug using Visual Studio 2005. The application builds, but when I go to run it in debug, I get an error that it can't find the Release versions of the run-time libraries. I've looked at a lot of documentation and discussion groups regarding manifests and have not found out what to do. It looks like the manifest (as near as I can tell) has the debug versions of the libraries included, but not the release versions. My application is a mix of OEM libraries and ours, some of which are release builds. How can I get this to work Is there some wat to add the release versions to the manifest Sometimes you just don't get third party libs build against a debug CRT! ...Show All
Windows Forms Open Form, Close last form
This is giving me a headache. I'm trying to be able to switch between two forms constantly. So I click a button, main form closes, next one opens. Then I click button on second form, second one closes and first one opens again. Each time they get open they must be new instances. So far for the second form's button I have Form1 form = new Form1(); form.Show(); this.Close(); Which works fine between the two except the second form isnt really closing. (Should be disposing). When I try this.Dispose(), the whole program exits before the main form opens again. Any ideas Hi! Try this way: add a constructor in the Form1 class that accepts as argument a reference to a Form class. Next, in the Load event of ...Show All
Smart Device Development Management of phone calls
Hi, I would want to be able to control incoming and outgoing calls. I know I can detect them with an object of SystemState. Now, there are several problems: - Can I detect them if the events occurs out from my application - Can I finish a phone call If it it possible: - I don't know if I can close an incoming phone call or if only the OS is able to do it. - I don't also know if it is possible to finish an outgoing phone call that I haven't initialized into my programme. Anyone can help me Thanks a lot. Alvaro Penarrubia Hi Michael, I'm quite shamed because I still have some (the same) problems. When the VS trys to open the solution (TapiApp) shows for three times (one per project [StructValidator,TapiApp and T ...Show All
Smart Device Development Newbie Question menu
Iam creating a menu in code by public void CreateMyMainMenu() { // Create an empty MainMenu. MainMenu mainMenu1 = new MainMenu(); MenuItem menuItem1 = new MenuItem(); MenuItem menuItem2 = new MenuItem(); menuItem1.Text = "File"; menuItem2.Text = "Edit"; // Add two MenuItem objects to the MainMenu. mainMenu1.MenuItems.Add(menuItem1); mainMenu1.MenuItems.Add(menuItem2); // Bind the MainMenu to Form1. Menu = mainMenu1;} Is it possivble to save this somewere else so more forms can use the sam menu MenuItem menuItem1 = new MenuItem(); MenuItem menuItem2 = new MenuItem(); MenuItem menuItemUnderFile = new MenuI ...Show All
Visual Studio Express Editions Programming project ideas
Hi all. Im new to using visual Basic Express and i am looking for ideas for small programming projects that will help me learn. The main problem I am having is that most of my ideas are too complex for my current programming abilities. I have some limited programming knowledge so i do not want anything too simple; i dont really want to make something like the windows calculator as i have the ability to do this and wouldn't learn much from it. so what i am looking for is ideas for small usefull applications that would be handy to have, provide a challenge to make and would not warrant a full blown application. Thanks. When I've had to learn a new language I've always written an encryp ...Show All
Visual Basic Help on making a Defragmenter
Hi, not sure if this question goes here, but, I would like to try make my own defragmenting program, any info on how to or where to start to be able to make this in visual basic 2005 pro, I know the theory, but not sure how I can get the info from a disk, and start putting the files togheter, I would like to start this small project using the basic floopy disk (less risk of ruining my Hard drive) so if anybody can give me a hand or guide me some sample code or in the correct direction, I would appreciate it a lot. In advance I want to thank the people that answer me. Have a nice day Use the defragmenter that comes with windows ... You will have to do low level disk IO in order to properly per ...Show All
Visual C# GetFieldType
Hi, I have this code, but I am happy with it. Can I improve 1) First option while (DtReaderSqlBase.Read()) { if ( typeof ( DateTime ).Equals(DtReaderSqlBase.GetFieldType(nFields) ) { //do stuff } } I want to compare one type column from database "ODBC datareader" and convert. if data set to field data if string to string and so on............ This code above works, but I don't is the best approach maybe this 2) Second option if ( DtReaderSqlBase.GetFieldType(0) == DateTime.GetType() ) Which one is the best option.......... or no one there the right option cheers, I agree, But I never kwon what type of field is, as I am perfoming select * from tbl from on d ...Show All
SQL Server The e-mail account does not exist at the organization this message was sent to
I installed 2005 and love email subscriptions. However Our company has a parent company an our email is ran through them. They have a user @Example1.com address and our company has a user@Example2.com address. Our company used to use the user @Example1.com address and switched over to the user @Example.com1 address. Now when emails get sent out the people that existed when we were on the user @Example1.com can receive the emails with no problem, however when new employee's get hired on to the company and we setup their email account with the user @Example2.com address they are not able to receive the emails from the subscription, I get The following receipient(s) could not be reached: user@Example1.com (DATE) The e-mail account do ...Show All
Windows Forms Global variable
I Create Windows form application. How add global varaible jaca What do you mean by add One can create public classes with static members to behave like globals such as: public class MyGlobals { public static string abc = "ABC"; } ... MessageBox.Show(MyGlobals.ABC); Or do something similar on the class you are working with... ...Show All
Visual Studio Express Editions Game problem
Hi, I am struggling to do a game. 6 values: 13, 99, 7, 32, 23 ,24 Enter the number: 3454 Suppose that 3454= ( ( ( ( 99 - 7 ) - 32 ) - 23 ) * 24) - 13 With these values , I must obtain the number that is entered. I am thinking on it but nothing comes to my mind . Would you please help me Hello You should start by understating the problem and then its solution and then code it. This is a nice problem that is common to give to students, you can find a discussion on the algorithm on many websites (such as here: http://mathforum.org/library/drmath/view/64637.html ) Thanks Damien ...Show All
Visual C# Not sure where this should be but sort of a Math question
Using Trig in a C# program or other (I mention C# because it is what I usually use now) I see strange results on what I try to do. (I would assume (sure) it is me) BUT I had this thought in my little old brain. The way I see it, Trig. is based on a true circle. However when I make a picturebox, panel or other it is always some a square or rectangle with my bitmap or Draw object within it. (Does Microsoft have a true circle Control ) If I want a theta, I 'think' it is sort of based on the mouse/joystick input from the picturebox/panel/whatever which is a square/rectangle.. Ont << As in NOT the Circle I drew within it What am I missing I'm lost. As far as Iknow, you cannot have a true circle control. The algorit ...Show All
