|
Hi,can anybody help me out, Has someone ever used DonNetFireBall?
Manifestation Chinese, have a problem.
for example,While knocking into Chinese"你好", appear two. why???
How should change?
thanks.
|
|
|
|
|
网上可能有转换软件.
I am a chinese .It should have some change slftware on the internet.;P which company publish the solftware?
|
|
|
|
|
|
embedd a text message into a bmp file and retrieve the same
|
|
|
|
|
i'm not sure you can use a bmp file for steg.
Russ
|
|
|
|
|
Here's how to create text in c#:
http://www.codeproject.com/aspnet/createTextImage.asp
I'm afraid that getting the text out again is not going to be easy. All I know is that there's a concept called CAPTCHA[^], and there are techniques to break this, however I'm not familiar with these.
Visual Studio can't evaluate this, can you?
public object moo<br />
{<br />
__get { return moo; }<br />
__set { moo = value; }<br />
}
|
|
|
|
|
He's not talking about that sort of text in an image. Steganography is the science of encrypting messages within an image file.
|
|
|
|
|
I didn't know that. ...
Visual Studio can't evaluate this, can you?
public object moo<br />
{<br />
__get { return moo; }<br />
__set { moo = value; }<br />
}
|
|
|
|
|
|
I am having an issue with SqlDependency. SqlDependency is working fine until the connection to the database is closed. I have a check in my code that re-opens the connection if it closes but when this happens the SqlDepenency no longer works. Before the connection is re-established I call SqlDependency.Stop(connectionString) followed by SqlDependency.Start(connectionString) but this doesn't help. Any ideas on why this might be?
|
|
|
|
|
Hi All,
I am new to programming with C#. I have been asked to calulate the sum of the 2x2 matrix and it should display the output on the third matrix.
I tried a lot but i could not able to get it. if there is any link also pls send me.
pls help me.
regards,
Chitra
|
|
|
|
|
What code do you have?
I take it you haven't tried google - why not?
|
|
|
|
|
hey i tried google also but i could not able to get the correct thing which i m needed.
regatds,
Chitra.
|
|
|
|
|
|
|
|
Hi Keshav,
Thanks for your reply.
And i tried it like this. here is the code for ur ref
I am running it in the console application
Matrix.cs file
<br />
namespace MatrixAddition<br />
{<br />
public class Matrix<br />
{<br />
public double[,] Data;<br />
public Matrix(double[,] data)<br />
{<br />
<br />
Data = data;<br />
}<br />
public static Matrix operator +(Matrix M1, Matrix M2)<br />
{<br />
int r1 = M1.Data.GetLength(0); <br />
int c1 = M1.Data.GetLength(1);<br />
int r2 = M2.Data.GetLength(0);<br />
int c2 = M2.Data.GetLength(1);<br />
<br />
double[,] res = new double[r1, c1];<code>
for (int i = 0; i < r1; i++)
{
for (int j = 0; j < c1; j++)
{
res[i, j] = M1.Data[i, j] + M2.Data[i, j];
}
}
return new Matrix(res);
}
}
}
them i am trying to call it in the main fumction but i could not able to get it.
pls correct my code in the matrix.cs page and tell me how to call it in the main program.
waiting for reply
regards,
chitra.
|
|
|
|
|
I am not sure but this might help you. this is a simple link explaining, how functions are called in the main class.
http://fullycoded.com/?p=203
Keshav Kamat
India
|
|
|
|
|
Thanks for your help .
regards,
chitra.
|
|
|
|
|
u r welcome
Keshav Kamat
India
|
|
|
|
|
Hi there, I'm trying to design a simple GPS mapping system for a Windows Mobile 5 platform, but I'm having trouble with displaying maps. At the moment I am only trying to get the system working for a small area, for which I have a 6Mb JPEG map. Trying to load this in VS2k5 causes a memory error as you might expect; my plan is to work out what part of the map I need to load, and somehow only load a cropped area of the larger image. I have searched through Code Project and spent hours on Google, but can't find anything I can use to perform this task. I have thought about streaming the file and selecting only the part that I need, but don't want to invest so much time into coding that if there is a more simple solution out there. Any help would be much appreciated.
Regards,
Simon Hearne
|
|
|
|
|
To unpack only a part of a jpeg image would be done by unpacking the entire image and only keep the part you want. I don't know of any library that does this, so you would probably have to write your own jpeg decoder. This does definitely not fall into the category of "not so much time into coding", though.
I would suggest that you split up the image into small sections and save as separate images, so that you can load the secions that you need.
---
single minded; short sighted; long gone;
|
|
|
|
|
I'm experimenting with opening a word document from a template and then changing some values. Have found some CP articles and other sources, but most of them are outdated (using interop 9 or 10 instead of 11). The problem lies here:
ApplicationClass oWordApp = new ApplicationClass();<br />
<br />
object missing = System.Reflection.Missing.Value;<br />
object oTemplate = "RappelTemplate.dot";<br />
Document oWordDoc = oWordApp.Documents.Add(<br />
ref oTemplate,<br />
ref missing, <br />
ref missing, <br />
ref missing);<br />
<br />
object oBookMark = "bedrag";<br />
oWordDoc.Bookmarks[ref oBookMark].Range.Text = "100";<br />
<br />
oWordDoc.Activate();<br />
oWordApp.Visible = true;
this line gives compile errors, because ref is an invalid expression term, and instead of oBookMark, "]" is expected. Nevertheless this is the only solution I can think of. It has to be ref, and it has to be oBookMark...
Any hints?
Visual Studio can't evaluate this, can you?
public object moo<br />
{<br />
__get { return moo; }<br />
__set { moo = value; }<br />
}
|
|
|
|
|
Hey ya'll,
I want to create links to URLs shown in the Browser. Is there a way to capture the current URL being shown in browser?
I can do it with cut and paste but can't figure how to do it by drag drop method. I guess my question would be is there a way to query browser for this info??
Thanks
Mike
If you can't find time to do it right the first time how are you going to find time to do it again?
|
|
|
|
|
Where you want to use this ? C# application or ASP.NET web app ?
|
|
|
|