Software Development Network Logo
  • SQL Server
  • Visual Basic
  • VS Team System
  • Architecture
  • Windows Forms
  • Visual Studio
  • Windows Vista
  • Visual C++
  • Windows Live
  • Smart Device
  • Game Technologies
  • Visual C#
  • Visual FoxPro
  • Microsoft ISV
  • VS Express Editions

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

Daljinder

Member List

cmag1951
PlanetCoder
Johan Normén - Nsquared2
SecurityAdmin
Lenin82
Dale57
Thomas Gurtl
Bill_C
sonaht
George Smith
LornaJoy
Jimbolino
clintonG
Yael Rootberg
double_detente
Matt Zimmerman
harkin
arup08
dave_mwi
cronik
Only Title

Daljinder's Q&A profile

  • Windows Forms 3rd party software as prerequisite, NGen, publish.htm secure ...

    1. I have an application need 3rd party software installed as prerequisite. I could install one 3rd party software (exe-based) via ClickOnce following Jacob's webcast and his suggestion on his weblog. But doesn't work for a MSI based software. Everytime it failed and told me: return code: 1603 fatal error winTrust: WinVerifyTrust returned -2146762496 I am not sure what it means. I put FullTrust permission in my application. Could anyone help me out of this Thanks a lot! 2. I saw there was a question related to NGen after ClickOnce install but no one follows yet. Hope this time someone could throw some ideas 3. I wonder about the security of ...Show All

  • Windows Forms DataGridView - how to prevent deselect in full-row single-select mode ?

    We have a DataGridView bound to an object bindingsource, which is also the bindingsource of other controls on the form. The selected row in the datagrid is used to control the the bindingsource .Postition (and .Current). The advanced user can now deselect the selected row in the DataGridView (ctrl + click selected row), but a bindingsource cannot have no selection. Thus the other bound controls still shows data if I do not remove the .DataSource of the bindingsource in the SelectionChanged event. This looks kind of stupid in e.g. master-details views. What I need is for the DataGridView to behave like a DropDownList, i.e. enforce a sin ...Show All

  • Windows Forms Property Grid Troubles

    Hows everyone doing. I have a question that I'm hoping someone can shed some light on. I have been using the PropertyGrid object to display the properties of an object that is selected in a tree view. This works fine however here is my issue. When I set the selected object, and the object has a StringCollection in it, the property grid shows the&n ...Show All

  • Visual Studio Team System work items not associated with build

    How should work items get associated with builds, because it is not working for me. When I check in a changeset, I click the Work Items button and select my work item and the drop down box says associate. After the build completes, my changeset appears in the Associated Changesets portion of the build report butI have 0 associated work items. If I open the changeset I can see that the work item is associated with changeset, but the build didnt pick it up. Any thoughts or suggestions would be appreciated. MikeH I believe that the workitem has to be 'resolved' in order to show up in the build. Until ...Show All

  • .NET Development SQL Data class / structure?

    Someone on a board somewhere took a look at my code and said I shouldn't be manually assembling strings for SQL queries, I should be using an SQL Data class (or was it a structure). I can't find a good, clear reference to this. Advice Dave, for writing queries on the fly, we dont have any ADO.Net API to do that for you. Doing it manually as you show above, is the only way I am aware of. With that said, - If the values that you're appending to the query are user entered and if you are concerned about SQL Injection then you might want to be using SQLParameter instead of appending them directly to the query. HTH, Sushil ...Show All

  • Visual Studio Express Editions Windows Media SDK Help

    Ok ive got a copy of Windows Media 7 SDK but how do i use this with Visual Basic express. Id love some help or a tutorial on this subject as i cant find nothing for Visual Basic Express. Please help. Regards. ...Show All

  • Windows Forms how to select then next node in treeview control?

    I have a form with treeview control loaded from xml document,text box, two buttons named "Find" and "FindNext" and my treeview which looks like below. Details |__ policy status |__ created by |__ cover type Risk address |__Line1 |__Line2 |__Line3 |__Line4 Proposers |__ForeName |__Initials |__Surname |__Company |__DOB Drivers |__ForeName |__Initials |__Surname |__Company when user enters some text in text box like "Surname" and click "find" button i need to select(highlight) the "surname" node in "proposers" node in treeview ...Show All

  • .NET Development Return value of DateTime.ToUniversalTime method?

    Hi all, I just found the method, ToUniversalTime, in the DateTime structure members. But I don't understand the return value of that method. In the MSDN, it says: Return Value The UTC DateTime equivalent to the current local time. -or- MaxValue if the current local time is too large to be represented as a DateTime. -or- MinValue if the current local time is too small to be represented as a DateTime. Could you give me sample steps to let it return MaxValue or MinValue Sincerely, Wesley I think this description of the return value is actually incorrect. It should actually say: The UTC DateTime equivalent ...Show All

  • Visual C# Exception Usage

    I want to know which scenarios to inherit following exception class Exception SystemException ApplicationException Vikram Go to GotDotNet.com and search for "ApplicationException FxCop", you will find a number of posts regarding this, including some responses from Microsoft. I will post a suggestion for this to be updated. ...Show All

  • Visual Studio Express Editions install errors

    Where does the download put the installation file when downloading vb Express beta 2   Have tried twice to install and keep getting install errors.  Tried downloading the vbsetup.exe file again, but figured out it's still looking at the same install file that's already been downloaded previously when I execute it.  It all installs OK on the laptop. Also, on the desktop install, I don't get the .NET beta 2 selection to install.  Only MSDN lib, SQL express and VB Express beta 2. Hi, Thank you for evaluating our Beta version of Express. With the launch of the release version today, why don't you give http://msdn.micro ...Show All

  • .NET Development Using .Net Framework 1.1 & 2 in the same assembly.

    Let's assume that you have a control developed by VS2003 (.Net Framework 1.1) and you want to use it in a VS2005 project (.Net Framework 2.0 beta 2). What would happen (the default behavior) is that control would be executed by .Net Framework 2.0 along the other controls. Now the question is how to redirect the execution of that control to .Net Framework 1.1 Bijan The reason behind this is that there can be only one version of the CLR in a Windows process.  Since you've created a VS 2005 project, that will load v2.0 of the CLR (since v1.1 won't understand how to read the v2.0 assemblies).  Once t ...Show All

  • Windows Forms multiColumn Combobox

    I am looking for a way to have more than one column in a combobox.  I also need a hidden value property to be the "SelectedValue".  If anyone knows how to do this it would be great. Kevin hrm...my information must've been inaccurate. My apologies. I found a new multi-column combo box today that seems to work better then the other 2 that I've seen/played with: http://www.edneeis.com/control.aspx ID=7 Very simple to ...Show All

  • SQL Server Record set to file

    Any tips on how to get a recordset into a file. I want the result of a stored procedure (multiple rows) written to a flat file.  I've tried a data flow task with an OLE DB Source linked to Raw File destination but that produces gibberish in the file - I need the raw rows returned from the s/p Any tips much appreciated. Greg. I understood SSIS was the new DTS. Any pointers on how I can go about this Mike Greg. ...Show All

  • Visual Studio Tools for Office Text in a Form Field?

    Hello. I was just wondering if you can programmatically set the "default text" of a Form Field I have this so far: doc.FormFields.Add(doc.Application.Selection.Range, Word.WdFieldType.wdFieldFormTextInput)doc.FormFields.Item(doc.FormFields.Count).Name = field Any idea what to do next Thanks! I don't know if this is the proper way to do it, but I figured this out: doc.Fields.Item(doc.FormFields.Count).Result.Text = field Will you let me know if that is correct Or if there is a better way Thanks! ...Show All

  • SQL Server Displaying huge heirarchial data in reports

    I need to display huge data around 1 million records in report. Data needs to be represented as heirarchial. So there is somewhere around 6 level of grouping of data. Can somebody suggest a solution to get the data and display the data in a faster way. Thanks in advance. SSRS Hi, I don't knw if I understand your problem but you could use the document map functionnality for every level of grouping you have. HTH, Eric ...Show All

©2008 Software Development Network