Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
T

TeachesOfPeaches

@TeachesOfPeaches
About
Posts
16
Topics
6
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Function with different types of arguments
    T TeachesOfPeaches

    Hi, I have a function that populates a list with items of type 'RemoteCustomFieldValue'. Now I would like to extend this function in a way that the list would accept items of different type 'RemoteFieldValue'. I thought this would work like in the snippet but I get the following error in the if-statement: 'The expression of type "System.Collections.Generic.List(Of T)" can never be of type "System.Collections.Generic.List(Of legion.SST.Jira.RemoteCustomFieldValue)".' And another one when adding the item to the list 'The value of type "legion.SST.Jira.RemoteFieldValue" can not be converted to "T"' How can I solve this problem? Perhaps is there another way to do it. Many thanks in advance

    Private Sub GetUserInputValues(Of T)(ByRef alRemoteCustomFieldValue As List(Of T))

        ....
           **If TypeOf alRemoteCustomFieldValue Is List(Of RemoteCustomFieldValue) Then **                            
                        Dim rcfvUsrInput As RemoteCustomFieldValue = New RemoteCustomFieldValue
                        rcfvUsrInput.customfieldId = ContentCtrl.ID
                        rcfvUsrInput.values = s.ToArray
                        alRemoteCustomFieldValue.Add(rcfvUsrInput)
              Else
                        Dim rcfvUsrInput As RemoteFieldValue = New RemoteFieldValue
                        rcfvUsrInput.id = ContentCtrl.ID
                        rcfvUsrInput.values = s.ToArray
                        **alRemoteCustomFieldValue.Add(rcfvUsrInput)**
                        End If
              End If
    

    End Sub

    Visual Basic help question

  • ADODB was not found - Access denied [modified]
    T TeachesOfPeaches

    Hi everybody, i'm trying to run an asp.net(2.0) application on iis 6.0 with the rights of a specific user. (Using the rights of the default networkservice resulted in an access violation while trying to write a file into a folder. So i've created a user with the rights i needed to write into the file system) but now i have got another error message: File or assembly ADODB or a dependency was not found. Access denied. i suppose the account needs more rights to run the application with all its dependencies but how can i found out which rights do i have to grant to the account? Or in other words which rights needs an account to run an asp.net application that uses the ADODB.dll thanks for help Andreas -- modified at 15:10 Monday 17th September, 2007

    ASP.NET help question csharp asp-net windows-admin

  • StoredProcedures with variable parameter list
    T TeachesOfPeaches

    That's true :) Thanks

    ASP.NET question database

  • StoredProcedures with variable parameter list
    T TeachesOfPeaches

    I pass the name of the stored procedure into my function and then append the parameters the stored procedure expects. This works fine as long as I have stored procedures which expect always the same parameters. But now there are very few exceptions. So my question is if there is a way to check how many parameters a stored procedure is expecting before I execute it? Public Function GetReport(ByVal StoredProc As String) As Boolean Dim cmd As New SqlCommand(StoredProc, m_Conn) cmd.Parameters.Add(...) cmd.Parameters.Add(...) Many thanks for all kind of hints Andreas

    ASP.NET question database

  • execute in context of different user
    T TeachesOfPeaches

    yes,this is the one, thanks

    Visual Basic json tutorial question

  • execute in context of different user
    T TeachesOfPeaches

    hi, i would like to read the user name and the password from an ini file in vb6 and run the application in the context of this account (the platform is W2K or WXP). Can any one give me a clue how to accomplish that or what api do i need? Many thanks for suggestions, andreas

    Visual Basic json tutorial question

  • Breakpoint will not currently be hit
    T TeachesOfPeaches

    The way described by Ben is the solution to my problem. It works fine. Thanks for your help

    .NET (Core and Framework) debugging workspace

  • Breakpoint will not currently be hit
    T TeachesOfPeaches

    I place the breakpoint on a MessageBox which is displayed when I start the application but the breakpoint itself wont be hit

    .NET (Core and Framework) debugging workspace

  • Breakpoint will not currently be hit
    T TeachesOfPeaches

    Thats a good idea. The process I want to debug is expecting argumets from the caller procedure, but I think I can work around and this will work. Many Thaks.

    .NET (Core and Framework) debugging workspace

  • Breakpoint will not currently be hit
    T TeachesOfPeaches

    Thanks for the reply. But it doesn't work either :(

    .NET (Core and Framework) debugging workspace

  • Breakpoint will not currently be hit
    T TeachesOfPeaches

    Hi, I have two projects in my project explorer which I would like to debug.The main project calls the other one with Process.Start(new ProcessStartInfo(SubExe, Variables) But when I set a breakpiont in my sub project and start the debugger I get the message The breakpoint will not currently be hit. No symbols have been loaded for this document I have alredy set the configuration to debug, deleted bin and obj folders with pdb and exe folders and rebuilt both projects. I would be very grateful for any suggestions

    .NET (Core and Framework) debugging workspace

  • Exe file bigger than usually
    T TeachesOfPeaches

    well I've also tried to delete the exe, but the result is still the same. But during the compilation there are two phases one "compilation in progress". I suppose this is the compiler, which works fine. The obj files are created. Then the second phase "exe is being created" which is the linker.This process fails very often. Do you think that perhaps any of the dlls which are linked with my project could be corrupt?

    Visual Basic visual-studio help announcement

  • Exe file bigger than usually
    T TeachesOfPeaches

    thanks for the suggestion but I'm working with vb6.0 and as far as I know there is no bin

    Visual Basic visual-studio help announcement

  • Exe file bigger than usually
    T TeachesOfPeaches

    It is 120MB so the difference is really significant. I think I wouldn't bother about 12MB.

    Visual Basic visual-studio help announcement

  • Exe file bigger than usually
    T TeachesOfPeaches

    do you mean the the option 'generate debug information for symbolic debugger' on the register compile in the project properties? This option isn't checked. So I assume I have no debug information in my compilation I have even found an older version of my vbp file and tried to compile the project using it but the exe file was still 120MB

    Visual Basic visual-studio help announcement

  • Exe file bigger than usually
    T TeachesOfPeaches

    Hello, after the compilation of my vb6.0 project my exe file was usually about 5MB. But recently I either get the error 'system errror &H80004005 (-2147467259) unknown error' or in the case that the compilation was successful the exe file is about 120MB. (the files that belong to the project are not bigger than 7MB alltogether). Does any one know how it is possible that the exe file can become so big. The only changes I've made were minor code changes.I didn't add any references or componets to the project.I've tried to reinstall the VS 6.0 and all the components I use but without any result. Even the older version of the project which I've compiled to the normal size a few weeks ago is now about 120MB after compilation. I use VB6 with SP6 on a WinXP machine. I would be very greatful for any kind of idea or information regards, Andreas:confused:

    Visual Basic visual-studio help announcement
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups