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

Software Development Network >> Gurpreet Singh Gill's Q&A profile

Gurpreet Singh Gill

Member List

mfroster
Uncle Ted
Michael Dyrnaes
SandeepLohani
NuclearChicken
Larry Smith
EternalStudent
Sujithf
itaihor
azzyford
Pockey
Bluehunter
Nayan Paregi
SGriffiths
Mark064
cool_shezz
tchen777
::BulletMagneT::
wolf777
Jack Spade
Only Title

Gurpreet Singh Gill's Q&A profile

  • Microsoft ISV Community Center Forums EULA for my product

    I'm nearing completion of my first product and think I need to include a EULA as part of the install. Is there a standard template somewhere of a boilerplate EULA Something that says this software isn't meant to run nuclear reactors, if the user gets tumors it isn't our fault, etc. I looked at creative Commons and they offer some stuff, but I'm more interested in the standard type of EULA. Any help would be greatly apperciated. Jake If you are shipping a closed-source product, I would think that Creative Commons doesn't have what you want. They intentionally don't address typical software licensing. Have you looked at EULAs of software that you have seen and used Is there one that was particularly satisfactory f ...Show All

  • Visual Studio 2008 (Pre-release) Setting Window.Icon Property in Codebehind

    this.Icon = new BitmapImage(new Uri(@"pack://application:,,/Resources/OptionsDialog.ico")); The code above throws the following expection: System.InvalidOperationException: ImageSource for Icon property must be an icon file. If I set this property in the XAML it works fine. How do I set it in codebehind Regards, Eran Kampf http://www.ekampf.com/blog/ Can you try if this works : IconBitmapDecoder ibd = new IconBitmapDecoder ( new Uri ( @"pack://application:,,/Resources/OptionsDialog.ico", UriKind .RelativeOrAbsolute ), BitmapCreateOptions .None, BitmapCacheOption .Default); window.Icon = ibd.Frames[0]; ...Show All

  • Visual Studio Build RollBack

    Hi, i’m trying to generate a kind of rollback, I use the beforebuild to checkout from sourcesafe the assemblyinfo file and change the file version. And the afterbuild to chek in that file. But i need to do a undocheckout if build fails, someone have any idea of how to do that , because after the fail i can’t catch any target to run the rollback Any crazy idea will by appreciated. Thanks There is no need for you to go edit Common.Targets just for that, just add the necessary bits in your own project file, or if the same thing goes in several projects, then put it into a file of its own (commonly named .targets) and <Import .../> appropriately ...Show All

  • .NET Development [OTP]mouseover and open new page

    Hi, I have a mouseover event on a control, is there a way of opening another asp.net webform and having it close automatically when the mouseoff even occurs I can easily open a new window but cant figure out how to make it close automatically on the mouseoff event. I think I need to wrap the page in a div and dynamically hide and display it. Any ideas hello niallhannon, This forum is for asking questions regarding .NET data access and storage. Your question is considered off topic for these forums...For better response try posting your question here: http://forums.asp.net ...Show All

  • Visual Studio Sandcastle - MRefBuilder and .NET 3.0

    How should I go about documenting stuff using .NET 3.0 framework I tried changing the mrefbuilder.exe.config appropriately (both using Sandcastle Help File Builder and manually) but I keep getting "Unknown target platform '3.0'" If I set it to 2.0.50727 then it "works" but links to 3.0 specific things are obviously missing Is this a known issue Either way, can this be fixed as 3.0 now is officially released regards, Simon Anand, Thanks for the reply and offer of help... It turns out that it was not a problem with my build script but an unresolved reference to the Microsoft.Web.Administration assembly (ref. from System.ServiceModel.Install) - which I do not have as I am running IIS6 on an XP environment (the a ...Show All

  • Windows Forms Setting the Value of Items in a ComboBox

    If you manually fill a ComboBox ... Me .ComboBox3.Items.AddRange( New Object () { "Ticket Number" , "Ticket Date" , "Truck" , "Field" , "Inoculant" }) Is there a way to set the value for each item Jeremy Hmmm there's also a Hashtable object, it worked too. I included a link to some reference info out there. Dim myHash As New Hashtable While dr.Read myHash.Add( CType (dr(0), Integer ), dr(1)) End While myCombo.DisplayMember = "Value" myCombo.ValueMember = "Key" myCombo.DataSource = New BindingSource(myHash, Nothing ) ------ http://visualbasic.about.com/od/usingvbnet/l/aa071203a.htm "The pr ...Show All

  • Visual Studio Problem with RDL (ReportViewer) Framework 2.0

    I am loading rdlc file with two DataSets but GetDataSourceNames() returns just one .....LocalReport.LoadReportDefinition("c:\test.rdlc"); .....LocalReport.GetDataSourceNames() returns just one DataSource ("DocumentDetailsDataSet") name but there are two in test.rdlc. What am I doing wrong Thnx here is test.rdlc xml: < xml version="1.0" > <Report xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance " xmlns:xsd=" http://www.w3.org/2001/XMLSchema " xmlns=" http://schemas.microsoft.com/sqlserver/reporting/2005/01/reportdefinition "> <DataSources> <DataSource Name="DocumentMasterDataSource"> <ConnectionProperties> &l ...Show All

  • Visual C# Password Form

    hi, i wnat to make application which will ask for user for a password through a password form & then main application will start with main form if password entered by user is correct. I want password form to be independent of the main application form & if entered password in password form is correct , i'm making the PasswordForm.Visible = false; this will make the password invisible. but i'm not able to make my main form visible which is having many child form. So how i can make password form independent of my main application form & how can i shift from passord form to main form. thanks in adavance, Vinay Use this: Form[] openedForms = Application.OpenForms; for(int i = ...Show All

  • .NET Development & and $ symbols in xml causes validation to fail

    Hi, i have a xml file with a number of elements in it. I am using xsd and XmlValidatingReader. I have fields that contain text data. These fileds all work fine except if the users enter & or dollar signs. To get around this i specified a regex pattern in the xsd but this makes no difference.The encoding is UTF-8. The validation fails. Any ideas would be really welcome this is the element <ethnicCopy> & ethnic </ethnicCopy> the datatype i specified in the xsd is <xs:simpleType name="EthnicDataType"> <xs:restriction base="xs:string"> <xs:maxLength value="2000" /> <xs:pattern value="^(.*)$" /> </xs:restriction> </xs:simpleType& ...Show All

  • Visual C# How to display the caret in textbox?

    Hi, Here is a question. I create a textbox in a window form. However, i can't see any caret indicating in this textbox. I checked some websites which said i should set TabIndex = 0 to make caret display. I followed the suggestion, but it doesn't work. Please give me your advice. Thanks in advance. jaimlin wrote: One more question, can i show the contrast display for selection text : ) Contrast Display ...Show All

  • Visual Studio 2008 (Pre-release) How to navigate back to home page?

    Hi, I am using Frame to navigate between different pages. When the application is running, it will first show a HowPage. Then the user can navigate to different pages. Say in page3, I have a link point back to HomePage, the question I have is how do I navigate back to the home page without recreating the HomePage again. I was hoping I can find something similar to GoBack() but will go all the way back to the top of the backStack which will be HomePage but I can not find the function in either NavigationService or Frame. After more search, I found NavigationCommands.FirstPage but it seems Frame doesn't support this command. Please help. thanks Chong Hi, Chango V.: Thanks for the quick ...Show All

  • Audio and Video Development Xpath expressions in Include in Markup Files

    Is there any restriction whatsoever on the kind of X-Path expressions that can be used in <include> element. e.g. can a stylesheet be included on a condition whose truth value is determined by an xpath expression refering the DOM nodes. Includes are processed before the DOM is constructed, so you can't refer to anything in the DOM. Basically only XPath variables (either system variables or script variables) can be used. I don't have the spec with me (in Portland) but it should be in Chapter 7. ...Show All

  • .NET Development Can't figure out this error message

    Good Day all, I seem to have hit a dead end. I am "attempting" to write a web application to retrieve, insert and update information in a SQL2000 database. I can retrieve information just fine but when I try to update it I keep getting the following message: System.Data.SqlClient.SqlException: Line 1: Incorrect syntax near 'UDPATE'. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataS ...Show All

  • Visual Basic Database Access

    I have a listview that is populated by a database. Whenever the user scrolls through a textbox, the listview is updated, either by highlighting the contents or re-populating it. When a user holds down an arrow key and scrolls through the textbox rapidly, it continually queries the database over and over. This doesn't seem to be the most efficient way to do this. The database is read-only, the user will never add anything to it... is there a way I can capture a snapshot of the database and maybe query that, instead of opening a connection, querying a database, repopulating, closing a connection everytime the user scrolls through the textbox Hm, I was looking into the documentation for datasets and dataread ...Show All

  • .NET Development Removing tags when generating XML

    I am writing this post in the c# forum also as I don't know which one it is more appropriate in. I am writing code in c# that serialize a group of classes nested with lists of other classes and I get the following xml code < xml version="1.0" encoding="utf-8" > <kml xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance " xmlns:xsd=" http://www.w3.org/2001/XMLSchema "> <Doc> <Document> <name>Smily.kml</name> <open>1</open> <folder> <Folder> <name>Matts Folder</name> <open>1</open> <place> <Placemark> <name>Symantec Building</name> <desc ...Show All

©2008 Software Development Network