Software Development Network Logo
  • Visual C++
  • Game Technologies
  • SQL Server
  • Audio and Video
  • Windows Forms
  • Visual Basic
  • .NET Development
  • Smart Devicet
  • VS Team System
  • Windows Vista
  • Visual FoxPro
  • Visual C#
  • Microsoft ISV
  • IE Development
  • SharePoint Products

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

drewex

Member List

rumil_
A.Russell
Jassim Rahma
KostyaX
Criminet
Victor D
Argenta
iansbrainstorm
LLeuthard
kalkimann
Jack Hoxley
Mark Alsip
BlackManWah
emmmmmmer
Chrishuang
Shouvik
nghianghesi
jitter123456
doug finke
goflorin
Only Title

drewex's Q&A profile

  • Visual Studio 2008 (Pre-release) Rubber Banding

    Howdy, Ian G did a blog article back in 2004 on rubber band selection in WPF http://www.interact-sw.co.uk/iangblog/2004/02/06/rubberband that showed how to do this by placing a rectangle in the visual tree at an appropriate level. Is this still the way to go Or is there a different preferred method Thanks Paul The basic technique of using a rectangle to show selection and managing it using mouse down and up is clearly still applicable. If you want to do selection of all shapes in an area you are going to need to overlay the entire area wth a canvas so you can position teh rectangle appropriately. ...Show All

  • Visual C++ _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES couldn't work

    I used /D "_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES" in the configuration of the project property. It solved secure problem for functions like sprintf. However, fopen, fscanf, sscanf still report something like: c:\mvs2005\bs_module\source\utility.cpp(1639) : warning C4996: 'fscanf' was declared deprecated c:\program files\microsoft visual studio 8\vc\include\stdio.h(249) : see declaration of 'fscanf' Message: 'This function or variable may be unsafe. Consider using fscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.' I don't want to use _CRT_SECURE_NO_DEPRECATE, because I want the warning pops up whenever there is a secure problem. I believe the three functions listed ...Show All

  • Visual Studio Express Editions crease or degrease indent

    How can i get to deacrese or increase the rich text box And how do i in name of god add a table to my rich text box You will have to encode the table yourself....which means that you will have to get some indepth knowledge of rtf formatting codes: http://www.biblioscape.com/rtf15_spec.htm Here is a sample that inserts a two row and three column tableinto an rtf box (and nothing else)...it is a painstaking process but it is what works.... Private Sub Button1_Click ( ByVal sender As Object , ByVal e As System . EventArgs ) Handles Button1 . Click Me . RichTextBox1 . Rtf = "{\rtf\ansi\deff0{\fonttbl{\f0\froman Tms Rmn;}{\par \trowd \trqc\trgaph108\trrh280\trleft36" & _ ...Show All

  • Visual Studio Team System Schema Compare Problem #3

    I am doing a schema compare where the source is a database and the target is a project. There is only a single difference between the two. A stored proc exists in the target that does not exist in the database. The schema compare correctly detects this but sets the Update Action to 'Skip', and I cannot change it. If I click the dropdown button in the 'Update Action' column, all I see is 'Skip'; no other options. Can anyone tell me why I'm not able to set this to 'Delete' so I can remote it from my project Thanks - Amos. ...Show All

  • Visual Studio Team System Create a Test List in VSTE For Dev

    I am trying to set up a build type in Team Foundation Server that runs a set of unit tests as part of the build process. However all the docs I see reference features I can't find. I suspect they are part of TE for Testers, which I don't have. How can someone who does not have Team Suite, or Team Edition for Testers create a build type that can run unit tests I'm not impressed. As a dev using unit tests, I'm naturally interested in setting up a Testing Policy which runs our unit tests before check in. This entire split between the different types of VSTS is a horrible example of a product manager losing his marbles. As a former MSFT (SDET) I'm embarassed to see the "evil empire" strike back.. ...Show All

  • Visual C++ Connection timed out - socket error crashes my program

    Hello forum, I'm desperate. I made a class in a client application, which has a function that loops through a series of hosts. However, when it finds a "connection timed out" error, it simply crashes with "std::out_of_range memory location" - when I just want it to go on without connecting to that server. It only breaks after the 2nd iteration - the first goes by smoothly, the 2nd crashes. What can I do [code] void Escalonador::Conecta(char* endereco){ MAQUINA temp; // variaveis de socket. WSADATA ws; int err; // verifica erros hostent *host; // dados do servidor SOCKET s; // descritor de socket SOCKADDR_IN addr; // endereco IP do host // testa a DLL associada a socket (WS2_32.DLL) cout << "Inicializando DLL... ...Show All

  • SQL Server SSIS package

    Guys I've migrated a SQL Server 2000 DTS package over to SSIS (which seems to have worked), its a really simple package with just one item, it first checks for a tables existance and deletes if necessary, then recreates the table and then inserts data from a selection of other tables, except its only creating the table no data is being inserted, yet the script to insert data works as I've tried it in a query. Any ideas Thanks inadvance Duncan-Countrywide wrote: Hi Thanks for the swift reply, I'm using the control flows and an execute sql task, as is it was imported, the only change I've made is the server names, as I said it does work no errors are generated, just when I check the tabl ...Show All

  • Visual Studio 2008 (Pre-release) Invoke method on Browser Applications

    Hi, I am developing a browser application and I have a method that gets called back which is in the browser application. However this method is a static method. Therefore how do I call an instance method that will update the controls on the Browser Application from this static method. Is there a method such as "Invoke" that I should use for this. If so could you please provide me with a code sample. I am unable to find the "Invoke" method from with this static method. Give below is the sample code. public void SayHello() { //Method that should be called from the static method. } public static void LogService_LoginPerformed(object sender, LoginResultsEventArgs e) { //This is the static method. ...Show All

  • Visual Studio Team System Check names of class,property,event

    Hi, I want to check property's name,Class's name and Event's name that if their's name have the rule: the first letter of the name and each word connected successively later for a capital letter. how can i to do it Thank you! hi,thank u! but,new problem comes. I can't add SpellCheckWrapper.dll into References,why thank you! ...Show All

  • Visual Studio Team System link requirements and tasks

    hi, i created a "MSF for CMMI Process Improvement" project. in this project i created a requirement to manage the requirements for the project. but i do not find anything, to link the requirement with a task. is this possible in tfs it would really hurt if it is not possible. edit: i found the possibility to add a work item to a task. "add related work item" . there i can choose "requirement". but if i choose "requirement" i can just add a new requirement and not an existing one. in our project development we have requirements (mostly defined by the customer) and then we have a number of tasks which are allocated to a requirement. we use an access database to manage these requirements. and now we want to use tfs to do this. but how edit2: ...Show All

  • Commerce Server How to use the Site Term value as a key in Multilingual support

    Anynone know how to use the Site Term value as a key into a localized resource string loaded from a Satellite Assembly (using the .NET's Framework ResourceManager class) Thanks! If you're looking for information about how to build the sattelite assembly, here are a couple of good MSDN resources: http://msdn2.microsoft.com/en-us/library/sb6a8618.aspx http://msdn2.microsoft.com/en-us/library/21a15yht.aspx As for using the ResourceManager, you'll just need to use some sort of naming convention to uniquely identify each site term value. <SiteTermName>_<SiteTermValue> should always be unique: ProfileContext ctxt = CommerceContext .Current.ProfileSystem; List < string > localizedDisplayNames = new Lis ...Show All

  • Visual Studio Tools for Office document close event.

    Hello, I want to use the close event of document object but the thing is that it is still fired even when the user clicks on the close button but then chooses cancel when the prompt is displayed. The microsoft.office.tools.document class has shutdown event that I'd like to use but it is not possible to use this class from another application. What can I do should I create a component using VSTO and then use it from my app If yes how I want to open a word file from my application and then detect when it is closed. Also, the document class has got many collections like these: tables,words,paragraphs,etc. Is it possible to store all these collections in other files or in sql table and then assemble the word document using them Thanks ...Show All

  • Visual Studio Team System Schema Compare issue

    Have an issue with schema compare. When I do a compare I have objects the tool is saying does not exits in the target but it is exactly that same based on Ultra Edit compare. I let DBPRO update the target and then do a refresh I get the same object back as not in the target schema. Comparing a database as the source and the database project as the target. Has anyone run into this issue Alle wrote: Actually I would expect an error message during schema compare if you don't have the necessary permissions, but I'm not sure if there is one. In SQL Server 2005, you don't get errors when you don't have permission to view something in the database. SQL Server jus ...Show All

  • .NET Development "bindingRedirect" in web.config does not work (but in machine.config is does)

    Hello everybody, I'm using the "bindingRedirect" element in my web.config to allow updates of my referenced assembly without recompiling my website. But I still receive the same error: Could not load file or assembly 'TestLibrary, Version=1.0.0.0, Culture=neutral, PublicKeyToken=c417d4d39ba0d6b2' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) I built my website with version 1.0.0.0 of "TestLibrary". After that I created a version 1.1.0.0 of "TestLibrary" which I placed in the "bin" folder of my website. When accessing the website, the error above is shown. I read that it's possible to redirect a ...Show All

  • .NET Development SQL Server and CLR Integration

    Hi, I am calling a web service from a CLR procedure. I am using System.SqlServer.Server namespace While compiling the cs file from the command line, i got the following error error CS0234 : The type or namespace name 'SqlServer' does not exist in the namespace 'System' ( are you missing an assembly reference ) How do I add reference to that namespace I couldn't find that dll in my system. I've found a Microsoft.SqlServer.Server namespace in the assembly System.Data. Is that what you're looking for Thanks. ...Show All

©2008 Software Development Network