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

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

tyaramis

Member List

Gmukwewa
Kevin Hoffman
Chris Honcoop
pidnas
Wil Burton
sweet_salt
ryan.rogers
alpefusk
Jesper25539
tryanothername
Jabs
Sergio Ortiz
usp
RoryEnslin
sud
aoky
Lawrence 007
S Carter
Toan
Arturo Moreno
Only Title

tyaramis's Q&A profile

  • Windows Forms CryptographicException when deploying

    My app is successfully deployed via ClickOnce to 100+ users, but one person gets an error on install. In theory all our desktops are standard. It fails on all PCs this user logs in to, but works for others on the same PCs. Where could my problem lie Many thanks in advance. PS, one curious thing, my VS-generated certificate expired on Friday 24th 16:50 but this user reported the problem on Thurs 23rd 12:30pm. Surely this is not related ======================================================== ERROR DETAILS Following errors were detected during this operation. * [2006-11-23 12:26:54] System.Deployment.Application.InvalidDeploymentException (ManifestParse) - Exception reading manifest from file://iaea.org/resources/Agen ...Show All

  • Windows Forms Custom lists into a PropertyGrid dropdown

    Hi, I'm working with a PropertyGrid class, and I want one of the selected object's properties to show as a list of strings. As far as I can tell the naive StringConverter derived class will not do for me since I want the list of strings to be supplied dynamically at runtime. How do I get around this Well, as I've stated the naive solution is pretty understandable. My problem was having my TypeConverter figure out which strings to return at runtime . The problem is the class that I attach the TypeConverter attribute to is a data class, which by design does not reference the class which decides at runtime the list of possible values. To do what I want would mean that when the type converter is activated, I need to supply it with an ins ...Show All

  • .NET Development Using .NET Remoting within a CLR Trigger?

    Ok, forgive me if this is ridiculous question but is it possible to call a .NET Remoting method from inside a CLR Trigger My gut feeling is yes it's possible but there could potentially be a performance hit. Questions, comments...anyone....Ferris I don't think you can. And even if you can, it doesn't mean you should :). I believe that your problem is related to the ASP.NET cache invalidation when a table changes. So it might be helpful to investigate the techniques they used. Their purpose is the same, to call some .NET code from another process when something happens in the database. See http://msdn2.microsoft.com/en-us/library/ms178604.aspx ...Show All

  • Windows Forms Is there a better way to handle localization?

    Hi, I know that for each form, VS.Net creates a resx file for each culture. When the project grows bigger, the number of resx files will grow too. I am wondering if there's a better way to maintain those resx files. Thanks. I'm not sure there is a single answer to this, it really depends on your project and your organization. There should be little or no impact on performance with one or more files. I haven't measured this, but in theory a look up should be about the same since regardless of the approach you mash it all together in a .dll file. A single file might be easier if you only have a few people working on this, since they can focus on the effort rather than which file to use. For larger ...Show All

  • SQL Server SQLExpress, locked files, and sp_detach

    I have a situation where I want to copy a SQLExpress mdf file, after having read some metadata from it, but I find that an exclusive lock persists on the file for about 5 minutes after closing... the lock is held by "sqlservr.exe" This lock prevents me from copying the file. It seems that I may be able to fix this by calling sp_detach_db after closing the connection (does this seem reasonable ) but I am unsure what the database name (dbname) is that I need to pass to sp_detach_db. To make this a little more concrete, here is the connection string I use... "Data Source=.\SQLEXPRESS;AttachDbFilename=C:\testdata\DVDCollectionDatabase.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True'" so in that case what ...Show All

  • Visual C# SQl server authentication issue in C#

    Hi Guys, I have a tool written in C# which connects to a remote SQl server 2005. Its working fine while I use "Integrated Security". However, I want to login the database using another credential instead of using the currently credentials associated with the tool. The reason for this was because not all the users using this tool have permission to access the database. So, I need sort of impersonation to allow any user using this tool to connect to the database. Is there any simple and efficnet way to do this Thanks. that means, sql server authentication is not enabled. Do you mean I just need to enable both authentications Let me try. But is this a good practise Thanks ...Show All

  • Visual Studio Visual Studio 2005 Crystal Reports

    I added a CrystalReportViewer to a user control in a class library as part of a Solution using Microsoft.CompositeUI etc. I followed the instructions in your tutorial but when I run the module, instead of the crystal report containing the array of strings that I passed to the SetParameterValue(PARAMETER_FIELD_NAME, sName.ToArray()) method, a window appears prompting me to Enter Parameter Values. Can you tell me what went wrong I shall send you the code that I wrote behind the user control containing the CrystalReportViewer, if you like. Thanks ...Show All

  • SharePoint Products and Technologies ListTemplates with field definition for calculated fields and other problems

    Hey there, I have a feature with a list template designed in VS2005. I edited the default schema.xml and added some fields to the list and to the standard view: <Fields> <Field Id="{3944F8B9-21F8-42c8-85AB-BEEF4E863688}" Name="Mitarbeiter" BaseType="Text" DisplayName="Mitarbeiter" Type="User" FromBaseType="TRUE" ReadOnly="FALSE" Hidden="FALSE"/> <Field Id="{6EB5AA2B-9870-4183-891C-A53BFFC51840}" Name="Anspruch" BaseType="Integer" DisplayName="Anspruch Aktuell" Type="Integer" Min="0" FromBaseType="TRUE" ReadOnly="FALSE" Hidden="FA ...Show All

  • Visual Studio Tools for Office current() function in Infopath 2007

    I have two drop down lists in my infopath form. They are populated by different secondary data sources. The format of the data sources look like this: DataSource 1: <Items> <Item ID="100" CategoryID="1" Value="String1"/> <Item ID="101" CategoryID="2" Value="String2"/> </Items> DataSource 2: <Items> <Item ID="110" CategoryID="1" Value="String10"/> <Item ID="111" CategoryID="1" Value="String11"/> <Item ID="112" CategoryID="1" Value="String12"/> ...Show All

  • Visual Basic Missing Assembly Microsoft.SqlServer.ConnectionInfo while using ClickOnce deployment

    hi, I am using VB.net and I have a problem while publishing my application using the ClickOnce deployment on a shared folder on the seever. On my PC, the application works fine where the VS2005 is installed. But when I tried to install and run the application on an end user machine , it gives me the following warning: "Unable to install or run the application. The application requires that assembly Microsoft.SqlServer.ConnectionInfo Version 9.0.242.0 be installed in the Glocal Assembly Cache (GAC) first." how can I solve this problem Thanks in advance Regards, I found the solution to this problem. well what you have to do is go to the project properties --> Publish tab ...Show All

  • Visual Basic Com Library overloaded methods with optional parameters

    I am trying to export some data from a datatable to a new Excel document via the Microsoft Excel 12 COM library. I have had a few problems trying to get this to work: 1. The EXCEL.exe process would stick around long after excel itself and the running application closed down. I have gotten around this issue by releasing all of objects created using the Marshal.FinalReleaseComObject() method. 2. The Excel.WorkdBook.SaveAs method is overeloaded 3 times. Each one of these methods contain ONLY optional parameters. I have tried to access this method using Type.Missing for the parameters I do not require, but I continually get a COMException thrown with "HRESULT: 0x800401A8" when it hits the SaveAs method. Visual Studios 2005 does not ...Show All

  • Visual Studio Team System Performance session with DLLs

    I have a solution that one dll project and one executable project. The executable project uses the output of the dll project to perform all of its functionality. The problem is when I try to do a performance session on the executable project, I do not get any information for the methods in the dll. Is there a setting that I'm missing to get this to happen Thanks Krwell, Judging by the context I would assume that you are using the instrumentation mode of the profiler. To collect data on the dll file you will have to add the dll file to the performance session and select it for instrumenation. Do do this, first right click on the targets folder and select add target binary then add the dll that you want ...Show All

  • Visual Studio Studio 6 and SourceSafe 2005: Can't see that file is checked out

    A few pointers on this issue would be greatly received. We have finally managed to implement 2 developers connecting to SourceSafe 2005 using Studio 6. One developer is connecting to SourceSafe via HTTPS and the other is connecting via the LAN. My problem is that when the other developer has checked something out I have no visual indication in Studio 6 that I will be unable to check out the file. I have to try and check it out and hope it is available. I am assuming there should be an icon next to the file to indicate that another user has it checked out. Am I wrong Any help would be appreciated. Lee Is this really a blocker for you I don't remember if we supported this scenario with Visual St ...Show All

  • Visual Basic MDI Creation

    I know this should be a simple thing but I can't find information on it at all. I am creating a program that needs a dynamic MDI. The user will be able to begin at the main page(frmMain) and advance through 7-8 pages with the last updating a database. They can also scrap the project midway through and restart, or jump to the end and load a finished project from the database. I have tried to find examples on how to do this, but have had no luck. I also want to be able to advance through the forms using the menustrip and buttons on the form, but I beleive the code behind both will be similar. Can anyone point me to an example of this. ps. This is my first major attempt at a program outside of .php U ...Show All

  • Visual Basic comparing dates

    tryin got compare a user selected date with dates present in a dataset obtained from an sql database. on button clik the following code is executed. Reset field has to be changed on finding the specific date but this does not happen. Protected Sub ResetAll( ByVal sender As Object , ByVal e As System.EventArgs) Dim cmdObject As New SqlClient.SqlCommand 'select the trainees that have not been reset cmdObject.CommandText = "select CompletionID, EmployeeID, CompletionDate,Reset " & _ "from POPMA_Trainees " & _ "where Reset = 0 order by CompletionDate " Dim ds As DataSet = eLearningDatabaseMethods.GetDataSet(System.Web.HttpContext.Current.Request( &q ...Show All

©2008 Software Development Network