|
by: Ron |
last post by:
All,
I have a weird problem,
I have a Native DLL that CoCreates a COM object. If I call this DLL from a
native MFC app, everything goes just fine; If I call it from an managed
application with the exact same parameters, the CoCreate fails file
E_NOINTERFACE (x80004002).
I've played around with the different threading models (CoInitialize) but
that does not help..
|
by: n00m |
last post by:
import socket, thread
host, port = '192.168.0.3', 1434
s1 = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s2 = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s2.connect((host, 1433))
s1.bind((host, port))
s1.listen(1)
cn, addr = s1.accept()
def VB_SCRIPT():
|
by: TT (Tom Tempelaere) |
last post by:
Hi there
The following is a description to reproduce the problem. I do not know if this is a bug in the .NET environment/framework (I suspect it is), or if there is something that I am doing wrong. But I am definitely stuck on this one. I cannot find a solution
Make a new C# service project, and add an installer for the service (using menu). Set properties for a test scenario, don't modify code. Run InstallUtil, everything installs fine....
|
by: Henry |
last post by:
Hi,
in a Windows form VB.Net project I use localization for all texts.
In App.Config I added:
<appSettings>
<add key="locale" value="de"/>
</appSettings>
In the project I have ressource files strings.resx (English text) and
strings.de.resx for the German texts.
|
by: Lorenzo |
last post by:
I have a .net webservice (located in a different machine) that is called
twice from a windows form .net application.
The ws works fine if I called only one call, but failed if I called them
both, one after another. The following error occurs every time I called the
second web service:
System.Net.WebException was unhandled
Message="The underlying connection was closed: A connection that was
|
|
by: Rick Lederman |
last post by:
I am using a PrintDocument and PrintDialog to print. The first time that I
print it works, but when I try to print a second time without exiting the
entire program I get an "InvalidPrinterException was unhandled" error. The
error happens in the third line below. The details of the error are below
my signature. Help?
PrintDialog1.PrinterSettings.PrinterName = sLabelPrinterDeviceName
PrintDialog1.Document = PrintDocument1
|
by: angshuman.agarwal |
last post by:
Hi,
I have a owner drawn combo box (using .Net 2.0
Framework). I have written the Nunit test for the same. I am setting
the AutoCompleteSource Property (AutoCompleteSource.CustomSource) and
AutoCompleteMode Property (AutoCompleteMode.Append) for the Combo at
runtime and also have hidden these properties at
design time.
Now, when I am testing the function where I am setting
AutoCompleteSource & AutoCompleteMode values, the Nunit...
|
by: Anbu |
last post by:
Hi All,
I'm using the Cassini component in my desktop application to create a
web site to host the web services. The application works fine in
normal scenario. If the system is kept idle for some time, the
application getting terminated with the following error:
Unhandled Exception : An existing connection was forcibly closed by
the remote host
at System.Net.Sockets.Socket.Send(Byte buffer, Int32 offset, Int32
|
by: teddysnips |
last post by:
SCENARIO:
Application originally developed in Access 97 several years ago.
Worked with no problem until recent change from Novell to Active
Directory.
PROBLEM:
Application was converted from Access 97 to Access 2003.
|
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: 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: 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: 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: 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...
|