Vikas Hiran's Q&A profile
Visual C++ Im new, need overview
Hey, ive just joined the network, i stated using visual studio 6 c++ , and began learning the basics like the beginners hello world console application and learning basic structure on coding. then my firend told me to scrap VS6c++ and use the Visual Studio c++ express 2005, and the compiler doesnt understand c++ coding, so i type in the basics to just recap, //blah blah #include <iostream.h> int main() { //blah blah cout << "Hello, World!" << endl; return 0; } typing this in doesnt work, its now as so #include "stdafx.h" int _tmain( int argc, _TCHAR* argv[]) { char ...Show All
SQL Server Problems saving edited Functions in SQL server database using Visual Studio .Net 2003
I'm fairly new to using SQL Server - can anyone recommend the best tools for creating/editing/debugging Stored Procedures/Functions on SQL server 2000 SP3. I've tried using Visual Studio .Net 2003, but there are problems just trying to save edited Functions in the SQL server database. The database (upsized from Access2003) is on SQL Server SP3, which is running on the same computer as VS2003. Using VS2003 Server Explorer, scalar-valued functions can be created in the VS2003 code and text editor. But then further edits can be saved once or twice only: after that, further attempts to save the edited function resul ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Rendering Skeletal Animation
I'm looking for a sample that shows how to properly render skeletal animation using C# and MDX without using the framework. I've tried the sample from Tom Miller's Managed DirectX Kick Start book, but I've come across a couple problems that I can't figure out. When the program runs it creates a reference device and renders the Tiny.x animation, but the model doesn't seem to be textured; it's all silvery. The SimpleAnimation sample that came with the SDK works properly, so I tried looking for any differences between the two that might cause the problem, but I wasn't able to find anything. I don't know if it's related, but I noticed t ...Show All
Visual Studio 2008 (Pre-release) How does EntitySet<> implement multiple remote queries while entity tracking service discards all the already fetched entities?
A nice feature in Dlinq overview doc, EntitySet<T> implements IQueryable<T> interface, and executes queries remotely when not loaded. Query results reflect entities' current states in db. Question: Entity tracking service ensures there will be only one specific entity in one DataContext; new entities will be discarded if already retrieved. How could be During the materialization of entities after a query is executed, we check the cache by key to see if the entity has already been loaded. If so, it is used. Does that answer your question ...Show All
Visual Basic How do you seperate the 2 ENTER/RETURN key in Enchanced U.S keyboard
In VB 2005, using "Keydown","Keypress" or "Keyup" command to capture the output code of the 2 Enter key. I get output code of 13 in keypress and key release. the same output. how do you determine which one you press I believe one of them is 2 byte which i cannot see in the command i use Any recommendation how to capture it how do you capture 2 bytes or more than 2 bytes keyboard output. your help is well appreciated !!!. i quess i have to sleep now .. thanks Keyboard layouts are a nasty issue in the Windows DDK. It supports a truly massive number of keyboard vendors, multiplied with the numb ...Show All
Visual Basic Loading .txt files
Hello, I am sort of new to Visual Basic, but I have completed some tutorials. I can't find information on how to make a menu with Open File for example, in it, then make it open a file such as .txt. Where or how can I script a menu to have an option called Load File that will load a .txt file or something else. So far I have made a menu with the Open File option, but I need to script it to load a file now. Thank You! Hey it worked again!!! Thank you soo soo much, and thanks for your patience and time! ...Show All
SQL Server Transfer SQL Server Objects Task
I need to transfer a table from a 2005 DB to a 2000 DB. The table names are different in the two databases, but the schemas are identical. I could not see any way to do that. Am I missing something simple Is there a property that I can set through an expression how about an open datasource from sql2k and then do a "select into" -------------------------------------------------------------------------------------------- OPENDATASOURCE Provides ad hoc connection information as part of a four-part object name without using a linked server name. This example accesses data from a table on another instance o ...Show All
Visual Studio Connecting to DB
Ok heres the run down guys. This is the final step in the program I have created so thanks to all that have helped me thus far. 1. Report was created in Crystal Reports XI, database connected fine through it yada yada yada all works fine. 2. Combined the Report into Visual Basic .net application (windows application not web) and have got everything to show up via CrystalReportViewer. 3. I have an ini file that has the path to the database in which the report should pull its data from (an access db) so I have created some coding (with the help of the vb people in the vb forum) code to read that ini file, pull the line that has the path to dat ...Show All
Visual Studio Express Editions Why this limitation in C#express
Here is a problem with my C# express installation.(RTM). With the previous version it was possible to connect to the SQL Server Express specifing a server and a database(add connection). Now it is only possible through "AttachDBFileName". So I cannot connect to the SQLEXPRESS if I don't specify "Database file name(.mdf file)". Is that correct In the VWD it is possible Why this limitation in C#express In the "Change Data Source" dialog, there are only two Data sources: "Microsoft Access Database file" and "Microsoft SQL Server Database file", NOT "Microsoft SQL Server". Thanks. pkw wrote: I was ...Show All
Visual Studio Team System Source Control in Solution Explorer
Hi, I've installed team foundation client and I am able to connect to team foundation server and I am also able to use team explorer source control. The only problem is that I want to be able to use solution explorer to check files in/out (basically use source control when I right click in solution explorer), but I am unable to see any source control options when right click. Is this a configuration issue related to visual studio Or is this an issue with the way I set up my workspace Your help is appreciated. Thanks, You need to bind your solution to source control first. Quick-n-dirty f ...Show All
Visual Studio Express Editions File Read/Saving Question.
Is it possible to open a file and insert a string to the end of it without having to read the data then resave it all Yes My.Computer.Filesystem.WriteAllText(<FileName>,<Content>, <Append>) so My.Computer.Filesystem.WriteAllText("C:\test.txt", "xyz", True) will append xyz to the end of the contents of c:\test.txt ...Show All
Windows Forms The server is not responding. Please try again.
Downloaded. Installed. Database install went fine. Run client, login with demo/demo and I get: "The server is not responding. Please try again." I opened the solution file and tried updating the web reference and get: "Unable to download the following files from . http://localhost/IssueVisionWebCS/IssueVisionServices.asmx wsdl Do you want to skip these files and continue." Say yes or&nb ...Show All
Windows Forms Solution-Explorer > Embedded-Resource Files > How can I access them ?
Hi all, I am using VB.NET 2003 standard Ed. , and I want to use "video.avi" file ( Video clip file ) in my program , and I want "video.avi" to be inside the .exe file , so I include "video.avi" in my project , and I set the "Build Action" of "video.avi"-property to "Embedded Resource" , ........ now, "v ...Show All
Windows Forms Possible Bug of the TableLayoutPanel?
Try this to duplicate the possible bug: 1. Drag a tablelayoutpanel on a form inside the VS 2005 IDE. 2. Make it two rows and two columns. 3. Put a textbox in the seond column on the seond row 4. Set the textbox's columnspan = 2. Since the default grow behavior of the tablelayoutpanel is to add rows, our textbox will now move to the newly-added row to occupy two columns. Everything is fine, right But wait, we cannot drag our textbox to anywhere any more. No matter how hard you try, the textbox will stay in the newly-added row. This behavior seems not right to me. Is this by design Could you please che ...Show All
Visual C++ Draft: How to rebuild the 8.0 CRT Library for use on NT 4.0 SP6
DRAFT 0.2 - comments welcome HOW TO REBUILD THE 8.0 CRT LIBRARY FOR USE ON NT 4.0 SP6 The shipping 8.0 C Runtime Library DLL (MSVCR80.DLL) does not support NT 4.0 SP6 for one reason and one reason only: someone at Microsoft added a function call to GetLongPathNameW which does not exist in kernel32.dll on NT 4.0. You cannot delayload the CRT, therefore there's no way around it. In order to run on NT 4.0, you must rebuild the MSVCR80.DLL to remove this reference. Fortunately, very little work needs to be done to rebuild the 8.0 C Runtime Library DLL to support NT 4.0 SP6. First, let's identify th ...Show All
