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

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

BabyGBear

Member List

dk.suresh
Peca55
Dimmi3
Bumper
Amde
rhl
chongqing
raedbenz
prithvi4u
Yogish
mig16
Laxmi Narsimha Rao ORUGANTI MSFT
4lb3rt
Rocinante8
.NETPhreak
John Oliver (UK)MSP, VSIP
AlucardHellSing
Jeph
Princila
mkb137
Only Title

BabyGBear's Q&A profile

  • Windows Forms Mid child - can't get cursor to appear in box with tabindex of 0 no matter what i try

    Hello everyone, I have a C# 2005 winforms application which is designed as a mdi application. I am having a focus problem with it that I cannot seem to solve. If I open a mdi child and it is the only child form that is open in the mdi parent then the focus sets to this mdi child without issue and the cursor appears in the text field with the tab index of 0 exactly as it should. However, if I open up a mdi child form and another mdi child form is already open in the mdi parent, then the mdi chid becomes active (the title bar is bright blue as if it is active) but the cursor stays on the first mdi child window. So if I hit the tab key even though the back window does not have focus, the controls in the back window are being tabbed through ra ...Show All

  • Visual Studio Automating MSBuild once code is checked into Source Controllers.

    Hi, We would like to know in what way we can automate the MSBuild to build the source code which is checked into the Source Controller like VSS. Please provide us some useful information / links / samples on this topic so that it will be helpful for us to go ahead to build our application automatically once we check in the code into Source Controller. Regards,   Here is another Thread which discusses the use of VSS and MSBuild , there are also a number of posts on this forum about using MSBuild with VSS. ...Show All

  • Visual Studio Loading solution verty slow

    Hi, After having developed a package and tested ok on a medium-sized solution (6 projects), we notice a very slow loading of a bigger solution (32+ projects with several subfolders each). Setting the BindingRecipeRun="false" in the .gpState file does not seem to help. The loading takes 15 minutes easily... Any ideas on what could be causing this delay and how to remedy this Thanks in advance, Michel Liesmons. That's what I thought too, but enabling 1 or 20 entries did not seem to make that much of a difference. And after all, all that happens in there is checking for the target-type and its name... kr, Michel. ...Show All

  • Windows Forms ErrorProvider & its tooltip

    I'm using .Net framework 2.0.50727. As I know, after the ErrorProvider detects an error, it will display a tooltip once the mouse moves to the 'X' position. Most of the time it is correct, but sometimes it seems that the tooltip message got lost, and no tooltip showed up. And this happens like random. It really confuses me. Could anyone tell me why Tooltips don't show forever, they disappear after a certain amount of time and don't reappear unless another tooltip is shown. The ErrorProvider does not provide access to the ToolTip associated with it (it's separate from the parent form) so you can't change any of the timings of it's tooltip. ...Show All

  • SQL Server DTS import stores the last {LF} in Table.

    Hi i have a csv file where the last column usually happens to be null. So my file is like this: 1,2,3,,{LF} 4,5,6,,{LF} 7,8,9,,{LF} {CR} I run the dts export from csv file to db and it doesnt save the last row (column5) in the table us null. instead it stores the {LF} character. Ascii =10. How can i resove this problem. the csv comes from a third party application. the DTS needs to un automatically and somehow resolve that last problem on its own. but how is there a code that can trim the last character in the last line to delete the last {LF} or some query in DTS that can achive this..... DaPosh wrote: 16896,"Optioned",25510,65,0,,,,20060920,25510,FALSE, 16897,"Optioned",25510 ...Show All

  • Visual Studio Document Explorer Crash

    Thought I'd start a new thread, since I'm using Visual C# Express, rather than full VS2005. Windows XP Pro SP2, Visual Studio 2003 Pro, SQL Server 2000 Developer Edition, Visual C# Express, Visual Web Developer Express, SQL Express 2005, MSDE. I also have Virtual Server 2005 SP1 beta installed. Problem just started this weekend. Whenever I click on any topic in the Index, Document Explorer crashes. I've tried Repair on Visual C# Express, Visual Web Developer Express and MSDN 2005 Express. Same problem. It was working fine last week, I'm not sure what's changed. I have previously had VS2005 beta2 installed, but I removed that by following the instructions before installing the Express Editions -- and, as I said, they were working fine last ...Show All

  • Visual Studio Team System Bug with Remote Service Binding

    I have a remote-service-binding script which looks like this: CREATE REMOTE SERVICE BINDING [$(MsgrService).RSB] AUTHORIZATION [$(ServiceOwner)] TO SERVICE '$(MsgrService)' WITH USER =[$(MsgrServiceOwner)], ANONYMOUS = OFF and BUILD says no problems, but on DEPLOY the generated output looks like this (and fails, because the username has a period in it): CREATE REMOTE SERVICE BINDING [$(MsgrService).RSB] AUTHORIZATION $(ServiceOwner) TO SERVICE '$(MsgrService)' WITH USER =[$(MsgrServiceOwner)], ANONYMOUS = OFF notice the missing brackets around the variable $(ServiceOwner) now... of course this variable is declared in the dbproj file (along with many others) ...Show All

  • Visual Studio Class and Method Metadata Description for VS.NET Intellisense

    Hi, In VS when we make use of any inbuilt Class or method, we get a yellow color pop up description about that Class or method. However, I am not able to providde the same kind of descriptions for the classes and functions I have built. I need the description for the methods to pop up as these classes and functions will be consumed by other developers. I believe we need to make use of tags like C# : [Description] or VB.NET : <description> However, I am still unsure how to go bout it.... Can anybody help Thank you. - Goldy Verma Here's a tip: view the class in Visual Studio Class Designer. Select the class or one of its members and there'll be properties that you can edit ...Show All

  • Visual Studio Tools for Office Copy Data From One Excel Sheet to Another

    Copy Data From One Excel Sheet to Another using Usedrange . i.e i dont want to run a for loop for row and column and iterate it cell by cell and paste it .... what i want is to use something like clipboard.SetDataObject ..... so that entire sheet data gets pasted into another specified sheet .... i am using VSTO 2005 , .NET version 2.0 ,c # regards Hi You can try doing something like this: this .Range[ "A2" , "G6" ].Copy(missing); //Copies data to clipboard OR Globals .Sheet1.Range[ "A2" , "G6" ].Copy( Globals .Sheet2.Range[ "A15" , "G19" ]); //Copies data to another range Hope this helps! Thanks, Nikhil ...Show All

  • Visual C# Invalid length for a Base-64 char array

    Hi... I have sample code below Code for encryption and saving to database //empName until empAddress is a string variable //txtName until txtAddress is a Textfield empName = txtName.Text; empPhone = txtPhone.Text; empSalary = txtSalary.Text; empAddress = txtAddress.Text; UTF32Encoding ue = new UTF32Encoding (); CspParameters cs = new CspParameters (); cs.KeyContainerName = "The Fox" ; RSACryptoServiceProvider rsCrypto = new RSACryptoServiceProvider (cs); byte [] bEmpName = ue.GetBytes(empName.Trim()); byte [] bEmpAddress = ue.GetBytes(empAddress.Trim()); byte [] bEmpPhone = ue.GetBytes(empPhone.Trim()); byte [] bEmpSalary = ue.GetBytes(empSalary.Trim()); byte [] cry ...Show All

  • .NET Development XMLHTTP file size limit ?

    Hi, I encounter this problem while developing a Jscript app, when i try to upload a file larger than about 10K and then download the same file again from a JBoss App server, i could not get back my original file, the file appears to be trancated. The office system i used is chinese, the file encoding i used might be double-byte, is this a problem any idea William The size limit for XMLHTTP is much higher. You may try Msxml2.ServerXMLHTTP.4.0 or WinHttp.WinHttpRequest.5.1 objects instead of XMLHTTP to check if it's XMLHTTP-related or server-related issue. If you figure out that XMLHTTP is the culprit, please provide the full version of MSXML you are using. Thanks, Anton ...Show All

  • Windows Forms ListView BeforeSelect Select Event

    Yeah, I know there is no such event :) TreeView.BeforeSelect event allows to cancel selection of different node, my question is: Is there a graceful way to implement something like this for ListView control. One use would be lets say in outlook style application. We have TreeView on the left, ListView on the top and some sort of textarea on the bottom. user selects the message using tree/listview controls and edits it in textarea, and then hits different item in list view. I'd like to be able to show him a dialog Wanna Save (yes/no/cancel) and if he hits cancel don't change the selected item in listview. But i dont think this is possible with current control. Anyway, i'd apreciate any suggestions Thanks ...Show All

  • Visual Studio Express Editions cursor position in textbox

    Can anyone tell me how to define cursor position in "any place" in a textbox Thanks nbugz !! now I can differentiate between cursor and caret. Infact, my question was about caret. How do I define where my caret is in the textbox Is there a way of defining in general the "current caret location" in a textbox These answer would help a lot !!!!! Thanks ...Show All

  • SQL Server configure web synchronization pb

    hi, First, sorry for my english, I'm french When i try to configure web synchronization, I get the following err " success Hresult 0x8007000"(!!!) for the step : setting the snapshot share permission I really don't understand : my folder have all the rights for the user agent... I don't know what to do. Config . SQL Server SP4,Microsoft SQL Server 2005 Mobile Edition It had worked but I had to reinstall the system and now, it does not work anymore Thans for your help, Eric 1) No, I'm not able to configure it (the error occurs when I try to configure the replication, so I'm not able to sync 2) yes 3) I use sqlcesa30.dll I'm not sure I understood what you wanted me to do. ...Show All

  • Visual Basic read binary data stream from com port, write to file between certain characters

    I am new to using vb.net with binary and com ports and have a project where I need to monitor com5 for a binary data stream that I will receive every 5 minutes from a sensor. The data stream starts with "cs" and ends with "end" and I want to simply save the binary data that falls between these characters as a file with a ".000" extension. The "cs" and the "end" cannot be in the resulting file. I wasn't sure about removing "cs" and "end" since the data is in binary. Do I need to convert the entire binary stream to ascii and test for the "cs" and "end" then convert back to binary before saving Does anyone have a code snippet or suggestion on how I sh ...Show All

©2008 Software Development Network