|
The need to optimize rises from a bad design.
My articles[ ^]
|
|
|
|
|
I have an .net app that runs when pc start but unfortunately it get crash sometimes and gives a .net framework error. I think that error is about .net not loaded. I've tried to run it through registry and startup folder in programs menu. I want that app must have high priority to run like graphics and sound app.
any idea ?
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
What is the full error message?
Is anything logged in the event log?
Simon
|
|
|
|
|
i dont remember as it occurs sometimes. I found nothing related to it in event Log.
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
It's difficult to diagnose without the error. I suggest you write it down in full next time you see it. (Some errors you can copy by hitting Ctrl+c)
There should be no problem running a .net app from the start up folder or the registry.
Does the machine definitely have the correct framework installed? Is you app dependant on anything else like a service that may be taking time to start?
Simon
|
|
|
|
|
no it just a simple app that write and read some fake dll files
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
Could it be a permissions thing? What user are you login in as? Where are the files you are reading/writing. Does the user have permission to read/write to that location?
Simon
|
|
|
|
|
no need for permission. User login as admin. As i got the error again i will post here
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
Xmen wrote: As i got the error again i will post here
Go on then
Simon
|
|
|
|
|
If you have the source code and an appropriate version of visual studio, run it through the debugger. It's called "being a programmer". If the problem is intermittent, you probably have an uninitialized variable or something.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
I am developing an enterprise application and I am still not sure if I should use DHTML or Silverlight.
I have some concerns regarding Silverlight's security because it is a
client-side applications.
Does anyone who have experienced with Silverlight applications can answer this?
tnx
|
|
|
|
|
(I don't have much actual experience with silverlight so feel free to ignore me)
Silverlight is no more or less "client-side" than DHTML[^]. DHTML is a term to cover a bunch of technologies that includes a client side scripting language (javascript).
If you are concerned about a particular part being done on the client, just do it on the server.
Silerlight uses the .net runtime (in the form of a silverlight plugin for the browser), whereas a DHTML app would use a javascript runtime embedded in the browser. Both are rather easy to reverse engineer, so I wouldn't really worry about one being more secure than the other.
My pro's and con's for each tech would be as follows:
Silverlight
Pros -
Nice pretty UI, animations, etc.
Can potentially share UI XAML markup with desktop apps.
Cons -
Limited client support[^]
Requires browser plugin.
DHTML
Pros -
Supported on almost all clients.
Cons -
Varying browser support for features often requires 'tweaking'.
Simon
|
|
|
|
|
Neither. I assume by "enterprise" you mean "I have full control of the operating environment", which means to me "stop messing around with web apps and just deploy a forms app with OneClick".
|
|
|
|
|
Hello,
I am trying to create a bluetooth socket on wince device(HP iPAQ). the code is given below ..
SOCKET s;
WSADATA wsaData;
int iRet = 0;
iRet = WSAStartup(MAKEWORD(2, 2), &wsaData);
s = socket(AF_BT, SOCK_STREAM, BTHPROTO_RFCOMM);
if(s == INVALID_SOCKET)
{
iRet = WSAGetLastError();
}
WSACleanup();
here creation is getting failed.The return error code is 10047(Address family not supported by protocol family). In my device the bluetooth is turn ON. Can any body help me why i am not able to creat bluetooth socket. please help me.
Thanks and regards,
Yudhisthira Attry
|
|
|
|
|
Hi,
I've subclassed the standard System.ComponentModel.Design.ArrayEditor to allow me to edit a ushort[] property in the VS2005 visual designer's property grid. I've added a UITypeEditor attribute to the property specification and my subclassed type editor is invoked correctly by the designer.
I need to display/edit the ushort[] array elements in hex. I already have a hex TypeConverter that works fine, my problem is how to invoke it for the array elements?
Any ideas would be most welcome.
Thanks, Steve.
|
|
|
|
|
I have an application that behaves as a SOAP server, using the ChannelServices::RegisterChannel and RemotingConfiguration::RegisterWellKnownServiceType calls.
Although my SOAP service will not be called intensively by clients, it is still possible that it gets a burst of a few hundreds of calls at the same time.
Problem is that the logic in the SOAP service typically take 5 to 10 seconds, and cannot be executed in parallel (complex mathematical calculations, results of one SOAP call may influence the results of later SOAP calls, it's a bit difficult to explain all the underlying details of it).
In normal situations this is not a problem since the SOAP timeout is typically about 100 seconds.
However, if I get a burst of 100 SOAP calls at the same time, some of them will get a timeout (which is acceptable). The real problem is that I cannot see in the server that the client has got a timeout, which means that the server will go on performing its calculations (or the calculations needed for the SOAP call will be queued) even if the client is not there anymore, and the results cannot be sent to it anymore.
If I would be able to see that the client is not there anymore, I could abort the calculations, or I could remove the pending calculations from the queue again.
I've looked in the .Net API but I haven't found a way yet to see if the client is still there or not.
Is there an easy way to obtain this information?
Or should I start to investigate asynchronously SOAP calls, or any other complex concept?
Any code examples that might help?
Thanks.
Patje
Enjoy life, this is not a rehearsal !!!
|
|
|
|
|
I had a similar issue where I needed to calculate machine collision data on demand, which took a few seconds. This taking a few seconds means that the data doesnt need to be that fresh (as its going to take a while to calculate anyway). I'm assuming that if the client can be happy with a timeout on the call, then getting old data won't matter.
If you want to just speed up the number of calls while still service relatively fresh data, stick your intensive calcuation in a block, and cache the results. Set your WCF service to multithreaded. Use Monitor.TryEnter to only allow one thread to enter the calculation code, and if the request isn't calculating (TryEnter returns false) then serve them the cached result of the last calculation.
If you absolutely need everyones data, and its all sequential then they might just have to post data, get a sequence number, and retrieve their results in a second call. This would ensure you won't drop any data.
|
|
|
|
|
Thanks for the tip.
I cannot use caching because every SOAP call is different, even if all the input arguments are the same (it's a kind of complex reservation system using mathematical formulas).
I like the trick using the sequence number, but I would keep this as a last alternative.
I was just hoping there would be a method to get from the .Net framework that the client has left (because of a time-out) before actually returning the result, but apparently, this isn't the case.
Thanks for the tip anyway.
Patje
Enjoy life, this is not a rehearsal !!!
|
|
|
|
|
Hello all,
I have a string of 4 Unicode chars in the format:
U+9ffU+5a01U+6c7dU+8eca.
U+ : represents the beggining of the char series.
I need to get the .Net string, in this case we want to get 4 Chinese letters:
駿威汽車
There is "the normal way" to use otomatic parsing of string:
string st = "\u99ff\u5a01\u6c7d\u8eca";
(and we get st = 駿威汽車)
but it is good just for copiler time and not for run time.
and the next code also don't work
string st = "U+99ffU+5a01U+6c7dU+8eca";
st = st.Replace("U+", @"\u");
string st1 = st;
Any Ideas'?
|
|
|
|
|
This might work for you, it deals with 6 chars at a time, ignoring 2 and
using the next 4, until nothing is left:
string result="";
while (st.Length!=0) {
int i=int.Parse(st.SubString(2,4), NumberStyles.AllowHexSpecifier);
result+=(char)i;
st=st.SubString(6);
}
provided you add some error handling.
|
|
|
|
|
You understood the question?
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Mark Salsbery wrote: You understood the question?
That's for the OP to decide.
But a few Chinese characters won't stop me...
|
|
|
|
|
LOL I reread the post several times now that I've had more coffee and
I (finally) realize I wasn't even close!
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Forgive me if this is a silly or badly formulated question but I'm a newbie in .NET programming.
I need an easy way to exchange asynchronous messages between a Windows service (or client application) and a Web service.
Up till now I've considered (but still not implemented and tested) the following approaches:
- Using a TCP socket. Is there any standardized way in .NET to send/receive messages using this link? For example, using XML or SOAP as a standard encapsulation format for data.
- Using MSMQ. Is this a valid approach for this kind of applications? I could not find many information.
Do you have any suggestions and/or links to good reference material?
Regards,
Andrea
|
|
|
|
|