|
by: T |
last post by:
Hi all. I have a problem I have not been able to find a reference
about. I am using VB6 and am only a hobbyist programmer. I have 7
arrays of type MyData. Type MyData has 23 elements. Which array that
is operated on depends on 1 of 7 options Currently if I want to write
to an array I have to do this:
if opt1 then
array1(x).data1= 36
array1(x).data2= 23
..
|
by: Terry Bell |
last post by:
We've had a very large A97 app running fine for the last seven years.
I've just converted to SQL Server backend, which is being tested, but
meanwhile the JET based version, running under terminal server, has
suddenly started running very slowly. The network engineer has thrown
up his hands and said "It's Access 97". I've checked out lots of
things including the Oplocks setting and other stuff from this NG, and
I think I've done everything...
|
by: Andrew S. Giles |
last post by:
Helo all,
I have a standalone unmanaged C++ application that makes a call on another
standalone COM server, which raises an event that should be handled in C#.
I am trying to send: unsigned long, double, BSTR, and VARIANT.
The unsigned long, double, and BSTR (marshalled to System.String) work just
fine and dandy.
|
by: Mark |
last post by:
Hi
From what I understand, you can pass arrays from classic ASP to .NET using
interop, but you have to change the type of the.NET parameter to object.
This seems to be because classic ASP passes a variant containing an array,
and interop expects a parameter of type object if you are passing a variant
(you are expected to cast it to the correct type in your code). I'd like to
find a way of passing arrays so that you don't need to change...
|
by: Rob F |
last post by:
Hell
I'm wondering if anyone can shed some light on this? I'm trying to
enumerate the uninstall registry key (to display installed applications)
with VB.NET and WMI
I'm pretty stuck. When I try to collect the installed software via a
call to EnumKey, I get a type mismatch (the exact erro
is: "System.Runtime.InteropServices.COMException (0x80041005): Typ
mismatch"
|
|
by: John Austin |
last post by:
I am trying my first VB6 to ,Net upgrade. The app uses the MS Forms 2 ListBox
control.
My original program assigns a column in the list box using:
.Column = V
where V is a two dimensional variant array. The upgrade (.Net 2003) changes
the line to:
.set_Column(V)
with an error 'Overload resolution failed..' - the function appears to need
either zero or 3 parameters. I canot find any documentation on the
|
by: t |
last post by:
In VB6, I usually use objptr function and API copymemory to identify and
obtain an object, how can I convert them into VB2005? Your kindly help would
be much appreciated.
|
by: buzzluck68 |
last post by:
Hello,
I am trying to update my legacy dll to .net. Currently one of the functions in the dll accepts a paramarray of variants, and I need to upgrade that to .net. But in .net it changes the variant type to object. But the dll will still need to be accessed by a VB6 application. This is causing an error when the function tries to get called. It does not recognize the variable type.
Any help would be greatly appreciated.
Thanks,...
|
by: Simply_Red |
last post by:
I'm using VC6.
i have a DLL written in VC6 and used by VB6( and VBA Excel),
i use SafeArray as parameter, the array is created(declared), in VB
and C++ fill it.
now i need VC++ to get an array of array of different sizes, and VB
can't know the size of these arrays, so the arrays will be 'created'
in VC.
here the code that i use(and it crashes):
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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 we have to send another system
|
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|