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

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

yhong

Member List

Andrew Lytchev
UncleSam89
mranzani
SUMEET_1876
Izzy545
boo891
SpeedOfSPin
MKBender
wxin
Marlun
JimT Utah
Michal Szalai
Islam Imam
sureshvb
Marcelo Hernán Ruiz
EricLeBouffon
Mickey G
williamtcurtis
Przemek G.
Karen G.
Only Title

yhong's Q&A profile

  • Visual Studio Express Editions "It's for the children..." drawtext erase remove

    Howdy, New program for the kiddies... This time, I'm creating a small graphics program where the alphabet letters appear, move, resize, recolor, sort, etc. I'm just getting started...I've got the first letter to move around the screen, and using the font size, color etc, I can get the "A" to move along in a path. I'm using: TextRenderer.DrawText(GraphicsFun, "A" , Me .Font, New Point(point1x, point1y), SystemColors.ControlText How is it that I can erase/remove the letter just before or after the new one appears I don't want to clear the screen/form/etc...just the last appearing letter. Thanks in advance...this site has answered what would appear to me to be hundreds of my questions for the two programs t ...Show All

  • SQL Server defaultcodepage is set to false

    when ever i drop a ole db source or destination control on data flow, upon clicking to edit it complains about -- defaultcodepage is set to false. When i check in the properties and set it to true; i get no error. What is it all about kushpaw codepage has to do with whether your columns in the table have data that are in other languages.... seting it to true will ask SSIS to take the defualt translation that it thinks fits your data. ...Show All

  • Visual Studio Tools for Office Outlook VSTO SE addin Deployement project

    Hi, We are preparing a lite version of our product (Outlook 2007 VSTO addin) and we need to add Outlook 2007 and Office 2007 PIA in the launch conditions. Problem is we cant find the Component Codes and Product Code for these. We have already created the bootstraps for these tools, but need their component codes too for lite version. I tried to look in the resources, but no use. X-posting them here: VSTO Deployment These whitepapers are interrelated, so be sure to review both of them. · Deploying Visual Studio 2005 Tools for Office Solutions Using Windows Installer (Part 1) http://msdn2.microsoft.com/en-us/library/aa537173(office.11).aspx · Deploying Visual Studio 2005 Tools for Of ...Show All

  • Software Development for Windows Vista How do you pass output parameters before WorkflowCompleted event?

    WF Gurus, I need to pass an output object parameter prior to WorkflowCompleted event executes. I have an XOML only state workflow and am raising events. I am able to pass data into the workflow via RaiseEvent functions, but cannot pass parameters back to the host. Any ideas Thanks in advance, John Portnov Check the samples on Tom's blog http://blogs.msdn.com/tomlake/archive/tags/XAML+Activation/default.aspx ...Show All

  • Visual Studio 2008 (Pre-release) Data binding to a control's own properties - best practicies?

    Hello, I'm just getting started with WPF and Xaml, and I'm trying to figure out the proper way of dealing with what I thought would be a common situation. If I have a control, for example something simple that is supposed to just show the name of a colour on a background of that colour: <UserControl x:Class="WPFTest.Test" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> <TextBlock Text="{Binding Path=Color}"> <TextBlock.Background> <SolidColorBrush Color="{Binding Path=Color}"/> </TextBlock.Background> </TextBlock> </UserControl> Firstly, is ...Show All

  • .NET Development Can I store string in dataset?

    Probably there are easier ways to do what I want to do but here is my requirement. I need to store some tables as well as some strings in XML file for my application as a configuration. Currently I use dataset.WriteXML() method to persist data and retrieve data for my table but having problems with storing string values. I had to create dummy table in my dataset and populate with my string data (each string in different column). This is pretty ugly and I wanted something easier and more elegant to implement but I don't want to do a lot of XML plumbing. Basically what I need is ability to save configuration data for application to XML file. Data consists of tables and some string values. I know there are easier ways to do what I'm ...Show All

  • SQL Server Data Purging

    Hi We have a requirement for purging the historical data based on the specified criteria.We have a complex data model with Parent Child Hirearchy goes to multiple levels. Does any body knows information on how data purging is done in production environments with characteristics such as Data Volume is huge (500 GB) Multiple level of realtionships (It can go up to 6 levels) Physical relationship exists between tables thanks in advance :) Regards Samsudeen B Hi Nathan, Thanks for the response. I don't have the cascading referential integrity setup in my model.As I told earlier my model is complex with child tables been refered with multiple foreign keys.. Do you have any i ...Show All

  • Visual Studio Tools for Office Help! 0x800a16c1 - Object has been deleted

    Hi I'm working with VSTO 2005, Word Document, C#. I've done a word document where you can add lists with items inside a table. So everytime i want to a add a new list,, the C# code gets the range of a bookmark where i want to work, then it insert a row in the table, then add the xmlnodes and then add the info written by the user in an Actions Pane. the document works fine when i build it from VSTO. so i created the installer and the security policies and all that stuff. When i open the document for the first time, it works great! i create new lists with the actions pane, and everything is ok. So i save the document with another name. Then i open the new document, and when i try to insert a new list through the actions ...Show All

  • Visual C# Delay to much

    Well, my app is delaying to much when i open it ! I have discovered that the problem is this command below. So, i would like to run this command in a splash screen, like many programs loads things on it and pass the information to the Form1. How could it be done private void SystemUpTime() { PerformanceCounter pc = new PerformanceCounter ( "System" , "System Up Time" ); //Normally starts with zero. do Next Value always. pc.NextValue(); TimeSpan ts = TimeSpan .FromSeconds(pc.NextValue()); txtUptime.Text = "Uptime: " + ts.Days + " dias, " + ts.Hours + "h " + ts.Minutes + "m " + ts.Seconds + ...Show All

  • Software Development for Windows Vista reading event log; compatibility xp and vista

    I have posted this on the vista sdk forum. As this is also a compatibility issue, I am posting this on the compatibility forum also. I have an application in unmanaged VC++ working successfully on XP. However when I run the application on vista I get errors. The application creates an event, and uses the NotifyChangeEventLog sdk function to notify my application of any new event being written to the windows event log. I then use the ReadEventLog to read the event log record. All these functions are supported on the Vista and works fine. However, things get murky hereafter for the vista. I use the registry to read the EventMessageSourceDLL which then provides me the event description. However this part is not working on Vista, ...Show All

  • Visual C# How do I get win32 and x64 configurations in the same project?

    Hi, I'm fairly new to VS2005, so hopefully this is an easy question to answer. I have a solution with several projects in it. The solution already has a 'win32' solution platform and the projects all have 'win32' project configurations for both Debug and Release. What I now want to do is add an 'x64' configuration to each project. I *thought* that I could do that as follows: create an 'x64' solution platform and create an 'x64' project configuration for each project. Then, in the Configuration Manager, I select 'x64' as my 'Active solution platform', and for each project select the 'Debug' configuration and set its Platform to 'x64'. Repeat for the 'Release' configuration. However, if I change the 'Active solution platform' back to 'win32' ...Show All

  • Visual Studio Express Editions Interop question

    Hello I have a question about C# express, apologies if it's been asked before, I searched the other posts in vain. Is it possible to create a class library dll in C# 2005 and use it in a C# 2003 project When I try to reference my 2005 project dll from 2003, I get a "reference could not be added, not a valid COM component or assembly ...". I haven't tried going the COM route (I'm new to C#) as the examples I've seen had to do with sharing 2005 with vb6 and the like. Any help anyone is willing to provide would be very much appreciated! Thanks -Paul S Thank you Hans, that helps. I appreciate your response, it at least saves me a lot of frustration! Kind regards, -Paul ...Show All

  • Commerce Server Cache Refresh for separate server

    We have the CS web services and a custom web service located on a separate server. I added an Non-Commerce Server Application via Commerce Server Manager for the custom web service. The web.config of the custom web service has an http handler for: <httpHandlers> <add verb="*" path="OrdersWebService/SiteCacheRefresh.axd" type="Microsoft.CommerceServer.Runtime.SiteCacheRefresh, Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 "/> </httpHandlers> Now when I run http://eaviadev04/ProfilesWebService/ProfilesWebService.asmx op=RefreshAllProfilesInCache I recieve the following error: System.Web.Services.Protocols.SoapExcepti ...Show All

  • Visual Studio Express Editions visual basic express problems

    what is the code to update a database, the code i use tells me an error whe n i tried your way, i got the swiggly lines under reclist again telling me its not a member of newrec.seeview. newrec is the project name seeview is ther class name it would appear they are not passing the values to each other for some reason ...Show All

  • Software Development for Windows Vista Tracking Query returns null

    I have update the Workflow Foundation from the Beta 2.2 to the RC1. In the RC1 there is no "SharedConnectionWorkflowService" anymore. It is called "SharedConnectionWorkflowCommitBatchService" now. So I changed that. Since that I get an error in following code statements: SqlTrackingQuery sqlTrackingQuery = new SqlTrackingQuery (ConnectionStringWorkflowService); SqlTrackingWorkflowInstance sqlTrackingInstance; sqlTrackingQuery.TryGetWorkflow(e.WorkflowInstance.InstanceId, out sqlTrackingInstance); The method "TryGetWorkflow" doesnt populate the SqlTrackingInstance. It is being null. Before changing the Shared Connection Service it worked. Any suggestions, where the problem may be Thanks ...Show All

©2008 Software Development Network