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...
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...
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);
}
}
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
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
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
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...
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...
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...
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...
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...
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...
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...
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
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.