|
I'm writing an .NET Windows Forms application in VB.NET for a customer and have to send mails thru their Lotus Notes (v5.11) mailing system.
I'm not allowed to use SMTP due their to security policy so I'm forced to somehow send mails directly to Lotus Notes.
Any ideas on how to accomplish this ?
Any 3. part controls I can use or sample code maybe ?
TIA
/Klaus
|
|
|
|
|
IIRC (I worked with Lotus Notes a long, long time ago), the Lotus Notes client has an ActiveX interface. If you install the client on a machine, you can send e-mails directly.
BTW, good luck (you'll need it): Lotus Notes is the most buggy piece of software I have worked with.
Perl combines all the worst aspects of C and Lisp: a billion different sublanguages in one monolithic executable. It combines the power of C with the readability of PostScript. -- Jamie Zawinski
|
|
|
|
|
I have created a dll file and 2 lib files using VC++6.0. I have a tester application which test the functions in these dll and lib files. Now I want to debug my project using vc7.0. I have the .NET framework 1.1 installed(I don't have the MDE). How can I compile the project from the command prompt(cl.exe)? Is there any article which gives me information on this.
I have seen the options given in MSDN. Can anyone give me some sample commands. I have tried certain options, but it gives me an error, undeclared, in Program Files\Visual Studio\vc98\Include\Utility.
Can anyone help me pls..
Thanks
Vini
|
|
|
|
|
If you created the project in VC6.0 then you don't need the .NET Framework as your application won't be using any of this framework. (Unless of course there is some detail that you've not mentioned that necessitates the presence of the .NET Framework)
You may find your answer if you post your question in the Visual C++ Forum.
"You can have everything in life you want if you will just help enough other people get what they want." --Zig Ziglar
"On two occasions, I have been asked [by members of Parliament], 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able to rightly apprehend the kind of confusion of ideas that could provoke such a question."
--Charles Babbage (1791-1871)
|
|
|
|
|
Thanks.. but the dlls and lib's I have created , I want to test it from a vc.net debugger. So, as the first step i wanted to execute the existing vc6.0 project in .net framework. Can anyone help me with the compiler options? How to link multiple lib files(system lib and user libs), during compilation.
Thanks...
Vini
|
|
|
|
|
Hi all,
Can any one show me how to write a method which can reset my PDA in VB.net?
Thanks a lot,
Mai Thoa![Smile | :)](https://codeproject.global.ssl.fastly.net/script/Forums/Images/smiley_smile.gif)
|
|
|
|
|
You need to use the KernelIoControl Windows CE API function from coredll.dll
<br />
[DllImport("coredll.dll")]<br />
private static extern void KernelIoControl( <br />
int dwIoControlCode, <br />
IntPtr lpInBuf, <br />
IntPtr nInBufSize, <br />
IntPtr lpOutBuf, <br />
int nOutBufSize, <br />
IntPtr lpBytesReturned <br />
);<br />
<br />
private static int METHOD_BUFFERED = 0;<br />
private static int FILE_ANY_ACCESS = 0<br />
private static int FILE_DEVICE_HAL = 0x101;<br />
<br />
private static int IOCTL_HAL_REBOOT= (0x10000 * FILE_DEVICE_HAL) | (0x4000 * FILE_ANY_ACCESS) | (0x4 * 15) | METHOD_BUFFERED;<br />
<br />
No call KernelIoControl like this:
KernelIoControl(IOCTL_HAL_REBOOT, IntPtr.Zero, 0, IntPtr.Zero, 0, IntPtr.Zero);
hope this helps
|
|
|
|
|
Hi,
I did it in VB.net following your suggestion
Thanks a lot ![Smile | :)](https://codeproject.global.ssl.fastly.net/script/Forums/Images/smiley_smile.gif)
|
|
|
|
|
Hi all,
I have a webservice which put on a windows 2003 pc. If i use a window application to call web methods of my webservice, it does smoothly. But when i used a PDA (Pocket PC) or a Pocket PC emulator 2003 to call methods of my web service, i met the following error message
System.PlatformNotSupportedException.
If i put my web service on a windows xp PC , then everything goes smoothly. I don't understand why. My problem is that i have to install my webservice on a windows 2003 server machine.
Thanks a lot.
Mai Thoa![Cry | :((](https://codeproject.global.ssl.fastly.net/script/Forums/Images/smiley_cry.gif)
|
|
|
|
|
I am attempting to load some controls at runtime based on information from an XML file. However, I can't get the System.Type object created properly. Documentation alludes to the idea that the System.Type object can only represent simple/base data types. Does anyone out there know if this is correct or not?
Thanks
Dan Broomall
|
|
|
|
|
How are you getting the Type object. Some code might be helpful. There is a type for every class that you create.
If you are using Assembly.GetType(string) for exampe, make sure you use the fully qualified name for the type including namespaces.
My goal is to look at code like a chessmaster looks at a chessboard to see positions and possibilites beyond lines and characters.
|
|
|
|
|
if you have for example a type name string in a file for example
string typeName = "System.Security.Permissions.FileIOPermission";
you can do the following to get the type
Type permType = Type.GetType(typeName);
and then you can instanciate your type like so:
object permission = Activator.CreateInstance(permType);
|
|
|
|
|
What class is/are used to send and receive file( any files ) between client program and server program on TCP/IP?
Sample will be Good!
Thank you!
|
|
|
|
|
System.Net.Socket is a good place to start if you want to use TCP/IP.
"You can have everything in life you want if you will just help enough other people get what they want." --Zig Ziglar
"On two occasions, I have been asked [by members of Parliament], 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able to rightly apprehend the kind of confusion of ideas that could provoke such a question."
--Charles Babbage (1791-1871)
|
|
|
|
|
Can you give few line example? Thank you!![Smile | :)](https://codeproject.global.ssl.fastly.net/script/Forums/Images/smiley_smile.gif)
|
|
|
|
|
Anonymous wrote:
Can you give few line example?
It would be better if you got a book on the subject. C# Network Programming by Richard Blum[^] is quite a good book on the subject. (Although all the examples in the book are in C# it is really the .NET Framework that is the important part. So everything mentioned will work for C#, VB.NET, Fujitsu COBOL.NET or whatever).
You will probably find that there is a better way from the book. You haven't really mentioned what you are trying to do, other than sending a file via TCP/IP (which is a bit vague and doesn't take into account things like people having firewalls that block your connection. You may decide a better way is using a web service - which would send the file via HTTP and therefor pass through a firewall)
"You can have everything in life you want if you will just help enough other people get what they want." --Zig Ziglar
"On two occasions, I have been asked [by members of Parliament], 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able to rightly apprehend the kind of confusion of ideas that could provoke such a question."
--Charles Babbage (1791-1871)
|
|
|
|
|
|
You can send files to and from a share in your network if you only need to stay within an intranet. I've done this with system.IO.
Is this what you're refering to?
|
|
|
|
|
Hi To one and all
I am a web developer, now i have got an oppurtunity to grow in design part, but i have problem,
Since this is the first time i am working in design side , can anybody let me know the good approach, what is the best way to learn...
|
|
|
|
|
Hi,
I would like to know the Administrator Rights are there are not for the current user.
My application gives the computer name etc., when the user runs on his machine, at the same time I would like to know whether the user have Administrator rights or not.
Can any one help me.
Thanks,
Sreepathi
Sreepathi
|
|
|
|
|
<br />
using System.Security.Principal;<br />
using System.Threading;<br />
<br />
...<br />
...<br />
...<br />
<br />
WindowsPrincipal winId = (WindowsPrincipal)Thread.CurrentPrincipal;<br />
bool isAdmin = winId.IsInRole(WindowsBuiltInRole.Administrator);<br />
bool isPowerUser = winId.IsInRole(WindowsBuiltInRole.PowerUser);<br />
|
|
|
|
|
Hi Roman Rodov and all,
It doesn't work for me. Giving an error saying that the Specified cast is not valid.
Thanks,
Sreepathi.
Got it Thanks....
|
|
|
|
|
hi im despreately trying to find out how to send 'pulses' and 'waits' through the pocket pc (Ipaq 2210) infrared port. Im using C# and have researched all the technicalities of raw infrared but cannot figure out what kind of data to send.
I thought it was hexadecimal which represented the timings of the pulses and waits but these are in 2-byte forms and so eg 0015 0015 would have to be sent as 0x00 0x15 0x00 0x15 using WriteFile and this seems wrong.
Its a strange question but its urgent!
|
|
|
|
|
Hi,
I have DotNet remoting question and this is related to while development. I am working on C#/windows application. One of client (window form) need to access the method remotely (from remoting server)...Question:
When I am building the client while in development mode do I have to set reference explicitly to the DLL server (remotable object) because if I do that then when moving to production, I don't know in which folder remote server .DLL would be installed.
Favourite quote:
In youth we learn, In age we understand.
|
|
|
|
|
the reason you need a reference to the server dll is so that .net can know the interface of your dll.
so you can basicly copy your server dll to a local folder and reference it from there.
there is no need to reference it at the server at all.
//Roger
|
|
|
|