|
by: rick |
last post by:
Noob problem. I prefer to keep all my scripts in an external '.js' file.
I am currently loading the external '.js' file from the header. Problem is I
would like to declare
a global variable in the external file, but I keep getting an error about
the object does not exist.
Can someone tell me where or how to declare a global variable in an external
file that is
available after the page is loaded.
|
by: Walti |
last post by:
Hi
I'm trying to interface a foreign DLL that is written in Delphi. I know:
- Delphi-Integer is a 32-Bit signed Integer --> VB: LONG
- Delphi-PChar is a Pointer to Zero-Terminated ASCII String --> I assume
VB: String
The Delphi Declaration looks as follows:
function MP_GetMessageList( HDL : Integer;
var ErrCount : Integer;
|
by: Lance Geeck |
last post by:
I have many items that I lifted off from Microsoft's website several years
ago. These samples were in VB6.
I now want to convert an application to VB.NET. I am getting an error
that says "As Any is not supported in a declare statement" during the
automated
Conversion process.
Some examples of this are:
Private Declare Sub CopyMem Lib "kernel32" Alias "RtlMoveMemory"(ByRef
|
by: Sakharam Phapale |
last post by:
Hi All,
How to declare the following statement in following structure.
szPname As String * MAXPNAMELEN
Public Structure MIXERCAPS
public wMid As Integer
public wPid As Integer
public vDriverVersion As Long
|
by: Altman |
last post by:
I am having problems with Declaring a function from a dll. I had it work in
VB 6 but I can't get it to work in VB.net. This was the call in VB6
Public Declare Function MBTConnect Lib "MBT" (ByVal szHostAddress As String,
ByVal port As Integer, ByVal useTCPorUDP As Long, ByVal requestTimeout As
Long, hSocket As Long) As Long
When I try this in VB.net I get the following Error:
"Object Reference not set to an instance of an object"
...
|
|
by: marfi95 |
last post by:
I'm trying to call methods in a C++ dll from vb.net that is not a .com
component. I've read I can just use regular Declare statements just as
you do in VB6 except that some of the types need to be converted in the
declaration.
Is there any doco somewhere that identifies what needs to be changed in
|
by: **Developer** |
last post by:
Notice below I sometimes used the "A" version. I found by cut-and-try that
only the "A" version would work correctly. Anyone have a suggestion of why
the "W" version would not work correctly?
One reason is that the ByRef or ByVal does not show by InteliSence so the
"p" would help there.
------
Secondly, I'd like to be consistent with the parameter names. I'd like to
|
by: eric |
last post by:
Can I declare a pure virtual member function which accepts as input a
boost shared pointer to an object of a base class, such that
- concrete implementations of the function can redirect the pointer to
a new object
- clients of the function can pass in as input a boost shared pointer
to an object of a derived class
?
Consider the following classes in the problem domain:
|
by: **Developer** |
last post by:
I saw the following in an example
Public Overloads Declare Auto Function CreateDC Lib "gdi32" (ByV...As
Integer...
Public Overloads Declare Auto Function CreateDC Lib "gdi32" (ByV...As
String...
I know what Overloads means in relation to a function in the base class.
|
by: mlafarlett |
last post by:
I'm stuck. There's a 3rd party dll(not COM) called rscw32.dll that
communicates with a Tandem computer(I know HP bot em but it still a
Tandem to me). I'm trying to create my own .net dll that utilizes the
rscw32.dll so others can communicate with the Tandem. The users of my
dll will want to send varying message formats. The problem comes in
with the
'declare' . The 3rd party dll prototype looks like:
USHORT RscWriteRead(ULONG ulOpt1 ...
|
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: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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: 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 then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|