sanjeevm's Q&A profile
Software Development for Windows Vista An error occurred while attempting to create the directory C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\Item Templates
I keep getting an access error when these 2 installs try to create a folder saying "An error occurred while attempting to create the directory C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\Item Templates" and it's driving me nuts. I have never had trouble installing .NET products. during the install for these: Visual Studio 2005 extensions for .NET Framework 3.0 (WCF & WPF), November 2006 CTP Visual Studio 2005 Extensions for .NET Framework 3.0 (Windows Workflow Foundation) Hi, I have couple questions for you. Is your machine 64 bit or 32 bit Because it may be trying to create the directory in the wrong place if its x64. Are you using Vista If you are using vista you have to be logged in as admi ...Show All
Smart Device Development Windows CE Lack of stl support
Does anyone know where the <local> header file is for Pocket PC Does it exist or is it not supported for Pocket PC Thanks, Rob All header files for Pocket PC are either at \Program Files\Microsoft Visual Studio 8\VC\ce\include Or \Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\PocketPC2003\Include (In case of PPC03) \Program Files\Windows CE Tools\wce500\Windows Mobile 5.0 Pocket PC SDK\Include\Armv4i (In case of PPC05) Thanks, Achal VSD, Microsoft ...Show All
Visual Studio Express Editions MDI Child Once Only please
Good Afternoon All, or morning or whatever, I'm sure one or two of you have come accros this and the answer is probably staring me right in the face, but how do I get the child forms to be shown once, for example.... .... I have my MDI Form, a menu etc under one of my menu items "&Help" I have, "&About", "&Support" and "&Licence" now I only what each of these forms to be shown once. I have tried: about f = new about(); f.MdiParent = this; f.ShowDialog(); but this just throughts an exception (cant remember of the top of my head) some thing like this form can not be displayed in this manor. When I get home I'll make a note of the error and post it here (if I rem ...Show All
SQL Server SQLDependency is very slow
I posted this in the .Net data access forum with no replies, so I'm trying it here and apologize for the cross-post. I'm researching using SQLCacheDependency in an application to keep caches up to date between applications. I could also use SQLDependency, just haven't tried that yet. I've tried a test where I read 1000 rows from a database, cache each one, and create the cache dependency. The dependencies work fine. My problem is that it is 100 times slower to read and create a dependency than it is to just read the row. At this rate, I need a 99% cache hit ratio just to make my caches break even! Is caching even worth it at this rate Why is it so slow Thanks very much for any insight. Here is the code: for (int i = 0; i < 1000; ...Show All
Visual C++ Class not showing in Class View
In a VC++ project, I have a class CMyClass. It is defined in MyClass.h and implemented in MyClass.cpp, in the usual way. When I look at Class View, CMyClass is not listed. If I use Class View's search for CMyClass, it finds CMyClass::CMyClass and CMyClass::~CMyClass only. Why isn't CMyClass shown in Class View I want to add some member functions, and need to have its properties window to do this. VoiceOfExperience wrote: How can I get VS to redo all the dependencies correctly, or for that matter, show me what it thinks they are now what do you mean by redo all the dependencies It seems that you got new problems that not related to the original topic, if this is true, can you startin ...Show All
Visual Studio Help going to home page
Hey everyone. Any time I click on help. Be it through the start menu or through a app menu it skips the help file and instead navigates to my home page. So I can not access any help or documentation. Any help would be appericated. There may be a problem with those two specific collections. There first one you indicated is Patterns and Practices and the second one is WSE (Web Service Enhancements). Both of those are fairly old content and their installations may have been corrupted for some reason. Have you tried doing a repair on either one of those from Add/Remove Programs Also, when launching help from Visual Studio, can you tell me which version of VS you are working with Have you also tried doi ...Show All
.NET Development Building Business Logic Layer
Hello to all, I need help in creating Business Logic Layer... Right Now I create a separate Class for each table in my Data Base, and place all necessary methods for that table in this class. this class is intermediate between Data Access Layer and Form. But My problem is that when I have to perform operations on more than one Table, the methods for operation are divided in separate class. For example I have an Employee Table and Address Table. To insert a new Record I have to perform Insert operation on both tables and methods for that are placed in two separate class. so sometimes problem occured for consistancy in this tables (one is updated and one is not) Can any one suggest me the good structure for Business logic where more ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Suggestion for stock Vertex structs
I notice that the framework provides a few stock vertex structures like VertexPositionColor etc. This is cool but it would be great if these could inherit from an interface which provides a mechanism to get the SizeInBytes and Element information abstractly. These structs currently provide this information as static properties but this is no good if you are are trying to write a generic function that can deal with a number of different types of vertex structures seamlessly. My suggestion is that in future something like an IVertexInfo is provided that lets you deal with these concrete vertex structures abstractly. Perhaps something like this. interface IVertexInfo { VertexElement [] Elemen ...Show All
SQL Server Iterating the rows of a script component
Hi There, Can someone please let me know what is the best way to iterate the output rows of a script component and stick in those ids in a where clause of a select query (to retrieve additional info from a database) Is this possible at all If not, what is the best way to deal with this situation Thanks a lot!! Sam_res03 wrote: Jamie, Thanks a lot for your reply. I think I am almost there...So I have one one column in the recordset. Is this what I should do By using a for each loop container, with foreach ado enumerator I can get the id and store in a variable. Next can I have a dataflow task in the foreach loop... and in that dataflow task, can I access this id pass it as a variable to an sql command (in t ...Show All
SQL Server OpenRowset to SSAS
Hi, I am trying to execute the following command SELECT a .* FROM OPENROWSET ( 'MSOLAP' , 'DATASOURCE=mpdata; Initial Catalog=[OLAP - Retail Wholesale];' , 'select [Measures].[Nett Sales Value] on columns, Relative Week Dimension].[RelativeWeek].[Relative Week]on rows from [Retail Summary OLAP]' ) as a This generates the following error OLE DB provider "MSOLAP" for linked server "(null)" returned message "Cannot connect to the server 'mpdata'. The server is either not started or too busy.". Msg 7303, Level 16, State 1, Line 1 Cannot initialize the data source object of OLE DB provider "MSOLAP" for linked server "(null)". Any advice on what to do ...Show All
Visual Studio Express Editions MessageBox Issue
Hey, Still pluggin away here and learnin.....New question/error. When I attempt to use MessageBox.Show I get the following error: Error 1 'Show' is not a member of 'MessageBox'. I understand that it should work like: Result = MessageBox.Show(Message, Caption, Buttons) But it is not....Is this an Issue in VB Express How do I solve this Thanks in advance LDavis501 Prompt - Required. In quotes, or string variable MsgBoxStyle - optional, intellisense shows you the default value Title - optional, intellisense shows you the default value (nothing) Is what I see in intellisense. Also, using the syntax I recommended, intellisense will show you logical ...Show All
.NET Development Create table access database?
I have access database,one table Table1 and I wont to create another table but with the same structure as the table Table1 (columns: Broj iksice,Prezime,Ime,Broj indeksa,Broj pohadjanja). I used this code: Dim veza As OleDb.OleDbConnection = New OleDb.OleDbConnection(Global.Diplomski1.My.MySettings.Default.Studenti1Connection) Dim comm As OleDb.OleDbCommand = New OleDb.OleDbCommand("CREATE TABLE Marko ([Broj iksice] DOUBLE PRIMARY KEY UNIQUE, Prezime TEXT(30) NOT NULL, Ime TEXT(30) NOT NULL, [Broj indeksa] TEXT(20), [Broj pohadjanja] INTEGER)", veza) comm.ExecuteNonQuery() for creating table in the database. Code for creating table in the dataset Studenti1Data Private Sub Button6_Click(B ...Show All
Visual Basic err.description??
Hi everyone, I wonder, error old VB6 object aside, what stuff is intended to do the same in .NEt It's a little bit naive to write err.description and so on... Thanks in advance and best regards, Try 'Write you code here Catch ex As Exception MessageBox.Show(ex.Message) End Try ...Show All
Visual C# Else if statment
Here is some of my code, I get 2 errors, how would i fix it [code]#pragma warning disable if (lcarrier.Text == "Altell") ; { endadd.Text == "@message.alltel.com"; } else if (lcarrier.Text == "AT&T"); { endadd.Text == ("@mmode.com"); }[/code] My 2 errors are ...... _ Invalid term else and ; expected when comparing text, always use the Equals() method, not the operator = overall your code should be : if (lcarrier.Text. ToLower().Trim().Equals (" a ltell")) { endadd.Text = "@message.alltel.com"; } else if ...Show All
Visual Studio Tools for Office VSTO Excel add-in only working in development machine
Hi, I am creating a Excel 2007 VSTO COM Add-In using VSTO 2005 SE . It runs perfectly fine when I build it and run the in development computer having VS 2005 . However, when I try to install the setup.exe or .msi file for the same addin in the client machine or Virtual PC having the following installed: 1. VSTO Runtime - Shipped with VSTO 2005SE 2. Office 2007 3. .NET 2.0 Framework it does not seems to load . I have done : 1. caspol settings to make it Fully Trusted . 2. set vsto_suppressdisplayalert=0 and run excel.exe from cmd ......Same Results .... I get the following error " Not Loaded. A runtime error occurred during the loading of the COM Add-in." It has been over a week now that I am str ...Show All
