all groups > dotnet general > september 2003 > threads for monday september 22
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
passing a struct by ref to unmanged code
Posted by codymanix at 9/22/2003 11:36:32 PM
i want to pass a struct by reference to a function in a c++ dll.
the problem is that the call causes an ArgumentException in the calling c#
code.
i already tried to use "out" instead of "ref" there was no exception
generated but i
saw in the unmanaged code all fields of the struct were uninit... more >>
can i use trace and traceListener for multi thread application (and multi-tracing)
Posted by Daylor at 9/22/2003 9:44:06 PM
hi.
i have application with 5 threads.
can i use the trace and tracelistener, so if i trace in thread1 , it will
write to
file1, and if i trace to thread2 if will write to file2.
hope im clear, have a nice day.
... more >>
Reading these newsgroups
Posted by Andrew at 9/22/2003 6:25:51 PM
What do people use to read these newsgroups? I have been
using my web browser (IE) and pointing it
to "http://msdn.microsoft.com/newsgroups/". The
experience doing this has been pretty much awful. Is
there something better? I do not want to use Outlook -- I
do not trust it to refrain f... more >>
OT: Javascript IDE
Posted by Robert Blackwell at 9/22/2003 5:03:42 PM
Is there a Javascript IDE? I googled it but didn't find anything really.
... more >>
Mixing VB.NEt with CS
Posted by Rohit Sharma at 9/22/2003 4:53:50 PM
Hi All,
I have a VB .NET application. I want to use one class written in CS. Can I
include the CS file and use the class in my VB app? I have tried it but I
cant seem to instantiate the class....
Cheers
Rohit
... more >>
Dispose and Finalize
Posted by celeong at 9/22/2003 4:46:24 PM
Hi, anybody can help me with this.
I've created a singleton class, and now wants to add destructor to it.
I know we can implement the IDisposable and also overrides the Finalize
method (from the MSDN example). But is it possible that we just implement
the Dispose method, which we will call a... more >>
deployment
Posted by Jean-Pierre at 9/22/2003 4:20:52 PM
I have a rather large project which uses 2 dll that
someone in the office wrote and that I added to the
project as dlls.
When I deploy to a pocket PC I need to manually copy
the .dll files to the target.
How can I include those 2 files in the deployment?
There is a lot of documentation on m... more >>
Placing a Stored Procedure Expression in .Net
Posted by edb at 9/22/2003 3:18:56 PM
Hi again
I have a stored procedure that looks like this.
CREATE PROCEDURE usp_GetCustomers AS
SELECT customer_id, customer, COUNT(*)
FROM dbo.Customer
GROUP BY customer_id, customer
UNION ALL
SELECT NULL, NULL, COUNT(*) AS Expr1
FROM dbo.Customer
GO
It works great in Query Analy... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Bug in .Net related to variables
Posted by edb at 9/22/2003 3:17:45 PM
Hi all,
i have posted this in another message board and
desparately need help :).
Here is a piece of my code. Please keep in mind my first
if-then code is strictly for validation. Once it has been
validated, I create this variable and gather them together
into an insert if-then statem... more >>
vb.net wed application on winXP Home and Cassini
Posted by Alice Z. at 9/22/2003 3:09:19 PM
Hi,
I have created a very simple web page using vb.net. Unfortunately, it
seems my vs.net can not generate correct HTML code based on my vb code
(it doesn’t handle the load and click event). The vb code and related
HTML code are as follows:
.net generated Vb code:
Public Class Hello
... more >>
Developer machine specs
Posted by Harold A. Mackey at 9/22/2003 2:57:49 PM
Folks
I want to put together a developer machine for around $2500-$3000 US and I
was considering the advantage of dual processors over 2 gigs of ram and lvd
scsi. I have heard that VStudio and other programs don't benefit from cpu
power or ram above a certain amount.
Can someone make a recommen... more >>
Dataview Copy
Posted by Dianna K. at 9/22/2003 2:06:03 PM
I have a dataview which I am assigning to a Datatable (I
am doing this because currently Crystal Reports will not
accept a dataview as a Reportsource -- The recommended
work-around is to assign dataview to datatable).
The dataview is being filtered. However when I assign it
to the datata... more >>
C++ .NET object instantiation
Posted by Greg Freeman at 9/22/2003 12:53:50 PM
I'm missing something obvious with C++ instantiation
of .NET objects. (accessing managed code from unmannaged
code) Anyone suggest good examples in C++ (not C#)?
I'm trying to create an XmlTextWriter object, but the
class is undeclared. How do you declare a class in .NET
C++?
-Greg... more >>
email TO: field
Posted by J. Marshall Latham at 9/22/2003 12:35:57 PM
I would like to know if anyone knows the limit of email addresses that can
be put into this field or the limit on the number of characters that can be
put into this field.
Are there any other limitations that I need to consider? I am trying to set
up a newsletter with a subscribe and unsubscr... more >>
Implementation of (internal) "interface documentation" for functions and parameters?
Posted by BoonHead, The Lost Philosopher at 9/22/2003 12:12:43 PM
Does anyone know how to implement internal interface documentation for
functions and parameters?
I found a similair thing for proerties.
For properties I found something like:
<System.ComponentModal.Description("This property sets aars!")> Property
Aars() As Boolean
'...Property body...
... more >>
Any commercial applications .Net yet?
Posted by Ken Dopierala Jr. at 9/22/2003 12:11:24 PM
Hi,
I was wondering if there were any commercial applications out there that
use .Net. Like games, accounting programs, and etc. I havn't seen any
myself. I know a lot of web sites are built on .Net (like mine) but I
havn't seen the framework installed with any programs yet. Thanks! Ken... more >>
VS 2002 vs. VS 2003 wizard problem
Posted by Rafael Campana at 9/22/2003 12:05:15 PM
Hi,
I posted the messsage below last week, but no replies,
I've reproduced the problem with a VB macro, just create
one and paste the following code. Let me know of any
workarounds you can think of.
thanks,
-R a f i
' add reference to Microsoft.VisualStudio.VCProjectEngine
Impor... more >>
Dispose method and IDisposable
Posted by Erik Cruz at 9/22/2003 12:03:10 PM
Hi.
When implementing a Dispose method for a class, is it enough to create a
method called Dispose, or is it mandatory to implement the IDisposable
interface on the class?
Thanks,
Erik Cruz
... more >>
how to turn off optimistic concurrency
Posted by Chris Huddle at 9/22/2003 12:00:47 PM
Is there a way to turn off optimistic concurrency in ASP.NET when updating a
record via the oleDBdataAdapter/oleDBcommandBuilder?
If you use the Microsoft ASP.NET tools you can turn it off and thus modify
the SQL statement so that it doesn't include the WHERE portion, but I'm not
sure how to d... more >>
Microsoft still does not understand file paths. (strDrive & strDirectory & "\" & strFilename is INCORRECT)
Posted by BoonHead, The Lost Philosopher at 9/22/2003 11:45:13 AM
I think the .NET framework is great!
It's nice, clean and logical; in contradiction to the old Microsoft.
=20
It only saddens me that the new Microsoft still doesn't under stand =
there own rules when it comes to file paths.
A lot of Microsoft installers for example, and also installers... more >>
.NET equivalent to ADOX?
Posted by clintonG at 9/22/2003 11:30:24 AM
Is the functionality we had available via ActiveX Data Objects Extensions
also available to us when using the .NET Framework?
I'm interested in learning what I need to learn to develop a database
via code, add tables, or add columns to existing databases and so on.
I'm hoping somebody has le... more >>
How Do I get ConfigurationSettings from the calling assembly?
Posted by Rob Mayo at 9/22/2003 10:37:13 AM
I'm developing a server control for our intranet. This control is only going
to be used in two applications on the server, but they must be separate.
It has been established that these 2 apps will use a specifically named key
from their respective web.config's. I want the control to use that ke... more >>
If - then does not work in .net - please help
Posted by edb at 9/22/2003 10:35:53 AM
Hi,
I have a previous validation If-then that works fine.
If online form has input from the input tag I want to
insert it into tables in SQL. Interestingly, I have
built an RDBMS in SQL and need to insert to the lookups
based on someone filling out a textbox.
My problem is that the... more >>
.NET Case Studies
Posted by Jamie at 9/22/2003 9:26:32 AM
Greetings,
I noticed that there have been a number of case studies
done with regard to .NET technologies being used on
various sites
(http://www.microsoft.com/net/casestudies). Given that
our website uses this technology (XPunch.com), I was
wondering if anyone could advise me on how to... more >>
Intellisense Descriptions
Posted by alien2_51 at 9/22/2003 9:24:10 AM
I'm trying to get descriptions for my properties and methods inside my
classes to appear in Intellisense. I'm using VB.Net, does any know how to do
this...? If so an example would be very much appreciated...
Thanks,
Dan
... more >>
Problem opening file
Posted by Eric Caron at 9/22/2003 9:09:05 AM
Hi
Here's my problem, I create a windows service with Config.xml file.
All setup for my service is in this file. I create a windows
application to manage these settings (Config.XML File). This work good
if the two applications are in the same folder and Config.XML is in
the folder too but If ... more >>
Write eventlog on another computer
Posted by Eric Caron at 9/22/2003 8:54:42 AM
Hi
In my Windows service i want to write in eventlog of another computer.
I see the MachineName property to set where to write log. I try this
using IP address and this work great on a computer where I have full
right access. What acces I must have on distant computer to write in
the eventlog... more >>
Truncation from SqlServer with Text field ADO.Net
Posted by Mark at 9/22/2003 8:27:56 AM
I am trying to retrieve the content of a text column in
SqlServer using a DataReader. When I ask for the data,
using either GetString () or GetSqlString (), the data
gets truncated all ellipses (...) put on the end.
I don't know of any other way to get the data out so any
help is appreci... more >>
Aborting an installation programmatically
Posted by K0 at 9/22/2003 7:36:16 AM
Hi everyone I have a question:
I have created a small windows service and runs ok.
I have a problem, tho. I would like to abort uninstalling of the service if
it is currently running, so I thought i could use a servicecontroller for
checkin if it is running and then...
That is the problem... more >>
Prove this important package which comes from the Microsoft Corp.
Posted by Dave Van Verst at 9/22/2003 7:27:41 AM
Microsoft Customer
this is the latest version of security update, the
"September 2003, Cumulative Patch" update which fixes
all known security vulnerabilities affecting
MS Internet Explorer, MS Outlook and MS Outlook Express
as well as three newly discovered vulnerabilities.
Install now to c... more >>
.JS and .VBS files working together?
Posted by mackenzie at 9/22/2003 7:25:19 AM
Hi,
I found a great js calendar pop-up that i want to use on
the same page where i'm already using a .vbs for client-
side script. I can use either one individually w/o
problems but, when I try to use them both, it appears
that .NET is treating the js as vbs. I get 2 dominating
errors th... more >>
codegen:nullValue, Using Annotations with a Typed DataSet, Not resolved never!
Posted by EfraimT NO[at]SPAM moch.gov.il at 9/22/2003 7:20:04 AM
Hello,
The following problam description I did not need to write, I just
copied from the groups from others which met the error and allways the
thread was 1 artical the problem was never resolved!
So, please someone there , any idea?
I've createed a typed dataset that I fill from a sql quer... more >>
Provider for Oracle Database?
Posted by Harshil at 9/22/2003 6:26:21 AM
I am developing an application in VB .NET and Oracle 8i.
I am exactly not sure about what provider should I use
for my database.
Which one would give the best performance and also will
not have any conflicts from moving from Oracle 8i to
oracle 9i in the near future.
Any help would ... more >>
Capitalize First Character?
Posted by Mr. B at 9/22/2003 6:25:04 AM
In VB6, I had some code which 'forced' the first character of a string entered
to be Capital. For example, if a person was entering their name (john doe)...
the code would 'force' --- John Doe.
Here is what I believe is the VB6 code:
Private Sub txbModUser_TextChanged(ByVal sender As Syst... more >>
COM AddIn for Word does not store the position properly
Posted by Jaime Rios at 9/22/2003 6:09:19 AM
Hi,
I created a COM AddIn for Word that performs the functions
that it needs to, but I needed to add the ability for the
toolbar created by the COM AddIn to remember it's last
position and whether it was docked or not. I added the
following code to my "OnConnection" function but it fails
... more >>
SQL missing
Posted by simon=ignoramous at 9/22/2003 5:24:03 AM
Sorry for such a simple question, but I've just
installed .NET from my MSDN subscription, and it didn't
install SQL, so I'm stuck trying to follow a walkthrough.
We have SQL server on CD, but that refuses to install on
my development machine :-(... more >>
system.web.UI.webcontrols
Posted by eti at 9/22/2003 5:20:26 AM
Hi,
In visual studio .NET, i can't add to references the
system.web.UI.webcontrols.
I can't find it also in my computer.... more >>
Imaging
Posted by Richard at 9/22/2003 4:54:31 AM
In the days of VB6 I would often use the Wang/Kodak
Imaging control that ships with Windows to process TIFF
files. Drop the ocx on a form and TIFF file manipulation
is all very easy.
So how do I do this in .net? I've searched MSDN and while
there is a lot about imaging, and there is of co... more >>
key press
Posted by bershama at 9/22/2003 4:35:40 AM
i maid a picturebox and i want when i press "up aroww"
the picturebox comes up so please send me the code for it
(with the default names) ... :-)) ... more >>
ASP.net tags not interpreted
Posted by Cypher||| at 9/22/2003 2:34:16 AM
Hi all.
I am facing a problem that was exposed (and solved)
earlier in this NG. But I can't find any of the related
threads :
My ASP.net tags in my ASPX pages are not interpreted any
longer. There are left "as is" in the HTML Source, and
then does not display in the browser.
Any h... more >>
|