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!

Search results for query: *

  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...
  16. SeanGriffin

    Microsoft SourceSafe 6.0 Type Library

    Using the Object Browser I looked at the SourceSafeTypeLib and in the VSSItem Class there is a Deleted Property and a Destroy function. You may need to have your application login to VSS with a different Login and Password to get Destroy rights if you want that. Otherwise I'd just suggest...
  17. SeanGriffin

    Make a back button

    If you want to go back, then I guess the first question is how are you going forward? -Sean
  18. SeanGriffin

    Microsoft SourceSafe 6.0 Type Library

    Have you looked in the Source Safe Documentation of MSDN? Using that for what different options you have and using theobject browser to find what the Actutal function names and parameters are might help. -Sean
  19. SeanGriffin

    Binary Testing

    Ben, Try this: Assume all variables have been dimensioned already Appraisee = 1 Line1 = 2 Line2 = 4 x = optionsvalue If x And Appraisee Then ' Appraisee active do something End If If x And Line1 Then ' line1 active do something End If If x And Line2 Then ' line2 active do...
  20. SeanGriffin

    Who has what checked out?

    I'd suggest using the following command line or something close to it. ss status $/ -R -O@"%USER%Checkout.txt" -U%USER% %USER% should be replaced with the user's name. This will create a text file that will contain the all the files checked out to the user. I include the user's name in the...

Part and Inventory Search

Back
Top