|
You need to build a TSPI.
Have a read of This[^] as a starting point,
If you want to make life easy, JulMar[^] have a nice library for taking the hard work out of writing a TSPI.
Michael
CP Blog [^] Development Blog [^]
|
|
|
|
|
|
How can I change the refresh rate to my monitor using a C# code? Do u have a sample of somthing like this? Thanks.
Da_Masca
|
|
|
|
|
Hi,
I'm trying to access functions residing in a VB6 exe. Does anyone know of a way to access these functions in C#.NET?
Thanks,
Shehzad
|
|
|
|
|
Hello,
Would anyone please give me any idea about making a trial version (time limited) of my C# Windows Software. Or if you know any cheap software tool who can do that. Is there any nice tool available who will do the following things
1] Obfuscators
2] Setup maker (installer) (With checking .Net framework and sql server installed or not, ..)
3] time limited trial version.
I would highly appreciate your responses..
Thanks and regards
|
|
|
|
|
Hi,
I have a background worker in my C# Winform who is responsible for inserting a record in a SQL table. At the same time I (as an user) can insert or delete a record in the same table while the background woerker is busy in the background. Now, when I perform some insert/delete in that table sometimes, I get Exception named "Exception has been thrown by the target of an Invocation". I think may be it was the time when two threads conflict by trying manipulating sql table at the same time. Can anyone give me any clue how to identify the problem and how to solve that problem please....
|
|
|
|
|
Hi,
I can only guess but I had this problem once when using Reflection. When you call some method/constructor with reflection and an exception is thrown within this call than this kind of exception will come up.
|
|
|
|
|
Perhaps you can catch the exception in code and take a look at the stack trace property on the exception object. Maybe that can help get you to a line of code that might lead you to the offending object.
Jim
|
|
|
|
|
Hi,
I'm writing a program which needs to know on which of the Desktop Icons a user has just clicked with the mouse (one left click, so it is 'selected').
Any help is appreciated
tnx
roy
|
|
|
|
|
Is there something you can do when you get the following error?
System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {704A5DF0-5E32-11CE-BBBA-080036D90402} failed due to the following error: 80040154.
at IdispOleTest.Form1..ctor() in D:\Projects\IdispOleTest\Form1.cs:line 33
I'm trying to use functions exposed by a tlb file.
-> I've first tried just importing it, but that fails.
-> Then I tried by using Interaction.CreateObject and Interaction.CallByName . That worked except when You had to pass a *BSTR parameter.
-> Now I've tried importing the tlb in a C++ project (6.0) and importing it like that. That worked, but the methods (are public) aren't exposed (I even tried to compile it with the /clr command).
-> The last thing (which gaves this error) I've tried is using the tlbimp, that creates the dll for me (and exposes the functions)
Now I'm really at a loss... .
I hope somebody has some hint or something... Tnx!
Coulda, woulda, shoulda doesn't matter if you don't.
|
|
|
|
|
|
Even that I've tried, however no change.
tnx for your idea.
Coulda, woulda, shoulda doesn't matter if you don't.
|
|
|
|
|
Hi,
I have a little socket problem. I'm writing a little Client/Server application. The server listens on a TCP port, using asynchronous methods (Callback methods). The client uses synchronous methods.
On both sides, I use a 1024 bytes buffer (byte[1024]) to get the data.
On the way Client -> Server, sending 1 Mbyte of data takes 11 seconds, whereas on the way Server -> Client, the same data transfer is almost instantaneous ! Knowing that both applications are running on the same machine, and the client calls the server "localhost". I also did the test on two separate machines using 100Mb ethernet, for the same result. Also, all is compiled in Release mode, as in Debug mode it took much longer !!!
Has anyone an idea for this performance issue ?
Thanks by advance !
Stéphane
|
|
|
|
|
Sorry, the time was lost in an underlying method ... The problem wasn't one !
Thanks !
|
|
|
|
|
Hi
I am a novice in c# (I am a Java programmer) but I have to make a dll in c# and before I begin, I have a question.
Will the dll I make run on winXP/2000 without any additional installations?
Frank
|
|
|
|
|
No, you will need the .NET framework which is not on those OS' by default. (same as Java needing the JVM)
|
|
|
|
|
Thanks that was what I thought. But is it not include in Service packs?
|
|
|
|
|
.NET 1.1 is part of SP2 full installation, AFAIK
|
|
|
|
|
hi to all, can i create a report gnerator for
35 fields table ?
or
create a report at run time?
so thanks
|
|
|
|
|
|
you can if u are able adjust the columns to print the report in atleast landscape view and what do mean that runtime?
ALL THE BEST
|
|
|
|
|
I have some trouble with my MDI-Window. The Child forms get UNDER the surface.. Take a look here:
http://basbroekman.nl/Img/Members/Media/IDEMdev.JPG[^]
I want the forms to autoscale with the maximal ground they get.. and don't go over other forms and so on.
The fact that forms can be scaled, is the only reason that I made a MDI-window. I am out of ideas, if nobody know a answer, than I going to make a sizeble panel.
Keep breathing, foks!
|
|
|
|
|
Hi all,
I am creating a windows application on 17'monitor with 1280 X 1024 as the resolution
now when i execute the same application on different machine the size of the forms
differ.
How can i create forms that will take the screen size dynamically and all the controls on
that form should be resized to be displayed in the same manner and location where
i had created them.
Thanks,
Pramod
|
|
|
|
|
You can do it.
When application starts, you must get the resolution and recount all form sizes.
Resizing controls is more simple - use Anchor property.
|
|
|
|
|
if any body tell me the core idea then its very thankfull
question is
why c# not support multiple inheritance with class
Thanks in adv
panal
|
|
|
|