> I moved companies again and I have to use C# here. Here's
> some code that I can't seem to be able to convert to C#.
> Would someone be able to assist?
>
>
> Public Sub New()
> Me.New(Nothing)
> End Sub
>
> Public Sub New(ByVal pParent As Object)
> ...
> End Sub
Constructors call other const
> Has anyone here ever attempted to send/read data to/from a
> serial port? If so, what objects from the FCL have you used?
> A short code sample would be much appreciated.
The .NET 2.0 code is pretty straightforward. The write case will be
something like this:
private SerialPor
o one *right* place for that business logic.
Just some things to consider ...
Magenic Technologies
Jeff Ferguson
Consulting Manager
===
This list is hosted by DevelopMentorĀ® http://ww
> Is there a way to do an ExitWindows() or InitiateSystemShutdown()
using
> all managed C# code?
Have you tried P/Invoke?
[DllImport("user32")] public static extern int ExitWindows(int
dwReserved, int uReturnCode)
===
This list is hosted by DevelopMentorĀ® http://
> What is Windows SharePoint Services?
Well, before we go there, tell us a little about deployment. Is this a
solution to be used only within your company or department, or is this
something anyone in the world should be able to use?
Magenic Technologies
ocument get back into
the database? If this is indeed what you want, have you considered
Windows SharePoint Services?
Jeff Ferguson
Magenic Technologies
===
This list is hosted by DevelopMentorĀ® http://www.develop.com
Some .NET courses you may be interested in:
> I have no clue what WMI is ??? Could you give more detail on that ???
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/
wmi/wmi_start_page.asp
Windows Management Instrumentation (WMI) is a component of the Microsoft
Windows operating system and is the Microsoft implementa
If that doesn't work, let me know. I've got a good start at a "metadata
object model" assembly that should be able to get it for you.
> -Original Message-
> From: Jason Whittington [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 30, 2003 7:30 PM
> To: [EMAIL PROTECTED]
> Subject: Re:
> Now the problem is .How to call this Double pointer.in Dotnet..Any
> idea?
Would it not need to be an out parameter?
I'm confused. You say that the wrapper generated the following:
> void Decode ( string bstrData , int nSize , System.IntPtr ppData )
but you're making the call as:
>
> I
> think GAC classes can only load assemblies with strong names.
Correct. As I understand it, assemblies referenced by a strongly named
assembly must also be strongly named.
What is the exact text of the exception that you catch when you execute
the delete operation?
Peer code review time:
> connectionString = "Provider=SQLOLEDB;Data
> Source=Ravi;Initial Catalog=Master;" +
> "Integrated Security=SSPI;";
>}
>
>OleDbConnection connection = new OleDbC
11 matches
Mail list logo