Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by SeanGriffin

  1. SeanGriffin

    Debugging in Visual Studio 2005

    Copying the pdb file into the GAC is not quite as simple as you impled. If you use the command prompt you can actualy see the directry structure under the assembly directory. Your dll will be in a directory somewhere along the lines of the following. The pdb file needs to go in that...
  2. SeanGriffin

    no user for checked out files

    I believe if you Go into VSS with the Administrator Login and Password you can then do the Check-in for Someone who no longer exists. -Sean
  3. SeanGriffin

    Access and VSS

    As far as my knowledge goes. . . There is no way to integrate VSS with Access. The reason Visual Studio can do the appropriate checkins and checkouts is because of the Source Control Integration. However if you made a batch file that did the checkin and checkout thought the command line and...
  4. SeanGriffin

    Possible C# bug in a definition and use of an event/eventhandler

    You could also clean this up by changing how you call BtnClicked in each of the three button events. If you change it to be the following it should clear it up.: void btn3_Click(object sender, EventArgs e) { if( BtnClicked != null) { BtnClicked(sender, e); } }
  5. SeanGriffin

    How to write a post build event

    I don't think it was that the paths are too long I think the problem was the spaces in the paths. If you change it to the following it sould work with your current paths: copy "$(TargetPath)" "$(SolutionDir)\PEGF\$(OutDir)" -Sean
  6. SeanGriffin

    Form.AcriveForm Doesn't work Like I Expected

    No I'm actualy aiming to use this elsewhere to get the Active form. This was the simple test I tried and it failed so I decided not to make it more complicated. -Sean
  7. SeanGriffin

    Form.AcriveForm Doesn't work Like I Expected

    I have an application with a form. On this form I have a button. In the Button's Click event I check Form.ActiveForm and it is null. How is Form.ActiveForm null in this instance. I know I have a form because thats where button I clicked is. -Sean
  8. SeanGriffin

    Output Assigned to Position not Name of Stored Procedure Parameter

    I was wondering if anyone could tell me why this happened. I have a Stored Procedure in SQL 2000 where when I define it as follows it works the way I expect it to. CREATE PROCEDURE [dbo].[addSequenceBinaryData] @sequenceID int, @testData image, @fileName varchar(255), @retval bigint OUTPUT...
  9. SeanGriffin

    Hex to int in a better way?

    I'd sugget using the version of ToInt32 that uses a base. iInt = Convert.ToInt32(sHexString, 16) -Sean
  10. SeanGriffin

    Can I use a new line in a visual basic message box?

    Clarke, You need to set the messagebox's multiline property to true. After this is done the vbCrLf will work properly. -Sean
  11. SeanGriffin

    Comnand line vss

    Ken, You might want to check that you don't accedently have multiple VSS databases. Some people have been known to accendentlly install a DB with the client applications when they just want to connect to a server. If you do have multiple databases you should make sure you are communicating...
  12. SeanGriffin

    VB^ question re Hex Colours

    Cheiko, If you put the following code in a form with the following it should work. lblColour as a label HSGreen, HSBlue, & HSRed as Horizontal Scroll bars with a Max of 255 and Min of 0 Private Sub Form_Load() ChangeColor End Sub Private Sub HSBlue_Change() ChangeColor End Sub...
  13. SeanGriffin

    Need to remove Carriage Returns

    John, What you say is correct but when used in the following statment it does a numeric (not boolean) comparison where True is treated as -1: If InStr(1, line, "P5471") = True Then To check my point try the following code: Dim sInput As String: sInput = "Check this message" Dim sCheck...
  14. SeanGriffin

    Need to remove Carriage Returns

    Your first if statement is not going to produce the results you want. InStr returns an integer that is where in the string the substring is found. True is translated to -1. So you will probably not get inside that if statement and will not get to the replace statement. I would suggest...
  15. SeanGriffin

    Error - Object Variable or With Block Variable not set

    Maggi, Let's look at this line of code: Dim oNodeBirthDetails, oNodeChild, oNodeMother, oNodeFather As MSXML2.IXMLDOMNode This will dimension oNodeBirthDetails, oNodeChild, and oNodeMother as variants and oNodeFather As MSXML2.IXMLDOMNode. I don't believe a variant...

Part and Inventory Search

Back
Top