|
|
hai, does anyone know how to display a program file eg microsoft document in my window form? thank you
|
|
|
|
|
You could use the Microsoft Word ActiveX object to do this. However, all that's doing is embedding an instance of MS Word into your application. The end user would need MS Word installed before he can run your app. Is this acceptable?
Tech, life, family, faith: Give me a visit.
I'm currently blogging about: Morality Apart from God
Judah Himango
|
|
|
|
|
Thank you Judah! Actually, I'm new to this. I've imported the microsoft word activeX object but i dont know how to use it. Is there any basic step to build this in C#? Your help is much appreaciated!!
|
|
|
|
|
hai, does anyone how to display a program file eg microsoft document in my window form? thank you
|
|
|
|
|
I want to create a while loop to recieve data.
Here is a button on the webform.
After push the button , the thread start and recieve loop begin.
However, I found it doesn't work.
Why?
|
|
|
|
|
rushing wrote: However, I found it doesn't work.
What doesn't work? You *can* start a thread on the server in your button click handler, but it's not usually recommended as you have to wait for the thread to complete before sending HTML back to the client.
Regards
Senthil
_____________________________
My Blog | My Articles | WinMacro
|
|
|
|
|
I want to create a server for listening ,and do not need it return html to the client.
|
|
|
|
|
hi
i have a problem with programing in c#
i need to convert a string data such as ( z = x*y+2 ) to a mathematical formule
please help me to solve it
my mail : hosseinyaghmaee@yahoo.com
thanks for your help
|
|
|
|
|
This is not an easy thing to do... ii was trying something similar recently...parsing a formula and tunring it into a graph (eg y=2x or y=x^2).
You have not said what you wan to do with the "formula" after it is parsed...i asuume something like fill in 2 of the 3 variables and have it calculate the third. In which case you need to solve the equation to some extent as well as parse it.
Take a look at a Design Pattern called Interpreter[^] as this is often used for writing programming or scripting languages. You want a simple scripting language with just mathematical operators.
Alternatively, somebody out there would have wriiten this already, you could search google and find something very easily.
|
|
|
|
|
Or use Polish notation for simpler parser. In this kind of notation, you don't need brackets:
( 3 * ( 3 + 7 ) % 2 ) / 17
standard notation
/ % * + 3 7 3 2 17
Polish notation, I think
|
|
|
|
|
Thats a good idea! Well remembered. Many of the simple parsers out there on the web use this notation as its much simpler to build the parse tree.
|
|
|
|
|
Converting from infix to reverse polish notation's a trivial task, that only involves feeding tokens to stacks.
|
|
|
|
|
How can this be done? I'm talking about the small icon that appears at the top-left of your windows application. If you have more .NET applications running it's annoyng 'cause they look the same in the taskbar. Thanks
|
|
|
|
|
|
I am a bad person. I thought your response both articulate and appropriate to the question, then voted you a 1 rather than 5
Rhys
A bus station is where a bus stops. A train station is where a train stops. On my desk I have a workstation...
Vampireware /n/, a project, capable of sucking the lifeblood out of anyone unfortunate enough to be assigned to it, which never actually sees the light of day, but nonetheless refuses to die.
|
|
|
|
|
Does anyone know if it's possible to compile a C# project in such a way that i can run the exe on a pc that does not have the .Net framework installed...?
compile directly to machine language instead if IL or something along that line
|
|
|
|
|
Its just not possible or feasable.
MS has a research compiler (codename 'Bartok') that can do this (static compilation to x86), but for security and versioning reasons, I doubt the public will ever get to see it.
xacc-ide 0.0.99-preview7 now with C#, C, C++, IL, XML, Nemerle, IronPython, Perl, Caml, SML, Ruby, Flex, Yacc, Java, Javascript, Lua, Prolog and Boo highlighting support!
|
|
|
|
|
There i$ commercial $software to do thi$. It'$ not cheap though.
|
|
|
|
|
You could buy thinstall.
Wout
|
|
|
|
|
I want to extract the key information from a Digital Certificate
X509Certificate class can be used to get the public key but i couldnt find ny method to get the private key. is it possible ??
Regards,
Rizwan Ahmed Malik
R A M
|
|
|
|
|
I have a form with a Button1 that when clicked, it creates several controls on an area (not a panel control).
button2 creates different controls on the same area.
is there a way to clear all controls on a defined are?
let say, I want to reset the area 200x200 before either button is pressed.
|
|
|
|
|
I'd say the easiest way would be to create a panel and put the controls on that panel. Then you can get rid of them with Panel.Controls.Clear();
|
|
|
|
|
In c#, I run SQL statement for Oracle database.
When I create trigger, there is a bug.
I could run the same statement in SQL plus of Oracle and create a trigger.
However, SQL in C# created nothing.
|
|
|
|
|
Hi,
what if I have a Page subclass A.cs with a protected attribute "foo" and I use it in A.aspx.cs ?
what if many users request page A ? what value of "foo" will they see ?
Class A:
<br />
public class A : System.Web.UI.Page {<br />
<br />
protected string foo;<br />
<br />
private void Page_Load(object sender, System.EventArgs e) {<br />
foo = "hi there " + Request["AUTH_USER"];<br />
}<br />
<br />
...<br />
Page A:
<br />
<%@ Page language="c#" Codebehind="A.aspx.cs" AutoEventWireup="false" Inherits="some.A" %><br />
<html><br />
<body><br />
<%=foo%><br />
<br />
...<br />
Thanks in advance for your reply
|
|
|
|