dynamic typing
is it possible in VB.NET to declare a variable whose type
will be clear in runtime e.g.
dim ctrl as LinkButton
dim tp as Type = Type.GetType(Control)
dim ctrl_dynamic as tp
or something like this.
(I know, the code above is not working) Tag: Serial-Parallel Ports Tag: 52607
Problem with Interface Implementation
Hi all,
I have created a project which contains an Interface with
few methods in it. I have built it and made the dll.
In another project I have added reference to this dll and
tried to implement the interface. When I am compiling the
second project. It is giving me two errors. Weirdly both
the error are coming for same methodname.
1. '<typename>' must implement '<methodname>' for
interface '<interfacename>'
2. '<methodname>' cannot implement '<methodname>' because
there is no matching function on interface'<interfacename>'
Surprisingly the error is not coming for the rest of the
methods on the interface. I have verified the signature of
the method. Infact I have used the methodname dropdown to
implement the method, which creates signature
automatically.
If anyone have solution for the problem, please let me
know.
Thanks in advance
Hitesh. Tag: Serial-Parallel Ports Tag: 52606
Minimum requirement for .NET Compact Framework
Hello
We developed an Visual.NET C# application for small devices.
Before we distribute our applikation we want to give
a short list of the minimum hardware requirements(type of
processor, ram, free ram to handle the .NET Compact
Framework, type of display, ....) and what are the minimum
software requirements (which OS is supported of the .NET
Compact Framework, which additional software is
required,....) to our customer.
On the MSDN-Site is a list of requirements for the
.NET Framework available, but I haven't found any for
the .NET Compact Framework.
Thanks for help
Paul Tag: Serial-Parallel Ports Tag: 52604
Problem with Interface Implementation
Hi all,
I have created a project which contains an Interface with
few methods in it. I have built it and made the dll.
In another project I have added reference to this dll and
tried to implement the interface. When I am compiling the
second project. It is giving me two errors. Weirdly both
the error are coming for same methodname.
1. '<typename>' must implement '<methodname>' for
interface '<interfacename>'
2. '<methodname>' cannot implement '<methodname>' because
there is no matching function on interface'<interfacename>'
Surprisingly the error is not coming for the rest of the
methods on the interface. I have verified the signature of
the method. Infact I have used the methodname dropdown to
implement the method, which creates signature
automatically.
If anyone have the solution for the problem, please let me
know.
Thanks in advance
Hitesh. Tag: Serial-Parallel Ports Tag: 52601
ANN: Free Icon Extraction Program
Hello,
I have just finished and released a free Icon Extraction Program.
Anyone can download the exe and source from my web site
http://www.ag-software.com
While there please have a look around my site.
kind regards
Greg Obleshchuk
Partner
A & G Software
www.ag-software.com Tag: Serial-Parallel Ports Tag: 52597
Low-level disk info, etc... in C#.Net
I want to do some fun low-level DiskInfo kind of program.
I can find how to do the basic stuff like logical drives,
file attributes, sizes, etc...
But I also want to get more in depth. How can I get to
info like physical drives, file system used, number of
file fragments, track size, file slack, etc... ?
Can anyone point me to a library, class, tutorial,
article, anything for doing some of these things in
C#/.Net ?
Thanks. Tag: Serial-Parallel Ports Tag: 52591
HTTP POST and GET
I have an MFC application trying to connect to my ASP.NET
application through MFC classes CrfInternetSession and
CHttpFile and functions OpenRequest and EndRequest. I am
using HTTP POST and HTTP GET. After I upgraded to .Net
framework 1.1, this doesn't work anymore. I have searched
for solutions and I have tried to change my
machine.config file back to what was allowed for web
services in previous version of framework:
<add name="HttpPost"/>
<add name="HttpGet"/>
These lines were commented out in version 1.1, but this
didn't help me. And this change would only apply to web
services, I guess, anyhow.
Could someone please help me on this issue.
Kind regards
Lasse Tag: Serial-Parallel Ports Tag: 52578
Imagelist: Icons versus Bitmaps?
Does anyone know if there is a reason to prefer bitmaps over icons (or
vice-versa) when populating image lists? I've always favored icons because
of their built-in transparency (although I've never use the invert "color").
But I've noticed that Microsoft seems to favor bitmaps in many of their
sample applications. Is there a reason? For instance, do icons clutter the
icon cache or require more system resources whereas bitmaps do not?
Just curious,
Brad S. Tag: Serial-Parallel Ports Tag: 52574
Directory.GetCurrentDirectory not working in CF?
Does anybody know what happened to the Directory.GetCurrentDirectory()
method in the compact framework? The documentation on MSDN says it is
supported on the compact framework, but when I run code in debug mode, the
app throws a System.NotSupportedException.
--
Thanks in advance
Manfred Suttorp Tag: Serial-Parallel Ports Tag: 52570
What's diffrence between Assembly and COM Object.
Hi my friends,
In dotnet framework, intruduced conception of assembly, which can be shared
by other program. Assembly can also exist as DLL file or EXE file. And It
can be updated smoothly and avoid version problem. It seems assembly can
realize same functions as COM objects. So in the future, do we still use
ALT or VB to create and use COM objects ? or we just useassembley ?
I ask this question, because I'm learning ATL. If in the future we only use
assemly instead of COM objects, I don't want to waste my time to learn it.
I really appreicate your help.
Laurence Tag: Serial-Parallel Ports Tag: 52550
Still many requests for localized resources after installation of language pack
Hello!
I've installed the Danish language pack for Microsoft .NET Framework Version
1.1.
Before I installed it, my smart client made many requests for resource files
in both ...\da\... and a ...\da-DK\... directories. After installation of
the language pack, requests are only made for the resourcefiles in these
directories: ...\da-DK\...
The ones requested is e.g. /da-DK/System.Windows.Forms.resources and the
like.
It takes a lot of time with all these requests. I'm a bit surprised that the
language pack did not include the da-DK files as well. Do some of you know
how to handle this second set of files as well?
Best regards,
Henrik Dahl Tag: Serial-Parallel Ports Tag: 52548
DllMain -> managed C++ ???
Hi,
I wonder...
1. Is it possible to get indication of DllMain events
through managed C++ DLL
2. Is it possible to link a managed Dll with an unmanaged
C++ .lib file ??? how ???
Thanks in advance,
Nadav Rubinstein,
Sofin l.t.d.
Look at a greate new tool I have developed at:
http://www.ddevel.com/home/main.asp Tag: Serial-Parallel Ports Tag: 52541
Windows Script Host interoperability?
Hello,
I have a handful of legacy Windows Script Components that I would like to
integrate with some new .NET (C#) code, hopefully with a minimal amount of
modification.
I have been able to get things to the point where I can instantiate the
script objects from within the managed code, but things fall apart when I
try to create an interface and then typecast the imported object to that
interface ("Specified cast is not valid" error). Specific code samples
available on request...
Does anyone have any experience with this and/or know of resources that
might be able to help me through this?
Many thanks,
Rick Walters Tag: Serial-Parallel Ports Tag: 52539
Release Candidate 2
Hello,
Independentsoft is pleased to announce the Release Candidate 2 of WebDAV
.NET v1.0,
the leading WebDAV protocol API component for Microsoft .NET Framework and
Microsoft .NET Compact Framework.
Download your full featured evaluation copy today at
http://www.independentsoft.de/download.htm
WebDAV .NET, the first component that allowed you to work with resources on
WebDAV enabled servers.
The Release Candidate 2 has new following features:
- Improved performance
- New architecture
- Full RFC 2518 support
- Tested with 10 different WebDAV server implementations.
Best Regards,
Independentsoft Team Tag: Serial-Parallel Ports Tag: 52538
Deployment Issues .. Runtime Error
This is a multi-part message in MIME format.
------=_NextPart_000_0045_01C35112.5F4DEEF0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi,=20
I have my application running off my localhost and just transfered it to =
the production server. And when i ran my application, it came up with a =
Runtime Error.=20
The server is an IIS and has SDK already installed.
what are the issues that i have to deal with here
Any inputs.. will be greatly appreciated.
--=20
Thank You,
Sean
------=_NextPart_000_0045_01C35112.5F4DEEF0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1141" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi, </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I have my application running off my =
localhost and=20
just transfered it to the production server. And when i ran my =
application, it=20
came up with a Runtime Error. </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>The server is an IIS and has SDK =
already=20
installed.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>what are the issues that i have to deal =
with=20
here</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Any inputs.. will be greatly =
appreciated.</DIV>
<DIV><BR>-- <BR>Thank You,<BR>Sean</FONT></DIV></BODY></HTML>
------=_NextPart_000_0045_01C35112.5F4DEEF0-- Tag: Serial-Parallel Ports Tag: 52536
Redirecting Assembly Versions Using Publisher Policy
When using a config file to redirect an app to use a
newer version of an assembly, is possible to redirect the
app to use whatever the most recent version of the
assembly is in the GAC?
Also, is it possible to use *'s like newVersion="2.*.*.*"?
Thanks,
Steve Tag: Serial-Parallel Ports Tag: 52534
user login time
Hi
I would like to know if it is posible to make a method for obtaining the
windows login time of a user in a machine.
Thanks in advance Tag: Serial-Parallel Ports Tag: 52533
regsvcs error - Unknown COM+ 1.0 catalog error - 1. invalid class string
I've got a .net assembly that I need to register with COM+. Use regsvcs and
get the following output :-
Microsoft (R) .NET Framework Services Installation Utility Version
1.1.4322.573
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.
An unknown COM+ 1.0 catalog error occurred:
1: Invalid class string
At the same time, an event log error is written
Unable to create System.EnterpriseServices.RegistrationHelperTx (see
exception below). EnterpriseService was not correctly installed. Please
correct the problem and run 'regasm System.EnterpriseServices.dll' again to
install System.EnterpriseServices.
Exception:
'System.EnterpriseServices.ServicedComponentException: The
ServicedComponent being invoked is not correctly configured (Use RegSvcs to
re-register).
at
System.EnterpriseServices.ServicedComponentProxy.FilterConstructors()
at
System.EnterpriseServices.ServicedComponentProxyAttribute.CreateInstance(Typ
e serverType)
at
System.Runtime.Remoting.Activation.ActivationServices.IsCurrentContextOK(Typ
e serverType, Object[] props, Boolean bNewObj)
at
System.EnterpriseServices.RegistrationHelper.TryTransactedInstall(Registrati
onConfig regConfig)'
I tried to run the regasm command on System.EnterpriseServices.dll. Regasm
returned "Types registered successfully" but the following error appeared in
the event log :-
System.EnterpriseServices failed to install. Please fix the problem (see
exception below) and run 'regasm System.EnterpriseServices.dll' again to
install System.EnterpriseServices.
Exception:
'System.Runtime.InteropServices.COMException (0x800401F3): Invalid class
string
at System.EnterpriseServices.Admin.ICatalogCollection.SaveChanges()
at
System.EnterpriseServices.RegistrationHelperTx.InstallUtilityApplication(Typ
e t)'
Now from the fact that this registers correctly on other similar machines,
there is a problem with either COM+ or the .Net install - probably COM+ as
it involves interop and invalid class strings. Any suggestion of how to fix
this without resorting to a machine rebuild?
Thanks
Andy Tag: Serial-Parallel Ports Tag: 52532
ADO.NET connection string
This is a multi-part message in MIME format.
------=_NextPart_000_0038_01C3512F.C1AE6350
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
I am trying to connect to an INTRBASE database through the MS OleDb.NET =
provider, however I am unsure of what to use for the connection string. =
How can I find this out???
------=_NextPart_000_0038_01C3512F.C1AE6350
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV>
<DIV>
<DIV><FONT face=3DArial size=3D2>I am trying to connect to an INTRBASE =
database=20
through the MS OleDb.NET provider, however I am unsure of what to =
use for=20
the connection string. How can I find this=20
out???</FONT></DIV></DIV></DIV></BODY></HTML>
------=_NextPart_000_0038_01C3512F.C1AE6350-- Tag: Serial-Parallel Ports Tag: 52526
Using Sockets in .NET framework for providers other than AddressFamily "Internetwork"
We have developed a sockets provider for a custom comms card that
allows developers to use standard Winsock2 sockets calls to access it
and we'd like to offer .NET framework compatibility.
Unsurprisingly all of the samples revolve around the AddressFamily
InterNetwork, end points of type IPEndPoint and ProtocolType.TCP or
somesuch related protocol, which is fine for the LAN or Dial-up
Internet connections. To get through to our sockets provider from a
.NET app (in C#), we have created a new endpoint type:
public class OurEndPoint : System.Net.EndPoint
{
public OurEndPoint()
{
//
// TODO: Add constructor logic here
//
}
public override System.Net.Sockets.AddressFamily AddressFamily
{
get
{
return AddressFamily.Unknown;
}
}
}
Listening on a socket involves specifying an AddressFamily, SocketType
and ProtocolType. There's absolutely no guidance on what to put here
to get through to a particular sockets provider or what we have to
derive to allow it.
We've tried this among other things...
listener = new Socket (AddressFamily.Unknown, SocketType.Seqpacket,
ProtocolType.Unknown);
listener.Bind(endpoint);
But nothing gets to our provider.
Any suggestions?
N Fisher Tag: Serial-Parallel Ports Tag: 52522
Browser based client/server chat possible ?
I am looking into the possibilities of creating a client / server chat using
.NET framework.
Creating the backend, would be no problem for me I guess, communicating with
the client using plain old sockets.
But my problem is, how the client (browser) communication with the server,
using sockets ?
With my knowledge of today, I would use a java applet to take care of the
communication between the .NET server backend and the browser part (HTML and
javascript portion).
But does anyone have a better idea, maybe even posible of NOT USING JAVA in
the client browser ???
Any ideas / suggestions are welcome!!
-
Regards,
Tony Fonager
Netcoders ApS, Denmark Tag: Serial-Parallel Ports Tag: 52521
How to add localized resouce string manually
I have a problem adding localized string.
I'm doing multilingual C# application development using VisualStudio.NET.
There are many messages
which are generated during runing time, e.g.:
txtStatusMsg = "Server Error";
I want to make use of resource file to store all such strings for differnet
languages, so I edit the resource file and add such strings manually.
However, once I change any layout of the windows form, the resource file is
regenerated automatically and what I entered is disappeared.
Can anyone suggest what should I do? Thanks.
Cheers,
George Tag: Serial-Parallel Ports Tag: 52515
What version of the Framework is this 1.0 or 1.1? Thanks.
http://microsoft.com/downloads/details.aspx?FamilyId=3D08F1F779-D95B-44AC=
-A372-A4B61FADFE1F&displaylang=3Den
--=20
George Hester
__________________________________ Tag: Serial-Parallel Ports Tag: 52513
Installing .NET v1.1 made my VS.NET not to work!!! :(
Hi
I had .net version 1.0
Yesterday i uninstalled version 1.0 and
reinstaled .net 1.1 and SDK for 1.1
Now when I run VStudio.NET and open my older projects
it gives me the following message,
Project 'xxxx' could not be opened because the
Microsoft Visual c#.NET compiler could not be created. Please
re-install VStudio.!!!!!
The other issue is, even though I uninstalled older v1.0
I still can see some files under
C:\WINNT\Microsoft.NET\Framework\v1.0.3705
So , i am pretty sure, things have got messed up.
Why is this? How can I get this corrected?
Rgds
KK Tag: Serial-Parallel Ports Tag: 52506
Session Start Firing more than once
My session start is called and creates a new session with every refresh
of the default page and with the first hit to any other page from the
default page. After that the session start seems stable.
Help?
Sandy
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it! Tag: Serial-Parallel Ports Tag: 52489
flickering when changing both height and top
I have a control that can be resized at runtime and when both the height and
the top change the control flickers. I am double buffering the control but
it is not helping.
Thanks in advance,
~Logan Tag: Serial-Parallel Ports Tag: 52472
Using ManagementEventWatcher and Win32_NTLogEvent
Hello.
I'm attempting to write a VB.NET application to monitor events they are
written to the Windows event logs.
I have the following code, but it fails at the Start method, throwing an
'Access Denied' exception. This is being run under the administrator
account:
'Initialize an event watcher object with this query
Dim watcher As New ManagementEventWatcher(New
WqlEventQuery("__InstanceCreationEvent", "TargetInstance ISA
'Win32_NTLogEvent'"))
'Set up a handler for incoming events
Dim handler As New MyHandler()
AddHandler watcher.EventArrived, AddressOf handler.Arrived
'Start watching for events
watcher.Start() 'CODE FAILS HERE
'loop to wait for an event to arrive.
While Not handler.IsArrived
Console.Write("0")
System.Threading.Thread.Sleep(1000)
End While
'only wait for one event, so stop watching
watcher.Stop()
Please help! Tag: Serial-Parallel Ports Tag: 52471
DataBinding with Custom Objects
I have an object returned from a Web Service that I would
like to Bind to a Repeater. However, at runtime I get an
error saying the property doesn't exist. Since the
wsdl.exe tool generated the stubbed object on the client
side I don't want to edit it. I thought as long as the
field is public, it should act like a property. Can
someone help?
Code Sample
<%# DataBinder.Eval(Container.DataItem, "ApprovalLevel") %>
ApprovalLevel is a public field on my object.
Thanks
Steve Tag: Serial-Parallel Ports Tag: 52465
Counting Unique values in a dataTable from XML
I have a strongly typed dataSet that I populate with XML.
I have a column that I want to count Unique values. Ex:
Userlevel Column2...
10 Matt
10 John
10 Frank
20 Pete
20 Mark
30 Mary
So, The result from this table for num of Unique values in
the Userlevel field would be 3. I was trying to do this
with a RowFilter on a dataview, but I couldn't seem to
figure out the right commands. Any ideas? Tag: Serial-Parallel Ports Tag: 52460
string format
Hi, anyone knows how to format a number into two decimal
positions such as 100.00? I was trying to use
myStringName.ToString("d"), but seems not working. Tag: Serial-Parallel Ports Tag: 52458
File.IO
I have an open FileStream and I open a BinaryWriter on it. After writing to
this file, I want to read it to another stream.
FileStream fs = new FileStream(Path.GetTempFileName());
BinaryWriter bw = new BinaryWriterer(fs);
// write data to a filestream
bw.Close();
fs.Position = 0; // ** Exception, Object is disposed
BinaryReader br = new BinaryReader(fs);
// read file and send to another stream
However, apparently closing the BinaryWriter closes the FileStream. I don't
understand why closing a writer on a stream closes the stream itself.
What's the best way to accomplish what I am trying to do?
TIA~ PJ Tag: Serial-Parallel Ports Tag: 52457
Accessing an Internal Class in Multi-file Assemblies
How can we access an internal class in a referenced file in a multi-file
assembly. All documentation states the obvious purpose of the internal
keyword on a class, but when referencing an assembly, I fear it means
single-file assembly. That means even if the assembly is strong-named and
versioned, it will not reach internal classes. So much for code reuse while
hiding classes from external objects. I can't find examples or explanations
of how to do this.
Here is a layout of the problem:
_______________________________________________
namespace ns1 (with strong name)
Lib1.dll --------------------------------------------------
internal Class1
public Class2
App1.exe ------------------------------------------------
- Problem - references Lib1.dll in this multi-file assembly but can
only reach Class1 if it is public (a bad thing).
_______________________________________________
namespace ns2 (without strong name - any external application)
App2.exe -------------------------------------------------
- No Problem - references Lib1.dll and can access Class2 but as
expected not Class1
Thanks for any response.
-VinceB Tag: Serial-Parallel Ports Tag: 52445
FileSystemWatcher - implementation detail
I'm trying to use a FileSystemWatcher object to monitor
changes to a network directory. I understand that if I
try to assign an un-available directory to the Path
property it will throw an exception to let me know the
path is invalid. But is there any way to find out if and
when a network directory that is initially available when
the Path is assigned subsequently becomes invalid once
the FileSystemWatcher is active and monitoring the
directory?
Secondly, can anyone tell me how frequently the
FileSystemWatcher will poll the directory it is watching
and if there is any way to configure this? Tag: Serial-Parallel Ports Tag: 52436
Crystal Reports
I have VB.Net Standard and I needed to incorporate some
sort of reporting and charting format, so, I purchased
Crytal Decisions 9. Now, how do I incorporate this
functionality into the VS.Net Standard framework?
Thanks In Advance,
Terry Tag: Serial-Parallel Ports Tag: 52435
Why tlbimp.exe not included in dotentfx.exe?
Hi, all!
I have already installed .NET Framework CLR on Win 2000, SP4 machine.
I installed it from dotnetfx.exe.
My .NET application does access to COM and COM+ object and vice versa.
All wrapper COM->.NET and .NET->COM should be created during setup process.
A problem is , that this package doesn't include follow utilities:
-gacutil.exe - install .NET components into GAC
-tlbimp.exe - create RCW
What can I do?
Thanks in advance Tag: Serial-Parallel Ports Tag: 52431
System.Web.Mail CDO Error
Hi all,
I have encountered a problme on send email using SmtpMail.Send, it "always"
return a "Could not access 'CDO.Message' object" Error Message.
Actually my program will retry to send the error email, sometimes the email
can sent successfully and sometimes it returns the above error, I haven't
modified any code, I dunno why the error occurs most of the time but
sometimes not.
Thx
Sean Tag: Serial-Parallel Ports Tag: 52429
hierarchy chart
Hi,
does anybody know where I could find a hierarchy chart of the .Net
namespaces / classes ? (cfr. MS Foundation Classes)
thanks
Chris Tag: Serial-Parallel Ports Tag: 52424
CRectTracker in C#
I'm writing a resource-like editor in C#, similar to the Visual Studio
dialog editor. I know VC++ has CRectTracker and I was wondering if .Net
had anything comparable.
Thanks,
~Logan Tag: Serial-Parallel Ports Tag: 52421
Sockets.SocketException on windows service startup on win2k3 only
Any ideas why I might be getting this exception when Windows Server 2003
boots up?
System.Net.Sockets.SocketException: The requested name is valid, but no data
of the requested type was found
at System.Net.Dns.GetHostByName(String hostName)
at System.Runtime.Remoting.Channels.CoreChannel.GetMachineName()
at System.Runtime.Remoting.Channels.CoreChannel.GetMachineIp()
at
System.Runtime.Remoting.Channels.Tcp.TcpServerChannel.SetupMachineName()
at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel..ctor(Int32
port)
at System.Runtime.Remoting.Channels.Tcp.TcpChannel..ctor(Int32 port)
at MyServiceName.Here.OnStart(String[] args)
Offending line of code is:
tcpChannel = new TcpChannel(8012);
It works fine if you stop and start the service manually, or if you run the
service on Windows 2000 Runtime v1.1. Tag: Serial-Parallel Ports Tag: 52414
Change Computer Name => Problems !!!
Hi NG,
I'm experiencing a problem after changing the name of my computer running
with Windows XP.
I have VS .NET, SQL Server Dev Ed., etc...
After changing the name, I've tried to install PetShop 3: I've got the error
message "User ASPNET could not be found"... I check in the MMC, the user is
still there !
I notice that the IIS Users (IWAM_ ...) IUSR_MyOldComputerName aren't not
renamed to IUSR_MyNewComputerName. Same to the VSA Users.
I think it should have something related with the impossibility to get the
ASPNET User.
Could somebody help ?
How can I safetly fix the problem
Regards,
Eric Tag: Serial-Parallel Ports Tag: 52408
ODBC to .NET provider
I have written a 'very basic' .NET provider which parses SQL statements and
(through COM) gets the results from my existing Borland C++ classes.
However, I have existing (commercial) software that connect to ODBC drivers
that can be configured for different databases. I would like the
'DatabaseExplorer' software to talk to my.NET provider to retrieve data in
the same way as my other databases.
In order to do this I believe I need some sort of ODBC connection (or
driver) to a .NET provider. All I have found is a .NET provider for ODBC
(i.e. I believe it is going the wrong way). Has MS produced anything that
does this, to allow me to connect to my data provider through ODBC? Or is
it possible to write my own???
Many thanks,
Duncan Tag: Serial-Parallel Ports Tag: 52407
Can't Read and write File
Hi All:
Windows Service can't read and write file.
In the install project ,i try the all user setting,but didn't work.
Please Help me.
Cai Tag: Serial-Parallel Ports Tag: 52405
From VS2003 to previous version
I am currently dfeveloping a web app over .NET 2003 and
our preproduction server is installed with the previous
version. There is anything that i can do to migrate my web
app?
thanks in advance Tag: Serial-Parallel Ports Tag: 52404
System.Messaging vs COM+ Queued Components
What are the design criteria/consideration on when to
use System.Messaging vs COM+ Queued Components ?
I am starting from scratch using .NET on C#. No
migration from COM/legacy codes are required for me. Tag: Serial-Parallel Ports Tag: 52402
Event get out of hand when converting to VS2003!?
Hi,
We have a windows application developed in c# with
VS2002. We had some rutines that build a dynamic popup
menu. The functionality worked fine and the events got
triggered as they should.
But, when we converted the project to VS2003 the events
started triggering 1-6 times, causing some of our dialogs
to pop up to many times.
Has anyone had a simular problem? Is this a bug? Is there
anyway of resolving this issue?
Cheers
Julius Tag: Serial-Parallel Ports Tag: 52397
ASP-DotNet Problem
I have to design a web application in ASP DotNet Environment.
A corporate user logins and the privileged-based menu/side bar are created.
While clicking on menu he will be allowed to perform business related
operations on the same single page (for multiple objects).
In my last designs for these types of applications, I used to handle these
operations through XMLHttp calling while staying at the same page. Each
object/Link call to server brought the data which then is transformed for
operations. The corresponding operations results are shown to user there &
then. All I had to do was to handle each piece of code my way. It works for
my live systems since years.
Now what i want to do is same plus some more of it. I don't want to do all
that coding again (if i, what's Dot Net for).
In Dot Net if I had to place a single server-side control (with ispostback
property=true) my whole page posts & redraws each time, with all
corresponding set of client side code (even if I handle page.ispostback)etc.
I thought to use frames, but it seems to be discouraging effort, as lot of
my generalize libraries will travel b/w each time for each object/link.
I need a master detail form like structure on single page for multiple
objects.
Can anybody provide me some sort of solution/idea or should I withdraw
myself from Dot Net facilities & use the approach as previously done.
I will appreciate the help in this regard. Thanks in advance. Tag: Serial-Parallel Ports Tag: 52395
"abdurrahman Sahin" <abdurrahmansahin@tnn.net> wrote in message
news:#4gd4JbUDHA.2076@TK2MSFTNGP11.phx.gbl...
> is there any component in .NET for communicating with IO ports? if not.
> What else can I use?
>
>