ytandeta's Q&A profile
Visual Studio Tools for Office Is VSTO object model support disable screen refresh function just like VBA ?
Dear All. Is VSTO support the same PIA object that works just like VBA "Application.ScreenUpdating" when mass object data binding with large Pages in Word Document, this is really need function for performance. any ideals please help Hi Polo, Yes, the entire Office object model is available in VSTO via the PIAs. Application.ScreenUpdating is there; i.e. Application.ScreenUpdating = false; Sincerely, Geoff Darst Microsoft VSTO Team. ...Show All
Windows Live Developer Forums Map is Done Loading
Is there way to tell when all the tiles within the map have loaded ...Show All
Visual C# Is it possible to catch a c++ assert dialog using c#?
Is it possible to catch a c++ assert dialog using c# So, if a c# application is interacting with a c++ application and the c++ application launches a c++ assert failure dialog is it possible to catch it in c# so the dialog is not displayed Thanks. Not that I'm aware of. The C++ assertion dialog should only be generated by debug code. It is generated within the C++ RTL and can not be prevented as there is no communication back to C# (or anybody else) that the dialog is going to be displayed. Michael Taylor - 7/28/06 ...Show All
SQL Server How is security to FoxPro managed through Linked Server from SQL
I’ve been working on getting a linked server through SQL 2005 to work with VFP 9. I get access denied for any and all security set ups on the linked server. I’ve checked the folder-level security settings and see that the user I’m logged in as, and have tried through security settings, and they seem to have access. What other security settings should I be checking Thanks for the help screen. I've been trying different combinations. Also trying all possible ways to open up security for various users. What I have gotten is that the SQL Server service user ID can now load through the Linked Server but I can't get any other IDs to load through the Linked Server. Good progress though. ...Show All
.NET Development Public class, derived from an internal class
I have a class library which defines a few public classes. All of these classes have shared functionality, which is defined in a base class from which they are all derived. However, this functionality should only be available within the class library, and not by any other external code. For this reason, I specify the class as internal. When I attempted to compile the code, I got the error; Inconsistent accessibility: base class 'HTS.Database.Dbo<int>' is less accessible than class 'HTS.Database.StaffDetails' Dbo is the internal class. StaffDetails is the public class. Normally I would understand this error, however in this case I do not see why it should be a problem. The Dbo class consists entirely of internal properties and constru ...Show All
Windows Forms Strange behaviour - Child Form Array
Hi, I have a VC++ .Net 2003 MDI application. I am declaring a __gc Array in the frmChild_load method of the child form. The declaration is as follows Double zData __gc[,] = new Double __gc[10,10]; It compiles and links properly but I get the following run-time error!!!!! Error: Method not found: Void System.Array. (System.EventHandler) The same declaration of array in the Parent form load method does not give any error Please let me know if i am missing something ar the array has to be initialized in some other way TIA Suneet I poked at your code for a while, using VS2003, SP1. There's something really strange going on. I isolated the statement in a test() function. The first thing that was weird is that I couldn't get a ...Show All
Visual Basic TaskList Selected ITem
Hi I am writing a macro in 2003 which would give me currently selected item in the tasklist. i used TaskList.TaskItems for getting all the items in the TaskList, but i am not able get the one that is currenly selected. Can anyone help I'm afraid this isn't possible from a macro. If you want to enter it as a suggestion on http://connect.microsoft.com , it will be entered into our database for consideration. Thanks! -Josh Stevens VS Core IDE team ...Show All
Visual Studio Team System BUG: Import script cannot split simple ADD CONSTRAINT list
ALTER TABLE [dbo].[tableA] ADD CONSTRAINT [FK_tableA_tableB] FOREIGN KEY ([tableB_id]) REFERENCES [dbo].[tableB] ([tableB_Id]), CONSTRAINT [FK_tableA_tableC] FOREIGN KEY ([tableC_id]) REFERENCES [dbo].[tableC] ([tableC_id]) This format is generated by many tools including Red Gate Sql Compare so it's fairly common to have scripts lying around like this. It would save a lot of manual intervention for DB Pro to figure out how to split it up properly into two files automatically. If you import script we currently do not split this; if you import schema (from a database) we actually do split this in to two foreign keys. -GertD ...Show All
Visual Studio Express Editions Drag and Drop From My App to another App
Well, I'm working on a program that Stores CD Keys, Serial, Registration Information and what not. I designed the program for a friend who is a heavy gammer. Owns a good 10-15 PC games. Well, he's about as good as keeping the cases in the same place as I am so He all ways loses them. Well ever since I got a job working as a Digital Filer, we have been working on a DRP (Disaster Recovery Program) Well I got to thinking. What if I made this program for the masses, freeware. Well my friends and my self liked the layout but really was only designed for us. So let's say part of my key is TGF4E-TJKP3 and I need to enter in TJKP3 still. Well I hate typing in 25-40 character serials and/or keys. And I know once Vista hits the store some time in th ...Show All
.NET Development XSLT: search for specific nodes and nodes related to each
Hi, Sorry this is going to be a long post but I felt it necessary to include source code. Here's a very small portion of my xml document: < xml version="1.0" > <xtvd> <stations> <station id="10436"> <callSign>KERA</callSign> <name>KERA</name> <affiliate>PBS Affiliate</affiliate> </station> <station id="10830"> <callSign>KXAS</callSign> <name>KXAS</name> <affiliate>NBC Affiliate</affiliate> </station> <station id="16123"> <callSign>TVLAND</callSign> <name>TV Land</name> <affiliate>Satellite</affiliate> </station> <sta ...Show All
Windows Forms DatgridView add rows...?
Hi... If i want my datagridview control to show one column as combobox & other two columans as textbox. I want first two columan as read only textboxes for user & 3rd column is used by user to select the values by a Dropdown combobox... Is it possible to do this...How can i do this... how can i add rows in DataGridView... How i can add range of data in Combobox column... Can anybody give me link for any good Documnet on DataGridView which explains this... Thanks, Vinay ...Show All
.NET Development active directory exeption :"Exception has been thrown by the target of an invocation."
hi i see in any active directory code the use of invoke methoe such as below: DirectoryEntry de = new DirectoryEntry ( "LDAP://192.168.0.1/cn=Users,dc=soheila,dc=org" ); DirectoryEntry de1 = de.Children.Add( "cn=newUser1" , "user" ); de1.Invoke( "SetPassword" , new object [] { "newUser1" }); de1.Invoke( "ChangePassword" , "newUser1" , "newUser2" ); de1.Invoke( "Put" , new object [] { "Description" , "my first entry" }); de1.CommitChanges(); DirectoryEntry de3 = de.Children.Find( "cn=group1" , "group" ); if (de3.Name != "" ) de3.Invo ...Show All
Game Technologies: DirectX, XNA, XACT, etc. surfaceformat question
Hi guys, I have what is hopefully a simple problem. Maybe I am just missing something obvious, but I can't seet to initialize a rendertarget2D on the xbox360 with the SurfaceFormat.Rgba64 format. Every time I specify this format, I get a "Cannot Create Resource" error when the program runs. Is there some parameter I need to set in the device properties in order to create these targets Or is this format just not supported on the 360 As far as I could tell, you generally need to use this format for HDR lighting, if I am wrong and I could easily be using some other format, then I guess I will do that instead. Thanks for the help Link from MSDN: http://msdn2.microsoft.com/en-us/library/microso ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Please Help Me! Couple noob Questions
#1 I just finished the little thing where you build the game where you have a blank screen and one of the models is controled by the controler, I was wondering how I would go about adding one of the projectiles from the space wars game in to it. Also I want the button to be the left bumper that fires it. If any one can help it is muchly needed thanks. #2 Also Does any one know how to make the ship go in reverse and what the code would be to apply it to the left triger #3 How do you make the craft go up and down with the left stick I can go up and down with A and B but would like to make it so that when the left thumbstick is pressed up the ship lowers and when the thumbstick is pressed down I want it to go up. ...Show All
Visual Studio Sdc Tasks Nunit?
Hello, I am having trouble with the NUnit task provided by the Sdc Tasks. I am using the latest version of NUnit (2.2.9). Anyone else having this problem Short of getting this to work, anyone tell me if the MSBuild Community Tasks version (not Sdc) of the NUnit test can simply tell me if I have gotten any errors or not TIA! Also, is there any better documentation on the NUnit tasks for the MSBuild Community (not Sdc) I don't want to fail my build, I just want to know how many errors occurred during the build. Do I have to extract this out of the output xml file ...Show All
