Software Development Network Logo
  • SharePoint Products
  • Visual C++
  • Audio and Video
  • Windows Forms
  • .NET Development
  • Windows Vista
  • Game Technologies
  • Visual FoxPro
  • VS Team System
  • Visual C#
  • Microsoft ISV
  • Visual Basic
  • Visual Studio
  • IE Development
  • SQL Server

Software Development Network >> Gorav's Q&A profile

Gorav

Member List

sarath_mankara
PortiaT
Scott Nonnenberg MSFT
teplitsa
Pavel Burianek
popit
DivXLand.org
adamroof
Astennu
angelina
G.D.T
gokhanmutlu
Jim Bender
Tom LeBold
Dhaval4friends
JeffBlock
kats
elvis8900
Abdul Basith
ascona
Only Title

Gorav's Q&A profile

  • Gadgets How to Save User Preferences on Spaces?

    Can someone explain to me how to save user preferences on Spaces or point me to some instructions If there is a way to determine whether a gadget is on Spaces or Live, that would be good to know too so that I can hide the preference link in Spaces view mode. I got one of my gadgets to save user preferences on Live but it's not working on Spaces. Thanks Someone with more knowledge will be around soon I am sure, but this is the method I use var prefValue = m_module.getPreference("some value"); if (prefValue == null) { m_module.setPreference("some value", " some value "); } I just asked a similar question about view mode vs author mod ...Show All

  • Visual Studio SS.exe in VSS 6.0

    Hi, I am trying to execute command line operations using SS.exe but I can seem to figure out how to set the database to execute the commands on. We have several VSS databases that we use for different projects. I want to specify the srcsafe.ini file of the database. When I execute a command line this: ss History $/BuildV3/Source -YAdmin It says that the project doesn't exist. This command says that the database is empty: ss dir We know that there are files in the root of some of the source safe databases. However, I can't figure out how to specify what database that the command line operation should be run on. Any ideas on how I can specify the .INI file for a command to SS.exe Thanks for the help. ...Show All

  • SQL Server Need ID after OLEDB command (insert)

    Hi, I'm stuck on the following thing: After a slowly changing dimension task I replaced the OLE DB Destination task by an OLE DB Command and created the insert manually. This because I need to work further on the dataset. So I do a union all between the output of the two OLE DB Commands (insert and update). Untill here no problem. But than, because I need an ID further on, I do a lookup in the table in which I just inserted and updated my data for the right ID's. When I run this project I get the error message " row yielded no match during lookup ". I don't understand this beacause I just inserted the data and I've checked, it's there. I could resolve this by splitting up in two control flows (reselect all the needed d ...Show All

  • SQL Server Problem in Mail Sending through Windows Application

    Hi, I have made one SP(A) for mail sending which called within another SP(B). If i am executing that SP(B) in query analyzer then SP(A) ia also executed , while i am executing SP(B) through some WIndows Application although SP(A) is geeting allthe parameter but not executing. SP(B) is being used for inserting some values in a table.And i want to mail few of those inserted value to be mailed by SP(A). I have tried it by making "insert trigger " . But same thing when i executing SP(B) in Query analyzer the mail is going means SP(A) is running. But when i am inserting values through windows applicaton.Values are inserting but mail is not going. Thanks in advance. Sanjay Tiwari ...Show All

  • Architecture Is it reasonable to assume the user has a My Documents folder?

    Our app is running into trouble because the user simply doesn't have a My Documents folder. It doesn't exist in the classic location, and it isn't redirected to anywhere else. So the call to System.Environment.GetFolderPath returns an empty string which our code (so far) doesn't expect. This leads our code to create relative and not fully-qualified file and folder pathnames. Like Visual Studio, we offer subfolders of the user's My Documents folder as the default locations for the storage of files. Is it wrong to expect that the current logged-in user has a My Documents folder No, it is not reasonable to assume ANYTHING about a user's computer. Your code must handle the possibility that GetFolder ...Show All

  • Windows Forms Handling control non-client area in the designer

    I have created a control derived from UserControl, where I am drawing a border in the non-client area. The designer for this control is derived from ControlDesigner. I have two problems when dragging/moving this control around the design surface. 1) I don't receive any WM_NCPAINT message while the control is being dragged, so my border is not painted. 2) When the mouse down to start the drag is in the non-client area, it is ignored by the designer. Is there any way to get around these problems other than re-implementing dragging in the designer or moving my border into the client area Thanks Ken, I guess that implementing a custom Behavior is the way to go. I was hoping that someone could ...Show All

  • Windows Forms making a form unmovable

    I have a main form with a panel, where I put another forms inside, the problem is that the user can move the form inside the panel. How can I make the form unmovable Thanks in advance. By far the easiest way is to set FormBorderStyle to "None". It you want to keep the caption bar, you'll have to trap the WM_WINDOWPOSCHANGING message with WndProc(). That's pretty ugly, let us know if you want to go that way... ...Show All

  • Visual Studio Team System How to modify email template sent via Project Alerts

    I want to be able to modify the email template that states that a build was successful or not that is sent via Project Alerts Specifically, I want to be able to add a link to a report that is run via the daily. Can I do this Where can I find the template and how do I modify it Thanks, Staffan I believe the template is stored in C:\Program Files\Microsoft Team Foundation 2005\Web Services\Services\v1.0\Transforms on your TF Server application tier machine. You should be able to modify it if you like, though I'm not the guy to give advice on how to go about it... Let me know if you're having trouble tracking down documentation for this, and I can try and find some for you. -Aaron ...Show All

  • Office Live Development Integration between Office Live and Outlook/Business Contact Manager

    Is there currently any integration between office live and outlook for the business contact manager It is apparent that they have been developed with similar functionality (accounts, contacts, opportunities, products, etc.), but I can not find any way to integrate the two applications (other than possibly exporting and importing). I would prefer to avoid duplicating all of the information manually. It would also be nice to be able to update in your own version of outlook/business contact manager and then have it synchronize when on-line. Does this functionality exist currently ( I can't find any reference). If not, are their development plans to integrate the two products If so, is there any timeline for the integration Please ...Show All

  • SQL Server IE 7 B3 Not Compatible With RS2005

    Lon posted a message on the RS UseNet newsgroup about IE 7 B3 being unresponsive and using 100% of the cpu when trying to view RS reports. I tried it on a test system, and indeed the problem showed up for me as well. Both the IE 7 B3 32 bit and 64 bit version where stuck in a loop when attempting to view RS 2005 reports. I tried both parameter and non-parameterized reports with the same results. The only way to stop it is via Task Manager. A warning to all, do not install IE 7 B3 if you want to run RS reports. Hey MS, you may want to pass this on to IE 7 development team. This isn't good when MS products aren't compatible with each other. I experienced the same problem, the screen starts flickering and IE won’t come back. If ...Show All

  • Visual Basic How do I format user input (1 shows up as 001)

    I need to know how to convert numerical data so it always shows up in the format of 001,002, 003, 004, etc. when a user enters 1, 2, 3, 4, etc. Using VB.NET 2003, how do I write the code to convert it like this Thanks. Another thing you might consider is inside of an event handler for the TextBox.Validated event, taking the textual value of the textbox, converting it to an integer and then calling ToString() on the integer and passing in a formatting argument of "000" to specify that you want the output to insert 0's for those places where a digit doesn't exist. ...Show All

  • Visual C# Need help converting VB to C#

    Hi Can someone help me by converting this VB to C#. Thanks a bunch. James Keele Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click MsgBox(Modulo10(TextBox1.Text)) End Sub Private Function Modulo10(ByVal strNummer As String) As Integer 'strNummer may only contain numbers between 0 und 9! Dim intTable(10) As Integer Dim intTransfer As Integer Dim intIndex As Integer intTable(0) = 0 : intTable(1) = 9 intTable(2) = 4 : intTable(3) = 6 intTable(4) = 8 : intTable(5) = 2 intTable(6) = 7 : intTable(7) = 1 intTable(8) = 3 : intTable(9) = 5 For intIndex = 1 To Len(strNummer) intTransfer = intTable((intTransf ...Show All

  • Visual C# How do I define a class to be accessible from other classes.

    Hello I have a class called CHardware. I would like to define this class once as: CHardware hardware = new Hardware(); Then be able to access hardware from any where in my program. Such as from within other classes. How do I do that. David Hello No that is not what I mean. If I declare my hardware class as above CHardware hardware = new Hardware(); in FormMain public partial class FormMain : Form { CHardware HardWare1 = new CHardware (); CHardware HardWare2 = new CHardware (); public FormMain() { InitializeComponent(); } So I can call Hardware1.AnyMethod() from within FormMain. But what I want to do is call Hardware1 from w ...Show All

  • Visual Studio Tools for Office Deployment Issues

    I'm developing an Excel Customization, I'm unable to publish directly to the client's test server. So I copy the publish files to the Client's Test server. When I attempt to access the *.xls I receive the following error attached below. I'm looking for any guidelines on how to set up IIS Virtual directory. Any help would be greatly appreciated. Failed to update customization from the specified deployment manifest. ************** Exception Text ************** Microsoft.VisualStudio.Tools.Applications.Runtime.UpdateFailedException: Failed to update customization from the specified deployment manifest. ---> System.Net.WebException: The remote server returned an error: (401) Unauthorized. at System.Net.WebClient.DownloadDataIn ...Show All

  • SQL Server Inserting chars into nvarchar turns into '?'

    hey.. im using a simple insert command (sqldataadapter) to insert a string in hebrew into a nvarchar field in my db...   the problem is that i always done that perfectly..but lately i started a new project and instead of the hebrew chars the command insert " " char instead of any hebrew char... any idea   thanks Hey Elad! If u found a solution to this problem, I'd be glad to hear about it, Thanx, Ori ...Show All

©2008 Software Development Network