Pouyan's Q&A profile
Visual Studio Reference from one DSL metamodel to another
Hi, How can I reference from my metamodel to element from another metamodel For example, SDM (is based on old version of DSL), you can inherit or reference on elements from imported metamodels, but they implements it inside SDM. Probably, in the current version of the DSL you have implemented this as DSL functionality May be if all referenced metamodels are loaded to Store it solves some problem, but how does it works for Designer, for instance Evgeny Popov In the V1 release, we've amended the supplied directive processor to correctly span a transaction across multiple uses of itself in one text template. However, this won't make the dsldesigner itself any happier with the multiple files in this rel ...Show All
Visual Basic XML in Treeview
OK , I have looked and still can't find the right stuff. SO I am working on this project, that takes an XML record and displays only the parent node in the treeview. That part I got but where my problem is when you click on the parent node it is supposed to navigate to a web page related to the node. Also by hoveing over the node I am supposed to have a tooltip description appear.My XML is as follows.... <title>Herbs</title> <link>C:\Documents and Settings\HP_Owner\My Documents\Dominion\Content\Database\herbs.html</link> <description>a book on herbs</description> In the tree view only the <title> wil;l display, when I hover over the node it should display the <description> and ...Show All
Visual Basic Shutting off a remote machine
Hi guys, I came across some code that suggested that in order to shut down a remote system, the following code can be used "shutdown -s -f -m \\Systemname " But when I tried it, it showed that the network path was not found. How do I find the network path The remote system I used is on my home network. Just Mshome. No particular network as such. So, where is the error How can I find the system path and identify the remote system that I want Thanks a lot. This is how I usually find info like that. Recommended. ...Show All
Visual Basic VB5 setup
during setup there is a dialog box - Setup is creating program icons ... then a msgbox "No icon was specified in SETUP.LST for the_file." How do I specify an icon What changes should I make Anne yeabut ... how whereabouts sample follows - File14=1,,yyy\text.tx_,text.txt,$(AppPath)\yyy,,, 3/12/2006 15:59:38 ,154,,"","","C:\xxx\yyy\text.txt" and while I'm here, the number 154 ... it's only 3 digits compared with the 5 or 6 digits that are associated with the system generated files - what's the significance and I've still to figure what the functions are of the various bits between the commas ... I look forward to hearing from y ...Show All
Visual Studio 2008 (Pre-release) Building RGBFilterEffect error
While building RGBFilterEffect sample I'm getting an error building RGBFilterEffectLibPS project... Error: MIDL will not generate DLLDATA.C unless you have at least 1 interface in the main project. Project : error PRJ0002 : Error result 1 returned from 'C:\Windows\system32\cmd.exe'. Is anyone else getting this error ...Show All
Windows Forms list box Items
can anyone help me out... I've already populated a listbox with the ID: listItems... now I want to reorder the items... by having two buttons.. up and down buttons.... but once Ive selected an item... The SelectedIndex returns -1... so I cant move the item.. help!!! BensonFabonan wrote: hi there guys!!!! i have another problem... i need to get all the indexes of all the items in the listbox and save it to a field in the database how will i do it help.... Index The index of the item in the listbox is just simple, from zero to the number of the items minus one. ... ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Commercial Game Development like Age of Empires or Rise of Nations!
Dear reader, Thank you for your interest in this thread. I am a software developer and own a meduim sized company but I basically concentrate on Application Programming and Web Development on .Net framework. My knowledge regarding Game Development is limited. But I now have been given the opportunity to develop a game on the above lines for the Windows OS. And this chance could be a really good one for my firm. I wanted to know if a commercial game on the lines of Age of Empires can be fully developed using Directx Sdk. Is this possible By what we read about XNA Express and future XNA Professional the code written on Directx SDK can be migrated to XNA. Obviously XNA Express will not allow a developer to develop a commercial ...Show All
.NET Development validate IP
how can check if the given text was a valid IP format hi , i would prefer the IPAddress.TryParse instead of creating a whole regex expression. i feel Regex is more costly.Also it uses tryparse so no exceptions causing performance issues. thanks vinothkumar ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Managed DirectX Sprites: Is it possible to light them?
Hi, Does anyone know if it is possible to apply Direct3D lights to sprites constructed using the Sprite helper class in Managed DirectX Since the class creates a quad for the sprite, I would have thought it possible to light the quad or rather the quad's texture. I have tried adding a light to my sprite scene and have tried doing this both before and after drawing the sprites. However, I cannot seem to get the lights to work. I have used the following code: // This is in my initialise section: m_Direct3DDevice.RenderState.Lighting = true; m_Direct3DDevice.RenderState.ZBufferEnable = true; // This is in my render loop: m_Direct3DDevice.Clear(Microsoft.DirectX.Direct3D.ClearFlags.Target, Color.Black, 1.0f, 0); m_Direct3DDevice.BeginScene(); ...Show All
SQL Server Can you do this?
We know that when we upload an .rdl file (xml) to the report server database the file gets broken up in different sections and becomes part of the system. I can do a report from the db tables and find out the path, the frequency of hits, rendering time etc. We also know that we can extract the file back into an .rdl format to do further edit and look at the queries used to generate the results. My question is... Is there a way to do a report from the db tables that will show me the queries I created in the datasets of the file without extracting it back to an rdl Firstly, I do not appreciate the tone of your posts. With that attitude don't expect people to help you even if they know the answer ...Show All
Visual Basic Copy To Toolbox
Hi, When copying code (Ctrl+C), the text entries go to the toolbox. The entries go under the tab that I last clicked. There is no apparent limit to the number of entries (I stopped counting after the first hundred). When I try to reset the toolbox, the IDE crashes. I have uninstalled and reinstalled. I even tried removing manually ( http://support.microsoft.com/default.aspx/kb/907965 ). I use Norton Ghost for backups. I restored from an image made before the original installation, reinstalled, and still having the same problems. I am using VS 2005 Pro with SP1 applied. Any suggestions ...Show All
Visual Studio Express Editions How can i create a setup file?
I have using VS.NET 2005 Standard Edition. i have code my project, but i want to create a exe file for these environment (WinXP, Win 2000....). It is because i just copy the project.exe and run it on other workstation that installed .net framework 2.0 now, but i cannot use the crystal report, it is because i haven't install the crystal report component. How can i create the set.exe include all lib that my project used THX In addition to using ClickOnce Deployment, you can create a Setup Project with Visual Studio 2005 Standard Edition. Load your application and then click on : FILE, ADD, ADD: NEW PROJECT. From the Add New Project Popup, look on the left side Treeview ...Show All
Visual C++ Why intellisense sees the referenced class but compiler doesn't?
Hi, I am confused and need help here. I have a C++.Net project that contains two files. One is a C program imported into C++.Net as un-managed code (say, it is program A) and the other contains a managed C++.Net class (program B). They all compiled and ran fine when I tested them. My problem comes when I try to access a method of program B from program A. I keep getting a compile error that says "error C2653: 'MyClass' : is not a class or namespace name" at the line that program A trying to access program B's class. Here, 'MyClass' is the name of the class in my program B. What's more confusing though is that when I code it in program A, the intellsense can give me the right information about the class I need in program ...Show All
Visual Basic URGENT!!! - Problem with Windows Service
hi, I have a windows service which connects to an Oracle database using "System.Data.OracleLcient" When i start the service i get the folling error. Description: Service cannot be started. System.DllNotFoundException: Unable to load DLL (oci.dll). at System.Data.OracleClient.DBObjectPool.GetObject(Object owningObject, Boolean& isInTransaction) at System.Data.OracleClient.OracleConnectionPoolManager.GetPooledConnection(String encryptedConnectionString, OracleConnectionString options, OracleConnection owningObject, Boolean& isInTransaction) at System.Data.OracleClient.OracleConnection.OpenInternal(OracleConnectionString parsedConnectionString, Object transact) at System.Data.OracleClient.OracleConnection ...Show All
Visual Studio Quirky Debugger with VS 2005 SP 1 Beta
Has anyone else noticed that the debugger seems a little quirky with VS 2005 SP 1 Beta with respect to debugging multiple threads I find if I'm debugging a second thread it's really slow and sometimes does not work--often seeing ThreadAbortException when the Autos or Locals windows are visible. Okay, I've managed to narrow it down. It seems to occur with asynchronous delegates and debugging the callback while executing on the background thread. I originally noticed the problem with Asynchronous IO callbacks, which I assume are invoked via asynchronous delegates; but I can reproduce it by directly using asynchronous delegates. For me, this is a blocking issue with SP1 Beta. Here's code to reproduce it (starting from a new C ...Show All
