|
obj.Send(Mailmsg)
Mailmsg.Send(Mailmsg)
Rajesh B --> A Poor Workman Blames His Tools <--
|
|
|
|
|
Doh!
thanks for that... I'll just get my coat.. TAXI!
|
|
|
|
|
Hi All,
I have created one DLL having some functions as follows..
I want to call them from VB.net and C#.net.
1) Function CONVERTPWDATA ( PASS1,PASS2 : INTEGER; IpStr : PWord; OpStr : PChar;
LangName : LongInt; AFontType, BFontType : LongInt ) : PChar; StdCall;export;
2) Function CONVERTDATAEX ( PASS1,PASS2 : INTEGER; IpStr : PChar; OpStr : PWord;
LangName : LongInt; AFontType, BFontType : LongInt ) : PChar; StdCall;export;
Can anyone help me for Compatible Data types in .net for Delphi Data Types..
My Second Question IS
How to pass Unicode Data from .net and How to receive it back from Delphi DLL.
Thanks in Advance..
I have never failed,I just found 1000 ways that never works.
Regards,
Victory.
|
|
|
|
|
can use .net framework for this purpose right? please guide me if i'm wrong. How do i get around with this?
|
|
|
|
|
guess you are looking for this[^]
|
|
|
|
|
i believe that is about still images? what about recording a video? any lead please? tq
|
|
|
|
|
well, thats a start point. You need to find ways to handle videos in c#. there are some open source libraries available. google for them.
a simple search in CodeProject would have given you the answer as well.
Anyways here
|
|
|
|
|
|
tq very much helps a lot
|
|
|
|
|
Hi !
I'm currently making a custom TreeView inheriting "ScrollableControl" and all parts are painted with GDI. Now, I'm going to implement the checkBox and I would like painting them too.
Is it reasonable for the performances of the application to paint controls instead of adding real controls ?
I have the same question for all parts like the "arrows / plus-minus" icon.
I want adding possibility to format the node text. Adding colors for some words or underline ...etc...
Actually, this text is painted too with GDI "DrawString". What is the best solution for you to format this text easily for the control user ?
Asking to user to enter RTF formating or Html formating and parse it before paint ?
|
|
|
|
|
Hi,
maybe not directly an answer to your question, however: have you read the documentation on ControlPaint class?
|
|
|
|
|
norrisMiou wrote: Is it reasonable for the performances of the application to paint controls instead of adding real controls ?
yes.
a control is a very expensive ressource, and a filled treeview may have up to thousands of Nodes.
I never tried, but i don't think, an application with thousands of Controls will run propperly.
|
|
|
|
|
Really thanks for yours answers
I did not know at all "ControlPaint" Class, but Just before looking at this, I have founded for example "CheckBoxRenderer.DrawCheckBox" ... and make the relation with "ControlPaint".
Very very cool !
It seems to be perfect for me I think. If I have understood, that must make it possible to have the faithful chart of controls without having their weight ! Right ?
edit:
After trying both solutions, it seems "ControlPaint.DrawCheckBox" paint a checkBox without theme, compared to "CheckBoxRenderer.DrawCheckBox" who paint it with theme.(I'm under XP)
modified on Saturday, April 10, 2010 5:04 PM
|
|
|
|
|
Im doing an online chat which allows users to interact, keywords will be stored within a database.
When the user wants to submit a message (they have written in a text box)the content within the textbox is examined so that it doesn't contain any of the words that are in the database, if it does then the words will be highlighted and the message won't be sent. Can anyone help me on how I can do this? I really need help Im using visual studio 2008
|
|
|
|
|
I found a link here.
This should give you an idea on what you need to do.
|
|
|
|
|
You have to use Ajax for implementing this functionality. You get help from following links,
Link1
Link2
|
|
|
|
|
sandympatil wrote: You have to use Ajax for implementing this functionality
WHAT?! Uhhh....no.
|
|
|
|
|
I can provide you with the general explanation.
What you need to do is, Firstly fetch the words you dont want to publish on your chat. Store it in an array. A generic list would be great if you are aware of that.
Then when any user sends the data, create a for loop where you will have to search for the specific word on the sentence. For every matched word, you will have to change the font color of that particular word, and reattach the word back..
There are many versions available, but this is the simplest one, when you wish to filter bad words, (which are upto 20-30 only)...
I hope this helped you..
|
|
|
|
|
LINQ is also a very good concept which can be used to solve your issue..
jaypatel512
|
|
|
|
|
I have created setup of .net window application. If I am installing on windows 7 machine one alert window mentioning
"Unkown Publisher". So how do I set publisher name while creating setup of .net window application.
|
|
|
|
|
You might want to have a look here.
Try including a publisher name in your setup file and see if it stops this popup from appearing.
Me, I'm dishonest. And a dishonest man you can always trust to be dishonest. Honestly. It's the honest ones you want to watch out for...
|
|
|
|
|
|
hi
please I need the code for sending bytes from one pc to another connected via ethernet cable using vbwinsock & udp protocol in vb.net
thank you
|
|
|
|
|
1) This is the wrong forum.
2) Did you do a search on the internet before posting your question here?
Here is the first result I got.
Me, I'm dishonest. And a dishonest man you can always trust to be dishonest. Honestly. It's the honest ones you want to watch out for...
|
|
|
|
|
|
winsock control is in VB6. if you are developing application with .Net Frame work (VB/C#) go through
the namespace System.Net.Sockets
search in GOOGLE you will find no of examples.
Rajesh B --> A Poor Workman Blames His Tools <--
|
|
|
|
|