|
uNsignedINT wrote: with 2 classes: AssemblyInfo.cs and Class1.cs
AssemblyInfo is not a class.
uNsignedINT wrote: DLL exports nothing by opening it and I can see that it has no exported functions
How do you open it?
In order for you to access GetInt() method, you must first create an object of type Class1.
E.g.
Class1 myObject = new Class1();<br />
myObject.GetInt();
|
|
|
|
|
Yes your right I meant 2 files
AssemblyInfo.cs and Class1.cs
I open the DLL with the Dependency Walker just by double cliking on the DLL.
It shows me all the dependant dll's and the the functions that exports.
How would you do a DLL in C# that is supposed to be used by another application?
Thanks!
|
|
|
|
|
Hello All!
Somenthing must have go wrong with my project.
I've created a new one with more functions and all was good.
I really can't tell what was the problem but now everything is ok.
thanks a lot for your help and patience!
Cumps!
|
|
|
|
|
uNsignedINT wrote: How would you do a DLL in C# that is supposed to be used by another application?
Expose the classes and methods to COM in your C# project. By default, this doesn't happen, and is why you can't see anything in Dependancy Walker.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
how do i convert a string to a rich text format
thx
Nana
|
|
|
|
|
Easiest way of achieving this is:
Create an object of type RichTextBox
Set the Text to your non-RTF text to your RTFtextbox.
Get the RTF text by using the RTF property of the textbox.
- Malhar
|
|
|
|
|
This is a quick-and-dirty solution.
You should use some "manual" conversion.
___________________________________
Tozzi is right: Gaia is getting rid of us.
My Blog [ITA]
|
|
|
|
|
Agree .. but it is guaranteed to work! Fast, simple, safe! Cant ask for anything more
To avoid performance issues, create and use a static object of type RichTextBox so you are not unncessearily create this object everytime.
- Malhar
|
|
|
|
|
You should use a manual approach if performance is important and the text is simple (limited formatting). If low maintenance or high reliability is important, use the RichTextBox. There is no point in writing code already provided by Windows - you will simply have more code to introduce bugs into.
|
|
|
|
|
Hi i have a Windows Application!!
In which i need to Display the Time of Two Countries,
For example:
When the application is Loaded, i want to Display the "Local Time/System Time" and "GMT time" and "Eastern Standard Time" on the window!!
In .NET there is option only for getting the current time zone!!("System.TimeZone.CurrentTimeZone");
!
Any helps or any sample codes or suggestion !! Please!
Thanks in advance!
One Shot dont miss you chance to go!!!!
|
|
|
|
|
|
You can do this by using the interop layer to call Win32 functions. The function GetLocalTime will give you the local system time. Calling GetSystemTime will give you the current GMT time. You then can use SystemTimeToTzSpecificLocalTime to convert GMT to Eastern Standard Time.
Andy
Human beings were not meant to sit in little cubicles staring at computer screens all day, filling out useless forms and listening to eight different bosses drone on about about mission statements. -- Peter Gibbons
|
|
|
|
|
i want to create a DataSet with 2 Tables, and i would to popolate these tables with this selection string:
Select * FROM TableInfo Where User = "Sasuko"; Select DISTINCT Number FROM TableInfo;
but it is not supported in Microsoft Access? How can i do it?
Futhermore if i have a table like this
|Name|Number|
Sasuko 09
Nichol 07
Joy 07
Michael 09
Simon 09
i want as result 2 becouse 09 and 07 are the only two number inside the table; Select DISTINCT Number FROM TableInfo; return me two rows with 09 and 07. if i do Select Count('DISTINCT Number') FROM TableInfo; i get 5 that is the number of all the rows
|
|
|
|
|
This is not the correct forum.
Use the SQL / ADO / ADO.NET messageboard.
___________________________________
Tozzi is right: Gaia is getting rid of us.
My Blog [ITA]
|
|
|
|
|
Jet/Access doesn't support multiple statements in a query, otherwise known at a batch in the SQL world. Only single statements are allowed. You'll have to break this up into two seperate queries and run them seperately.
I think your second query should look like this:
SELECT COUNT(DISTINCT Number) FROM TableInfo
No quotes around the DISTINCT Number part.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
|
OK. It works perfectly in SQL Server. I knew I hated Access for some reason. The equivelent in Jet T-SQL is:
SELECT Count(*) AS DistinctNumberCount FROM
(SELECT DISTINCT Number AS DistinctNumbers FROM TableInfo);
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
As for SSL/TLS, sending a notify is important. However it doesn't seem like SSLStream support that.
Please correct me if I am wrong, and what is the solution for this issue?
Thanks
Elapid For The Win
|
|
|
|
|
Need some help here pls
Elapid For The Win
|
|
|
|
|
First, we don't get paid to do this. This is an all-volunteer effort, not a job.
Second, putting this little "I REALLY NEED HELP!" note up 4 hours after you posted the "question" probably got your post ignored even more.
Third, and probably what really got your question ignored, is your question really doesn't make any sense. Why would a stream class concern itself with putting up an Alert messagebox or anything else User Interface related? It's not what a Stream object is concerned with!
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-- modified at 16:08 Thursday 19th January, 2006
|
|
|
|
|
Of course it doesn't support putting up an Alert Message. It supplies a Stream! Why would SSLStream concern itself with anything about a user interface element?
Sending a notification for what? That's going to be up to you and whatever you want to tell the user based on some condition...
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Sorry for the lack of my courtesy
Okay let me verify my question.
In SSL/TLS, there are a struct called Alert Message. Now what it does is to notify the server/client a few things according to what it is going on.
Now with the SSLStream in .NET 2, it doesnt seem to have an option of handling that alert (notification).
So now my question is .. do i need to implement it? because if there is something that I am missing and can handle that, then i dont have to do it
THANK YOU.
Elapid For The Win
|
|
|
|
|
Thanks for the clarification.
No, the SSL Alert protocol has not been implemented in the .NET Framework, ... yet anyway.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
you are the man!
Thanks
Elapid For The Win
|
|
|
|
|
Hello all,
I have to develop a project which can generate/capture a media streaming of different protocol(e.g. RTP,Microsoft multimedia server(MMS), ...).
So, is there any thing by which i can handle differet protocol?
Also mention that all stream are captured by media player/My own.So, I hava to handle different Encodeing/decoding(e.g. mp3,wav) techniques.
I mention that I see the functionaliy of VLC Player. But I have no idea to handle the component(axVLCPlugin) by C#.Net.
|
|
|
|