|
Hello
This depends on the library -if any- you are using. No classes in C# deals directly with pdf files.
Regards
|
|
|
|
|
hi
Do CodeProject has some example of writing pdf with passsword protection.
pls guide me with some examples to how to get this done.
thanks in advance.
|
|
|
|
|
You won't find examples for "writing pdf with passsword protection" straightforward. Searching for that won't get you anywhere. What you are looking for is a pdf writing library. Some commercial libraries are out there. As I told you, search CodeProject's articles areas for "pdf", or google for "pdf C# library". That might get you closer.
PS.
Elcomsoft has a program called Advanced PDF password recovery by the way. So, if your documents isn't that value, don't make the effort. Good luck!
Regards
|
|
|
|
|
|
Hi,
I have an ArrayList which was populated by a text file with no column headers. What I want to do is split the ArrayList into columns then display it in a datagrid. The ArrayList is made up of lines such as
0168EH1X.PA0 020 1 GRA_ 08/14/06 12:16:42
I need to split this into 5 columns under the headings ID, Duration, Status, Channel and DateTime.
I've been trying to do this with the .SubString method but no luck. I know how to define the columns in the grid but I can't split the ArrayList up. Please can anyone help?
Thanks
Scott
|
|
|
|
|
Hello
Is your ArrayList an array of strings each on the above format?
Regards
|
|
|
|
|
Hi,
Yes, it is. Anywhere between 10 and 150 strings. The format for each string is identical.
|
|
|
|
|
scotlandc wrote: 0168EH1X.PA0 020 1 GRA_ 08/14/06 12:16:42
I need to split this into 5 columns under the headings ID, Duration, Status, Channel and DateTime.
Simple! use
MyArrayList[X].ToString().Split(' ');
to get an array of strings of each column.
Regards
|
|
|
|
|
Thank you very much, will give it a go.
|
|
|
|
|
How to minimize my program in system tray.
To have contextMenu and icon in systray.
Heeeeeeeeeeeelp.
Vasildb
|
|
|
|
|
Vasildb wrote: Heeeeeeeeeeeelp.
I think that the 'e' must be sticking on your keyboard.
I needed to do this recently myself and rather radically I did a search for it on Google.
To save you spending valuable seconds doing the same, here is the url that I found.
http://www.codeguru.com/csharp/.net/net_general/tipstricks/article.php/c6933/[^]
regards
Alex
PS you should try Google sometime it's surprisingly useful!
|
|
|
|
|
hi,
i was wondering how i can use fast keys in my app
i have a menu and i want to be able to use the ctrl key to open and use elements of it
anybody any ideas?
thx
|
|
|
|
|
Use the & symbol before the letter you miss to be used
&File = Alt+F
E&xit = Alt+x
only two letters away from being an asset
|
|
|
|
|
Hi !
I have to access USB port using C# .NET 2003 and framework is 1.1 to read/send data from device.
i Know to access the namespace but
using system.io.port
but it works in net.2005 only how can i ?
i don't used the "mscomm" also
i want use the API's
plz send sample code for that
it's very usefulll for me
Thanks
|
|
|
|
|
Hello
1- Call CreateFile() and supply it with the name of the port
2- make a FileStream object and give the constructor the handle returned from the above call
3- Use the stream to read/write data from the port.
Regards
|
|
|
|
|
Hi Thanks
Iam new to using win32 API for serial communication.
Plz help me
I want to send one string("Hello") to COM port
port is COM2
baud rate 9600
parity None
Data bit 8
Stop bit 2
Now I want write program in C#.net 2003 and framework1.1
Plz give me a small program for this
It’s more useful in my application
Plz
Thanks
Hi,
Thanks, if u think it's good.
otherwise sorry.
|
|
|
|
|
I need away in some how i can check a JAVA File class if its successfuly Compileed or not but the result must received in C# , that mean i want to use a C# programm to check a JAVA Class file if it is Successful Compile or not.
Thanks
Palestine
|
|
|
|
|
You could just start the command line compiler of java (System.Diagnostics.Process.Start(...) and check if the appropriate .class file has been generated in the file system.
Robert Rohde
|
|
|
|
|
Hi,
Just execute the command from your c# programme to compile the java code and check the output of that,from that determine the success of that,you also dont need to check for the .class file for the perticular .java ,either way you can do that.
<marquee>nishu
|
|
|
|
|
Thanks alot , but if u can tel me how i can get the result of the command , i mean how i can get the string success from the command result to check it.
Sorry , but i'm new in c# if u can write me an example :$
thanks alot
Palestine
|
|
|
|
|
1.TO make a ref of progressBar
2.to make a variable global that is accessible in both window application and class library
3.During a thread that is in class library and start at ButtonClick event
how can we check the variable of thread at control event during the thread execution.
|
|
|
|
|
Parshant Verma wrote: TO make a ref of progressBar
I have no idea what you mean
Parshant Verma wrote: to make a variable global that is accessible in both window application and class library
Probably by defining it in the class library, then the windows app can access it. You can't have a global, a public static on a class is the best you can do.
Parshant Verma wrote: During a thread that is in class library and start at ButtonClick event
how can we check the variable of thread at control event during the thread execution.
I'm not sure I follow this.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
So, you are looking for a class library that can make a progress bar display processing progress to a WinForm assembly. Am I right?
--------
"I say no to drugs, but they don't listen."
- Marilyn Manson
|
|
|
|
|
Hi
I need to create new tables from my program in a Access database. I'm using the odbc components and sql queries to access the database.
What would the query look like?
Thanks
|
|
|
|
|
Something like:
"create table Users (Id int primary key, Name varchar(100))"
Look up the reference for the create table command for complete syntax.
I would recommend using OleDb instead of OCDB, if possible.
Also, creating tables is something that you would not normally do from code. If you feel that you need to add tables dynamically to add more data, most likely your database design is not flexible enough.
---
b { font-weight: normal; }
|
|
|
|