| Urgent ! InteropServices.COMException error (3 replies) |
| ASPFriends.com 'aspngmigrate' list |
| Hi, I'm using VB.Net Released version. I like to call a VB6 COM from a Web Application. I've Added Reference to my application. However, when it's trying to call a function in VB6 COM, it will give me the following error System.Runtime.InteropServices.COMException: Object variable or With block variable not set What does this mean? I've tried tlbimp but it i still get the same error message Pls ad... |
|
| How to 'Dispose' a RCW? (3 replies) |
| ASPFriends.com 'aspngmigrate' list |
| Copied from [aspngfreeforall] to [aspngmigrate] by Charles M. Carroll charlesmarkcarroll@yahoo.com Hi, Does anybody know if there is a way to force or postpone "hurry" the garbage collection of runtime callable wrappers for unmanaged COM components? Anders Vikstr F6m SW Engineering, BANQIT AB http://www.banqit.com mailto:anders.vikstrom@banqit.com Phone: 46 8 7594737 |
|
| Calculating dates in .Net (2 replies, VIP) |
| ASPFriends.com 'aspngmigrate' list |
| Moved from [aspngfreeforall] to [aspngmigrate] by Marcie Jones marciejones@yahoo.com In asp.classic I could calculate a date like this: Dim made Made 3D rstemp.fields("changed") IF month(now() made) 18 THEN IF month(now) month(made) THEN RESPONSE.write " font color 3D'red' " & formatdatetime(made, vbshortdate) & " br br b OBS! /b " RESPONSE.write GetText(aryElementText, "prodtab item18") & " /font... |
|
| Problem with COM interop (2 replies) |
| ASPFriends.com 'aspngmigrate' list |
| Hi all, I am writing a .NET assembly to serve as a scriptable ( from ASP) COM server. This assembly (called Bridge.dll), will bridge the gap between the types that ASP can 20 comfortable deal with, allowing the assembly containing the real meat of the work 20 (called Real.dll) to express its interface in .NET types. The code for Bridge.dll and 20 Real.dll are in the same VS.NET (RTM Enterprise Arc... |
|
| SV: Re: Calculating dates in .Net (2 replies, VIP) |
| ASPFriends.com 'aspngmigrate' list |
| I keep getting errors saying 'Integer' cannot be converted to 'Date' Regards/H E4lsningar Andr E9 Colbi F6rnsen 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D Sonnenburg Communications Bergsgatan 3, SE 211 54 Malm F6 Sweden Tel.: 46 (0)40 97 78 80 Fax.: 46 (0)40 97 78 80 Mob.: 46 (0)708 97 78 79 Mail: colbiornsen@sonnenburg.se Web.: www.sonnenburg.s... |
|
| COM Interop and Variant Return Type (2 replies) |
| ASPFriends.com 'aspngmigrate' list |
| Moved from [aspngfreeforall] to [aspngmigrate] by Charles M. Carroll charlesmarkcarroll@yahoo.com Does anyone know what the expected type should be when a COM object returns a variant (byte array)? I might add that this is using the release version of the Framework (and VS.NET, if that matters). Here's my situation. I have a VB6 COM object which generates a report, exports that report to PDF as a ... |
|
| COM+ and .net (2 replies, VIP) |
| ASPFriends.com 'aspngmigrate' list |
| Moved from [aspngvs] to [aspngmigrate] by Marcie Jones marciejones@yahoo.com I'm looking for a good reference/how to on using old VB6 Com components with asp.net; either in Web or Print form. I have looked at Microsoft's stuff (msdn) and it seems too nonspecific. Ideally I would be looking for a step by step how to with code examples in C#. Thanks for your help, george |
|
| Visual Basic Upgrade Wizard (2 replies) |
| ASPFriends.com 'aspngmigrate' list |
| Moved from [aspngfreeforall] to [aspngmigrate] by Marcie Jones marciejones@yahoo.com I have an existing VB 6.0 COM dll that I'd like to upgrade to .NET. I've seen the Wizard do stuff like data typing and syntax changes. I would imagine, the main issue might be the conversion from ADO to ADO.Net. I realize this is optional but I would want to attempt it. What are the main issues with respect to con... |
|