|
as u can see above very first line of message doesn't get displayed. so what could b wrong?
manoj sharma
09313603665
manoj.great@yahoo.com
|
|
|
|
|
How the hell should I know?
Somewhere in the code you just replaced some variable or object hasn't been initialized...
If you want help, please be more specific, I can't tell what you're doing if you don't elaborate on it more. I didn't develop that piece of code you know. I suggest you try to do some debugging or something.
|
|
|
|
|
please dont don't get it wrong? code is not giving problem everywhere?? it is running fine everywhere else.
but on 1 pc only this is the error. so i guess it's not related to code but something other than that. that's why i need experts viewes.
to start debugging on that client machine (i cant use debugger as no source code is there no vs2k5 is there) i m creating exe here, sending it client and then i came to know the results. that's why i m giving message. return true suggested by you works, but instead first line of messagebox doesn't come up only that single machine.
hope this cools you down. any ideas??
manoj sharma
09313603665
manoj.great@yahoo.com
|
|
|
|
|
Dude, It's not a question of cooling down or not, I can't help you without information.
What's the contents of that specific function? It could be that it's machine related, like an unregistered dll, a setting, a missing file, etc, but it could be code. Can you write to a log file? Put some lines in the function and see what it does. You could also try to add beeps if all else fails.
|
|
|
|
|
What's happening in gfCheckLock()? If it's a null reference exception you're probably not instantiating something. Does the app call an external resource that the single client machine doesn't have perhaps? Are the other machines also running the same OS?
But fortunately we have the nanny-state politicians who can step in to protect us poor stupid consumers, most of whom would not know a JVM from a frozen chicken. Bruce Pierson
|
|
|
|
|
class ClsHasp
{
private int seed; private int lptNum; private int passw1; private int passw2;
public ClsHasp()
{
seed = 0; lptNum = 0; passw1 = 0; passw2 = 0;
}
public bool gfCheckLock()
{
try
{
System.Windows.Forms.MessageBox.Show("1");
===============
i m trying above in gfCheckLock(), even before any statement i m displaying a message, then also the same exception?? any ideas??
as for the OS develop machine is win2k3, clients are xp as well as vista.
manoj sharma
09313603665
manoj.great@yahoo.com
|
|
|
|
|
Hi,
Currently i am able to hit to the proxy server by supplying username and password after getting 407 response from proxy server. The server is configure with authName =private which i get as Basic realm in the server response. The config file contains:
# Proxy directive - asks for authentication when access a URL through proxy
<proxy *="">
Order deny,allow
Allow from all
AuthType Basic
AuthName "Password Required"
AuthName private
AuthUserFile "C:\Apache2\passwd\passwds"
Require user user
Require user valid-user
And i am setting the credential and getting the resonse from the server as:
Uri proxy_url = new Uri("http://146.122.190.237:8080/");
proxy.Address = proxy_url;
proxy.Credentials = new NetworkCredential("user","pass","private");
httpWRequest.Proxy = proxy;
//get the response. This is where we make the connection to the server
httpWResponse = (HttpWebResponse)httpWRequest.GetResponse();
If i havent supplied "private" it is working fine, but if private is supplied it is again fire 407 "AuthenticationRequired" error.
Can you tell me how to pass this realm value through credential in C#.Net, if at all needed to pass?
Is the domain means the realm ? if yes why it is failing?
Here i am using basic authentication type.
Thanks in advance.
Thanks,
Sangram.
Bend of the road is not end of the road
|
|
|
|
|
i think you are good to go without Realm
Bend of the road is not end of the road
|
|
|
|
|
Are there any possibilities to convert directly from DateTime object to a format like this:
"2007-10-01T14:44:59.5663649+02:00"
??
Thanks...
|
|
|
|
|
Take a look at the DateTime.ToString[^] overload that allows you to specify the format.
From a quick scan of that page I think the one you want is ToString("O");
|
|
|
|
|
Have a look at this...you ca define your own datetimepattern as you wish...for examples for the DateTimePattern try searching MSDN and google
System.Globalization.DateTimeFormatInfo info = new System.Globalization.DateTimeFormatInfo();
info.FullDateTimePattern = "...";
Application.CurrentCulture.DateTimeFormat = info;
Do your best to be the best
|
|
|
|
|
Hi,
I am going to develop a C# windows application and deploy in a server. This exe file will be used by around 10 people at the same time. I think it will create new instances for each user.
What I want to know is, are there any know issues for these kind of scenarios? What the general good practices for this kind of application?
Thanks & Regards
jayasshc
|
|
|
|
|
The main issue I can see is if your app writes to local config files, they could well clash.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Thanks
jayasshc
|
|
|
|
|
if the exe uses resources (most commonly files) it could be a problem.
V.
If I don't see you in this world, I'll see you in the next one... And don't be late. (Jimi Hendrix)
|
|
|
|
|
Thanks!
jayasshc
|
|
|
|
|
no problem, we're all trying to help
|
|
|
|
|
have you considered any of the "click once" stuff?
That way you can deploy to a server but each client gets a local instance as required
|
|
|
|
|
Thanks!
jayasshc
|
|
|
|
|
i am not able to use break point in my application. if i use break point it is showing a msg like
"The breakpoint will not currently be hit. No symbols have been loaded for this document".
what is this? how can i use break point and evaluate my application.
|
|
|
|
|
|
Run your app in debug mode
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
|
How to get the location of BookMark in Table of Word Document..
i.e Row And Column
plzzzzzzzzzzzzzzzz help me
venki
|
|
|
|
|
Try
object nullRef = null;
object count = null;
object gotoItem = (object)WdGoToItem.wdGoToBookmark;
object name = (object)"Sample";
Range rng = doc.GoTo(ref gotoItem, ref nullRef, ref count, ref name); where doc is your document.
Deja View - the feeling that you've seen this post before.
|
|
|
|