|
You if Understanding Learning C# The girly girl ,Introduce one for me and give me her skype, thank you,I'm still single, you know what I mean......
|
|
|
|
|
This isn't a dating service - and I'd keep her to myself (if the wife didn't find out)
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
Give me your Skype account, let us become good friends, common progress, and strive to forge ahead!
|
|
|
|
|
Nobody is giving you their Skype account.
All communication is done here in the forums or it's not done at all.
|
|
|
|
|
Hi all, i am using visual studio 2010 and trying to add a dynamic image into the crystal report, i dont want to use dataset, how could i assign a URL to the image, and just change the image with the same name (ex: c:\logo.jpg different image than the existing one but the same name) and the report read it.
thanks for your replies
|
|
|
|
|
|
SystemNullReferenceException means that you are trying to use an object reference that has not been initialized. Use your debugger to find the line of code where it occurs.
|
|
|
|
|
Message Closed
modified 21-Aug-15 4:27am.
|
|
|
|
|
I have a feeling that your issue is somewhere in load1
It could be any of the following
1. Un-initalised object that you are trying to assign to
2. Trying to access / modify a collection at the same time from one or more threads without using either a multi threaded safe object or locking of the object
3. trying to update the UI from a separate thread with the use of delegates etc.
Every day, thousands of innocent plants are killed by vegetarians.
Help end the violence EAT BACON
|
|
|
|
|
|
Wrong forum, try the Lounge.
|
|
|
|
|
noted, please help to remove this, thanks.
|
|
|
|
|
if(ex.Message.Contains("Row not found or changed."))
{
log.WriteErrorToLog("got this error message:" + ex.Message + " See dictionary values below." , "AddOrder_DEBUG_LOG");
foreach (KeyValuePair<string, object="">kvp in dict)
{ log.WriteErrorToLog(kvp.Key + "=" + Iif(kvp.Value == null, "null", kvp.Value.ToString()), "AddOrder_DEBUG_LOG"); }
log.WriteErrorToLog("******DEBUG END**********", "AddOrder_DEBUG_LOG");
SendEmail("xxxxxxxxxxxxxx", "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx " + xxxxxxxxxxxxxx + ". xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", "xxxxxxxxxxxxxxxxxxxxxxx", "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", "", "", false); }
else if
(ex.Message.Contains("xxxxxxxxxxxxxxxxxx")) { WriteToLog(ex.Message + ex.StackTrace, "Exception", "AddOrder"); SendEmail("xxxxxxxxxxx", "xxxxxxxxxxxxxxxxx " + DateTime.Now, "xxxxxxxxxxxxxxxxxxx", "xxxxxxxxxxxxxxxxxxx", "", "", false); }
else if
(ex.Message.Contains("Timeout expired."))
{ WriteToLog("DealerImport query timeout around " + DateTime.Now + " Details:" + ex.Message, "Exception", "AddOrder"); }
else if
(ex.Message.Contains("xxxxxxxxxxxxxx.")) { WriteToLog("Someone killed the DealerImport query around " + DateTime.Now + " Details:" + ex.Message, "Exception", "AddOrder"); }
else {
if (ex.InnerException != null) { WriteToLog(ex.Message + ex.StackTrace + ex.InnerException.Message.ToString(), "Exception", "AddOrder"); }
else { WriteToLog(ex.Message + ex.StackTrace, "Exception", "AddOrder"); } } } return result;
}
modified 13-Aug-15 0:06am.
|
|
|
|
|
What is the question (it is certainly not a line of emojis)?
|
|
|
|
|
Can this code fragment be serialized Sir@Richard MacCutchan?
|
|
|
|
|
That makes no sense. Please explain in detail what problem you are trying to solve. Perhaps the word serialize means something different to you.
|
|
|
|
|
The process of converting an object into a stream of bytes in order to store the object or transmit it to memory, a database, or a file is Serialization in C# right? i dont have an idea how to do it though...
|
|
|
|
|
|
even i was confused i already did that unfortunately i failed to link it with that.. in the articles its always showing a class that fragment is out of nowhere my prof is not around i don't know what to do.. any suggestions? anyway thanks for answering
|
|
|
|
|
Follow the link I gave you, there is a reference to the MSDN documentation and also a CodeProject article.
|
|
|
|
|
I have followed WPF TabControl: Turning Off Tab Virtualization[^] to be able to have tabs that don't recreate their contents each time.
Recently I found out that if you close a tab for example the content is not destroyed!
For example if you add a browser with a video in it the video will continue to play.
The content seems to be stored in a property, I can't figure out how to remove it for good.
This is done with data binding and a DataTemplateSelector.
Any help would be greatly appreciated.
|
|
|
|
|
You should ask this on the article forum. The author will be notified of questions.
|
|
|
|
|
I asked, but I don't see much activity there recently. So I know that the content is stored in a property and I would just like a generic wpf answer how to remove content (UI controls) that are stored in a property.
|
|
|
|
|
I need to edit code to add in C# code for a method called readInteger which has the following signature:
int readInteger ( string prompt )
but I don't know how; can anyone tell me the code I would use?
thanks
|
|
|
|
|
There is a "ReadLine" method on the Console class. ReadInteger can be found on various reader-classes, but could also be from some other class.
Given that it needs a string as a prompt, I would guess that it is a bit o' homework where you display the prompt on the console, ask for a valid integer, provide feedback if it isn't, and then return the result.
If it is homework then please copy the entire question.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|