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

Software Development Network >> William Au Yeung's Q&A profile

William Au Yeung

Member List

raluca
Lejing
RudyH
Stephen Crabb
SkiesOfBordom
GraemeE
Xinil
MCA
Jude Kavalam
labtech
jbothwel
DanKirkwoodJr
Edward HM Chen
OnCallBI-DBA
Raffaele Fazio
Dan Lockhart
CSharpner
XblackdemonX
Philip Belemezov
micropterus_sal
Only Title

William Au Yeung's Q&A profile

  • Visual Studio Tools for Office How to delete the user’s Command Bar?(Outlook)

    I made a outlook COM Add-in , and the Add-in will create a new commandbar when the outlook starts. But how to delete it when close the outlook Thank you! Hi, This forum is specifically for questions regarding solutions created with VSTO. You might try posting your question in a newsgroup specific to COM Add-ins such as COM add-in issues : office.developer.com.add_ins newsgroup http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.office.developer.com.add_ins&lang=en&cr=US I hope this helps. Kathleen McGrath ...Show All

  • Visual Studio Express Editions Copy schema from data table to data source

    DataAdaptor.FillSchema is handy for creating a data table and configuring it to match the schema of an existing table in a data source. But I need to do just the opposite. I have a table that I create progamatically. I create a new SQL database using t-SQL CREATE DATABASE. I want to add a new table to the database with schema matching that of my existing table. I can do it rather laboriously with t-SQL, but some sort of "DataAdaptor.SetSchema" would be a lot easier. Does such a thing exist Thanks, --MAble hi, Better idea would be to use T-SQL to create a table in DB since you can se ...Show All

  • SQL Server IDENTITY fields

    I have a table with an IDENTITY column for a pkey. I'd like to insert one record into this table and use the generated identity value to insert ~100,000 rows in a second table. I'm sure this is a common scenario. I don't want to pre-generate identity values or anything like that - it seems like this should be a simple task and I'm missing something. I've tried OLE-DB Command tasks with INSERT INTO ....; SELECT SCOPE_IDENTITY() - but there doesn't appear to be a way to retrieve a resultset from the OLE-DB command task. I've also tried a data flow with a lookup for the identity, and then tried to merge the one  ...Show All

  • Visual Studio 2008 (Pre-release) Do I need WSE3 if I have WCF

    Do I need to download and install Web Enhancements Version 3.0 if I have the latest version of WinFX (Windows Comunication Foundation)   thanks Ralph Absolutely not. WSE 2.0 and WSE 3.0 provide WS* support for VS 2003/.NET 1.1 and VS 2005/.NET 2.0 (respectively)...and WSE is not a complete implementation of the specifications, but supports many security specifications (WS-Security, WS-Trust, WS-SecureConversation, SAML) and the latest MTOM, along with a few other specs. WCF is a complete communication platform that better supports the emerging and currently standardizes web services sp ...Show All

  • .NET Development Consuming Web Services from ASP 3.0

    Hello everyone... I've got a simple question for you and a difficult one for me... I'm trying to call a web service from an asp classic (asp 3.0) page, but i don't know how to.... Would you help me please or give some idea of what to do, including how to get the data that the web service may return (example a dataset or a boolean) Thanks for your help. Gabriel. Hi, You can use the SoapToolkit available in MSDN, it's a COM framework for executing WebServices, but that framework is not supported anymore. http://www.microsoft.com/downloads/details.aspx FamilyId=C943C0DD-CEEC-4088-9753-86F052EC8450&displaylang=en Anot ...Show All

  • Visual Studio Crystal Report... Simple question

    Hi, Somebody please tell me how can I display the rows from a dataset in a report...... I am very beginner in CR so please tell me a step by step explanation or link to some basic tutorial... I googled for a solution but all the articles gives how can i display from Table or Views directly.. Thanks & Regards Anz follo the push method of crystal report. see the link  I am giving http://www.codeproject.com/aspnet/crystal_report.asp ...Show All

  • Visual Studio Items and when are they filled

    Hi there Looking for some help on this... If I was to create an Items collection in the following way: < ItemGroup > < TestAssemblies Include = " **.tests.dll " /> </ ItemGroup > When would the values be assigned to the collection I intend this to contain a list of all my unit test and I am then going to use this as input to my unit test target, but I am unsure if the collection would be populated when MSBuild is executed, when the collection is encountered or when its first reference. Thanks Andy When MSBuild executes the project it ...Show All

  • Visual Basic Make sure the application for the file type (.vb) is installed

    I installed VS 2005 Beta 2 on a WinXP pro system (numerous times). It finally installed without erreors. It looks like it is basically working - I can create a new windows project and add items from the toolbox, edit the code etc. If I open an existing project (created on another box) things load properly but I cannot open any forms in designer view (I can open them in code view). When I attempt to open a form in design view I get the following error popup: ===================== There is no editor available for 'c:\....\myForm.vb'. Make sure the application for the file type (.vb) is installed. ==================== Any thought on how to cor ...Show All

  • .NET Development "Application not correctly initialized 0xc0000005"

    hi everybody, i'm having this problem, or better, a person on 5000 is experiencing this problem. i've developed a program using .net framework 2.0 and he gets such a message when he tries to run my application. this error usually appears when .net framework is not installed. but i'm sure this is not his case, as i personally checked it out. i'm not sure if that is the exact english message as he gets the message in another language. anyway i can post a screenshot. thank you! ...Show All

  • Visual Basic Hip, Hip, Array?

    Could someone please show me how tp place the first 4 random numbers into the array and then get them out again in to a 4 labels Below is what I have so far, I know it is totally wrong but thought it might help if you see what it is that I am trying to do. Randomize() For num = 1 To 4 intNumber = Int((9 * Rnd()) + 1) arrNum = (intNumber) Next Label1.text = (arrNum1) Label2.text = (arrNum2) Label3.text = (arrNum3) Label4.text = (arrNum4) You have to declare you variable as an array: Dim <variablename>(number of elements) As Type Dim arrRand(3) As Integer Dim ...Show All

  • Visual Studio 2008 (Pre-release) System.NullReferenceException when trying to run Sparkle

    Hi guys, I'm trying to run Expression Interactive Designer on Win2K3 server (it's been reported that it works fine on this OS). I uninstalled my November CTP WinFX runtime components, SDK and VS Extensions and then installed the January CTP WinFX runtime components. My old (November CTP) WPF apps still run fine. However, attemtping to run Sparkle results in a System.NullReferenceException. Anybody else having this problem By the way, installs and works fine on XP Pro. Thanks Hello I think internally you get a Error at element 'StaticExtension' in markup file '' : Binary format of the ...Show All

  • Visual Studio 2008 (Pre-release) Canvas, Rectangles, ClipToBounds slowness

    We are thinking about starting a new moderately complex graphical application in WPF. But before committing to the platform, we are testing features to see if WPF can handle it. >:) One test application so far has a Canvas with ~800 Rectangles (added with C# using “canvas.Children.Add(..)”. These rectangles are movable by dragging them… implemented with Canvas.SetLeft(rect, newLeft) and Canvas.SetTop(..) from the MouseMove handler. I need some tips on how to speed this up. Currently dragging a single rectangle around causes 100% utilization with 20 FPS on a Xeon 2.8GHz… even turning down to 50 rectangles seems ...Show All

  • Visual Basic Writing a .INI file

    Hi, I need help! Okay, a program that I work with uses a setup.ini file that I have to write each time, as a novice VB user I wrote a program to write the .ini file but when it writes it, the program can't read it. The only way it'll work is for me to open it in a text editor then save it. This is what i'm using at the moment to write it as it uses some input from text boxes. Can someone tell me how to succesfully write a .ini file. Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click My .Computer.FileSystem.CreateDirectory _ (TextBox1.Text & "\USERS ...Show All

  • Smart Device Development A multithreading question

    Hi there, I'm using a printer dll (PrintCE.dll) to print into a mobile printer I have via bluetooth. Now everything worked well until I wanted to have a nice error message (and a quick one) if the terminal can't connect to the printer (if it's offline for example), What happens today is that it takes more than 60 seconds until it finally give up the try and gives the error. so what i've done is i've put the start printing procedure in a difrent function, and called it via a new thread like this: ThreadStart job = new ThreadStart (StartPage); Thread thread = new Thread (job); thread.Start(); Thread .Sle ...Show All

  • Visual C# Removing methods calls off the stack in C#

    How can I remove all the method calls off the stack of an object in C# I set the variable equal to null but the object is still executing the code. For example if I have onc class calling a method of the other and that calling other methods in that class like this: class A {     private B var;     void start()    {       var = new B;       var.runFlag true ;       var.run();    }     void stop()    {       var.runFlag = false ; &n ...Show All

©2008 Software Development Network