|
by: kjm |
last post by:
Hi Everyone,
I am trying to port some old MatLab code to python, and am stuck on
how to accomplish something.
I am trying to write a generalized function that will create a
linearly spaced vector, given the start and end point, and the number
of entries wanted.
In MatLab I have this function that I wrote:
|
by: DAVID SCHULMAN |
last post by:
I've been trying to perform a calculation that has been running into
an underflow (insufficient precision) problem in Microsoft Excel, which
calculates using at most 15 significant digits. For this purpose, that
isn't enough.
I was reading a book about some of the financial scandals of the
1990s called "Inventing Money: The Story of Long-Term Capital Management
and the Legends Behind it" by Nicholas Dunbar. On page 95, he mentions
that...
|
by: Sam Hwang |
last post by:
When an Excel xls file is shown in a winform, I can not open another
xls file by double click on it in the explorer.
The following are the scenarios:
1. Follows the like below to build an c# app that opens an xls file in
a winform.
http://support.microsoft.com/default.aspx?scid=kb;EN-US;304662
2. Run the app and open an xls file.
3. Open another xls file by double click on it from explorer. An excel
|
by: VB Programmer |
last post by:
When edit a page in page-layout, if you hit the <ENTER> button it always
seems double spaced. If I want the controls/text to be closer together do I
have to make them rows of a table and size them closer? Is this the only
way?
|
by: al |
last post by:
Greetings,
I have just finished packaging and deploying winapp. Packing went
fine and so did the deplo. However, I have noticed that there are two
files, not one, that were created by VB.NET. One is application.exe
and the other one is installer that has all the dependencies. Any
idea why is that??
MTIA,
Grawsha
|
|
by: desi.american |
last post by:
I have a dynamically generates ASPX page with tables and data.
Depending on user selection, the same page can be viewed as a simple
web page (rendered in HTML) or as an excel spreadsheet.
If the user chooses to view the page as an excel sheet, I attach the
following line of code in C# in the Page_Load method.
Response.ContentType = "application/vnd.ms-excel";
All this works fine. But some of cells read nvarchar fields from a
database...
|
by: Dilip |
last post by:
Recently in our code, I ran into a situation where were stuffing a
float inside a double. The precision was extended automatically
because of that. To make a long story short, this caused problems
elsewhere in another part of the system where that figure was used for
some calculation and some eventual truncation led to the system going
haywire. So my question is, given this code:
int main()
{
float f = 59.89F;
|
by: Dave |
last post by:
I have a simple little database with name data. I want the user when they
double click the name in the database, for a file to open up automatically
which is stored in the C Drive say, I don't want Access to close though, I
want it running in the background along with the newly opened file. I'm a
novice at coding with events so I have no clue at all where to start with
this. Any ideas techs?
|
by: cendter |
last post by:
Hi there,
I am utterly confused - I have a form that starts an instance from
excel and let's the user select a range. I then want to take this
range as an array of doubles. I ran into trouble because the 1-based
indexing that Excel passes (I think) so after many tries I got:
Excel.Range aRange =
xlApp.get_Range(textBox2.Text.Split(':'),textBox2.Text.Split(':')
);
|
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: 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: 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.
|