|
Hi , you are welcome
for your Question :
if you Save your variables like this order ...
int a = 1;
int b = 9;
int c = 3;
then you can read JUST like this
a = (int)Deserlaize ( .... )
b = (int)Deserlaize ( .... )
c = (int)Deserlaize ( .... )
in the same order ,
and the output will be a = 1 , b = 9 , c = 3
in other word you can't read (int b) , with out reading ( int a ) ....
P.S :
I am sorry , I can't found the right word to present this
but may be ( Book1 Above Book2 Above Book3 ) .... you can't get book2 , with out (moving or push away ) book1 ....
I am really sorry for this bad english ....
but if you got the idea , please let me know , I will be happy
I know nothing , I know nothing ...
|
|
|
|
|
Hi guys,
i've created Windows services connecting to web services. but i wz just wondering...
i hv a web service i want utilised by a mobile application. is there anyway i can achieve this? Or rather, is there anything like an equivalent of a windows service on mobile devices?
pls help ASAP.
He who goes for revenge must first dig two graves.
|
|
|
|
|
|
yes. a Windows CE device. Can i connect 2 a web service?
He who goes for revenge must first dig two graves.
|
|
|
|
|
|
plz tel me how to generate crystal report by passing more than one parameter in store procedure
|
|
|
|
|
Have you tried Google and if not bing... they are your friends and if they can't help you what have you tried? Ask a specific question.
|
|
|
|
|
Reading from resource file in C# through access violation exception sometimes
please suggest the needful.
Thanks,
Sachin
|
|
|
|
|
code?
and I didn't understand even half the question
|
|
|
|
|
wait until you see the codez.
Luc Pattyn [Forum Guidelines] [My Articles]
DISCLAIMER: this message may have been modified by others; it may no longer reflect what I intended, and may contain bad advice; use at your own risk and with extreme care.
|
|
|
|
|
|
I'm guessing "through" should be "throws", although, as you say, without seeing code it'd be hard to guess why.
There are three kinds of people in the world - those who can count and those who can't...
|
|
|
|
|
cancerion wrote: Reading from resource file in C# through access violation exception sometimes
please suggest the needful.
Hmm.
Ah! It's one of DalekDaves CCCs!
Reading Town in Berkshire
from SQL Reserved Word
resource file To find the rasp again
in C# through C# from beginning to end - CP
access database: DB
violation a crime less serious than a felony
exception an instance that does not conform to a rule or generalization
sometimes please occasionaly makes happy
suggest imply as a possibility
the needful. homeless people.
Got it! It's either:
Antidisestablishmentarianism
or
Gorsafawddacha'idraigodanheddogleddollônpenrhynareurdraethceredigion
but I'm not sure why...
No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced.
This message is made of fully recyclable Zeros and Ones
|
|
|
|
|
OriginalGriff wrote: exception an instance that does not conform to a rule or generalization
Even exceptions have to adhere to some rules...
Luc Pattyn [Forum Guidelines] [My Articles]
DISCLAIMER: this message may have been modified by others; it may no longer reflect what I intended, and may contain bad advice; use at your own risk and with extreme care.
|
|
|
|
|
Ah, but those would be meta-rules...
No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced.
This message is made of fully recyclable Zeros and Ones
|
|
|
|
|
PDF virtual printer in c# JurieBurie Just Posted
Hi All
I have a small project that someone asked me to do for them and am struggeling quite a lot to get started.
Could someone please steer me in the right direction.
Here are the requirements:
When you are in app such as word/excel, printer driver must be in printer list.
If you click on driver, dialog box must pop up with email address option & postal address option.
Then it must create a pdf file with unique name inside specific folder.
Must also create a text file which states details punched in i.e. Email or post address with same name as pdf but with dat extention
Example:
C:\pdf-app\23212345432.pdf
C:\pdf-app\23212345432.dat
The .dat contents with email & post option:
Type=email
EmailAddress=carl.vorster@gmail.co.za
Type=post
Address1=Ground Floor
Address2=Augusta building
Address3=Dimension Data Campus
Address4=132 Sloane Street
Code=2055
The .dat contents with post option:
Type=email
EmailAddress=carl.vorster@gmail.co.za
Type=post
Address1=
Address2=
Address3=
Address4=
Code=
The .dat contents with email option:
Type=email
EmailAddress=
Type=post
Address1=Ground Floor
Address2=Augusta building
Address3=Dimension Data Campus
Address4=132 Sloane Street
Code=2055
PLEASE HELP
Jurie
|
|
|
|
|
Help with what?? You haven't said what you're having a problem with.
BTW, you're not pulling this off with a C# solution since it would be insane to try and write a driver with anything other than Visual C++.
|
|
|
|
|
If I create an HttpWebRequest to an Https site, using TLS. Am I guaranteed to be FIPS 140-2 compliant on all platforms? I'm fairly certain based on articles that I've found that I am on WinMobile 5/Win 32, but I have my doubts for Pocket PC 2003/Windows Mobile 2003.
|
|
|
|
|
hi friends
i am creating crytal report frm the stored procedure ,this works fine when i pass one parameter but it shows an error "incorrect parameter " whn i pass two parameter
my code is
{
ReportDocument reportDocument = new ReportDocument();
ParameterField paramField = new ParameterField();
ParameterFields paramFields = new ParameterFields();
ParameterDiscreteValue paramDiscreteValue = new ParameterDiscreteValue();
paramField.Name = "@Dept";
paramDiscreteValue.Value = TextBox1.Text.ToString();
paramField.CurrentValues.Add(paramDiscreteValue);
paramFields.Add(paramField);
paramField.Name = "@Name";
paramDiscreteValue.Value = TextBox2.Text.ToString();
paramField.CurrentValues.Add(paramDiscreteValue);
paramFields.Add(paramField);
CrystalReportViewer1.ParameterFieldInfo = paramFields;
reportDocument.Load(Server.MapPath("CrystalReport.rpt"));
CrystalReportViewer1.ReportSource = reportDocument;
reportDocument.SetDatabaseLogon("sa", "sa", "OPWFMS-7KYGZ7SB", "test");
}
plz let me knw any chnges
|
|
|
|
|
Whats the advantage of
<br />
this.Invoke(new Function(delegate()<br />
{<br />
tbInfo.Text = "Capture Complete";<br />
}));<br />
over this:
tbInfo.Text = "Complete"; ?
Thanks
|
|
|
|
|
Hi,
assuming this is a Control (e.g. a Form), Invoke forces the delegate to be executed on the GUI thread; Controls are not thread-safe and can only be operated upon from the GUI thread!
Luc Pattyn [Forum Guidelines] [My Articles]
DISCLAIMER: this message may have been modified by others; it may no longer reflect what I intended, and may contain bad advice; use at your own risk and with extreme care.
|
|
|
|
|
So if I have this for instance:
label1.BackColor = Color.Red;
doSomethingHeroic();
- which normally results in something heroic happening, but not the color changing - it will allow me to change the color without it skipping past it?
(If it doesnt mean that, then is there any reason why it does do that? In a timer tick event.)
|
|
|
|
|
Hi,
if
label1.BackColor = Color.Red;
doSomethingHeroic();
is inside a System.Windows.Forms.Timer's tick handler (which always executes on the GUI thread), then (1) calling this.Invoke() and (2) changing a Control somehow will not show until the GUI thread gets to it, which normally is not before the Tick handler is done. You can remedy that in several ways, depending on circumstances:
- by calling Refresh() or Invalidate() on the Control;
- by inserting an Application.DoEvents() which is dangerous and an ugly hack;
- by moving long-winding operations (I assume doSomethingHeroic is) to another thread, which may well be necessary since a GUI thread should not be kept busy for more than say 30 msec in order to keep your app responsive (to user input, to other Windows uncovering it, etc).
Luc Pattyn [Forum Guidelines] [My Articles]
DISCLAIMER: this message may have been modified by others; it may no longer reflect what I intended, and may contain bad advice; use at your own risk and with extreme care.
|
|
|
|
|
<pre> - by moving long-winding operations (I assume doSomethingHeroic is) </pre>
Yes, it takes over the world, so I spose it deserves its own thread :P.
Thanks alot
|
|
|
|
|
Poor man's method of writing bad code for multithreaded UI's. InvokeRequired should be checked before updating UI elements.
|
|
|
|