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

Software Development Network >> Le Sage's Q&A profile

Le Sage

Member List

Jet Jaguar
graab
vgta
mcaine
spelger
InvestorDrew
Z_ms
Prestidigitation
Barry Kwok
Stanislav Ogryzkov
Dual Cortex
thukralz
Jay2801
Milo123
ahmedilyas
DavidW57
Wolfgang Kamir
Tiarnan
Pete Orologas
KP99
Only Title

Le Sage's Q&A profile

  • Visual Studio 2008 (Pre-release) Exception handling

    How can you ensure that no exceptions escape the entry point of an WPF application. In .NET 2.0 this was simple since you could enclose all of your code in the main method with and try/catch blocks. However, in WPF we now have the App.xaml and App.xaml.cs files. I need to ensure that if something bad does happen where an exception is accidentally not caught for whatever reason, we can at least crash gracefully. I'm guessing that I will need to form my entry point completely in code, but am not sure of the proper way to accomplish this in WPF. Thanks. Just hook the Application::DispatcherUnhandledException event. HTH, Drew ...Show All

  • Visual Studio Tools for Office How to control the dropdown items for built in controls

    Hi, I want to reduce the number of font items in the font dropdownlist . eg . I just want to show 12,16,18,20 size fonts and it should have the same effect on the text which the built in control gives. Also, for font color dropdown i just want to diplay only standard colors once i click it . Is it anyway I can control this Thanks in Advance. Abhishek 1. I don't see what relation this question has to the VSTO technology Please see the "Please Read First" message at the top of this forum for appropriate venues to ask non-VSTO questions. 2. You don't mention which application you're trying to affect 3. There's no way to change what these built-in tools show you. They're just picking up what Windows supplies ...Show All

  • Visual C# com interop - calling unmanged C++ method with an array, of a class, via COM from C#

    I posted a question regarding this previously, but the suggestions didn't help, so I'm trying again. I'll include more code this time. I have existing unmanaged C++ code. There is a class that I am using. I can access it via COM. For methods that just take primative data types everything works find. For methods of the class that take arrays things don't work so well because the C# code that is generated expects a ref to a single value, not an array. The problem is that the generated C# code only wants a reference, not an actual array. This is what I am doing: 1. build the C++ class in one solution 2. goto my C# solution, reference the C++ dll, and make it isolated COM reference 3 instantiate the COM class 4. try and pass an array to a met ...Show All

  • Visual Studio Team System How to refresh and / or publish a filtered list of work items?

    Hi, It appears that the 'Get Work Items' function on the team menu in MS Project is only there to 'create new tasks' in Project. Is it possible to refresh work items in MS Project for a filtered list of work items from Team Visual Studio For example: I would like to exclude tasks in project from being refreshed with a state of 'Closed'. This not only overcomes feature shortcomings of the integration between these 2 systems but it also addresses performance/ speed issues. Thanks. Samar Hi Samaro, For the function of team menu in MS Project, it allows you to view/edit work items and edit the link/attachment. Meanwhile, MS Project itself can help you schedule your project, which you can publish b ...Show All

  • Smart Device Development Managed version of lineDrop in Windows Mobile 5.0?

    I'm trying to write an application that drops calls from known telemarker numbers. The SystemState class in the Windows Mobile 5 SDK makes it easy to detect incoming calls and determine the number. However the matter of dropping the call is a whole other issue. AFAIK, there is no facility in the Compact Framework for this (correct ). I've looked at OpenNETCF and Alex Feinman's TAPI wrapper (which I don't believe works on Windows Mobile 5). Am I missing something or is there simply no way to do this Thanks, Matt I couldn't find any TAPI wrapper mentioned on OpenNETCF.com (Or OpenNETCF.org for that matter)... Looking through the online documentation I don't see anything there either. Am I missing some ...Show All

  • Visual Studio Express Editions password

    Hi. I want thes users of my applications to see ****** instead of letters or numbers that they write in password textbox. How can I do that As a side note, you can use: TextPass.PasswordChar = ChrW(&H25CF) To set your password character to a big black blob, instead of an asterisk. ...Show All

  • Windows Forms Click Once Configuration File

    Hi, I am developing a smart client that is connecting to a database directly for now and want to put it on a CD that can deploy the files on a server. During the deployment, I want to set some application settings on the smart client, like setting the database server name and so forth. I don't want to do this on the client side. Is there a way to do this. Please let me know. Thanks!! Hi again, Sorry I got pulled into other things and could not spend much time on testing this. I haven't had a chance to look into more of why I could access that xml file from. But I will try that again and give you the steps. But here is how I got it working for now in a quick way just to convince myself that there ...Show All

  • Windows Forms datagrid column headers fire the click event

    VS 2003 I have a datagrid, and on the click event I process the selected row. You click the selector on the left side of the row. If you click any of the column headings, the click event fires for the row that currently has the focus. So if you are just trying to drag and re-size columns, it fires and process that row. I just want my code to execute if you click on the record selector to the left. How can this be done Thanks yes that is correct. for the handheld devices, you need .NET CF 2.0 (Compact Framework) to run .NET CF 2.0 applications. There are some limitations on which devices you can install the 2.0 CF however 99% of Windows Mobile 2005 devices do work with it, the limitation ...Show All

  • SQL Server Manage detached mdf file

    I want to manage my sql express .mdf database file (e.g. set Roles) but I seem to only be working with a temporary instance of my database when I attach to .sqlexpress and manage in SQL Server Management Studio Express (SSMSE). The Role I set is gone when I detach and re-attach. If I try to manage my file in Visual Studio under Server Explorer, I do not see the "Roles" folder to modify roles. Any help is appreciated. Ok, I'll take a look at the information here. The type of role I am trying to create is Application Role. In order to use Full-text index on my database I cannot use User Instances. Therefore, I need to have an Application Role for the the application to login. Yes, I&n ...Show All

  • Visual Basic vb.net 2003 simple access mdb example? Anywhere?

    I bought vb.net back in 2003 and tried working with it for a few days - then uninstalled in disgust and went back to VB6. I've just decided its time to try out .net again for some database work with an existing access database. I've just spent the entire night searching for an example of just simply opening an access database from a local disk and stuffing some data into a combobox - with absolutely no success. The samples that (didn't ) come with vb.net don't seem to be accessable on the MS site any more. It keeps throwing me VB2005 upgrade "opportunities", SQL server stuff, and other unrelated things. WHen I did finally find the 2003 "quickstart" examples, the link goes crazy and locks up IE, showing a path with ...Show All

  • Visual Studio "only one database is supported" problem in VS.NET 2005 and VSS 2005

    When I select a VSS database from Visual Studio.NET 2005 for opening a solution,it says "only one database is supported" and it prompts me to open the solution in disconnected mode and I can never connect the VSS again. This was working till yesterday . Now I see duplicate paths for the same database. Has anybody seen this and have resolved this Please let me know. Thanks in advance, Ashish You may have somehow gotten different databases written into your solution file. I would unbind the solution (File -> Source Control -> Change Source Control), save, and then rebind it. ...Show All

  • SQL Server Login failed for user "David". Reason: Not associated with a trusted SQL Server connection.

    I am very new to SQL Server Express, so I watched the video on how to create permissions in SQLSE. I did what I seen, and I still cannot connect to the specifed database. I did create a login account in the main part using SQL Auth., then I create a login account in the database, and set its role as dbowner. After all that I disconnected the object explorer and tried to use the account that I just made and it didnt work, I also went to VBE and tried to connect from within the database explorer and I got the same error above. I can go to a different pc and try to connect with the same result. I did watch the video again to make sure that I didnt miss up and what I did was right by the video. I did try to set another name and ...Show All

  • .NET Development how to use WMI to get registry keys

    Hi, I need to access the registry through WMI but i can't find any examples on the internet, can someone help me tkns P.S.: the language is C# the second. So in your opinion there are no advantages of using WMI in this situation (by the way, i have admin privileges on the remote machine) ...Show All

  • Smart Device Development MS Access query from Mobile App

    I'm trying to determine what is and isn't possible before starting development of a mobile application for this mobile device ( http://www.intermec.com/eprise/main/GSS/Service/Content/Tools/Tools_ListProductManual section=Tools&Category=CMPTR&Family=CMPTR2&Product=CMPTRCN2B&Tool=Manual&Language=English ) The current plan is to have a laptop acting as a central server and 2 handheld devices. On the laptop will be an Access database. The devices (barcode scanners) would be connected through wifi to the laptop. Would I be able to create a C# application on the mobile device that can pass the read barcode to a query to the Access database on the laptop through the wifi connection Or what would need to be done to enable i ...Show All

  • SQL Server Problems by upgrading MS SQL 2005 with SP 1

    Hi, I have 3 servers running MS SQL 2005. The other 2 servers upgradet fine, but the last one failed on the databasepart. I am running the upgrade as administrator. And I am able to start the databases after the failed upgrade, but the maintanance plans and so on doesn't work. This is a production server, and I would be happy to get feedback saying it is OK to keep running producton on this machine The error thas was provided was: 02/04/2007 22:15:18.750 ================================================================================ 02/04/2007 22:15:18.750 Hotfix package launched 02/04/2007 22:15:19.468 Product discovery successfully completed during the install process for MSSQLSERVER 02/04/2007 22:15:19.484 SP Level check successfully ...Show All

©2008 Software Development Network