|
Olrite, then I think you have to copyright your project and its contents. Go to Google or MSDN and search 'Copyright Windows Form'. Hope you get your answer.
Happy Programming,
Rajdeep.NET
And hey,
Julien has given you the correct answer. You also can go for that. You can create a Product Key for the set up of your app.
|
|
|
|
|
Hi
my problem is..,
In my c#.net 3.5 windows application,
To my application setup i want to add a word document(here i will give some text)
i want to read that text in one of my form.
how can i read that text.
Please help me itz urgent
modified on Friday, April 3, 2009 7:24 AM
|
|
|
|
|
REPOST[^]
Life goes very fast. Tomorrow, today is already yesterday.
|
|
|
|
|
to which forum i have to move this?
i thought i am in c#.net forum
---
|
|
|
|
|
you are in the right forum but you need to stick to your original post and not create a new one unless its a different subject.
like i said, look at the guidelines[^]
Life goes very fast. Tomorrow, today is already yesterday.
|
|
|
|
|
You need to:
1. Read the forum guidlines.
2. Have a go at doing your scholl work.
3. DO NOT REPOST YOUR OWN QUESTION! YOU WILL BE SHOUTED AT!
That was the polite answer.
Panic, Chaos, Destruction.
My work here is done.
|
|
|
|
|
You mean an embedded resource in your application which is a word document????
Have a Happy Coding.....
|
|
|
|
|
It Is A C#.net windows application
|
|
|
|
|
Babu!!! I think you really need to find a c# book which can guide you better....
Try to explain your requirement properly so that you will get some valid suggestions....
Have a Happy Coding.....
|
|
|
|
|
i kept my requirement in my question Babu..!
but no suitable answer i found.
|
|
|
|
|
YOur question is not clear....
Do you want to read a word document in runtime???
Do you want to get configuration data from a file while you setup your application??
Do you want add a document to your project, so that you can open and read the document???
What else you want....?????
Have a Happy Coding.....
|
|
|
|
|
I Added setup project to my solutoion.
For some security purpose i want to add a file to my setup project, for that i want to add a word document to my setup project (In this word document i will give some text by hardcoding).
while runtime i want to read that word document text.
For this how can i get my solution path and that word document path?
--Naren
|
|
|
|
|
Its so simple.....
Add the exe of your application and your required document file.
While setup put the exe and the document in the same folder ( By default it will be in the same folder only) then use Application.StartupPath in your program to open, read or write or for anything....
Have a Happy Coding.....
|
|
|
|
|
ohhhhhh
nooooooo
actually my application is at C:\Inetpub\wwwroot\TestingApplication
if i use StartupPath it will give
C:\Inetpub\wwwroot\TestingApplication\TestingApplication\bin\Debug
but i want just my application path only like
C:\Inetpub\wwwroot\TestingApplication
i hope you got my point
--Naren
|
|
|
|
|
|
i wont give any source code.
i just gave you example only for how i want to get.
tell me one thing
1. can we add a file(word document) to setup project which should be invisible (that should be visible in source code only).
2. If yes, how can i retrieve that word document in my Window Form.(just path is enough i can get text from that doc).
3. i played with
Application.ExecutablePath;,
Application.StartupPath;,
Environment.CurrentDirectory;
but exact path of that file i didnt get with these commands.
4. Suppose if you added a word file to your setup project(before giving it to client)
(i added by rightclicking on set up project--> add --> file...i gave path)
how can u get that worddocument through coding?
--Naren
|
|
|
|
|
Hi,
The query you gave to get application path
is giving the debug path
like this
C:\Inetpub\wwwroot\TestingApplication\TestingApplication\bin\Debug
but i want just my application path only like
C:\Inetpub\wwwroot\TestingApplication
so that i can hardcode myfile name and i can concatinate
like
C:\Inetpub\wwwroot\TestingApplication\myfilename.doc
Please help
itz urgent
|
|
|
|
|
what exactly is
to my application setup i want to add a word document(here i will give some text here)
i want to read that text in one of my form.
how can i read that text.
Please help me itz urgent
|
|
|
|
|
WTF????
this is not how it works in this forum, please see guidelines[^]
Life goes very fast. Tomorrow, today is already yesterday.
|
|
|
|
|
LOL @ this was addressed to you only.
You're in high demand musefan.
|
|
|
|
|
lol, my first fan
Life goes very fast. Tomorrow, today is already yesterday.
|
|
|
|
|
nooooooooo
not fan, itz A.C
|
|
|
|
|
This[^] is the best link I can suggest you.
|
|
|
|
|
Strange, the application path seems to be giving you the path to your application.
You could always cut off the end of the string. Try looking up the string class on MSDN, it has everything you'd need, and more.
And in future, please don't make a new topic in reply to a post. If you reply to someone's post they will most likely get an e-mail so there's no need to try and keep yourself on the front page, distracting other users from helping people that need it.
My current favourite word is: Delicious!
-SK Genius
Game Programming articles start - here[ ^]-
|
|
|
|
|
Hi to all........
User first send sms to server system(GSM Connect) from their mobile(it's done successfully).
Here the problem occured. while server reconize the user request query and automatic reply the corresponding user.example ( For asking cricket news type 'CRICKET NEWS' to 56547. After sending the message they will send the reply to our moblie)
Like that I want to send the information for the user from database(SQL)
|
|
|
|