|
hi ...
i wan to export data in sql server 2005 with wizard but take follow error !!!!!
"Only part of a ReadProcessMemory or WriteProcessMemory request was completed (System)"
is any query (in sql server) that i can export data ?
thanks
|
|
|
|
|
What does this have to do with C#? It belongs in the SQL Forum... But I see you've already asked it there!
|
|
|
|
|
[Serializable]
Class A
{
public event Handler OnChange;
public A()
{
this.OnChange += new Handler(this.Save);
}
public void Save()
{
filestream.Save(Serialize(this));
}
}
class B
{
A myA;
public B()
{
myA = new A();
why doesn't it serialize myA, but it tries to serialize B ?
THANKS ALOOOOT to the one\s who help me solve this.
NaNg.
|
|
|
|
|
I don't see why that should happen, what is the 'stuff' that you do ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"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 )
|
|
|
|
|
set a property which checks if this.OnChange != null and if not it triggers it.
|
|
|
|
|
nevermind, I found the problem while debugging.
It saved in the event B from some reason.
I just added: [field: NonSerialized()]
to every event.
It works fine now.
Thanks anyways
|
|
|
|
|
HI all,
i am using ClickOnce to deploy my application, whenever i run the below code its asking me to check is ur application is running under click once,
my code,
if (ApplicationDeployment.IsNetworkDeployed)
{
// Hold a reference to the current deployment
ApplicationDeployment currentDeploy = ApplicationDeployment.CurrentDeployment;
// Check to see if an update is available on the server
if (currentDeploy.CheckForUpdate())
{
// One is available, go get it
currentDeploy.Update();
// Make sure you save application state here
DialogResult dr = MessageBox.Show(
"Update downloaded, restart application?",
"Application Update", MessageBoxButtons.YesNo);
if (dr == DialogResult.Yes)
{
Application.Restart();
}
}
}
if (ApplicationDeployment.IsNetworkDeployed)
if i din't use this ApplicationDeployment.IsNetworkDeployed, its giving INVALIDDEPLOYMENTEXCEPTION--Application not installed.
Please help me how to overcome this thing..
Thnx in advance,
prashanth
|
|
|
|
|
i need to convert from network stream to byte[]...
please help
|
|
|
|
|
What does the code look like ? ( I'm curious how a network stream looks, is it just a stream object ? )
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"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 )
|
|
|
|
|
TcpListener tcpListener = new TcpListener(2112);<br />
tcpListener.Start();<br />
TcpClient tcpClientIP = tcpListener.AcceptTcpClient();<br />
NetworkStream nsIP = tcpClientIP.GetStream();<br />
StreamReader srIP = new StreamReader(nsIP);<br />
string resultIP = srIP.ReadToEnd();
as u can see the last result is a sting... but before that i need it to be byte[] because i am using an encryption...
|
|
|
|
|
OK, converting a string to a byte[] is pretty easy, why do you need to convert it *before* it's a string ? You read a stream using the methods it offers, does it offer one to read a byte [] ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"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 )
|
|
|
|
|
the received stream is encrypted... and the encryption methode i used is dealling with the byte[]
so i need to convert the stream to byte[] first and then decrypte the byte[], then convert it back to string
|
|
|
|
|
Hello everyone, I have this problem when saving Arabic letters into Oracle do you think it's the dataset?? please help.
ps. I keep getting "???? ?? ????"
Smile: A curve that can set a lot of things straight!
(\ /)
(O.o)
(><)
|
|
|
|
|
What's the datatype you're trying to store into ? What's the SQL look like ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"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 )
|
|
|
|
|
VARCHAR2, and im trying to store some Arabic text
Smile: A curve that can set a lot of things straight!
(\ /)
(O.o)
(><)
|
|
|
|
|
I thought you needed nvarchar for Unicode ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"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 )
|
|
|
|
|
Christian Graus wrote: nvarchar for Unicode
I did, but I got ORA-12704: character set mismatch anything to do with the dataset
Smile: A curve that can set a lot of things straight!
(\ /)
(O.o)
(><)
|
|
|
|
|
Not sure why you're getting that here, perhaps you've made it nvarchar in the table, and it's still varchar in the proc ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"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 )
|
|
|
|
|
Christian Graus wrote: proc
Smile: A curve that can set a lot of things straight!
(\ /)
(O.o)
(><)
|
|
|
|
|
Your SQL, I assumed to be a stored procedure.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"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 )
|
|
|
|
|
Thank you Christian for your help, but dont worry, I'll work it out and post the solution once I get it. Thank you again for your time, you've always been helpful to everyone.
Smile: A curve that can set a lot of things straight!
(\ /)
(O.o)
(><)
|
|
|
|
|
hi All
i am created dynamically dropdown box using repeater control now i want to call some function on selected index changed event
yes any one tell me how to add such event to dropdownbox
plz help me
thank and regard's
Anil Jagdale
|
|
|
|
|
How to can switch into menu mode by click a button?
Currently, i'm implementing a function as same as MS-Word's functionkey Display. but i'm in trouble when implement F10.
It's very easy to select menu by pressing F10 on keyboard, only need call MenuItem.PerformSelect. but this method cannot work in OnClick event of Controls.
pls help me . thank you!!!
|
|
|
|
|
Can you tell me some more about your problem
|
|
|
|
|
My problem is that the main menu cannot be actived by call MenuItem.PerformSelect in OnClick event of one button.
but now, i resolved this problem by calling <sendkeys.send("(%)")> on OnClick event. that is say i only simulate pressing "Alt" key of Keyboard. should not call MenuItem.PerformSelect.
|
|
|
|