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

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

BrianHuang

Member List

David Mc Dermid
Eugene Ye
vec7or
UtterMan
Becker2
asisurfer
João José Lobo
ronstoney
Slim
davehomebrew
Adam Uebel
J.B. III
manuel0081
RayPowers
JoseBarrientos
brian_tsim
swells
Tarak
Zulbaric
Rajesh batchu
Only Title

BrianHuang's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. Is XBox Live / new DirectShow replacement coming to the PC still?

    According to this website near the bottom, ( http://www.toymaker.info/Games/html/gdce_-_xna.html ), XBox Live is heading its way to the PC which I think is really neat. It also says that DirectShow is getting a new media SDK. I'm curious, since it was posted a while ago, is this still in effect It would be nice to see new these tools come out so I don't have to rely on third-party tools and SDKs. Thanks in advanced! Please post DirectShow questions on the DirectShow forum . Regarding Live services on Windows: Stay tuned. ...Show All

  • Visual Studio Tools for Office VSTO 2005 Install before VS 2005

    If I installed VSTO 2005 and later want to install VS 2005 Professional will there be a problem or should I uninstall VSTO 2005 first. In other words do I have to install VS before VSTO for the IDES to merge properly I have done exactly the opposite of what you say: first installed VS 2005 Pro and then installed VSTO. It works just fine. It seems that the IDE loads all the available components, even if they don't belong to the same installation process. Remember, VS 2005 Pro doesn't include VSTO, so uninstalling VSTO and installing VS Pro will eliminate the option to create Office projects. One thing is for sure, the "add or remove programs" list will still show both versions (in full size) if you install one over the ...Show All

  • SQL Server Absolute Beginner in SQL 2005 EE, needs help.

    Hi everyone. Using C# 2005 EE with SQL 2005 EE I am really new to SQL, got qns here. Can my program with SQL database run correctly on another com using win xp home edition, with only C# 2005 EE installed Is it compulsory for every table in a database to have a primary key Can I extract a data from a specific cell in a database table(click button get data) How do I go about doing it (the simplest n straight forward method) Many Thanks in advance. Regards, dragoncells.     dragoncells wrote: I assume you are telling me that if my application has a SQL database than I must have SQL server 2005 EE installed on that computer for it to work. You don’t need to ha ...Show All

  • Windows Forms Part of user control hidden inside groupbox

    Hello all, I've created a control derived from UserControl class. The purpose of the control is to simulate the DateTimePicker control in windows form but I need some domain-specific behaviour. I had a masked text box to have the date and a little button beside it. When you press the button it expands the control area and show a MonthCalendar from where you can choose dates etc. Now everything was fine, I was very happy with the outcom until... I droped my user control in a GroupBox control in my form. The height of the GroupBox is small, so when I press the little button, it hides my month control. I noticed that the windows forms' DateTimePicker control does not show this behaviour-problem even if it is inside a GroupBox of limited ...Show All

  • Visual Basic How to access the clicked item?

    Hello, with wich variable can i access the clicked item in a MenuStrip I’ve tested it with MenuStrip1.ClickedItem but that doesn’t works. Please help me. Thanks. PLEASE TAKE NOTE OF TESTED CODE: < Global . Microsoft . VisualBasic . CompilerServices . DesignerGenerated ()> _ Partial Class Form1 Inherits System . Windows . Forms . Form 'Form overrides dispose to clean up the component list. < System . Diagnostics . DebuggerNonUserCode ()> _ Protected Overrides Sub Dispose ( ByVal disposing As Boolean ) If disposing AndAlso components IsNot Nothing Then components . Dispose () End If MyBase . Dis ...Show All

  • Visual Studio Express Editions Unable to read data from the transport connection:

    hi, i am trying to send email using VB2005 but i am getting this Exception. "System.IO.IOException = {"Unable to read data from the transport connection: net_io_connectionclosed."}" while from same machine i am able to send email with same SMTP server from OutLook Express. what could be the reason Finally I found the reason for the error: Some of you solve the problem when turn off integrated autentificaion on configuration tab of SMTP. The problem is that the user who execute your ASP application doesn't have permisions to access SMTP server. try adding credential to the CredentialCache object for instance.. if you are running a windows app, simply add client.Credentia ...Show All

  • SQL Server Thank you for PIVOT and UNPIVOT!!!

    I just used PIVOT and UNPIVOT to save myself what would have been close to an extra page of code. Thank you Microsoft! I'm sorry, but I just have to say if you have columns and rows to transpose in SQL 2005, learn about and use these functions. They are lifesavers. It is really nice to have some usable functionality from Analysis Services in T-SQL. This definitely falls on my list of favorite enhancements right after RANK/DENSE_RANK/NTILE/ROWNUMBER. ...Show All

  • SQL Server Threat due to SQL Injection

    I have gone through a terrible situation a week ago. One website was working fine since couple of years and suddenly it was hacked. I checked the entire code in all the pages and it was not at all modified. When I checked the database, I found that javascript was inserted in it. As soon as a recordset was displaying it, javascript redirected that page to the hacker's site.. This was the mechanism was used by hacker. Which database can be more secure in such situations Nishith Shah Nishith Shah wrote: Thanx a lot buddy. But still I am not able to solve the issue. I have put strict validations on all user inputs throughout the site.. But still, one more page was hacked last night. Situation is becoming worse.. Kin ...Show All

  • SQL Server RS2005 Date parameter - JScript error

    I have a RS2005 report that was deployed to a ReportServer and has been running for over 1 month. I personally have not run this report in the past month, however, today when I tried to run it I got an error trying to select a date parameter. I can't paste samples of the windows displayed, so I'll do my best to explain. When I click on the report, it goes to the View window and displays 2 date parameter fields. When I click the icon next to one of the parameter fields, I get an error window that says A Runtime Error has occurred. Do you wish to Debug Line: 383 Error: 'resultfield.id' is null or not an object I click Yes and get a VS Just-in-Time Debugger window, where I choose New instance of VS 20 ...Show All

  • Visual Basic USB driveletter

    Hello everybody, The last two day's i'm trying to enum my USB devices and the drive letter. With WMI i'm able to get a hole lot of information about USB, but i can't make the link to the associated drive letter. Does anybody have a hint how to accomplisch this With regards, Jurgen Careful with that approach as you can assign a drive letter manually, I for instance move the CD to Z:. For CD use if d.drivetype = drivetype.cdrom. Good luck, I guess you may have to use several methods to get to the right information you need. I know with my iPod code it only really works at identifying the iPod because the iPod has a known directory structure, but if that changed... If I come up with something else I will l ...Show All

  • Visual FoxPro convert memo field and contents to text file

    Hi, I have a table order.dbf in visual foxpro which contains of memo field. My table is as below:- order_no order_date prdcode order_qty remark B00000001 26/07/2006 2020173 10.0 memo When I double click the memo I'll be able to see the details. Eg. order has been cancelled. I would like to convert all the table information including order has been cancelled to text format with a specific alignment. I'm beginner user of visual foxpro. Kindly advice how to do that. Thank you. If the contents of memo field in all the record is less. use a report writer to make a report. then give the command repo form <filename> to <ouputputfilename.txt> ascii t ...Show All

  • Visual Studio 2008 (Pre-release) Loosely coupled servers: Datacontracts and proxy question

    Hello All. Would you please take a look at a design problem I have with WCF. We use a component based architecture and are looking to use WCF in a server to server environment. One server is the data provider and 3 identical servers are the consumers. We are struggling to keep the servers loosely coupled. Therefore the Provider has a simple service contract, which a consumer calls on startup to get initial data: [ServiceContract( Name = "PriceProvider", Namespace = " http://www.mw.com ")] public interface IPriceProvider { [OperationContract(IsOneWay = false)] List<Price> RequestAllPrices(); } Every minute we want to push changes (via timer) to the consumers. Therefore the consumer ...Show All

  • SQL Server Search functionality in reporting services

    I am creating a simple report in reporting services. It contains basic fields such as first_name, last_name, ID#, location. Is there a way to create a search/find function that lets me input a field and it will find the results from any column I think I can figure out how to search by 1 single column but want the user to input one thing and search multiple fields. For further clarification...if they know the last_name, but want the id#, they can search for last name and get all the columns for the particular search....same would work for, if they know the ID#, but want the last_name, they could search for ID# and get all columns in the result. Is this possible I am not sure this is ...Show All

  • Visual Studio Team System Cannot pass a GCHandle across AppDomains using unit testing.

    Got a manage C++ class in a class library that uses unmanaged C++ lib. The managed C++ class handles callbacks from the unmanage C++ lib by a delegate "gcroot<MessageDelegate^> m_MessageDelegate". To invoke the delegate I use the call "m_MessageDelegate->Invoke(nMsgId);". This works without any problem when running applications using this class library but when testing the class library using unit testing I got the error "Cannot pass a GCHandle across AppDomains" when I invoke the delegate. When running Unit Tests by default we create an App Domain per test assembly. It seems that MC++ has its own app domain for unmanaged code and gcroot does not allow marshaling across app domains. To walk aro ...Show All

  • Visual Studio 2008 (Pre-release) Dynamic Queries and Nullable Fields

    Hi All, I have been playing around with creating dynamic queries using DLINQ/LINQ and whilst the functionality is great I have run into a problem. It revolves around creating a query using an existing object with nullable fields. Essentially I am trying to create a query that will check for duplicate values in the DB based upon an object I have in memory. The problem arrises when I try to construct the expression: object value = MyContact.GetType().GetProperty("Myproperty").GetValue(MyContact,null) // value now contains a system.int, but Myproperty is defined as system.nullable(System.int). If I then try and do this: IQueryable q = EntityInfo.QueryableTable; PropertyInfo Prop = MyCustomer.GetType().GetPrope ...Show All

©2008 Software Development Network