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

Software Development Network >> Andy Kwok's Q&A profile

Andy Kwok

Member List

Warren LaFrance
Lionel18330
Windows Mobile 5.0 smartphone
Alexander M.
Mike Pelton
Deepak Rangarajan
Pengos
mjhadden
ittay eyal
Clement Yuan
Ingman
tomdeloford
Lishia
thdwlgP
shamrock17
eduboys
Igor Lemsky
Peter Ritchie
BHGreene
Nissim L
Only Title

Andy Kwok's Q&A profile

  • Visual Studio Team System TFS and CALs

    Hi All, I'm sure this question has been asked before, so I apologize in advance - and yes, I did search for a response to my question, but did not find a complete answer. Here goes... We're planning to setup TFS in a dual server environment (app & data tiers). All developers and QA have their own MSDN subscriptions (suite, dev, or test). I've been working with our IT department on this and they just got off the phone with Microsoft regarding CALs and here's the response: " I just got off the phone with Microsoft and here is what I found out. The licensing specialist told me that this [dual server - TFS/SQL] is a typical front ...Show All

  • Visual Basic Get information from database

    Hello I was using Visual Basic 6 and when I want to get information from a database, I write: Dim Con As New ADODB.Connection Dim rst As New ADODB.Recordset Set Con = New ADODB.Connection Set rst = New ADODB.Recordset Con.Open "Provider=MSDataShape.1;Extended Properties='Jet OLEDB:Database Password=111';Persist Security Info=False;Data Source=D:\Programs.mdb;Data Provider=MICROSOFT.JET.OLEDB.4.0" rst.ActiveConnection = Con rst.Open "Select tab1.* from tab1 wehre tab1.Name='Example'" MsgBox rst.Fields("FileName") When I wrote that in VB 2005, it said about this line (MsgBox rst.Fields("D ...Show All

  • Windows Forms Changing Keyboard Layout ???

    Hi for all I have samll problem but need your help My Keyboard Language is ar-EG (Arabic Egypt) O.K programmatically I want to change the keyboard layout at MSDN http://msdn.microsoft.com/library/default.asp url=/library/en-us/intl/nls_238z.asp ar-EG ID is 0x0c01 Using LoadKeyboardLayout API Function and giving it this ID I can not switch the keyboard layout Why any advice to solve plz thanks You need to use ActivateKeyboardLayout to activate that keyboard. If this didn't work please provide the code snippet. ...Show All

  • Windows Forms TreeView scrolling up

    I have a TreeView control that when expanded is way too big to fit on one screen vertically. I have coded drag drop stuff which works absolutely fine except for one small flaw. If I am dragging a node downwards, the TreeView scrolls down when I get to the bottom of its area to bring the stuff below into view. If I need to drag a node upwards then the same thing doesn't happen. This means that my users can't drop a node onto one which was above the viewable area of the TreeView before the drag operation started. Anybody got any ideas hi, Why are they not able to drop a node onto the top node Could you ple ...Show All

  • Visual C++ Is the /GS switch working as expected in Beta 2?

    Something appears a little broken in VS 2005 Beta 2. The code below will produce the expected buffer overrun dialog box when compiled retail in VS 2003 but does not in VS 2005 unless I set optimization to /Od. void causeAnOverrun( _TCHAR *badName ) { _TCHAR myNameBuffer[5] = {0}; _tcscpy( myNameBuffer, badName ); } int _tmain( int argc, _TCHAR* argv[]) { _TCHAR *name = _T("Long Name"); causeAnOverrun( name ); _tprintf( _T("I got past the overflow!!\n") ); return 0; } Is this a known issue, or should I submit a bug George George: you should go ahead and file the code-generation bug so th ...Show All

  • Windows Forms DataGridView KeyDown?

    (VS2005 - beta 2) Hello, is there anyway to capture a keypress or keydown event in the DataGridView   I know there's events called KeyDown and Keypress, but if the DGV is in edit mode, they never get caught.  My ultimate goal is to make it so pressing enter moves to the Cell to the right, instead of to the next row but I need to know what key is being pressed before I can do that. Thanks -Adam Ive the same problem. Its ridiculous that such improved control cant do that simple thing. Ive tried a lot of ways such Overriden ProcessCMDKeys and nothing. Also ive been searching for help in a lot of ...Show All

  • SQL Server Free space information in Management Studio

    In Enterprise Manager, the taskpad view showed me how much space is available in the data and log files. Is this information available anywhere in SSMS For instance, in one database EM shows me that I have 1200MB free in the data file and 400MB free in the log file. It also says, at the top of the taskpad view, that I have 0 free space in the database - I'm not sure how they relate, but in SSMS the only number that I can see is the 0. It also takes several mouse clicks and scrolling over to see the breakdown of the data and log sizes. OK, further research uncovered the following: http://www.sqlservercen ...Show All

  • .NET Development The SqlConnection.ConnectionTimeout Property =0 doesn't cause effect

    Hello, I have a stored procedure which returns a resul tset , but it spends more than 15 seconds in process the information and return it. (executing it directly in the QueryAnalizer spends about 36 seconds) I have modified directly the connection string property, but the message exception continues even if the value is 0. ConnectionString: "Data Source=172.17.30.5;Initial Catalog=infoaccess;User Id=user_infoaccess;Password=info; Connect Timeout=0 " Exception message: "Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding." I need tha ...Show All

  • .NET Development Web Service client and imported common types

    I have a couple of web services that import types from external XML schemas in order to re-use common types. When I create a client application (one client application that consumes both web services) for these web services (by using the Visual Studio Add Web Reference wizard based on the web services' WSDLs) the types are automatically imported into the client code in two separate namespaces (say Service1.AccountInfo, Service2.AccountInfo). AccountInfo is identically defined in both Service1 and Serivce2 and should be interchangable between the two services in the same client application; but the Add Web Reference wizard forces them i ...Show All

  • Visual Studio Team System problems with team build

    hi, when i  invoke a team build , i get an error saying " the build machine could not be reached". i have the team system installed on a single machine . in the  create new team build  wizard i have also specified the machine name on which i have the installation. someone kindly help me if they know wats wrong!!!!! Please look at http://forums.microsoft.com/msdn/ShowPost.aspx PostID=3310  and http://forums.microsoft.com/msdn/ShowPost.aspx PostID=3588 . These 2 posts have the required information. Ramesh ...Show All

  • Windows Forms Newbie Ques: Simple Line Chart

    Am totally clueless with this graphics drawing thing. All i am trying to do is get a simple line chart drawn, adding new values to the chart on a timer event. Now I know how to draw a single line in a picturebox when the form starts up.     Private Sub xyGraph_Paint(ByVal sender As Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles&nb ...Show All

  • Windows Live Developer Forums msn messenger blocks...

    hi ppl. i often use messenger 7.5 but last few days i wans't able to use it, i do the login and past the moment i get in the program blocks and it stops responding... same thing happens to windows messenger, the one that comes with windows.. i have unistalled the program and installed it again but the problem continues.. i have windows xp sp2 with bit defender 9 antivirus and sygate firewall.. but i had those programs before the problems began so i dont know whats happening... can someone help me ! ! yes its very inconclusive... i've tried many versions of messenger but all dont work, i do the login and seco ...Show All

  • Visual Basic Debugging: Not showing updated forms

    I have a problem with my application. On Design view I add elements to the form, e.g. buttons, textboxes or Code View e.g. editting codes etc. anything... and use the debugger, the objects and changes dont show up. It still stays the same as before, and i cant see any changes to my program. When I start a new project, everything is back to normal! Has anyone got an idea as to what has happened I'm using Visual Basic 2005 Express Edition thanks! Hi Mendi, If there are build errors in a project, you have the option of running with the last "good" version of the code. Is it possible this is hap ...Show All

  • Visual Studio Team System TF42057: build request is not from the configured team foundation server

    Hi, I installed TFSBuild on the application tier of my team foundation server. When I try to execute a build, I receive the following error: "TF42057: The build request is not from the configured Team Foundation Server. Please contact your Team Foundation Server administrator for help." This occurs whether I do it from the VS2005 IDE or if I log in to the application tier and run it from the command line. I took the steps outlined by Kishore to turn on logging and restarted the service, but nothing is showing up in the logs. Thoughts Each build machine is only allowed to "talk" to one TFS - an attempt to start a bu ...Show All

  • SQL Server Report Properties -> CODE issue

    I'm trying to add a code function that returns a text field that is associated to one of the report parameters but am having problems with syntax. The function below works in VB or VBS w/o erroir but in the SQL report i get the following error message. "[BC30807] 'Let' and 'Set' assignment statements are no longer supported." Removing the set statements alone only casues other erorrs. I've tried googling for examples but can't seem to find any. Anyone able to point me in the right direction Is there a reason you are embedding your query in your code Why not just create a Reporting Services data set and then asso ...Show All

©2008 Software Development Network