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

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

wagnerjp

Member List

PiGuy
dimx
AmitKa
aybe
Tzal
Declan_
mihao2002
DaveDB
Sheng Jiang (蒋晟)
rs12345
killers
FernandoLeite
RayneWolf
Rei Miyasaka
kayki
Buddhist
Hossam Abdel Wahab
Cory Cundy
Behrooz PB
graab
Only Title

wagnerjp's Q&A profile

  • Visual C# typeof keyword for properties, fields, methods

    Why don't Microsoft implement some sort of "typeof" for properties, fields, methods etc For example, lets suppose we have "propertyof" keyword, then we can do the following: PropertyInfo pi = propertyof(MyClass.MyProperty) I will try to explain how this can be used. Lets suppose we have the following method to fetch data from the database: BizEntity[] e = bll.ExecuteQuery("type of the business object", " property name of the business object", ....); It takes as first parameter name of the business logic entity which objects I want to get, and other parameters are names of the properties I want to be loaded of the fetched objects (suppose we have a delay loaded business objects). I can rewrite th ...Show All

  • Windows Forms How to tell (event) the user changed a bounded value

    I hoped to use CurrencyManager on a bounded table to tell when a user changes a value. (IsDirty state) Instead of having an event for each control bounded for the same table. Any one knows what the trick is In the .Desgner.CS I have lots of text boxes databinding tothe datatable   this .customer_BillToForEditBindingSource like this .customer_SourceDBTextBox.DataBindings.Add( new System.Windows.Forms. Binding ( "Text" , this .customer_BillToForEditBindingSource, "Customer_SourceDB" , true )); I used your example in C# (maybe I missed somthing) in the form_load myCurrencyManager = ( CurrencyManager ) this .BindingContext[ this .salesDM_XRefDataSet.Customer_BillToForEdit]; myCurrencyManager.ItemChang ...Show All

  • Software Development for Windows Vista How to use in my app the preview provided by IPreviewHandler?

    I am trying to preview in my application Word documents from Office 2007. Vista Explorer can preview Word documents because Office 2007 provides the implementation of IPreviewHandler for them. Can I preview Word document in the same way as Vista Explorer is doing If yes, is there any sample code Thank you. ...Show All

  • Smart Device Development Mobile 5 SDK for Pocket PC install hangs

    Tried for hours to get Mobile 5 SDK for Pocket PC to install. The original problem was that my McAffe was stopping various scripts from executing. The install hung after McAffe stopped the scripts. Then, after I turned off the McAffe script analyzer, the SDK tried to rollback and attempt another install, but those installs eventually hung. By "hung" I mean the install wasn't using disk or CPU, there was nothing after the word "status" above the "progress indicator", and the "progress indicator" didn't progress. The "remove" option also hangs. Help Not really as it worked for me several times on not so clean systems. Just wanted you to try and save some tim ...Show All

  • SQL Server displaying null dates

    how to display NA in a date field if the date is NULL Please Help. select case when <Col Name> is null then 'NA' else cast ( <Col Name> as varchar ( 12 )) end <Col Name> from <Table Name> Mat ...Show All

  • Visual Studio Rational Clearcase plug-in for MV 2005

    Can any body give me the link to rational clearcase plugin for microsoft visual studio 2005. The problem is: when i open any c++ project in visual studion 2003.net and when I right click on any source/header files, I get the "Check out/ check in" option from clearcase but when i do the same in visual studio 2005, I don't get any "check out/ check in" option on right click. Does anybody know what's going on and how to solve it. Thanks Jimi Make sure Clear Case pug-in is selected in Tools->Options->SCC->Plug-in Selection If you can’t find Clear Case plug-in then you need to reinstall Clear Case on this machine or perhaps check with Clear Case folks for directions. Open File->SCC->Chang ...Show All

  • Smart Device Development Windows Mobile 2005, keyboard

    I have to write an application, which should work in background, gather keyboard data, and send the new key codes to the foreground window. It is needed for input of cyrilical letters. Keyboard hooks are not working. Can you advise a solution Thank you. I think you may add PreTranslateMessage,when Key was pressed, send message to background window, let background window to process this message. ...Show All

  • Windows Live Developer Forums VEMap.GetRoute in Europe

    Hi Everyone, I have been trying to get a GetRoute for an address in the Netherlands, but I'm having problems with it -- it keeps asking me if I want to choose a city in America. I looked through a bunch of stuff, but I couldn't find if there was a restriction on GetRoute for places other than America. Is this possible Thanks! scott Hi Caleb, Right on -- I'll try the address a few more ways. Is there any sort of published format (for virtual earth) for each country address type Later- se ...Show All

  • Windows Forms Maskedtextbox and SelectAll()

    Hi,   If have a problem with the maskedtextbox. I want the select all the text when the the maskedtextbox got focused (via "Enter" event). and then using the maskedTextBox.SelectAll () funtion. It works fine without putting a mask. But when i put the mask = "00000", the SelectAll() funtion doesnt work anymore. Little side question, whats the difference between the mask "00000" and the mask "99999". Can anyone can help me with this thx ! BambooZelD   Mark Rideout wrote: The MaskedTextBox performs a select of its own in the focused event, so it overrides your set. You'll need to post your select after the MaskedTextBox performs its select. You can do thi ...Show All

  • Windows Forms issues with 2003 bootstrapper - for the love of god please help me

    I am running vs2002. I have followed the directions and done every step on the microsoft site here: (http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnnetdep/html/vsredistdeploy1_1.asp _r=1) Everything looks right on directions and my dev machine: To install the .NET Framework with a Setup project Make sure that the Visual Studio .NET Framework Bootstrapper Plug-in is installed. Select the Setup project in Solution Explorer. On the Project menu, choose Properties . Set the Bootstrapper property to Windows Installer Bootstrapper . The .NET Framework redistributable will be packaged with the Setup.exe for the Setup project when it is built. Note The .NET Framework launch condition must also be en ...Show All

  • Visual Studio 2008 (Pre-release) Unable to run default XAML in Blend or VS2005

    Scenario A: I open VS2005, Under the Visual C# node I select Net Framework 3.0, and then select Windows Application (WPF) from the templates on the right. The following code is generated: <Window x:Class="WindowsApplication8.Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="WindowsApplication8" Height="300" Width="300" > <Grid> </Grid> </Window> When I try to compile and run the app, I get the following error: Cannot create instance of 'Window1' defined in assembly 'WindowsApplication8, Version=1.0.2613.23423, Culture=neutral, PublicKeyToken=null'. Exception has been thrown by the target of an invocatio ...Show All

  • Visual Studio 2008 (Pre-release) Error in WCF course demo code - where is Httpcfg

    In the Microsoft Learning course Clinic 5137 : Introduction to Developing WCF & VS2005 I get the following error running the WCF Demo. System.ServiceModel.AddressAccessDeniedException was unhandled Message="HTTP could not register URL http://+:80/Greeting/ . Your process does not have access rights to this namespace (see http://go.microsoft.com/fwlink/ LinkId=70353 for details)." Source="System.ServiceModel" StackTrace: ... I go to the above link and it directs me to use the Httpcfg tool but I cannot find Httpcfg any where on this released version of Windows Vista. With Windows Vista is it better to develop on another platform, i.e. Win 2003 and then deploy to Windows Vista Or do I j ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Now that D3D10 hardware is available...

    ... has anyone actually been able to run their own programs using only publicly available resources The October SDK requires Vista RC1, which I'm currently using. Seems that they made some DDI changes in Vista RC2 such that it is no longer compatible and the latest publicly available drivers from Nvidia seem to be for RC2 only (makes sense). Even then, I have no idea if these RC2 drivers actually enable D3D10 on their new GeForce 8800 hardware. I doubt any archived RC1 drivers have the necessary parts (can anyone confirm ) nor would any "in box" default drivers. I presume various developers have been using GeForce 8800 hardware behind closed doors for a while, but they'll have access to Nvidia's developer relations te ...Show All

  • Visual Studio Express Editions Database Question

    I have three simple WinForms. One main, which displays a cookbook, organized into title, ingredients, recepie and two buttons, add and edit. When I click the add button, another box pops out into which I want the user to introduce title, ingredients, recepie and then click save. I am not exactly sure how to do this, but I have Peter Wright's books and I am researching. The problem is though, when I want to EDIT a current entry, how do I pull from the database the info which was selected into the second form, edit it, and when clicking save, adding it back to the database I have a related question. I have an application that uses a datagrid to list out what it needs to in the database. The records it lists ...Show All

  • Visual Studio Express Editions problem with details view from database

    Hi all, I have a problem. I have got 3 tables in my database . When I am using 2 datagridview tables to view data from table with primary and table with foreing key, everything is fine (there is a relation beetwin tables) But when I am using textbox and binding method (or drop table from data surces window using Details view to the form) there is no update data in foreign tables. I am using Visual Studio C# Express and Sql 2005 Express Edition. Does anyone know how I can reslove this A relation already exists for my child columns. I have done it on sqlserver side and when I am checking everything is working fine. On the form, when I am using datagridview to view data - its working fine (delete, insert, update et ...Show All

©2008 Software Development Network