Vikas Rao's Q&A profile
SQL Server Some .Net assemblies cannot be referenced in script task
I'm creating a script task that needs to reference the Visual Studio Team Foundation Server assemblies, but I'm unable to setup a reference. (Note: the Team Foundation assemblies are part of the VSTS SDK installation.) When designing the script, if I select Project, Add Reference, the .net assemblies for the Microsoft.TeamFoundation namespace are not listed -- even though the assemblies do show up if do the same in a Visual Studio.Net project for C# or VB. I've also tried to add a reference in a Custom Component Set -- View, Object Browser, Browse, Edit Custom Component Set, and selected a specific assembly. But I get the following error: --------------------------- Microsoft Visual Studio for Applications ------------------------ ...Show All
Visual C++ How to find type of sound card
I am developing an application where I need to know whether the sound that is installed in a machine is multichannel (more than 2 channel support) card or not. I am using windows API to which gives ne whether the card is of type MONO or STEREO only. Any help on this is appreciated. Hello Vijay, This is off-topic for this forum. You would get better answers here :- http://www.microsoft.com/communities/newsgroups/default.mspx ...Show All
Visual Studio 2008 (Pre-release) Need help turning off security on my WCF Service and client
I am getting a security error when I run my program. I am using WSHttpBinding in both my client and service, but can not access the service on a remote client with my client, but it works great on the host machine. (IP's are not real in the examples below) Below is the error I am getting: Unhandled Exception: System.ServiceModel.Security.MessageSecurityException: An u nsecured or incorrectly secured fault was received from the other party. See the inner FaultException for the fault code and detail. ---> System.ServiceModel.Fa ultException: An error occurred when verifying security for the message. --- End of inner exception stack trace --- ---- Below is my HelloSe ...Show All
.NET Development Xml and database
hi frnds, how do i put the data in a xml file into the database can anyone paste sample code out here. thanx in advance. rawky In my case all the tables, columns and relationships are coming from the xsd file used by the XML file. The database is empty until the contents of the XML file are copied to it. So how can I make an SQL statement used in declaring the dataadaptor on an empty database How can I make an Insert or an update command on an empty database ...Show All
Game Technologies: DirectX, XNA, XACT, etc. . TRIDEX .VB.NET XNA update#10 FPS and Grid component.......
Hi more VB.NET game componets added FPS, GRID, c# chaps Catalin Zima he has posings on display directx meshed on the forum, I will upload the x file model code in a hour once converted... grap the updates to the vb.net code from here: Tridex: thanks to ...Show All
SQL Server Convert MS Excel to XML and then insert all data records into MS SQL
Hi, I am developing a web page for users to input data records. I am seeking the fastest way that users can upload their MS Excel files and the system can help data insertion into one data table. I know XML can insert data records into SQL database easily. Could any one give me some ideas how to perform this issue Thanks a lot. If you are using excel, you don't need to transform to xml. You can load data directly from excel file. INSERT YourTable(...) SELECT ... FROM OpenDataSource( 'Microsoft.Jet.OLEDB.4.0', 'Data Source="c:\YourExcelFile.xls";User ID=Admin;Password=;Extended properties=Excel 5.0')...[YourSheetName] ...Show All
SQL Server Path to configuration files
Can someone tell me why path to the configuration file couldn't be relative to the package When I try to use relative path (i.e. do not specify full path to the configuration file) package then run from BIDS looks for configuration file in the solution folder instead of package's folder (project folder). Is there ane way to force package use same folder to search for caonfiguration files Thanks Ok. I'll try to live with it now=/ It seems very srange to me why no one at MSFT even think about of deployment process of ETL solutions to end-user's environment ...Show All
Visual Studio Express Editions Checkbox Checkstate
How would you go about saving the checkstate of a checkbox Like while the program is running you check a checkbox and the next time the program is run it retains the checkstate. See my post at http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=717425&SiteID=1 which describes how to do simple settings. (Save and restore.) You would use the boolean type for your checked state. ...Show All
Visual Studio Express Editions Access DB Template File
Everywhere on the net it shows and says that you can select which database you want to use when starting a new website, SQL or Access for Membership Providers. Mine always makes a SQL DB and i dont have the option to pick an Access Database instead. I have installed Beta 1. Anyone have an idea on why i do not have that option Thanks Bleh! I am sorry, i meant to put in my post that i am trying to get this to work using Visual Web Developer. I used this spot because i cant seem to find VWD spot. Really sorry. ...Show All
Windows Forms Restore combobox items
I've got 2 comboboxes, cmbStatT and cmbEndT respectively, both with items added manually at design time. These comboboxes have the same number of items that are of the same value, these are time values to be precise. Depending on the index of the selected item in cmbStatT, I would like to remove a range of items in cmbEndT. If a user selects an item at index 3 (09:00 AM, starting from 07:30 AM till 16:00 PM), cmbEndT should only show items from index 4 (09:30 AM, starting from 07:30 AM till 16:00 PM). Meaning remove items in cmbEndT starting at cmbStartT.SelectedIndex back to index 0. This works just fine the first time. 09:30 AM of cmbEndT is now at index 0 and the user decides to change the value in cmbStartT say, to 10:00 AM which ...Show All
Visual Studio Build Standalone EXE
I'm sorry if this is the wrong place to ask this but I cant find anywhere more suitable. In Visual Studio 2005 is there any way to actually make just a standalone exe file, like in visual studio 6.0 where you just go to Build or Make EXE or something similar All I can find is the publishing section which creates a setup.exe which then "installs" the program and checks for updates. I just want to make one exe file that can be run from any PC anywhere and in visual studio 6.0 this was no problem at all yet I have spent hours searching and am still unable to do this in VS 2005. Thanks I have done that and it still creates a setup.exe that says checking for updates and all that. I just want one exe that runs the program I have c ...Show All
Visual Studio 2008 (Pre-release) Returning an array of types defined with a data contract.
I have a method that looks like: ReturnType[] A(RequestType request) The ReturnType is defined in the data contract. I am not sure how to define a message contract for an array of types defined with data contract. I think that is why I am getting the following error: The operation 'A' could not be loaded because it has a parameter or return type of type System.ServiceModel.Channels.Message or a type that has MessageContractAttribute and other parameters of different types. When using System.ServiceModel.Channels.Message or types with MessageContractAttribute, the method must not use any other types of parameters. The request type (RequestType) is defined in the service contract with [MessageContract] etc. I think what I need ...Show All
Visual Studio 2008 (Pre-release) Applying a VisualBrush on a GeometryModel3D
Hi, I've got a "little" problem with WPF and I need some help. I've got a simple window, with a button, and a 3D Model generated with Zam3D. I'm trying to create a VisualMesh with the button, and apply it to the 3D Model. If I use this code : ___________________________________ DiffuseMaterial visualMaterial = new DiffuseMaterial (); visualMaterial.Brush = Brushes .Blue; New_Model01OR9GR10.Material = visualMaterial; ___________________________________ (my 3D Model is called New_Model01OR9GR10) Then, no problem, my 3D Model is blue. Then, if I use this code : ___________________________________ VisualBrush vb = new VisualBrush (otherButton); Ellipse myEllipse = new ...Show All
Visual C# Call Method by Name
How do you call(inside the class itself) a method of a class using its string name Something like: for(n=0; n<10; n++) {"MyMethod" + n} The Microsoft.VisualBasic.dll assembly has the CallByName method . Hope it doesn't turn you off too much but it *is* the power of .NET to have that available. To use it, you'll have to add a reference to the assembly... ...Show All
Windows Forms my .exe file is not running ouside bin folder?
hai guys, this problem is making a head- ache to me... i have built a console application in the .net1.1 with vs 2003 .its working fine while debugging or running.even its working by running the .exe file directly when it is in bin folder. but if i take out the exe file and running out side the bin folder...its showing err. it is showing a nullreference error saying that the connection string(database) is not passed..actually i have passed the connection string..thirough app.config file . this time..i have brought .exe.config file to the same location.now it is showing the "applicationblocks.dll is missing." even though i add reference . if i taken the entire bin its working fine in my system...but the same bi ...Show All
