|
hai friends
i developed a project in c# 2.0 version and created a setup
using the dotnet ide.
and i installed in the client system.
client system has 3 versions of dotnet frame work
namely
.net frame work 1.1
.net frame work 2.0
.net frame work 3.0
when i run my software then it is showing error
.net frame work version not found
This error is raised from .net Frame work 1.1
plz help
i think i could not expalined you clearly
but it is a version problem only.
Thanks in advance
vijay kumar d
|
|
|
|
|
hi there , i have 1 internet connection(Public connection) and 1 LAN connection(Private Connection) i want to capture all incoming packets from both connections at the network layer and alter some of its fields such as source ip, source port, dest. port and dest. ip.
i know i should use low level sockets to read all incoming packets at network layer! but how to do that? any one know?
|
|
|
|
|
|
I knew these libraries , they are all about monitoring analizing and sniffing the network packets! i need a way to alter these packets and resend them! these won't help me.
|
|
|
|
|
I don't think it's possible using C#. What do you want with that ?
Do you want to modified packet ? I don't think it's a good idea.
|
|
|
|
|
but it's some times a good idea! do u know about NAT server? it changes the Packet's spurce ip address and port! providing port translation!
i am trying to create a custom NAT! so i need to change Packet's fields accordingly
|
|
|
|
|
yes I know, but it runs on kernel mode. you must write the code in C, like WinPCap.
It's not possible creating it directly using C#.
|
|
|
|
|
hi, i m able to check the validator rules for indivisual and display the message together.
but i want to chek the all field and display the message one by one.
|
|
|
|
|
You question is not clear.
Could you try to reword it.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
i want to send an email to someones outlook inbox using C# and get the reply(email) from that user using C#. how can i do it??? plzzzzz help me out!
thnx in advance.
|
|
|
|
|
|
Hi all,
Is it possible that using C# to do some exception handling with filter function and continue execution at the point where the exception occurred like C++ does?
Thanks,
|
|
|
|
|
|
|
Dear Manish,
I request you to do not post these kind of question with same title on the forum.
And please learn basics of ASP.Net and C#..
Thanks.
Be an Eagle, Sky is Yours.
|
|
|
|
|
i am using Access database with C#.net
i have the following code for moving through the records on a button click but its only going to the second record not more than that
plz can any one tell the reason
<br />
<br />
public partial class sample : System.Web.UI.Page<br />
{<br />
OleDbConnection cn;<br />
OleDbCommand cd;<br />
OleDbDataReader rd;<br />
OleDbDataAdapter da;<br />
int rowIndex;<br />
protected void Page_Load(object sender, EventArgs e)<br />
{<br />
if (!Page.IsPostBack)<br />
{<br />
DataTable dt = GetData();<br />
if (dt.Rows.Count > 0)<br />
{<br />
TextBox1.Text = dt.Rows[0]["Employee_Name"].ToString();<br />
Session["dt"] = dt;<br />
}<br />
}<br />
<br />
}<br />
<br />
private DataTable GetData() <br />
{ <br />
DataTable dt = new DataTable(); <br />
cn=new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + HttpContext.Current.Server.MapPath("App_Data/employeedb.mdb")); <br />
try { <br />
cn.Open();<br />
cd = new OleDbCommand("Select * from emptbl", cn);<br />
OleDbDataAdapter da = new OleDbDataAdapter(cd);<br />
da.Fill(dt);<br />
} <br />
<br />
catch (System.Data.OleDb.OleDbException ex) <br />
{ <br />
string msg = "Fetch Error:"; msg += ex.Message; <br />
throw new Exception(msg); <br />
} <br />
finally <br />
{ <br />
cn.Close();<br />
<br />
}<br />
return dt;<br />
}<br />
protected void Button1_Click(object sender, EventArgs e)<br />
{<br />
rowIndex++;<br />
<br />
if (Session["dt"] != null) <br />
{ <br />
DataTable dt = (DataTable)Session["dt"]; <br />
if (rowIndex <= dt.Rows.Count)<br />
{<br />
<br />
TextBox1.Text = dt.Rows[rowIndex]["Employee_Name"].ToString(); <br />
} <br />
}<br />
}<br />
}<br />
<br />
<br />
|
|
|
|
|
When page refreshes each time, the variable rowIndex gets cleared. That's how ASP.NET works. You need to persist the variable's value in ViewState or use some other persisting mechanisms.
BTW, we have an ASP.NET forum and it is recommended to post questions related to ASP.NET there.
|
|
|
|
|
thnks for ur reply
any idea how to preserve the value ??
next time i would better move to the ASP.net forums
|
|
|
|
|
As I said keep it in a viewstate.
|
|
|
|
|
thank you so much
for ur idea
i m a new to C#.net
it helped me a lot
|
|
|
|
|
Does any one know the units of time used by the ToBinary
method of DateTime? For example
long start = DateTime.Now.ToBinary();
Sleep(1000);
long elapsed = DateTime.Now.ToBinary()-start;
The variable elapsed will be in the range of 10,000,000.
What does this value represent? Is it tenths of a micro
second or some other unit of time?
Thanks
James johnson
|
|
|
|
|
WBurgMo wrote: The variable elapsed will be in the range of 10,000,000.
I am not sure it will be in this range. Value you are getting is a signed 64-bit number.
WBurgMo wrote: Is it tenths of a micro
second or some other unit of time?
Here is what MSDN says,
Serializes the current DateTime object to a 64-bit binary value that subsequently can be used to recreate the DateTime object.
|
|
|
|
|
Hi everyone,
Would that be possible, after I opened two MS word documents then it will read through the documents and generate a report which explains the difference between these two, for instance: Paragraphs, Words, Sentences, Tables and Pages -> which were easily obtained from the object.
And bring that further, would that be possible to count how many images and display styles used inside a particular document too?
One of the scenario is, if obtaining styles name is possible, when a particular style is selected, it will highlight the text/paragraph which use the styles.
Have any idea?
Many thanks in advance
|
|
|
|
|
Yes, it's all possible. Sounds like a fair bit of work. Tools that just compare two plain text files sell for $300, so that should tell you something.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|