Isa novaiel's Q&A profile
Visual Studio Adding files generated with text template to project and dynamically create a web application
Hi, I am generating several files from one TextTemplate just the way is posted in this forum, I would like to know if there is a way to include the generated files automatically inside the project, how Can I create a Web Application dynamically inside the text template ans add it to my solution file Luiz, In answer to your first question, you can add new items to a project programmatical ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Memory Management of unused code
Hi. I have multiple objects controled by multiple classes. To ensure the classes are only there when i need them (i.e.they are only created when the level that they exist on is loaded so as not to clutter memory with unneeded objects) however. It just dawned on me that all these classes have associated functions (of course). So how is it possible that when the first of a perticular object created with the new operator knows to load in the compil ...Show All
Visual Basic Any way to trim all these IF statements?
Hi, I'm a VB6 hobby programmer and I'm just getting in to VB2005. I installed the VB Express ed. last night. I'm writing a simple game and have run into a coding issue. I have 15 buttons on a form. As part of the game, you click the buttons to essentially move them around. After each click, I run a subroutine to check if the user has "won" the game. In order to check for a win condition, I check to make sure each of the 15 buttons are in th ...Show All
Visual C# Exception Usage
I want to know which scenarios to inherit following exception class Exception SystemException ApplicationException Vikram Go to GotDotNet.com and search for "ApplicationException FxCop", you will find a number of posts regarding this, including some responses from Microsoft. I will post a suggestion for this to be updated. ...Show All
SQL Server SQL Server Management Studio Express CTP won't open - why?
I can't seem to open my SQL Server Management Studio Express CTP anymore. I need help figuring this out. I was able to open it before. I went to the Control Panel>Add/Remove Programs and tried to "repair" the program but nothing changes. Anytime I double-click on ssmsee.exe, the hour-glass flashes, but the program never starts. Any ideas why The last thing I loaded was the AdventureWorksBI.msi. ...Show All
.NET Development MySQL Database, Security Exception
I am building a my first VB.NET website using a MySQL Database. Offline everything works fine. Online i get an error message: " Security Exception Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file. Exception Details: System.Securi ...Show All
SQL Server Unable to retrieve TransSubscription.DistributionJobID using DMO on SQL2005
Using DMO to look up the distribution publisher, the publishing db and the publication name appear to be working. This is accomplished with the TransPublication dmo object. We receive some information from the TransSubscription object, but not the DistributionJobID. We get the correct subscriber count, article count, publiser name, subscriber server and subscriber databasename. The DistributionJobID is all zeros, (000000000000000000 ...Show All
SQL Server getting depedency list from sysdepends
Hi, i am trying to find the list of dependent object for stored prcedure. I am not able to locate depenedency for sp that has temp table in sql statement. i am trying to explain the scenerio by following examples e.g--use northwind Create proc testabc as BEGIN create table #emp(fname varchar(50)) insert into #emp select firstname from employees select * from #emp drop table #emp END in above procedure ...Show All
Windows Live Developer Forums How to send message in conversation window in programme
According to "Calling the MSN Messenger Client Directly",I use "obj.LaunchApp(AppID, emailID);" to open the MSN conversationg window,I want to ask: 1. Does the LaunchApp functiong return a value so I can know whether the MSN conversationg window is open sucessfully 2. Then how can I send a message to the user in the conversationg window placing a message in the window with th ...Show All
Visual Studio Team System Team Foundation Server Access over Proxy
Hi I'm wondering if it's possible to authenticate to a TFS (Beta 3 refresh) over a web proxy server I do a lot of onsite work with the repository, and some customers have proxy servers set up which I authenticate with to get to the outside world. VS keeps saying that it cannot contact the server. Thanks very much. Mat With a standard installation, the server is set up to use Windows authentication (NTLM), which ...Show All
.NET Development SEHException from External Component Error
I have the error "System.Runtime.InteropServices.SEHException Additional Information External Component has thrown an Exception. The Problem occurs when I try To instantiate an object which is contained in the header file that came with the 3rd party .dll I am using. The header for the file looks like this: #ifdef QUANTUM_EXPORTS #define QUANTUM_API __declspec ( dllexport ) #else #define QUANTUM_API __declspec ( dllimpo ...Show All
.NET Development Web Service and XML produced
I am writing a web service using VS2005, .NET 2 and I have a question on the XML format of the SOAP body. My C# creates the xml as below: public XmlDocument GetAllEntities() { ds = new DataSet (); // some sql set up to retrieve the data from the databse XmlDataDocument dataDoc = new XmlDataDocument (ds); return dataDoc; } When I debug the result, IE displays < xml version="1.0" en ...Show All
Smart Device Development Significant performance slowdown when running 2 .NET applications in PDA
Hi, In a project that I am making, I am currently making 2 applications. The first one is the main program, the exe file size is about 2.5 mb and when deployed, it consumes about 5 mb of memory. Its function is to read and store new data in XML's. The second one is more of a maintenance application, uploading the XML's on the backend server. (it should also run even when the main application is closed) When the main application is running, it wo ...Show All
Visual Studio Express Editions Does VC# 2005 Express edition support 3D rendering?
Hello, I'm facing a problem while developing a 3D application in VisualC# 2005 Express Edition. The editor does not recognize 'Viewport3D.Camera' property. The following code is recognized by XAML Pad but shows an error in VS. <Viewport3D> <Viewport3D.Camera> <PerspectiveCamera LookAtPoint="0,0,0" Up="0,1,0" Position="-5,2,3" FieldOfView="45" /> </Viewport3D.Camera> &l ...Show All
Visual FoxPro Foxpro problem I think
Hi, I have made an program in foxpro wich will archieve mail. what I do is I first export the mail body, sender, etc to text files with vba and than get them back with foxpro, but sometimes the layout changes when I put it back. Has this something to do with that I exprot them to text files or is it something different please help Remember that most email objects used to get email have two Body ...Show All
