Vivek M'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 Guys, Can I put my custom Item Template in my own window So its like the built-in Item Ad ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Microsoft XNA
Anybody know when XNA is supposed to come out I've seen demo's of it and know the stuff was set to come out at some point but it seems it hasn't totally yet There ya go, PIX , XACT , XInput , OK fair enough, but this isn't really what people are waiting for when they talk about XNA. CDX/CDXUT , DXUT/DXUTGUI.... also the newer Visual Studio 2005 ones as well.... DirectX 10 there's 14 tutori ...Show All
Smart Device Development Adding a new target device to the VS2005 IDE?
How can I add a new target device (a custom WinCE Emulator OS) that I built with Platform Builder to the target device dropdown in visual studio In short, I built a Win CE OS using Platform Builder. Now I want to debug an application on this device (it's an emulator build) using the VS 2005 IDE in which I built the program. I can't figure out how to do this 1. Build SDK in PB. 2. Install SDK. 3. Fo ...Show All
Visual Basic Combo Box
Dear All, I will be so thankful if I am able to solve my problem. It is, to add values into a combo box say 1,2,3,4...etc., and would like to color the items differently based on the item belongs to ODD number or EVEN number. I am not able to perform this with combo.forecolor property ( Style of Combo is 2-Dropdown). Thanks in advance. Hi, You can set the ComboBox's Draw ...Show All
Smart Device Development Launch Excel
Is there a way to launch excel (or any other application) programatically in C# on a PPC so that it occupies only part of the screen Thanks buddies, Pete M There's a way to launch application via System.Diagnostics.Process class in NETCF V2 or via OpenNetcf.org equivalent or P/Invoke CreateProcees() in NETCF V1. However, they would most likely occupy entire screen as that's how Pocket PC applications are ...Show All
Visual Studio Express Editions Allow only rtf files
I have been thinking for ages but how i can allow only rtf files openFileDialog.Title = "Open a Document"; openFileDialog.InitialDirectory = "MyDocuments"; openFileDialog.CheckFileExists = true; openFileDialog.CheckPathExists = true; richTextBox.LoadFile(openFileDialog.FileName); documentTitle = openFileDialog.FileName; The easy way is to add a filter ...Show All
SQL Server SQL Agent and DTExec
Does SQLAgent use DTExec to execute packages We've run into a situation where a custom written WMI script (to run a remote process) runs fine under the Execute Package Util, but just hangs upon completion of the wmi remote call when executed as a SQLJob! I think to sum things up: when you execute a SQLAgent job, the WMI monitoring doesn't work - It will never call the ProcessEnd function. Anyone have any ideas or workarounds (I. ...Show All
SQL Server How to execute SSIS package from stored procedure
I have deployed a package on my local sql server. How do i write a stored procedure to execute it. I want an application to call the stored procedure which executes this package which in turn returns some results. I have dont this by deploying package on filesys and using dtexec.exe command to execute it. But now I want to do it from a stored procedure. I have a scenario here. I want the service broker to ...Show All
Visual C# When debugging "There is no source code available at the current location"...why?
I am attempting to step thru my code for debugging, but keep getting the above error code right after closing an instance of OpenFileDialog. Here is my code: OpenFileDialog dlg = new OpenFileDialog(); dlg.FileName = "*.hex"; dlg.Filter = "HEX files (*.hex) |*.HEX| All files (*.*) |*.*"; dlg.Title = "Select P2140 Firmware file"; if (dlg.ShowDialog() == DialogResult.OK) { FileName = dlg.FileN ...Show All
Visual Studio Express Editions Activation key not working
I downloaded and intalled c# express. It works fine, but now when I try to do the activation key thingie, it just tells me the activation key is wrong. Im absolutely possitive I obtained the key from the same machine and with the same the user that im using when activating the server. Any ideas If the key you were provided does not work, there are a couple things to do: 1. Try again and make sure you ...Show All
Visual C++ Converting existing VCL-based code to VS C++
Has anyone ever converted a Borland C++ project that includes any use of the Borland Visual Component Library (Delphi components written in either Pascal or C++) into a new Visual Studio project I would be interested if there are any tools around for this because I have a long-standing code base written using Borland C++ Builder (versions 1 - 6) and am interested in seeing if it would be possible to leverage this code, some of which is quite so ...Show All
SQL Server Getting sample databases in Management Studio
How to get sample database AdventureWorks and AdventureWorksDW deployed in Management Studio. I selected to install sample database entire feature on my local hard drive and I can see it did installed all the .mdf,.ldf,.dim,.cube and the rest in C:\Program Files\Microsoft SQL Server\90\Tools\Samples\ How can I get the database in Management studio. I tried to use Attach db and it didn't worked, gave me following error Msg 1813, Level 16, State ...Show All
Visual C++ unix compilation
i am trying to compile a code written in unix and gcc compiler this code include a headear file called "stddef.h" The content of the headear file is /* * This is just an RC_INVOKED guard for the real stddef.h * fixincluded in gcc system dir. One day we will delete this file. */ #ifndef RC_INVOKED #include_next<stddef.h> #endif So when i try to compile it it gives me an error : invalid preprocessor ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Why so many big structures in managed directx?
I was told to ask this question here to get an answer: struct Caps 304 bytes struct Material 68 bytes ... These big structures are used as properties and passed here and there. Isn't this a big performance penalty I checked the generated asm code, and it seems these's no optimization to remove the overhead. So anyone knows why There is no difference between a struct and a class except for the fact that a struc ...Show All
Windows Forms Brick wall reached...assistance needed
Hi All! I am writing an app in C#. I need to be able to display text (.txt) files created by the app in dialog boxes. I can do this in vb.net all day long, but cannot find reference for doing so in C# .NET. If someone could please,&nb ...Show All
