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

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

etcheverrjc

Member List

David Maynard
Eduardo D
xavier_X
KlausWiesel
drmcl
vtortola
AlexanderJ
bijuintouch
msv6
Warren13
timmy44
Zakamon
MaggieChan
Cho-Hakkai
Friedrich B
wadnerk
Alfonso Calderon
DejaVudew
Manas
ntsoo
Only Title

etcheverrjc's Q&A profile

  • .NET Development How to know what exceptions a method can throw?

    I was reading in some other posts that you only have to catch known exceptions. And that it is not allowed to catch Exception like this: private void CheckCancelEntryWeighingRecords() { try { mis.Transfer(data.CsvData); //Call to a third party dll } catch (Exception ex) { LogError("Error occured in CheckCancelEntryWeighingRecords", ex); } } How can I know what exceptions a method can throw So that i can decide on which situation i can recover and on which not I know that the Framework.NET has documented the most exceptions. But what about third party dll's with bad of no documentation I also know i could use reflector to look what the possible exceptions a ...Show All

  • Visual Studio Team System How to ensure that all tests in a Unit Test class are executed together

    I have noticed that if my developers run unit tests using the "Test View" window in VS Developers many of our unit tests run correctly, but if they are run in the "Test Manager" window in VS Team Suite the same tests fail. While debugging we discovered that some of the tests were running in the following order: Class A Class Initialize Test C Test A Class B Class Initialize Test N Test M Class A Test B Test D Class B Test P etc. The problem here is that both Class A and Class B are testing models that reference the same database, and Class B's Class Initialize my reset the database back to the initial conditions. Is there some way to ensure that all of Class A' ...Show All

  • Smart Device Development Maximizing child window in mdi workspace displays two title bar

    Hi Our project is an MDI application. Since we are using CAB we are using MDI workspace. We are loading the smartpart(windows user control) in the MDI workspace. The problem we are facing is, after the smartpart is loaded in the MDI workspace when we maximize the child window the user can see two title bars. One title bar is that of mdi parent window and other is that of mdi child window. Is there any way to merge the two title bar so that the user sees only one title bar instead of two. We don't want to remove the title bar of mdi child window as we need this during cascade mode. Can you please tell us what is the solution for this problem ASAP Thanks in advance Harish. A ...Show All

  • Visual Studio VSIP Beta 2 License

    Installing VSIP 2005 Beta2 with VS 2005 Beta2 I get a message "VSIP License Required" and in Help/About of VS2005B2 a message reads "A VSIP License is required to use this version of Microsoft Visual Studio". So far I have not been able to find out where to get this license, but I do see people posting messages in the news-group asking the same thing (no useful answers yet). Any idea what/where/how-to deal with this Found this answer elsewhere... *** This information on the splash screen and the Help->About dialog simply means that you installed the VSIP SDK (now referred to as the Visual Studio SDK). In the past, VSIP was a partner-restricted program and not generally available for 'free' consumption. If you downloaded and inst ...Show All

  • Visual Studio 2008 (Pre-release) Calling All WPF UI Designers!

    I've decided to open up the Infinite Image Engine UI to a designer competition (and I use the word competition lightly here). This is all in the spirit of good fun to explore how well the workflow between designer and developer works in WPF using the great tools we have such as EID and VS Cider. Head over to http://xamlxaml.com/2006/10/18/calling-all-wpf-ui-designers/ to get more info, the source code and an XBAP of the UI. Cheers! Michael G. Emmons http://xamlXaml.com That infinite Image Engine looks wicked cool Michael - I'm sure some of us here will have a lot of fun with it. Cheers, F. ...Show All

  • Visual C# Is it possible to wire event to object through reflection?

    Hi all, I have a question concerning wiring events through reflection. This is the situation. I invoke the creation of an object through reflection. I know the object is of type grid. But after I get the grid through reflection, I want to wire events (Click event) to it by reflection(the event handler may be different for the different object). Is there a way to achieve this I'm a newbie to delegate, but it seems that delegate may be an option. Thanks ahead for the help. David You need to use an EventInfo object, which can be obtained from Type.GetEvent(name), then you can attach a handler using the EventInfo.AddEventHandler(target, handler) method. For example, to add a Click event handle ...Show All

  • Smart Device Development InfoPath

      Hi, Any inputs on  how I can download InfoPath 2007.  How to create and run a MSOffice InfoPath form in a mobile devices like SmartPhone or PocketPC Is it possible to render InfoPath forms (using Forms Services) in mobile devices WITHOUT using SharePoint Server 2007 Any other alternatives Many Thanks,   1. infopath sucks, just write a windows form app instead. you get very little programmatic interaction in infopath. 2. you have to buy infopath, it's not a free download. 3. you need an infopath viewer to use infopath forms. there may be one for pocketpc, but I doubt there is one for smartphone. smartphone doesn't have a pocket office, whereas pocke ...Show All

  • Windows Forms How to determine which control is at the front

    I have a panel which holds a number of fully docked child controls, so only one can be visible at any time (which I set by calling BringToFront). Is there a way to determine which control is at the front without keeping track of it myself i.e which control is currently at the top of the z-order Hi, If all the controls are contained within the same panel, you can check that panel's Controls collection. The first control in that collection (panel1.Controls[0]) is always the top one, and the last in the collection is the bottom one... When you change your controls' z-order (SendToBack, BringToFront), their position in their container's Controls collection is also changed. Andrej ...Show All

  • Visual Studio 2008 (Pre-release) Propogating inherited DPs to the adorner layer

    I have a TextBox whose adorner layer has an adorner which contains a ListBox. The ListBox displays strings (suggested spellings for misspelled words in the TextBox). When the user spells a word incorrectly, they can press F1 to display a list of suggested spellings in the adorning ListBox. After they select a suggestion, the typo in the TextBox is replaced with the selected suggestion. That part works. I'm having a problem with visual settings. If I'm not mistaken, the adorner (and, hence, the Listbox) is not in the Window's visual tree. That means that the inherited dependency property values of the Window (let's say the FontSize property) will not propogate to the ListBox. With that being the case, how can I achieve such propogation ...Show All

  • SQL Server Equivalent of DTSStepExecStatus in SSIS

    Hi, I am migrating a dts package into SSIS.The dts package has a dynamic property to set the execution status of a data pump task in the package. the dts paskage is setting the DTSstepexecstatus of the datapumptask to 1 or 3 ie waiting and inactive. The dynamic property cannot be migrated to SSIS. May i know any equivalent property in SSIS to DtsStepExecStatus property of Dts. Thanks in advance Neethu You can use expressions on precedence constraints: set some variable in the script task to true/false, connect the script task with the data flow task with precedence constraint, double click the precedence constraint, select expression and enter the @varName ...Show All

  • Smart Device Development ToolBoxItem(false)-attribute for CF user controls

    Hi! In VS2005, when I create CF user controls, it is not possible to specify the ToolBoxItem(false)-atttribute in the DesignAttributes.xmta-file. Trying to do so results in a compilation error. Therefore, it is not possible to hide a CF user control from the toolbox. I know that there exists some workaround for this, where you disassemble the dll and manually edit the IL-file and set this attribute. However, this is not a good solution for us. Is this issue fixed in some service-pack for VS2005 If so, where can I find the service pack //Andreas ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. HLSL "function" annotation and D3DXFillVolumeTextureTX()

    I'm currently adding HLSL procedural texture support to a shader manager backend. This means, roughly, that I have to initialise textures in a shader using texture-shaders. The normal chain of events for this kind of support would be something like this: Call D3DXCompileShaderFromFile() with the appropriate parameters. Next call D3DXCreateTextureShader() to create the texture shader. Finally call D3DXFillTextureTX() to fill a texture using this above texture shader. Thing is, D3DXFillTextureTX() requires that the texture-shader have the following signature or else if fails: float4 texture_shader ( float2 vTexCoord : POSITION, float2 vTexelSize : PSIZE) : COLOR; This function is failing with some texture-shaders that I ...Show All

  • Visual Studio Tools for Office Outlook 2003 Script/Addon to force an update of the Offline Address List.

    I need a way to force the Offline Address List to be downloaded to our outlook users. We have some changes that may happen durring the day and the 24-48 hr delay is not fast enough for us. What I would like to do is either have it update everytime outlook is launched when connected, or even better, update when some sort of semiphore file or public folder message exists when outlook is launched. I'm hoping that makes sense. Thanks, Kelly I have exactly the same requirement, except that I need to do it via VBScript at logon. The CommandBars technique works in that it fires the same even as if clicked from the toolbar, unfortunately when you do this it brings up a dialog box requiring user input. Not ...Show All

  • Visual C++ stringstream causes memory link VC++ 2005?

    This simple program seems to leak LOTS of memory when compiled in VC++ 2005: int _tmain( int argc, _TCHAR* argv[]) { for ( int i = 0; i < 100000; ++i) { ::Sleep(1); std::basic_stringstream<TCHAR> str; str << _T( "Current iteration: " ) << i; } return 0; } CRT: Multi-threaded debug or Multi-threaded I compiled and ran the same piece of code in VC++ 2003 and I don't see ANY leaks! Any ideas   Please help! Thanks in advance It looks like you're right.. From what I traced, the basic_iostream inherits from both basic_ostream and basic_istream - both of which virtually inherit from std::basic_ios, which inherits from ios_base. In ios_base::_Init(), t ...Show All

  • Visual Basic Logins

    Can someone point me in a right direction to learn how I can use a login form to login to SQLExpress Server using SQL Authentication I am thinking that I would like to use the login for my app instead of embedding one in my application. Is that wrong to thing like that I am thinking right by using this to gain access to my application and login to the server at the same time Davids Learning Richard_Wolf wrote: If your user is loggin' in that often, Reed, there may be other issues at play Agreed. In the login scenario we wouldn't expect there to be any large number of exceptions and the extra few milliseconds shouldn't be noticed. I just figured that as long as we were throwing ...Show All

©2008 Software Development Network