|
I've recently put a .NET tool into public beta test. I would appreciate if anyone who is actively working with medium to large code bases, would participate in the beta and send me your comments to improve the product.
www.antair-chinchilla.com
The website is not the best right now, but it's being redesigned.
Cheers!
|
|
|
|
|
People I need help.
My Pocket PC application has to send emails. I used on of the SOCKET libraries found in inet and it worked with the local SMTP server. But when I tried to use it with the global SMTP server I obtained Socket Response error. This error is raised always. Has any one met with the same problem?
My application is developed using C#
I will appreciate any help.
Thank you in advance
I said that
|
|
|
|
|
Kirill Yatsenko wrote:
Has any one met with the same problem?
My application is developed using C#
Kirill: put this question tin the C#-forum. there is more traffic. Perhaps there is one, has the same problem.
Ariadne
|
|
|
|
|
If you are using system.web.mail try using innerexception to get a more detailed message reg the error. This wrapper has an ugly downside for throwing same error for many different problems that can be seen by using innerception prop on the exception object.
Good luck. /A
|
|
|
|
|
|
Hi,
could anyone tell me why when i draw any image in pocket pc or smartphone application the white color is transformed from 255,255,255 to 255,251,255 ( and many other colors are transformed to something different ). This is happen no matter what image format i'm using, what is the bpp and whether i'm testing on the emulator or the real device.
This problem appears only if i'm drawing images, if i'm drawing some graphic primitives such as rectangles etc. the colors are ok.
Please help!
|
|
|
|
|
"ApplicationName must be set before the DynamicBase can be set"
This is the message of the exception (MemberAccessException) returned when I try to load an assembly into the current domain of my application. The same code worked great in a smaller application I created to test the loading of
assemblies that I create dynamically and save to disk.
However, grafting it into my larger application results in the exception (above) and I'm uncertain why that is. I do recognize the property "ApplicationName" which can be found within the SetupInformation property of the AppDomain (System.AppDomainSetup) but I wouldn't know what to set it to.
Does anyone know why this exception might appear in one instance yet
not in another? The only relative difference between the two apps is one is a simple single assembly while the other is a more elaborate multi-assembly solution.
Thanks in advance,
Rein
|
|
|
|
|
hi,
i dave developed a .net component that is working fine in dot net projects but i want to add this component to a vb 6.0 project for that i have assigned strong name to the project but following problem is hindering
i am using some activex components (one of them is Microsoft.Scripting and other is thirdparty component) in my dotnet component, and i am not able to assign any string name to these components,
what should i do to make my component workable with vb 6.0
regards,
Arus
-- modified at 10:56 Monday 3rd October, 2005
|
|
|
|
|
I have a configuration class, FileMonitorConfig, that has a few string properties, and one ConnectionInfo property. The ConnectionInfo class in turn has a few string properties that describe a SQL Server connection.
When I write the FileMonitorConfig object, the inner ConnectionInfo object does not get serialized. It always appears a an empty tag in the config file.
Nothing in the literature indicates that only the top level of an object graph gets serialized, and the Serializable attribute on either class has no effect. Am I doing something wrong, or should I consider the provided Xml Serializer Transformer effectively useless and develop a custom transformer?
The DJ's took pills to stay awakwe and play for seven days. - Jim Morrison, Black Polished Chrome.
|
|
|
|
|
It seems that when the transaction of my C# Serviced Component times out the code still goes ahead and attempts another operation on that transaction. It then catches an exception. Is there not a way to be aware of the timeout event and abort processing before generating an exception?
The DJ's took pills to stay awakwe and play for seven days. - Jim Morrison, Black Polished Chrome.
|
|
|
|
|
Hi,
I am working on a fairly good sized .NET CF application (single process, multi-threaded) that runs on WinCE 5.0. The application is all C#, with a decent amount of p/invokes into OS calls and a 3rd party native DLL.
I have been trying to use the Remote Heap Walker to examine the applications heap and have run into the following issue:
When I use Remote Heap Walker I see my application and Heap Walker shows is as having 3 Heap regions. One of the heap regions HF32_DEFAULT flag set, the other 2 do not. I am able to examine the contents of the 2 heap regions that do not have the HF32_DEFAULT flag set, but when I try to examine the one that does have the flag, the Heap Walker application does the following:
Writes this to the debug output:
Data Abort: Thread=96b74da8 Proc=91ed8e40 'CEHWCLI.EXE'
AKY=00040001 PC=000117c4(CEHWCLI.EXE+0x000017c4) RA=001af000(CEHWCLI.EXE+0x0019f00) BVA=261b1000 FSR=00000007
And pops up a window to the display showing a fatal application Error.
My application is still running just fine and shows no ill effects. The reason I started using the Heap Walker is due to some random data aborts that pop up from time to time. Also, I am sometimes seeing the application gobble up all the memory on the WinCE device (when this occurs, I cannot even see my process using Heap Walker). Both of these occur sporadically, and not on all devices.
Does the Heap Walker tool throwing a data abort mean that the heap is corrupted (it happens every time, even just after applicaiton start up), or is there something incompatible with Heap Walker and large .NET CF applications?
Any insight is greatly appreciated.
Thanks.
|
|
|
|
|
I have a simple Windows Service. It is a timer loop, and when the timer expires it calls an external component to check if certain tasks need to be executed.
I noticed it was leaking memory. The Service itself does nothing but call a function in the external component, and it creates one reference to this component at startup and keeps this single reference to the component throughout the service lifetime.
At first I thought this might be a Timer problem, because it leaks memory every time the Elapse event expires.
But after a lot of experimentation, I determined that the memory leak actually occurs because of a call to write an entry in an EventLog. If I remove the EventLog entry write from the Timer_Elaspe event, the memory leak goes away.
I'm running Framework 1.1 on Win2K Service Pack 4.
Anyone else seen this problem??
|
|
|
|
|
I need to create a windows user account and add permissions for a specific folder. I have to code to create a auser, but how can I add permissions for this user on a specific folder?
|
|
|
|
|
Can someone suggest a tool to find the dependencies of a .NET assembly?
|
|
|
|
|
|
|
How can I get information about currently logged users (user names) in windows?
--
Digitally yours, Bounz
|
|
|
|
|
Hi all,
I am working in .NETCF.I am developing similar to paint software for Pocket PC using .NETCF.I like to do cut/copy/paste. For that I need to select particular area in picture box. How to do that.
If I am draw the rectangle then it is merged to the picture box. So I am not able not able to zoom that.
If I am creating new bitmap with rectangle drawn. But it is not transparent. So I am not able to view the actual picture behind that bitmap. How to handle this. Please help me.
Regards,
S.Sevugan.
|
|
|
|
|
how to pass messages between java and .net without using sockets
Mohamed Hasan is usally called as Hasan. He is very much interested in C++ programming . He slowly picking up .NET programming. He done his Bachler degree in Arumugam Pillai Seethai Ammal college Thiruppathur. and Master degree in MK university College.
Contact him at: hasansheik@hotmail.com
hasansheik@yahoo.co.in
hasansheik@lycos.com
|
|
|
|
|
|
We have an API from a contributor that provides us access to their data via web services. My code is a small server that runs 24/7 and repeatedly (every 5 seconds) requests updates via a call to a web service method. So far it seems that after a day or two of continuous running, this call ends up blocking forever.
Looking into the wrapper code, I see that it is derived from the System.Web.Services.Protocols.SoapHttpClientProtocol class, and the wrapper method ends up calling Invoke().
The docs claim that you can set a timeout using the Timeout property of the class. They further claim the default timeout is 15 seconds. This does not seem to be the case otherwise the call would return after 15 seconds, wouldn't it? Is there something else I'm missing?
¡El diablo está en mis pantalones! ¡Mire, mire!
Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)!
SELECT * FROM User WHERE Clue > 0
0 rows returned
Save an Orange - Use the VCF!
|
|
|
|
|
Newbie question.
I have a .net form (C++) and all I want to do is launch an external application when a button is pushed. (e.g. MSWord or Notepad) The button is all setup, and right now I just have it displaying a message box when it's pushed. How can I tell the operating system to go launch this independent application?
Thanks in advance.
John
|
|
|
|
|
|
Thanks for the help.
In case anyone else has the same question, here's a direct link to the MSDN article and a code snip that I did based on it.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemdiagnosticsprocessmemberstopic.asp
private: System::Void button2_Click(System::Object * sender, System::EventArgs * e)
Process *myProcess;
myProcess = Process::Start(S"Notepad.exe");
while (!myProcess->HasExited){
Thread::Sleep(500);
myProcess->Refresh();
}
myProcess->Close();
MessageBox::Show( "Complete", "Notepad has exited");
|
|
|
|
|
in earlier times it was possible to install a app with setup /r to record the user interactions in a Setup.iss. after that we run the setup in silent mode.
is the same posssible with a msiexec installation?
Ariadne
|
|
|
|