Bhaskardeep Khaund's Q&A profile
SQL Server Expression
Hi, In RunningValue expression, can we able to put the DataSet name. Thanks Hi, Hammer, Can you look at the following problem.In this case what i have to use in the Runningvalue. Hi, In my report, i have 3 tables joined together.My requirement is the fllowing table Age male Female Total Cumulativetotal 1 40 10 50 50 2 20 5 25 75 .. .. total children 60 15 75 75 20 5 20 25 100 30 10 10 20 120 Total adults 15 30 45 45 Unknown age 5 5 10 130 Total 80 50 130 130 ...Show All
.NET Development Re-loading emails saved by SmtpClient.Send
I have an application that creates emails ahead of the time they need to be sent. It uses the following code to save the emails to disk: MailMessage mailmessage = new MailMessage(etc...) ... mSmtpClient.PickupDirectoryLocation = < some path not in IIS >; mSmtpClient.DeliveryMethod = SmtpDeliveryMethod.SpecifiedPickupDirectory; mSmtpClient.Send(mailmessage); That works fine, and I can send the mail messages later by just copying them to appropriate IIS pickup directory, and very occasionally I need to edit the attributes or content of the message. However, I'd like to be able to log each email as I'm copying it instead of just copying all of them in bulk. Is there a way of re-creating a MailMessage object from the saved mail message c ...Show All
Visual Studio 2008 (Pre-release) Zooming issue
I'm working with a Slider which controls a ScaleTransformation on a control. That Control is inside a ScrollView. When you want to apply a transformation on a control you can choose between a RenderTransformation and a LayoutTransformation . A RenderTransformation is a low level transformation, which only alters the rendering of a control. This means that the container control won’t know that the control’s size has been altered, and for instance, if you have a ScrollView set on it, it won’t know about the change and you will miss some of the parts while zooming . Then, we would think that the right choice for zooming, is using a LayoutTranformation . A LayoutTransformation does change the ...Show All
Windows Forms Binding Textbox to String
I tried to do a very simple databinding but I run into problems. I have a Textbox and want to bind a string object to it. I tried this: public string Y = "aaaa" ; this .textBox2.DataBindings.Add( "Text" , Y, "" , true ); This prints me out the value to my textbox, but I can't get back the changes to my string. Then I tried th create a object so I can pass the Datamember to my Binding: public class BindingString { private string value; public string Value { get { return this .value; } set { this .value = value ; } } } public BindingString Y = "aaaa" ; this .textBox2.DataBindings.Add( "Text" , Y, "Value" , true ); This wo ...Show All
Visual Studio 2008 (Pre-release) Deplyoment of the same XBAP from different origins to a single client
Hi, I am sorry for cross-posting: I accedently posted this in the winforms group. If I download the same XBAP from different servers, will they be installed side by side with the other one Or will it be clear to the deployment mechanism that this assembly is already present and that another download is not required. The usecase I have is the following: I want to create a server management UI, that is used by service engineers. They will log on to many different servers and don't want to install the same browser application multiple times. Sam Theisens The application identity is determined based on the deployment manifest (.xbap file). If that's the same, the application will be downloaded only ...Show All
SharePoint Products and Technologies Problem using the CQWP
Hi, i have the following problem using the CQWP When using the Content Query web part i can't seem to filter content on text from a lookup field with multiple value select enabled. Filtering on text from a lookup field without multiple select works fine. I have tried using contains and I have also tried filtering using the ID or unique ID instead of the text with the same outcome. Am i missing something or is this scenario impossible many tnx in advance, Joost Hi there, multi-value lookup fields are not filterable in cross-list queries, and by extension the Content Query web part. --George Perantatos [MSFT] ...Show All
Visual Studio Team System question about the trial version of TFS
I installed the trial version to test it for a couple of weeks and TFS is not allowing me to add domain accounts to it. Is this a limitation in the trial At first i wanted to have the server as a standalone server and tried to add the users from AD to no avail. I then put the server in the domain that the users i am trying to grant access to are in. Still nothing I am getting the feeling that they are going to have to purchase the full version earlier than they expect to get the functionality out of it that they want. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectX managed framework: vertexBuffers, changing modes fails...
Hi all, I'm currently facing a slight problem where changing mode on my application causes an error with 'Failed Resetting the Direct3D device' message. I'm using the managed direct3D framework and it currently works fine with line and sprite rendering. After added transparent boxes to the system, I got the above error, when mode changing. This I'm assuming is down to not disposing and resetting the vertexBuffer correctly. After reading the help and searching online for examples, I can only see the following; OnResetDevice(...) - Creates and setup the vertexBuffer. I didn't see any other handling of the vertexBuffer, in any of the other calls, ie OnLostDevice() etc. The code works fine and is happy with norma ...Show All
Visual C++ ReportEvent
Hello, I need to add events to windows eventlog. I created a I used the sample code to add entries but in the event description i get the following: The description for Event ID ( 0 ) in Source ( Application ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: test string. from msdn I understood that messages should be added to hider file, but in my case i dont have a predefined messages. i need to write free text messages to the event log. could any body help Regards ...Show All
Windows Forms Help! How can I make it check for updates? (MSI, non ClickOnce)
Hello all, Is there some documentation or walk through somewhere for programming the application to automaticlly check a specified location on the internet for updates every time the app if fired up I have a very simple program I have to deploy with MSI, so I loose the extremely important auto-update feature of ClickOnce. Any help is appreciated as I am just fumbling my way thru all this and feel slightly overwhelmed. AFAIK you can't do it in the VS setup and deployment projects without using the clickonce. Perhaps using the more "professional" but "over complicated" installer products like InstallShield may have such a feature. I personally create a webservice which then applications hook up to t ...Show All
SQL Server SQL Server Management Studio Express - cannot find SQLEditors.DLL
In SSMS Express, after right-clicking on a table and then clicking on "Open Table" or "Modify", this error was displayed: " The system cannot find the file specified Microsoft.SqlServer.Express.SQLEditors" . This file does exist and is in the same directory as SSMSEE.EXE (C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE). Other context menu items "Script table as" and "Properties" work fine. I did not try the other context menu items. Is this something that is fixable Version Numbers: Microsoft SQL Server Management Studio Express 9.00.2047.00 Microsoft Data Access Components (MDAC) 2000.085.1117.00 (xpsp_sp2_rtm.040803-2158) Microsoft MSXML 2.6 3.0 4.0 5.0 ...Show All
Windows Search Technologies WDS query failed to search files from UNC path? add-in installed.
hi all What is the WDS query for searching files from UNC path I've installed WDS 3.0 and also the add-in for allowing network share search. My search works fine for the local machine, but it didn’t worked for searching a network path. It gives no result! Please verify the query which I am using. I've added the specified UNC path to my WDS index list. And it successfully indexed and I was able to search through WDS UI. public static void FileContentSearchUsingWDS() { try { conn = new OleDbConnection("Provider=Search.CollatorDSO;Extended Properties='Application=Windows';"); conn.Open(); Console.WriteLine("connection opened successfully."); } catch { conn = null; } if ( conn == null) { Console.Writ ...Show All
SQL Server Problems with Poison Message Processing
I am getting the following Error and I can't find it in the Manual. Failure to send an event notification instance of type 'BROKER_QUEUE_DISABLED' on conversation handle '{5D273374-E84F-DB11-B3BC-0004239AB15C}' . Error Code = '8429' . I have checked the service name for the notification and it appears to be okay. Any ideas would be welcomed, Gary It means that the dialog carrying the notifications was ended with an error. The NT EventLog should contain an entry like this: Event Type: Error Event Source: MSSQLSERVER Event Category: (2) Event ID: 17003 Date: 11/9/2006 Time: 11:25:06 AM User: N/A Computer: REMUSR64 Description: Closed event notification conversa ...Show All
Internet Explorer Development Custom message on "Connect To" screen?
Hello. I have some webpages that only certain individuals can view. They are protected by NTFS security. If an unknown user comes along and attempts to view the page, they're presented with a bland-looking screen: Connect To ThisServer Username: [ ] Password: [ ] [] Remember my password [OK] [Cancel] I get numerous calls about users not being able to log in. The usual problem is that they are not qualifying their username with "DOMAIN\", hence they are logging in with a local account that doesn't exist. Is there a Regedit fix or something I could minimally do to alert the user to "Prefix your username with DOMAIN\" Is your web page open to the internet If so ...Show All
Audio and Video Development Specification of class definitions?
I was looking at the javasscript of one of the examples posted and came across: Player.playlist.titles["T1"].jump("00:00:00:00", false); Where can I find a doc that outlines classes and methods. For example what is the second (boolean) parameter for the method jump Unfortunately the API's are currently only available in the HD DVD Video Specification, Annex Z. For that particular call, the second boolean argument is to save the resume information. That means that after the jump happens, you can resume to where ever you're coming from. Unfortunately there is only one built-in bookmark to save this way, so it's not very useful. In most cases, you'll end up creating your own framework for saving resume information ...Show All
