Software Development Network Logo
  • VS Team System
  • SQL Server
  • Windows Forms
  • Visual Basic
  • Game Technologies
  • Visual Studio
  • VS Express Editions
  • Windows Live
  • Microsoft ISV
  • Visual FoxPro
  • Architecture
  • .NET Development
  • Visual J#
  • Visual C++
  • Smart Device

Software Development Network >> Binairy's Q&A profile

Binairy

Member List

SForman
Bryce1012
farsh
Ravi K. Kalyan
Greg Brady
rusold
Antoine64
Iain Mcleod
waishan
remo.waller
Brian Franzen
Dare Obasanjo - MSFT
Don Pellegrino
Yustme
BigRav
gunsen
Daniel Piché
skylar
Cazz
clark k
Only Title

Binairy's Q&A profile

  • .NET Development targeting .net 1.1 in whidbey

    Is there a way I can setup a project in whidbey so that it will be restricted to the 1.1 runtime and give me some kind of error if I use any 2.0 features No you won't get help within Visual Studio 2005 for doing that. .NET versions are tightly coupled with Visual Studio versions. The only way I can see this working is to use the MSBuild Compatibilty Toolkit to force MSBuild to build .NET 1.1/1.0 compatible asse ...Show All

  • SQL Server Command Line connect to SQL Server Database

    I am trying to connect to the SQL Server database from the command line or from a cmd script on Windows - Is there a way to do this I am new to SQL Server and I am trying to create a script that can check to see if the database is up and then send me a message if it is down. Yes, you can connect to the SQL Server from the command line by means of the BCP utility for example. Here is a list of the various CMD utilities for SQL 2000. Haven' ...Show All

  • Visual Studio Express Editions random form selection

    If I had a series of say 10 forms in a program, and I wanted to click a button on the open form, closing it, and have one of the remaining forms open at random, how would I code for it Have tried: Dim A as Integer(1,2,3,4,5....etc) and Dim A As Integer = CInt (Int((10 * Rnd()) + 1)) But algebraic values can't be called in the showing of forms e.g. Form A .show() Any Ideas ...Show All

  • Visual Studio Tools for Office "Office document customization is not available" error

    This error happens very frequently when an Excel VSTO project is built and run within VS. The Excel file will open, but this error will occur. The way I deal with it is to close the Excel file and restart it within VS again, or and again, or and again, or and again, .... The error usually will disappear after rerunning the application once, or twice, or thrice, ... Sometimes, I do have to close VS and restart the whole thing. Could anyone ...Show All

  • Visual C++ Managed COM

    Hi, i wanted to expose some application COM classes written in C++ to other COM capable languages so i tried to write some test classes and exported a *.tlb with regasm.exe. But it doesn't work cause neither interfaces with id's nor class id's are defined in the *.tlb So there is some kind of a exporting problem. Heres the code: // Class interface AppInterface [Guid( "4F588E58-C85C-4b8c-A831-CDE454B5C218" ), InterfaceType(ComInterfaceType ...Show All

  • Visual C++ Why doesn't the following compile under VC2003?

    Why does the following code snippet not compile in Visual C++ 2003 It compiles under GCC, so why not in VC2003. What is wrong with it // Outter class: class Outter { public: // First inner class: template class Inner1 {}; // Second Inner class: class Inner2 { public: // Method definition: Outter* Inner1() {} }; }; Mozilla did that to me too: nuke the linebreaks.  Here it is again (over-compensation courtesy ...Show All

  • Windows Forms WebResponse.GetResponse incredibly slow?

    Hi, I am getting a response from a url like so: // Get the data HttpWebRequest wr = ( HttpWebRequest ) WebRequest .Create(reqURL); MessageBox .Show( "Got data" ); // Load respose into response object WebResponse Resp = wr.GetResponse(); MessageBox .Show( "Got resp" );   The time between the two message boxes is at least 15 seconds - which is severely slowing the app down. In IE the load time is less than a second. I ...Show All

  • Visual Studio Open a new Document

    Hello, I am tying to customize the DSL Tool with own code. The purpose is: when a user double-clicks on a shape another document is create and open to continue modelling... For instance, in a Shape class... public override void OnFieldDoubleClick( ShapeField field, DiagramPointEventArgs e) { //Method witch creates anoter store and serialize it as file in a //specified location CreateDiagram(); OpenDiagram(); // -> I do ...Show All

  • Visual Studio 2008 (Pre-release) Is MediaElement/MediaPlayer support broken in December CTP?

    I have tried playing around with the MediaElement in both Independent mode and using a MediaTimeline but could not properly control the running Video. I implemented Pause/Resume as well as Stop/Play to restart the Video but both failed to work properly. Both will stop the rendering frame at the instance of Stop/Pause but will never re-render new frames once Resume/Play is called. In both cases the Video sound restarts at the beginning ...Show All

  • Windows Forms Function - Check Duplicate Key Value in DataGridView

    Dear all, In order to check Primary Key and Unique value in DataGridView, i want to design my function check these value. This is my code : public bool IsUnique( int id) { DataRow myRemoveDataRow = _dsStandardNote.Tables[ "StandardNote" ].Rows.Find(id); if (myRemoveDataRow != null ) { return true ; } return false ; } I put this function in DataGridView_CellValidating or DataGirdView_RowValidating to check validate but the concl ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Compile error on DX9/10 Samples

    Hi, I've downloaded the February DX SDK from the MS site. When I try to compile the samples (all) I get the errors: error C2061: syntax error : identifier '__in' error C2059: syntax error : ')' This error is on the D3D10.h file. It seems that something is missing. I'm compiling in VS 2003. Any ideas This is a know problem with Visual Studio 2003. If I remember correctly there a two pos ...Show All

  • Visual Studio Team System tf86001 Team foundation was unable to load Execl Add in

    Hei, This Error was very intresting. Ok where I can Find this Add in for Execl Is your .NET programmability installed To check this, open Add/Remove Programs. Select Microsoft Office and then click Change.Select Add or Remove features and then click Continue in the Wizard. Expand Microsoft Excel. Check if .NET Programmability support is installed. If not Select Run From my Computer Thanks Sagar ...Show All

  • Visual C# C# on Linux

    Hi, How can I develop applications usin C#.NET but on Linux Best Regards, Jassim Rahma Check out MONO: http://www.mono-project.com/Main_Page ...Show All

  • .NET Development Easiest way to make a copy of a datatable

    I am using VS 2005 with SQL Server as the backend. I have a winform with a master and a related grid for a detail. The grid may contain 2 or three thousand records. The form contains Quotes for work done for us. The user wants to be able to copy a Quote and its details easily. Both the master and the detail have AutoIncement fields as their keys. What is the easiest way to copy a dataset, or a table in a dataset Getting the data out of th ...Show All

  • SQL Server Temporary tables

    Hello, I have to import all the data from xml files (xml source) into temporary tables so that I can manage the data with sql statements (sql tasks). Then I created a sql task creating the temporary table (ie. Create table #temp ( a int)) followed by a data flow task. Into the data flow task I cannot see the temporary table from the sql server destination component. Any suggestion Thanks, Pierre Temporary tables should be visible from ...Show All

©2008 Software Development Network

powered by phorum