Recent update: 2008-3-21
Hi, I am a new bee to .NET. I have a Ms-Acess Database which is protected by password. This table contains tables, queries and reports. One more database contains links(references to the first database). If any table structure is changed in the first table, in order to update links I need ...
Hi, I am a new bee to .NET. I have a Ms-Acess Database which is protected by password. This table contains tables, queries and reports. One more database contains links(references to the first database). If any table structure is changed in the first table, in order to update links I need to ...
I have generated a C# client .dll for a .NET webservice. I did this by adding a web reference in VS and edited the .cs file. I have added interfaces and attributes for COM interop. I have it registered on a Win2k machine and cannot access it with VB6. Of course VB6 Intellisense works fine (I'm ...
OK, I'm gettin this error 44 and I don't know what to do.Error 44 The "ResolveComReference" task failed unexpectedly.System.SystemException: The type library importer encountered an error during type verification. Try importing without class members. > System.MissingMethodException: Method ...
2731 byte By
J.C. at 2008-3-1
I am sure the "Patterns & Practice" team @ MS are squirming about this InteropForms Toolkit 1.0. Honestly, I am a little disappointed in the emergence of this toolkit. Ideally MS should’ve created a migration path process and set of patterns to allow the developer to understand ...
Hi VB Community Members,We wanted you to know about the release of the new Interop Forms Toolit 1.0. In a nutshell the toolkit makes it easy to create Windows Forms in VB.NET and then add them to an existing VB6 application. This makes it much easier to extend your VB6 app gradually and ...
Hi everybodyI migrated a VB 2003 project to VB 2005. It has as main output a dll library which I need to register for COM interop. The application builds fine until I check the compile options "Register for COM interop" .I get the following errorError 1 Cannot register assembly ...
Am i overlooking something ?I followed the instructions and created a . net interopForm project.Referenced everything in VB6A vb.net form expects the property MdiParent to be set ...This property is not available to set , will i get there by adjusting the interface of iiForm ?Any suggestions ...
First of all thanks. It is a great toolkit. Well done.I have existing VB6 application and the toolkit will be very helpful. Bu I am prefer C# now. So why not expand Add-In to support C# code generation, and add some C# templates. I did some reverse engineering to achieve this. You can see ...
Hi VB Community Members,We wanted you to know about the release of the new Interop Forms Toolit 1.0. In a nutshell the toolkit makes it easy to create Windows Forms in VB.NET and then add them to an existing VB6 application. This makes it much easier to extend your VB6 app gradually and ...
3246 byte By
hazz at 2008-2-23
Is there an equivalent? The designtime IDE doesn't know what to do with, for example, AxMSFlexGridLib.DMSFlexGridEvents_KeyDownEvent Private Sub MSFlexGrid1_DblClick(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles MSFlexGrid1.DblClickand I don't understand ...
Microsoft Interop Forms Toolkit is now available:This toolkit helps you bring the power of .NET to your existing VB6 applications, by allowing them to display .NET WinForms from within the same application. Instead of upgrading the entire code base, these applications can now be extended one ...
216 byte By
IPM at 2008-2-22
<P>I am trying to upgrade my VB6 project to VB2005 and I am getting an error "Upgrade failed: Exception occurred: General error accessing file "C".</P> <P>Does anyone know what is this about and how to fix it? </P>
1122 byte By
UncleK at 2008-2-21
I added Flash9.ocx(c:\program files\system32\macromed\flash\) to vb2005toolbox, when I draw the "Shockwave Flash Control" to form, there comeserrors: * Could not resolve dependent COM reference "stdole,Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a". * ...
How to register vb.net dll in windows system. And how to register that .Dll in another system.
Greetings.I have a VB6 client/server application, that needs to interop with a .NET assembly.I have all required assembly files (.dll, .pdb, .tlb) in my PC. In my development box, to make call from vb6 to .NET assembly , using regasm command I registered the typelibrary and everything works ...
Has anyone gotten VB6 Service pack 6 to install in VISTA RC1I tried and it errors out with some cryptic error about a missing file and quits.VB shows no sp installed and programs that were created with SP6 installd on XP will not run in the API on Vista RC1 with an error message "Component ...
I have a dotNet 2003 VB program that uses random access files, as in:FileOpen(FNum, FName, OpenMode.Random, OpenAccess.Read, OpenShare.Shared, Len(FRec))After converting this program to VS dotNet 2005, I see several notes in the MSDN documentation and in the conversion log that say that ...
703 byte By
rosyou at 2008-2-18
Our project has got some user controls in the old VB6 Version, in the form of .ocx. When upgrade to VB.net 2003, they were changed to interop&Axinterop dlls. Now I hope to open the project in VS2005, and i've done upgrade following the upgrade guidance.But after upgrading, there were some ...
208 byte By
Rekar at 2008-2-17
IN Vb 6.0, using the Print command would print whatever text you put onto the form. Im wondering how you would do that same thing in VB2005 because apparently the command had changed... thank you
Hi other timeI created a dll in VB .NET that is gonna be used in an VB6 application, I used the Type Library Exporter to reference it in the VB6 application (the tbl file).Now i technically can enter to the methods of my dll. The problem comes when I run my VB6 application, in the point of ...
489 byte By
Benin at 2008-2-15
Hi,In my VB6 application i am having a function which returns of type Control as follows, Private Function MyFunction(param1 As String, param2 As MyType) As ControlNow Inside this funtion I am calling .Net fuction, this .Net function returns of type Control (.Net), when i am trying to assign ...
216 byte By
Rekar at 2008-2-15
IN Vb 6.0, using the Print command would print whatever text you put onto the form. Im wondering how you would do that same thing in VB2005 because apparently the command had changed... thank you </span>
<span> Hi Hope some body can help with this: - I have just installed vb 6.0 and want to write an application that Access data from MS Projects. </span> </span>
We have a big project created in visual interdev 6.0 that we need to convert to a Visual Studio 2005 vb.net project.Tried to just open the *.sln-file in vs 2005 that started the conversion wizard. After the "convertion" process (I assume it did not do much at all) had finished, I was ...
450 byte By
Benin at 2008-2-15
Hi,When I am trying to do Controls.Add("progId") in my VB6 Application it is throwing me Error -2147417848 "The object invoked has disconnected from its clients". The progId I am using in the function is the ProgID of a COM Visible .Net user control. (That is registered ...
987 byte By
Benin at 2008-2-14
Hi all,I have an Interface named "IMyInterface" declared in VB6. And I have a user control project in VB6, this user control implements the Interface "IMyInterface". Now I want to use the user control developed in VB6 in my new .Net Project. So I have added the reference of ...
Hello,I get an Interop automation 91 object not set to an object reference error in my VB .NET windows application when launching an Access 2000 database on a workstation which has Office 2000 installed on it. I am using the Microsoft Access 11.0 Object Library within my VB .NET application to ...
364 byte By
Benin at 2008-2-13
Hi all,From where shall I get the "Microsoft.Office.Core.dll"?. I need "Interop.Microsoft.Office.Core.dll". I am trying to use tlbimp to generate the Interop.Microsoft.Office.Core.dll from the Microsoft.Office.Core.dll. Is that way correct? where will ...
Hi other timeI created a dll in VB .NET that is gonna be used in an VB6 application, I used the Type Library Exporter to reference it in the VB6 application (the tbl file).Now i technically can enter to the methods of my dll. The problem comes when I run my VB6 application, in the point of ...
711 byte By
rosyou at 2008-2-12
Our project has got some user controls in the old VB6 Version, in the form of .ocx. When upgrade to VB.net 2003, they were changed to interop&Axinterop dlls. Now I hope to open the project in VS2005, and i've done upgrade following the upgrade guidance.But after upgrading, there were some ...
I'm getting an error while trying to fill a grid (third party). The code is as follows:Public Sub FillTheGrid(ByRef one As String, ByRef two As String, ByRef three As String) Dim s As String Dim e As Short = 0 s = (one & Chr(9) & two & Chr(9) & three).ToString e = ...
I'm getting an exception message upgrading a VB6 EXE to VB 2005. Do you have any tips that could help me identify the problem. I've already fixed the Case Is syntax error mentioned in KB 915917. Are there other KB articles that I should review. Thanks
Hello,I'm having an issue concering the CreateObject method and a service I've been developing. I've written a DLL that executes the statement:CreateObject("CognosImpromptu.Application")When I reference this DLL through a regular app this statement executes easily and the rest of ...
2080 byte By
Bigmo at 2008-2-8
When attempting to send a email from my application via outlook with the following code. I am always prompted to supply a username and password for the account, even thought the dialog box has them in and i have checked save password. is there any way off coding this not to happen ? Imports ...
I have a development machine at work that has Access 2000 and VB6 on it with working projects. I have installed VS 2005 as I am training in that language now as well. My problem is that I have functioning code in Access and VB6 that no longer works because of the licensing errors for ActiveX ...
hi, unless i missed something, i couldn't view my converted data environment in design view like in vb 6. any info on this? IDataEnvironment and DataEnvironment are two different things right? hmmm, tried looking up in namespaces but couldn't add an IDataEnvironment from system.design.dll. ...
Hi Hope some body can help with this: -I have just installed Visual Studio 2005 Professional onto my PC and want to write an application that opens an Excel spreadsheet and reads data from a specific range in the sheet.Problem is I cannot seem to import the Excel objects into the program. ...
Instead of using the get function in VB6, what would i use in VB.NET?
Hello Is the toolkit available already (or soon) ? Thanks :)
Hi all,I have to create a .NET control. It have to run in a vb6 app.I'd like to use it like a standard OCX control. I've found in the net that it's possible. there's anyone who can tell me in which way I can do it?It's simple: have a .net control and import it in a VB6 controls list by ...
So, the upgrade from VB6 to VS2003 was really painful when it happened. A positive thing to note about it is that when you do that one you get big lists of errors and warnings and things that you need to change.If you then take that code and try to upgrade it to VS2005 you get NO warnings and ...
Hi All,I've written a VB.Net dll which requires an Oracle connection to be passed so that database operations can be carried.The dll needs to be able to operate with .Net and VB6 so it's been stongly named, interfaced and been registered for COM Interop.When I try and pass an Oracle ...
Hi All, We are looking for information that would help us understand the complexities involved in the migration for Windows and Web apps. Can somebody share information on a definitive guide for VB/ASP to .NET migration. TIA.
Hi, I m doing migration from VB6 to VB.net. The way to show form within MDI form as following:In VB6Call form1.show()I can call child form within MDI form using the syntax above directly, whereas in VB.net it gives me AccessViolationExceptionDoes anyone know how to solve this ...
Hi all,I have to create a .NET control. It have to run in a vb6 app.I'd like to use it like a standard OCX control. I've found in the net that it's possible. there's anyone who can tell me in which way I can do it?It's simple: have a .net control and import it in a VB6 controls list by ...
364 byte By
Benin at 2008-2-4
Hi all,From where shall I get the "Microsoft.Office.Core.dll"?. I need "Interop.Microsoft.Office.Core.dll". I am trying to use tlbimp to generate the Interop.Microsoft.Office.Core.dll from the Microsoft.Office.Core.dll. Is that way correct? where will ...
987 byte By
Benin at 2008-2-4
Hi all,I have an Interface named "IMyInterface" declared in VB6. And I have a user control project in VB6, this user control implements the Interface "IMyInterface". Now I want to use the user control developed in VB6 in my new .Net Project. So I have added the reference of ...
So, the upgrade from VB6 to VS2003 was really painful when it happened. A positive thing to note about it is that when you do that one you get big lists of errors and warnings and things that you need to change.If you then take that code and try to upgrade it to VS2005 you get NO warnings and ...
hi everyone, Primary platform is Framework 2.0 Does anyone is awared with total security about of which are the COM subprocessing model per every .Net Application? Another day, I read that Console application are running by default as STA instead of MTA (as I though). In a fact I had ...