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

Software Development Network >> Charles Tam's Q&A profile

Charles Tam

Member List

c28560
dinh xuan dung
AlpanaDhole
kuwi
Tomas L
George Clingerman
Kyle McK
Asif Hameed
Twice_Resurrected
Andrew-L
GrandpaB
SivaS
Nickeay
AmolWankhede
Scalpel78
Satyajit
daveHassen
Meso X
Chibi-Acer
PedroCGD
Only Title

Charles Tam's Q&A profile

  • .NET Development Trouble catching exception

    Hi, I am having this problem catching a exception in a try catch block as shown below try { DialogResult result; result = wizard.ShowDialog(); } catch (PackageCreationException e) { MessageBox.Show(e.Message, "Failed", MessageBoxButtons.OK, MessageBoxIcon.Warning); } now the wizard is a form which throws a PackageCreationException if it fails this works fine if it is run in the Visual Studio environment but when run as a standalone application this exception is not caught. I have been cracking my head over this. I can catch and handle exceptions fine every where else but here. Does anyone know why this happens ...Show All

  • Community Chat Can I use only a xbox360.

    I am a hardcore gramer but I don't own a gaming pc is it possible to develop games on the 360 only. Ah. That would make more sense. Consoles are not exactly the same as PCs, so it takes some time to work out exactly how it translates. You do know of course, that Half-Life 2 took a very long time to redevelop for the Xbox To most manufacturers it's not worth it, especially when they don't see console players able to enjoy it. There's also controls. FPS's and RTS's pretty much fail on consoles because you don't have a mouse. (you can tell...I'm no Halo fanboy) The differences go on. But you'll never have all the consoles to play all the games, so just be glad you have a 360 and a lot of people don't. ...Show All

  • Software Development for Windows Vista Elevation Moniker and Lowering Privileges

    So it seems that the only way to get the elevated privileges that I require is via the elevation moniker, via the registered COM object and adding the elevation values to the registry. So my next question, how long do the elevated privileges last Say I create the elevated object, use it to set all my preferences, then release it. Is my application still running in elevated mode, since they authorized it Or does the elevation only last for the lifetime of that COM objects instance So it's only that object that has elevated privileges, and once I release it, they go away ...Show All

  • SQL Server Complaints about SSIS

    I'm sure Microsoft has heard most of these complaints many, many times, but I just have to rant about the issues I've encountered with SSIS over the last few weeks. Basically, SSIS, IMO, is a pile of dog ***. Yes, it gets the job done, but only in an extremely inefficient fashion: Objects are ID'd by a GUID. This means that, (for instance) if you change a connection by deleting an existing connection and replace it by another, all of the objects using the old connection break -- EVEN IF YOU USE EXACTLY THE SAME CONNECTION NAME -- because they only know the connection by the GUID. Deleting the old Connection, even if you rebuild the new one with exactly the same name, pointing at exactly the same server, etc., breaks everything because a ...Show All

  • Visual Studio Team System License to be purchased for TFS

    We need to buy TFs licenses urgently. Can you please tell me how many client connections are supported by a Team Foundation Server. Further on, when will we be required to renew the licenses. Your help in this regards will be of great help. Thank you in advance. Best regards, Vighnesh Hello Sanjay: Thanks a lot. may doubt was as to how many client connections can a TFS handle. You have cleared my doubts in all respect. thanks once again. regards, Vighnesh ...Show All

  • SQL Server Copying encrypted objects ?

    Hi, I would like to copy a function from one sql 2005 database to another, but the function is encrypted so cannot use the script to window commands etc... Is there a way of copying encrypted objects from one sql 2005 db to another I don't really care to know the contents of the function. Any help appreciated. James. I tried this out in DTC and although the procedure seems to run successfully, the function still does not appear in the destination database. I take it from this that you cannot copy encrypted functions using DTC unless there is a certain way of doing it ...Show All

  • Visual Studio Readonly compartment

    Hi, Did anyone already find how to make a compartment in a compartment shape readonly (The compartment contains items added by an addrule when the compartment shape is added to the designer). What I mean is to hide the 'Add new xxx' menu command. I found overrides for the delete command but not for the add command. Regards, W. Hi, You can remove the Element Merge Directive from the domain class that is represented by your compartmentshape to the domain class that is displayed as the compartment item in this shape. You can find these Element Merge Directives in the "DSL Explorer" toolwindow under the "Domain Classes" branch. Hope this helps. Edward ...Show All

  • Visual Studio Team System VSTS Dev edition and TFS - IDE Locks on Add Item - BEEPS

    When connected to TFS everytime I add an item to the project the IDE locks up in what appears to be a modal error of sorts. Once the item is added to the project I cannot do anything. Anywhere I click in the IDE I just get beeps. It is as though there is a dialog box open but I cannot see it. I have to kill the devenv process... When I reopen the project I have to show all files and include the file that I just added. I can provide a short video if you need an example. No it does not... Once I change focus to another application I cannot alt tab back onto the Visual Studio Instance. Of note, I just removed my Document X 4.xx from Innovasys because it would occasionally cause an error in the I ...Show All

  • .NET Development ODBC TableAdapter Updating

    Hi, I have searched high and low to find an example to solve my problem. I use ODBC to connect to MySQL database, or any other for that matter, the application has no real call for Datasets/adapters till now so I have not used them. I now need to load an image into a blob field so using Commands and readers do not hack it. Try as I might, and I have tried, I can not see how using dataset/tableadapters etc I can add a record to a table let alone stream into a blob field the image. Any help would be welcome. You may want to consider using the MySQL .NET provider instead. In any event, the link below should help: 23.2.5.4. Handling BLOB Data With Connector/NET ...Show All

  • Smart Device Development VS.Net 2005 how to clear form?

    I would like to call a method to clear the controls inside a form. eg. i am having textboxes,comboboxes,buttons....functions,methods etc in a form. Now i would like to use a method to clear everything that is in the form, making it into the default state. is there a way i can go about doing it Error 1 'System.Windows.Forms.Control.ControlCollection' is a 'type', which is not valid in the given context C:\Documents and Settings\student\My Documents\Visual Studio 2005\Projects\VCamAPP\VCamAPP\Screen.cs 12 55 VCamAPP i receive this error when i added into a class the following Control.ControlCollection coll = formScr1.ControlCollection; coll.Clear(); ...Show All

  • SQL Server Memory allocation error while processing cubes

    I get this error while processing my cubes: Error: Memory error: Allocation failure : Not enough storage is available to process this command. There is plenty of space left on the hard disks on this machine, I can't find a remedy for this problem on Google either. Any help would be appreciated. Thanks in advance. I've just encountered the same issue (right after upgrading to SP2). My last three loads have all failed with this same error...never saw it prior to SP2. ...Show All

  • SQL Server XML source drops data - can I fix in XSD?

    XML looks like this: < xml version="1.0" standalone="yes" > <hist key="ABC">      <r date="2006/04/21" time="08:53:04" seq="1029">123</r>      <r date="2006/04/21" time="09:21:40" seq="1613">123.25</r>      <r date="2006/04/21" time="09:37:22" seq="  89">194.21</r>      <r date="2006/04/21" time="09:37:22" seq="  91">194.21</r>      <r date="2006/04/21" time="09:37:22" seq="  93">194.22</r>      <r date="2006/04/21" time="09:37:22" seq="  95">194.22</r> </hist> In SSIS it reads all t ...Show All

  • .NET Development Web Services + VWD 2005 Express Edition

    Hi, I have som problem to connect and retreive data from web services. I try to 'add web reference' as described but it is not working as it should. I don't see the globe icon before the web service for example. So my first question is - Is it not possible to work with web services in VWD 2005 Express Edition Second Q - If it is possible, where can I find info and instructions for how to do it, i.e. connect and retreive data from a web service (external) Thanks in advance for help and support. ...Show All

  • SQL Server Strange Behaviour excecuting procs from Visual Studio 2005

    Hi there, I am having possibly the weirdest problem I've ever had with Sql Server. I have a database project in a Visual Studio 2005 solution (ASP.NET 2.0 Web App) and am loving the source control that gives me, but desperate to get to the bottom of this. I made some changes to a proc in VS, then execute the create script by right clicking and clicking execute. I then execute the proc from Management Studio and it returns no results . I cut and paste the query from the proc first and run it, it returns results . I run from VS - Execute - no results I copy the create script from VS and run it in Management studio - results I run from VS - Execute - no results I script the create proc from Management Studio an ...Show All

  • Visual Basic populating an Access database using visual basic 2005

    I am trying to create a new employee application that gets input from a user in text boxes and then take that information and populate a database in Access that will later be pulled to the Track IT! database on SQLserver2005. How do i do it Thank you. IGiberson wrote: Also, it is a 3 form application... with different information on all forms... would it be easier to populate the database each time they go through the form or should i just have it get all the info at the end and populate it then it depends entirely on the database and how you want the application to run/how it should run. If the forms are for 3 different tables then I would do the operations on the table on each form, ...Show All

©2008 Software Development Network