|
That depends entirely upon what your using to do the terminal emulation.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
i want to hava a windows that will only show the reply that are open on a console and can answer that reply.
|
|
|
|
|
Since you didn't really answer my question, I can take an educated guess and say that you don't have a terminal emulation package, library, or control, whatever...
Without that, you're not talking to the mainframe. You either need to write one, which will probably take a considerable amount of time, or you need to start searching for a terminal emulation library.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
3270, 5250 Terminal Emulation packages are usually provided by IBM or similar IBM approved suppliers. VT52, VT100 from HP these days. In all cases the undertaking of writing terminal emulation is well beyond the scope of what is possible to discuss here. These days, many mainframes have a TCP/IP session if you are so lucky. Many others have a SQL or DB2 interface, at the end of the day start with your exact requirement and start you search from there.
Good Luck
Mike Luster
CTI/IVR/Telephony SME
|
|
|
|
|
Hi , i am currently working on the steganography Project for My B.Tech Final Year Project .plz could any one help me out , i am facing problems in understanding the code that i have downloaded from codeproject .....plz guide me .!!! i have a very little time left ..............
AMAN ANWAR
|
|
|
|
|
If you have questions about the code the author posted, post a question in that articles message board. Go to the bottom of the article to post it.
nwr_mn wrote: i have a very little time left
Don't get me started!
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
nwr_mn wrote: i am facing problems in understanding the code that i have downloaded from codeproject
You shouldn't have too much trouble since they're accompanied by usually excellent articles and the code should be commented. If the article is brief then it's because the code is easy to understand.
nwr_mn wrote: i have a very little time left
Might help a tiny bit if you give us a specific problem, the world of programming is very very very very very very large indeed.
Ed
|
|
|
|
|
sir, it is very nice of u to respond to my query , i am actually facing the problem of how to read the LSB of the bitmaps.the code is no doubt commented but i am an average programmer so i am facing problems in understanding it ...plz could u help me out .
I am also having problems in writing the entire message lenght in to the first pixel of the bitmap .....plz help help
AMAN ANWAR
|
|
|
|
|
Provide the code snippet which you're having trouble with and then we will be able to help you.
Ed
|
|
|
|
|
nwr_mn wrote: i have a very little time left
Welcome to the real world, your holiday is over now, dont they teach you responsibility at university?
|
|
|
|
|
It sounds like SQLite is a nice database for standalone applications. Is this true for C#/NET apps? There are several NET wrappers out there for the DLL. Can someone give me some advice about what works and what does not? What NET wrapper should i get? Are there any pitfalls regarding set up and use that i should be aware of when developing C# apps?
|
|
|
|
|
|
|
You might want to ask an actual question.
About the only thing we can say to you is Google[^].
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
using System;
using System.IO;
using System.Text;
namespace Steganography
{
public class BMPCoverFile : ICoverFile
{
private string fileName;
public BMPCoverFile(string fileName) {
this.fileName = fileName;
}
public IStegoFile CreateStegoFile(string stegoFileName, string message, string password) {
// Open the cover
FileStream inStream = new FileStream(fileName, FileMode.Open, FileAccess.Read);
// Check whether the cover is a bmp file
char b = (char) inStream.ReadByte();
char m = (char) inStream.ReadByte();
if (!(b=='B' && m=='M'))
throw new Exception("The file is not a bitmap!");
// Check whether the bitmap is 24bit
byte[] buffer = new byte[2];
inStream.Seek(28, 0);
inStream.Read(buffer,0,2);
Int16 nBit = BitConverter.ToInt16(buffer, 0);
if (nBit!=24)
throw new Exception("The file is not a 24bit bitmap!");
// Read the header from the cover
int offset = 54; // Header Size
byte[] header = new byte[offset];
inStream.Seek(0, 0);
inStream.Read(header, 0, offset);
// Write the header to the stego file
FileStream outStream = new FileStream(stegoFileName, FileMode.Create, FileAccess.Write);
outStream.Write(header, 0, offset);
// Create the unicode encoding
UnicodeEncoding unicode = new UnicodeEncoding();
// Add the length of the message inside the first 4 bytes
byte[] messageBytes = AddLengthAhead(unicode.GetBytes(message));
// Encrypt the message
messageBytes = CryptoHelper.Encrypt(messageBytes, password);
// Encode the cover using the LSB method
inStream.Seek(offset, 0);
LSBHelper.Encode(inStream, messageBytes, outStream);
inStream.Close();
outStream.Close();
// Return a new BMPStegoFile
return new BMPStegoFile(stegoFileName, password);
}
private byte[] AddLengthAhead(byte[] messageBytes) {
int len = messageBytes.Length;
byte[] bLen = BitConverter.GetBytes(len);
byte[] ret = new byte[len + bLen.Length];
for (int i=0; i < bLen.Length; i++)
ret[i] = bLen[i];
for (int i=0; i < messageBytes.Length; i++)
ret[i+bLen.Length] = messageBytes[i];
return ret;
}
}
}
}
what is done in this code ?? it has been commented as Adding message bytes to the start of the pixels of the Bitmap.
AMAN ANWAR
|
|
|
|
|
Once again, your best source for information is the person who wrote the code!
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
> I guess it might have to caputre any Paint event in teh
> application and ignore it when this window is moving or resizing
But how do you know when the moving or resizing has finished?
I guess you should optimize your heavy painting code in the main form. You can start by enabling DoubleBuffer ControlStyles. Then optimize the paint code by only painting the invalidated portion.
|
|
|
|
|
hi,
i'm having error "Member not found." from the following code(in time of invoking member)..
<br />
foreach (MemberInfo mi in type.GetMember("test_mdi_Init"))<br />
{<br />
type.InvokeMember (mi.Name.ToString(), <br />
BindingFlags.Default | BindingFlags.InvokeMethod,<br />
null,<br />
ibaseObject,<br />
arguments);<br />
}<br />
what could be the problem? thanx for help
|
|
|
|
|
The flags of the member doesn't fit the flags that you have specified.
---
b { font-weight: normal; }
|
|
|
|
|
the member "test_mdi_Init" is a public method. also if use 'BindingFlags.Public' it throws an exception "Attemp to access a missing member". so what do you suggest?
|
|
|
|
|
BindingFlags.Default is 0, so you can remove that. I think you need BindingFlags.InvokeMethod | BindingFlags.Public | BindingFlags.Instance .
"..Commit yourself to quality from day one..it's better to do nothing at all than to do something badly.."
-- Mark McCormick || Fold With Us! || Pensieve || VG.Net ||
|
|
|
|
|
thank you for your reply. BindingFlags.InvokeMethod works fine. i didn't make my method 'ststic', that's why i was having exception. Sorry, my mistake
|
|
|
|
|
thank you for your reply. BindingFlags.InvokeMethod works fine. i didn't make my method 'static', that's why i was having exception. Sorry, my mistake
|
|
|
|
|
Hello evryone
i am able to make the text in a file be read out on the click of a button.But to pause and resume, im not able to. I tried using the Pause() method of SpVoice...but not fruitfull... How do i resume speaking too?
Kindly help
Cheers
Annie
-- modified at 8:05 Sunday 19th March, 2006
|
|
|
|
|
Could you please rewrite your post (in English if possible) so that someone will be able to help you...
Provide more information etc...
Q:What does the derived class in C# tell to it's parent?
A:All your base are belong to us!
|
|
|
|