473,473 Members | 1,842 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Upgrading form VB6 to VB.NET --> 'as Any' and library 'kernel32' problems

1 New Member
Hi
I've been asked to convert some code from VB 6 to Vb .Net and I've come across some problems. The main one is that the variable type 'any' is no longer supported. However, the library function I'm using has the 'as any'... so I'm at a loss how to convert the code. Any help would be greatly appreciated

Thanks

Expand|Select|Wrap|Line Numbers
  1. 'UPGRADE_ISSUE: Declaring a parameter 'As Any' is not supported. Click for more: ....
  2. 'UPGRADE_ISSUE: Declaring a parameter 'As Any' is not supported. Click for more: .....
  3.  
  4. Public Declare Function RtlMoveMemory Lib "kernel32" (ByRef dest As Any, ByRef src As Any, ByVal Count As Integer) As Integer
Dec 7 '06 #1
1 2704
fahdzia
1 New Member
I had a similar situation and my data types were mostly String. So I converted them to String
Sep 22 '09 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

7
by: bc9am | last post by:
Hi, I'm having problems with the <form> tag creating some unwanted whitespace. I did a search on this forum and came across this link: http://www.cs.tut.fi/~jkorpela/forms/extraspace.html ...
2
by: PengYu.UT | last post by:
Hi, I know they are simple to implement, although I have to take care of overflow. But I just do not want to reinvent the wheel. Do you know if there is any library for them? Thanks! Best...
2
by: Gram | last post by:
Hello, Can anyone help with the following. I have a search option on a site, using a form, but the FORM element throws off all the layout. Is there a way to make a search work, without using...
6
by: snacktime | last post by:
I've searched and searched and have not found a solution to suppress the margin on form or href tags so that there is no space before or after the tag. The only way I have found to do this is to...
2
by: Shawn H | last post by:
Hi guys, I'm experiencing this really strange issue with a HTML form, because no data gets posted. Basically, everything is written in ASP. Firstly, a user fills in an online (ASP) form, and...
19
by: Coward 9 | last post by:
HI, I saw in an example hello.aspx, there is a <form tagbeing used like <form runat="server> I search all html tag references and could NOT find "runat" attributes for <formtag. which...
1
by: Ian Semmel | last post by:
Suppose I have a form in a library, say LibForm, and I add a button, say helpButton, with a modifier of protected. If I then add a form to a project and change the generated code to read ...
1
by: ZelluX | last post by:
Hi, all I want to write a script which will rename PDFs according to their titles. I want to know if there is any library that can extract titles(the first line of the PDF) from PDFs. Many...
3
by: kuangye | last post by:
Hi, all. Is there any library supporting set operation such as union, intersection, difference on sets of integer numbers.
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.