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

Software Development Network >> Yu Wang's Q&A profile

Yu Wang

Member List

S Krishna
pambear
StillStandig4Ever
kaandinc
BlueMikey
sel
Nagesh2006
Rachel J
Ghauri
mobigital
RCUELLO
John Saunders
venutm
ToddGibbs
ashokkumar
OfficeDeveloper
NewToVB
Martin Cowen
Mark_D
opop
Only Title

Yu Wang's Q&A profile

  • Visual C++ How to use API ChildWindowFromPoint/Real ChildWindowFromPoint?

    Can you offer me a demo using API ChildWindowFromPoint/Real ChildWindowFromPoint to get className and windowtext form a control disabled underneath mouse THKS! mail:  ss.song@liteon.com Hello Ayman Shoukry ,        Thanks! ...Show All

  • .NET Development object reference

    If in form1 I use User user = new User(); to create my user object.  When I go to form2 how do I reference the same user object Thanks Mike I have a similar problem but with using a customRoleProvider My IsUserInRole method is set to public overrides isUserInrole so when i change Public Overridable function IsUserIRole(username as string, Rolename as string) to Shared Overridable function ... VS yells at me and says that I can;t share an overridable function any ideas where i'm actiually getting the error is here Protected Sub Page_Load( ByVal sender As Object , ...Show All

  • Visual Studio Express Editions VWD - Question on how to optimize my code

    Hello everyone, I'm trying to port over an application that I created in VB 2005 E to Visual Web Developer 2005 for a web application. I found that it's a little bit different coding for the web, and I'm forced to actually write some code now. Here is some code that I found to take a value from a row of data and store it in a variable. But I know that the way I'm doing it isn't the most effecient. More specically, I've forced myself to only be able to retrieve one colum of data per query. How can I position my cursor on a record, and be able to choose specific columns to store, rather than run two separate query as below Thanks in adv ...Show All

  • Visual Studio Team System instance field naming convention

    In the following code sample, class TestClass { private int age; public int Age{ get {return age;} } } If I decide to use Age for the public property name, what is the recommended naming convention for the related private instance field Any comments are welcome. Microsoft does not provide naming conventions or guidelines for internal members, however, I have seen the following used internally: private int _Age; private int _age; private int m_age; private int m_Age; It is really comes down to a matter of choice and what you feel comfortable with. ...Show All

  • Visual Studio Team System Can I have tfs and vss installed on the same machine?

    Hello, In my company there are new projects that will begin developing with vs 2005 and I think the best way in new projects that are aboslutelty in .net is using TFS. But there are other projects that are java and suddenly they need a webservice in .net They already have other ways to control documents for those projects , the only thing I need is to control code     From my experience the answer is yes. I've done some VSS to TFVC (Team Foundation Version Control) that have required both installed and I had them on the same server. But you might want to try other alternatives.  For non-MS technologies, develoe ...Show All

  • Visual Studio LoadReportDefinition from a string instead of IO stream

    I have a generic reports windows form that I am passing variables stored in a database. The database includes the stored procedure to get the data for the report as well as the associated RDLC XML file to format the report. The RDLC XML file is loaded with the data into a local string variable. How can I use that string variable as the source for the report definition What I did in that case, was turn the string into a stream: Assuming strRdl is the string containing your definition: byte [] rdlBytes = Encoding .UTF8.GetBytes(strRdl); System.IO. MemoryStream stream = new MemoryStream (r ...Show All

  • Microsoft ISV Community Center Forums VBA tapi caller ID

    hi wizards, I search for days now, but cannot find any working sample code to do the following I just want to get the telephonnumber of an incoming call (initiate outgoing calls with tapiRequestMakeCall works with a telephone connected to the USB port). I found a lot of code for C or VB, but not a single working one for VBA. Can anyone point my nose to a working sample I just want to recognize the incoming call in my access application and display the corresponding record... I though to adapt a VB code to match the VBA criteria is not a big deal, but apparently definitions, links and libs are differently handled or I jus ...Show All

  • Visual Studio 2008 (Pre-release) data binding with viewport3d

    Is it possible to bind data in a viewport3d so that 3d visuals can be generated from data Something along the lines of ItemsControls and DataTemplates for enumerating a list of data points and assigning coordinates etc to a visual representation. This is simple to do in XAML for 2D controls, but I'd like to do it for 3D elements. Any help would be greatly appreciated! Cheers, -robin Check http://msdn.microsoft.com/windowsvista/default.aspx pull=/library/en-us/dnlong/html/introdecctp.asp#introdecctp_topic7 ...Show All

  • Visual Basic VB 2005 express-image change

    I am just learning VB an I am working on a form that I want to display a picture. Now depending on which button gets pressed I would like tto change this picture/image. How can do Create a form with a picture box and two buttons and use code something similar to this Public Class Form1 Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click PictureBox1.Load( "D:\Windows\Prairie Wind.bmp" ) End Sub Private Sub Button2_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2 ...Show All

  • SQL Server Date Conversion throws truncation error

    Hi, I am trying to process a flat file feed. My date is in format of YYYYMMDD. The database column is of datatype "datetime". I have tried using all date related data types on FLAT FILE Connection Manager. I have also tried using Data Conversion Component. No luck so far!! Any suggestion Thanks in advance, -Anand I have resolved the issue using following "Derived Column" statement: (TRIM([Maturity Date]) == "") NULL(DT_WSTR,8) : SUBSTRING(TRIM([Maturity Date]),5,2) + "/" + SUBSTRING(TRIM([Maturity Date]),7,2) + "/" + SUBSTRING(TRIM([Maturity Date]),1,4) Cheers, Anand ...Show All

  • Smart Device Development Creating controls on the fly is very slow

    Hello there. I've got an application whereby I'm creating a user interface on the fly, creating survey sections with questions, and responses (such as radio buttons, checkboxes, etc) at runtime.  The client is simple, as this survey engine does most of the work. Running this on a laptop/desktop on .net framework 2 has fine performance, running the same code on a PDA running Mobile 5 on Compact Framework 2 has terrible performance.  I believe the creation of controls and positioning/resizing may be the largest issue.  Does anyone have experience in how to properly (and performantly) do this on the Compact Framework   ...Show All

  • .NET Development Remoting Changes Between Beta 2 and RTM

    In the application we're developing we were successfully achieving impersonation through the Xml configuration enhancements in .NET 2.0 and this seemed to work fine in the Beta 2 release. Having now completed the migration to the RTM build of Visual Studio 2005 and of SQL Server 2005, we've noticed that our remoted component is no longer running as the impersonated user but rather the servers NT AUTHORITY\ANNONYMOUS LOGIN. The Windows Service that hosts this component is executing as LocalSystem and our configuration files (excluding company specifics) are as follows: Client <system.runtime.remoting>   <applica ...Show All

  • Visual Studio How to build a project containing Reporting Service project

    Hello, I'm working with a solution containing multiple projects, also one Reporting Service project. When I use MSBuild to build the solution, it fails with the following error: error MSB4041: The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format. If I do so and make it: <Project xmlns=" http://schemas.microsoft.com/developer/msbuil ...Show All

  • SQL Server CustomReportItem HELP!!!

    I get the following error when dragging my customreportitem from the toolbox onto a report. Could not load type 'OMR.OMRDesigner' from assembly 'OMRDesigner, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null". I have the OMRDesigner.dll in the PrivateAssemblies directory and have added it to my toolbox. I'm not certain what it is looking for. I have the following entry in my RSReportDesigner.config. <ReportItemDesigner> <ReportItem Name="OMR" Type="OMR.OMRDesigner, OMRDesigner" /> </ReportItemDesigner> Here is the code for my control. In my OMR solution, OMR ...Show All

  • SQL Server Moving DB one server to another with Broker Enabled

    I have a database with Broker_Enabled set via the following command: ALTER DATABASE 'xxxx' SET ENABLE_BROKER All works well, I made a backup and want to move to my development machine. When I run I still get an error saying I need to enable broker service again. "The SQL Server Service Broker for the current database is not enabled, and as a result query notifications are not supported. Please enable the Service Broker for this database if you wish to use notifications." How can I move the database and get this setup Where are the BrokerID's Stored Thanks, ~ Steve Nothing like bei ...Show All

©2008 Software Development Network