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

Software Development Network >> Ryan Po's Q&A profile

Ryan Po

Member List

lanerebel
Devi Vara Prasad
Art Hill
Mircea Cimpoi
GregCrossan
Emadkb
Jim Smith
BobJski
JerryW
DTSlurve
Varun bali
Mike Harsh
Parrot88
Ams
Steamboat
Dougie321
Sandro K
DGKol
ManasBhardwaj
Wynand
Only Title

Ryan Po's Q&A profile

  • Windows Forms DataGridView Problems Adding New Row

    I have a DataGridView and I set the EditMode to EditOnEnter.  I am also using the DefaultValuesNeeded event to poplulate each column in the row.  If I tab accross the new row and off of the DataGridView the new record is not added and when I set focus back on the DataGridView a System.InvalidOperationException is thrown.  But if I set the EditMode to EditOnKeyStroke this error does not occur. Is this a bug or is there something else I should be doing when the user tabs off the new row   If this is by design what should I do to avoid the exception Do you perform any validation in y ...Show All

  • Visual C++ Convert {1,2,3,4} into separate integers 1 2 3

    I need to convert user input "{1,2,3,4}" into separate intergers 1 2 3 4. Can you give me some hints to get there Thanks. Hi, you have different ways of doing that: 1- use the strtok to split by ',' and go through each element and discard all unwanted chars like spaces and '{' or '}' and use atoi (for integers) or stringstream if you want to use streams. Example: int val[256]; // this should be dynamic (count the number of , and add it +1 then you have the number of integers in the input) str = str.substr(1, str.length() - 2); // removes the { } unsigned int index = 0; char* ...Show All

  • Windows Forms How to show an index search like display in listbox?

    Hello, I would like to link an user input textbox with a list display, while user input character will be compared with the listbox content and the closest one will be poped up to the top of the listbox. (The way a lot like Dynamic Help Index works). Could somebody please suggest a way to do this. Thank you very much. James Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged Dim foundindex As Integer = ListBox1.FindString(TextBox1.Text) ListBox1.SelectedIndex = foundindex End Sub You can also use FindStringExact. ...Show All

  • Visual Studio Why won´t my active directory based MemerberShipProvider work?

    Hi I am trying to setup a MembershipProvider for my ASP .NET application that is based on my on an Active directory server that i have running here at the office. I have created a domain called SKYVIEW on my win2000 server. I have created one user in this domain called SkyView1 and another user called ADAccess which i have given the right to read the the active directory info. I have no problem logging into to this domain using a regular login-prompt. I can also retrive directory entries with code similar to this. DirectoryEntry ent = new DirectoryEntry ( "LDAP://192.168.2.5" , "ADAccess" , "A ...Show All

  • SQL Server Unable to add user to a role

    I'm having dificulty trying to add a user to a role in SSAS. I am operating in a development enviornment with two servers, 1) a domain/file/print server running Windows Server 2003 and 2) my SSAS server running on my laptop with Windows XP Professional. When I try to add a user to a role it seems that I am only able to add users which have local logons to my laptop. That is the only location listed when trying to browse the users. Is there any way to add a user from my Windows Server 2003 domain i.e. domain\username Every time I try this it doesn't allow me to continue. I'd appreciate any ideas. I'm not much of a network/secuity person s ...Show All

  • Windows Forms ListView in c#

    In ListView the view prperty is list and if i have text too long the list view hangs while scrolling. Why How to clear the problem. Could you provide some sample code as to what you are doing including any event handlers that you may have set up to react to changes in the view Are you using virtual lists I created a list view with all the letters of the alphabet duplicated 150 times. I scrolled down and sideways without any problems. Michael Taylor - 2/7/06 ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. How do I develop games for the XBox 360?

    The starting point to learn how to build games for the XBox 360 is here . In a nutshell though, building games on your PC using the DirectX SDK is the best starting point for building games for the XBox 360. You can't get an XDK for xbox or xbox360 unless you are a registered developer and for now this means you are a big company with lots of $$$$ All the public information is here: http://www.xbox.com/en-US/dev ...Show All

  • Windows Forms Formatting

    Im using VB.NET 2003 and I'm trying to format a textbox to show dates without the time and then a couple of textboxes to show currency with the other textboxes left the way they are. When I create a new binding for my textbox with a format and parse handler for those textboxes they do show the formatted values correctly but then when I navigate, or addnew record, the formatted textboxes stay the same while the other textboxes change values as I move through the records. Is there a simple way of explaining how to format textbox data so that it remains in sync with unformatted textbox data which can also be updated, added to, deleted, et ...Show All

  • .NET Development how to convert pdf,word to xml document

    Hi, I need to convert a pdf or a word document into XML format using C#.net..can anybody help me What do you need this for What XML format are you looking for You can work with word via COM or .NET, but you need to buy a library to work with PDF. ...Show All

  • Visual Studio Team System Special icon for branch

    Hi, Currently, Folders and branches look the same in the IDE (like regular folders). 1. Is it possible to change the branch icon to a different one 2. Is it possible (in the future) to see a graphic window for the branches (like in ClearCase) Thanks, Michael Maybe. I'm not convinced this is a good idea. Should files that were created thru branching also have this icon instead of taking it from their file type Ok, so we apply your rule only to the root of a branch operation...except files can be branched directly too. Ok, so we special-case folders. Are we willing to make extra server round-trips when refres ...Show All

  • Visual Basic setup project can not build

    Hi, I am using vs 2003 to build a setup project but got this error message "Could not find file ..., Not enough storage is available to complete this operation." I checked the path of the file, it is correct. After I remove this file from the setup project, I can build it successfully and the result msi file is about 250MB, the file I removed is about 260MB, is there any limitation about the size of the file in setup project or the total size of msi file If so, how can I build the setup project I appreciate your help. Unfortunately, there are some problems building setup projects with very large fil ...Show All

  • Windows Forms TabControl

    I have a TabControl with 5 Tab pages. I wish to focus on tab page 2 when the user logs into teh application. Can someone show me how to do this I tried the code below but is doesn't work! if (MainMenu.ContactSurName != "") { tabCtrlAccountData.TabPages[2].Focus(); } Hi, use this: tabControl1.SelectedTab = tabPage2;   ...Show All

  • .NET Development AWhy Does Deleted Rows Keep Coming Back?

    Can someone comment  (DataGridView dev team...hint, hint, nudge, nudge!) why  deleted rows in the grid keep coming back.   I'm sure its programming error on my part, but after about 3 weeks of fiddling with the DataGridView, trying to find the ideal steps to do all the steps, I can't seem to find the ideal combination to assure that rows get deleted and stay deleted.  Also, seeing a lot of errors trying to save rows.  I've implemented various combinations of: dataGridView9.EndEdit(); customerBindingSource.EndEdit(); myDS.AcceptChanges(); customerTableAdapter.Update(myDS); Also, tried to F ...Show All

  • SQL Server Dynamic loading of a file

    I've been told by Kirk that it is possible to load a file whose metadata is unknown at design-time by using bulk insert along with a file (not a flat file) connection. He didn't elaborate though. Can anyone explain -Jamie Hi Kirk. Any guidance then on how to use SSIS to export a dynamic collection of tables as flat files. I used a foreach loop and a user variable to set the file name, the first table works fine but then it fails on the second because the column mappings are not being dynamically set in the dataflow task. Alex ...Show All

  • Windows Forms Walkthrough: Using a Custom Action to Create a Database at Installation

    I am studying the Walkthrough about Using a Custom Action to Create a Database at Installation in ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.VisualStudio.v80.en/dv_deploy/html/2527c071-bf97-4f66-8e64-10e9b67a0569.htm There are codes: Private Sub ExecuteSql(ByVal DatabaseName As String, ByVal Sql As String) Dim Command As New SqlClient.SqlCommand(Sql, sqlConnection1) ..... End Sub I can't figure out how the variable sqlConnection1 come from. Could someone help me Check your VB application, if you have added sqlconnection in Designer mode. Visualstudio by default creates controls ...Show All

©2008 Software Development Network