Pikker1981's Q&A profile
Visual Studio 2008 (Pre-release) How to implement WCF Security and Addressing
Hi I am new to WCF. I know the concept why we are using WCF and how to approach is not known. How to call Service from client and through Security level. Could u please help me how to start . Thanks & Regards P.Madhu There is also an RSS for Setup Instructions, did you read that You will need to install some certificates that I provided. If you have other book questions email me directly: mlb@dasblonde.net . ...Show All
Visual Studio "Version not found" using SS GET!
Hello there and thank you in advance for any help. I've read some other threads about similar problems but my issue seems to be unique. We had a VSS 6.0d database and we migrated to VSS 2005 (server and client). The database import went fine and all has been working quite well overall. I create a sidestream of several projects by sharing them over but when we use our automated build script which calls "ss get" on those projects, it appears that files that havn't been changed since before the migration are coming back with "Version not found". Using SS Explorer works fine but the command line utility fails. Any help would be much appreciated! Regards, Phil Hi, Was there any resolution to this issue I have the sa ...Show All
.NET Development FTP in non blocking fashion
Dear friends, I want to add FTP functionality in my application in Non-Blocking fashion. I want to add this functionality in Non-Blocking fashion because i want the user to cancel the FTP operation any time. In .NET 2.0 there is a class FTPWebRequest with the help of which we can support FTP functionality in our applications. There is an example in MSDN which shows that how FTP operation can be performed in non-blocking fashion using FTPWebRequest. The part of example can be found here . (Please scroll down the page). For uploading file we write all the data to the request stream and then closes the stream using statement: requestStream.Close() Now my problem is that the statement requestStream.Close() blocks for a very long ...Show All
SQL Server Relative date ---'Rolling 3 months' --help please
Hi, I need to add special relative date categories in SSAS that similar to the functionality offered by Cognos/Powerplay. With Cognos, you can create relative time categories very easily-- like ‘Rolling 3 months’, ‘Prior Rolling 12 Months’ etc. I created Time Dimension with SSAS BI Studio, added a new named calculation ‘Rolling 3 Months’ to the Time Dimension. Below is calculation code: CREATE MEMBER CURRENTCUBE .[Time].[Rolling 3 Months].[Rolling 3] AS null , VISIBLE = 1 ; Scope ( { [Measures].[ORDERS] } ); // Rolling 3 Months ( [Time].[Rolling 3 Months].[Rolling 3], [Time].[M ...Show All
Software Development for Windows Vista ocx registration on Vista RC2
This may have been addressed else where but the related links does not appear to show anything similar. Ok - I have developing an MFC VS Pro 2005 application which has an inhouse ocx component. On Vista this component fails to register so as a test case I created a "vanilla" ocx using the wizard, only changing the control name. I copied the ocx to a directory on the Vista machine then tried to use RegSvr32 to register the control. Again - failure with error 0x80040200. As this is a "vanilla" block of code I thought it worth raising here. Question 1) Is this a fault in Vista 2) Can I register existing ocx controls, this is relevant as one of my products with this problem was published earlier this year 3) ...Show All
Visual Studio Express Editions a small help please
Hi, I have a problem in doing a simple program.I want to load the text of a notepad into the text box of visual basic.can any one help Thank You in advance. Are you saying that the filename is contained in the textbox You should do this: dim filename as string = TextBox1.Text dim filecontent as string = System.IO.File.ReadAllText ( filename ) 'Do something with the filecontent later on Hope that helps ...Show All
.NET Development delete row is not updating in dataAdapter
Hi, I'm trying to delete a row and the changes can not be updated. --------------------------------------------------------------------- Dim propertyCommand As New SqlCommand Dim propertyAdapter As New SqlDataAdapter propertyCommand.Connection = Conn propertyCommand.CommandText = "SELECT tbl_property.propertyID, tbl_property.propertyName, tbl_property.propertyAddress, tbl_property.prAddline2, tbl_property.prAddline3, tbl_city.cityName, " & _ " tbl_property.postCode, tbl_localauth.lauthorityName, tbl_service.serviceDetails, tbl_agent.agentName, tbl_usergroup.description " & _ " FROM tbl_property INNER JOIN tbl_city ON tbl_property.cityID = tbl_city.cityID INNER JOIN " & _ ...Show All
SQL Server salt vs. Initialization Vector
I have seen these terms used but don't understand exactly what they are and how they differ. Could I use one without the other or are they a "linked" pair TIA, Barkingdog They are used in related but completely different contexts. Salt - is used to strengthen the strength of passwords so users don't have to (because they won't). Example: a user fills out a form username: user password: doggy now, add a salt salt: Hhj3(IhGmk store the password as the hash(password + salt) This way, even if someone can view the contents of the password field, they won't be able to guess it. If you want any sort of password recovery, you need to store the salt as well since the 'password' isn't the a ...Show All
Windows Forms ToolStripManager LoadSettings Problem
I have an application which contains many ToolStrips inside a ToolStripContainer. I am trying to use ToolStripManager to load and save the settings, so I've set up a FormLoad and FormClosing event to call ToolStripManager.LoadSettings(this) and ToolStripManager.SaveSettings(this) respectively. I can see the file is being written, with the correct values, but when LoadSettings is called, the values are ignored, and the toolbars reset to the values not in the user.config file. Is there something that could cause this that I am overlooking My application (that is a little complex) does'nt work properly. try more changes with add/remore new rows in the container. Sometimes don't work. Am I in ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Line of sight
I am currently working on an RPG using XNA and I was wondering if anyone has implemented a line of sight algorithm on XNA. The game uses a grid of squares, and I need to know which squares are visible based on what square the character is in. I have an array that I can use to determine which squares the character can see through, but I can't think of a way to determine which squares the character can see. I somehow need to determine which squares are on the other side of a wall, for instance. I hope I am clear enough. If all your concerned about is what parts of your 2D grid are visible, you should look at quad trees for your scene management. Easy to implement and an effecient way to cull unseen o ...Show All
Windows Forms Manually Editing the Registry for registering a Com
I want to register a ATL dll manually. Can anyone give me how to do it What are the entries I have to make in the regitery Thanks ...Show All
SQL Server insert only time in sql server database
hi, i want to insert only time in my sql server database.but when m try to insert time in database it takes time+default date. i want to eliminate this default date. plz any one know this then tell me. Regards, shruti. There is no way. The two native temporal datatypes currently offered in versions of SQL Server are SMALLDATETIME and DATETIME -- both, you'll notice, have "date" as well as "time" in their names. The two are inseperable. What you should do is insert the time with the default date, and remove the date component for display when you need to show the time on a screen, etc. -- Adam Machanic Pro SQL Server 2005, available now htt ...Show All
Visual Basic Limits on Memory Use?
Hi all, I was testing the VB2005 Express and decided to create a large array in the IDE. My 32bit XP Pro machine has 3.5GB available and I thought I'd check to see how much I could use with VB. I understand that there is a 2GB process limit, but I thought I just check that out. My code: Class Form1 Private Sub CreateArrayToolStripMenuItem_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CreateDataTableToolStripMenuItem.Click Dim bigarray(1000000, 250) As Single End Sub Private Sub ExitToolStripMenuItem_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ExitToolStripMenuItem.Click End End Sub Private Sub Form1_L ...Show All
SQL Server Return a row with columns for each day in a date range
Given in a record in from a Table called WorkSchedule: idWorkSchedul StartDate EndDate HoursWorked 1 1/1/2000 1/1/2006 8 I need to return for each record in the WorkSchedule Table 1/1/2000 1/2/2000 1/3/2000 1/4/2000..........1/1/2006 8 8 8 8..................8 Please help. Thank you. -Robert Hi Robert, Let's assume your source table was called "WS": with Hours ( MinDate , MaxDate , WorkDate , WorkHrs ) AS ( SELECT StartDate as [MinDt] , EndDate AS [MaxDt] , StartDate AS [WorkDt] , HoursWorked FROM WS WHERE idWorkSchedul = 1 UNION ALL SELECT MinDat ...Show All
Visual Studio 2008 (Pre-release) Using Microsoft.Expression.DesignSurface.dll
Hi. Am I allowed to reference Microsoft.Expression.DesignSurface.dll in my project I'm trying to create some PowerPoint like application. The end-user should be able to place and drag elemets on a canvas. I found the framework Adorner implementation problematic for such uses (mouse and performace issues), and I'd like to use the Blend implementation, which includes rich model for it. Thanks. ...Show All
