|
True, however creating a common folder for this senerio will ease creating a deployment package
only two letters away from being an asset
|
|
|
|
|
Create a common folder....
Where... do you mean solution folder or a folder in each project?
Change the project settings for these...
How... you mean using Project Properties>> Built>>> Output Path??
Do I have to use an absolute or relative path to Common??
Please need a little more clarification on this.
SMK
|
|
|
|
|
Common to the solution. The reference can be either relative or absolute, although I believe VS converts it to relative if it can.
only two letters away from being an asset
|
|
|
|
|
Hi,
I have a rich text box names "Rtb" with the text "font". when i try to replace the text "font" with some other text, say "Text" using the below code,
Rtb.Rtf = Rtb.Rtf.Replace("font", "Text");
the replaced text comes like "Microsoft Sans Serif;Text" rather than "Text".
Any idea why it is behaving like this and a solution to fix this is welcome.
|
|
|
|
|
Because you are treating the formatted text as if it was just text. Your replacement conflicts with the formatting in the string. What you see is broken formatting spilling into the text.
---
Year happy = new Year(2007);
|
|
|
|
|
Hi,
Thanks for the reply.
I am doing that to maintain the format of the replaced text. Is there any other way to do the same?
|
|
|
|
|
how can i reboot my pc with c code ?
|
|
|
|
|
|
Right message board, please
SkyWalker
|
|
|
|
|
Hi,
How is it possible to send a pdf document to a fax machine using C# ?
Regardless of what fax machine it is, is there a way with .NET to implement
code to send to a fax machine ?
I've generated pdf docs using iTextSharp and want to send those to a faxnumber.
We have a FaxTalk Communicate software at the job and it would be nice to use it.
Need some guidance, plz
Daniel from Sweden
|
|
|
|
|
|
Well,
this looks like something used thru the web ?
Okey, i'll put it like this.
I have pdf docs.
I have a Brother MFC-9070 printer/fax.
I have my C# code.
How can i send this pdf doc to this printer/fax so it sends it to a given number ?
Is it possible to send a pdf doc directly to this printer since pdf docs
contain formatting and stuff. Must it not be converted to an image and then be
sent away?
Looked at C# system commands, if it were possible to start a pdf reader with a pdf doc, print it out and then take the paper and manually send the fax.
But i want to avoid this step.
would like someone to shine some light, i'm not familiar with programming against hardware, seriell ports and so on..
Thanks, Daniel from Sweden
|
|
|
|
|
Hi,
I recently found a great tutorial on scripting an application. I can run scripts from within the application. But what if I want to have an external application run scripts in my main application. How would I go about doing so?
|
|
|
|
|
Make sure you are using using System.Diagnostics , then:
Process p = Process.Start("CScript.exe", "YourCsript.vbs"); (or whatever other script - make sure the specify the correct path to it)
SkyWalker
|
|
|
|
|
I'm not sure I posed the question correctly. Thanks for your reply.
I used this tutorial http://www.developerfusion.co.uk/show/4675/
I'm new to this programming thing. I want to be able to access my running program and send it a script and have it compile and run it. I want to do this all from a totally separate application.
|
|
|
|
|
|
How to enable Promiscuous Mode using c#.
thnks in advance
Lxcite's Planet
... the ultimate solution
|
|
|
|
|
Hari Om Prakash Sharma wrote: Promiscuous Mode
What's that?
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook www.troschuetz.de
|
|
|
|
|
|
Think Packet-sniffer. ...Promiscuous Mode is a networking term where your network hardware is actively listening for broadcast messages that aren't necessarily directed at it. To answer OP's question: I'm not telling
[edit]
...crap. I woulda been in before anybody else, but my boss came by and needed me in a meeting lol.
(Nyquist Rate || ! Nyquist Rate)
{
Console.WriteLine("That is the question");
}
|
|
|
|
|
So you want to sniff the network, but you can't figure out how to do it yourself?
---
Year happy = new Year(2007);
|
|
|
|
|
There are several articles on "network sniffer" here on CP.
I guess they contain what you need. Did you look at them ?
Luc Pattyn
|
|
|
|
|
hi
i want to set password to my sql2005 express database (that installed with VS2005)
and i don't know how to set password and connect to it,but how to do ??
(i think that is possible with StoreProcedure,but how ?)
thanks.
|
|
|
|
|
You would do better by using a trusted connection and setting up in SQL Server the windows accounts that are permitted to access the database.
|
|
|
|
|
Hello All,
I want to connect to my oracle DB from my login control ,how can I do this???
Nishu
|
|
|
|