|
by: Derrick |
last post by:
I'm trying to calculate the height of a context menu in a manner that will
work in both the full framework (where the calculation is easier because of
the MeasureItem event of a MenuItem) and the compact framework (no
MeasureItem event, which is why I'm stuck).
I have a button that, when pressed, shows a context menu that the user is to
make a selection from. Right now, I am always showing the menu below the
button, but this is...
|
by: paii, Ron |
last post by:
Sorry about that last one.
Does anyone know how to calculate the width a string of text for given Font
name and size?
I want to buildup a block of text strings to display in a unbound control,
that has limited width but multiple lines. Currently I am using the left$()
function to trim the text to a standard number of characters. I want a
function to return the number of characters that will fit in the width of
the control. To keep the...
|
by: Pacific Fox |
last post by:
Hello all,
Does anyone know the SQL statement for calculating surrounding suburbs,
or can point me in the right direction?
I have a database of Australian postal codes and their centroids in
longitude and latitude, I'd like to pass it either the long/lat or
postal code to calculate from. And preferably return distance as well,
in KM..
Thanks in advance.
|
by: Ronald S. Cook |
last post by:
I'm looking for code to calculate the distancde (in miles) between two
cities. I'm assuming latitude/longitude would be the inputs (which I'll
derive from zip codes being entered by the user).
While I assume that any code anyone can send me (or link me to) calculates
mileage as the crow flies, it would be very cool if I could give miles (even
approximate) according to a truck driving between the two locations. Maybe
that's a web...
|
by: Killer42 |
last post by:
Public Function DistanceBetween(ByVal X1 As Single, ByVal Y1 As Single, ByVal X2 As Single, ByVal Y2 As Single) As Single
' Calculate the distance between two points, given their X/Y coordinates.
' The short version...
DistanceBetween = Sqr((Abs(X2 - X1) ^ 2) + (Abs(Y2 - Y1) ^ 2))
' The longer version, to illustrate how it works...
Dim Horizontal As Single, Vertical As Single
Horizontal = Abs(X2 - X1)
Vertical = Abs(Y2 -...
|
|
by: Lancelot |
last post by:
Hello everyone. This is my first post here, but I've been looking for answer many time.
I have a crazy idea in my head and since I am quite a newby to python, I am not sure where to start or if it's evenly possible.
I wonder if you can calculate the time of respond of a wireless system to evaluate the distance of this device from the computer. I tought of a wireless mouse. Is there a even that you can send, check the local time, wait...
|
by: parshupooja |
last post by:
Hi All
I have a gridview where I have to show 3 columns: first location address, second Location address and third is distance between first location and second location.
I don't know how to calculate distance between two locations in asp.net C#.
can anyone suggest how shd i achieve this?
Thanks
|
by: whnkee |
last post by:
I need to audit the freight bills charged by freight company which has
over 20,000 consignment per week. The basic charge is base on distance
and weight, something like this:
SYD-MEL <1kg $6
SYD-MEL<3kg $6.7
SYD-MEL<5kg $7
SYD-MEL<10kg$10
SYD-MEL>=10kg $12, $4 per kg rate
SYD-PER<1kg $10
......
|
by: sarah.kidd |
last post by:
Hello
I was wondering if someone could please help me.
I have created a google map:
http://www.cancerpatientgis.com/markers%20test/HospPat_markerstest.html
|
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: 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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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: 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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
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.
|