|
Try this[^]
Time is the best teacher; unfortunately it kills all of its students.
जय हिंद
|
|
|
|
|
thanks, i really appreciate it
Abdul Rahaman Hamidy
Database Developer
Kabul, Afghanistan
|
|
|
|
|
Currently I am doing a school project.
Does anyone know how to convert a html to pdf?
After i click the button <generate> , it will auto generate it self into a pdf and will be save inside a C:\temp
In need of help
Thank you
|
|
|
|
|
you need a library to do that, there's no support in C# directly. As you're a student, you'll want something free, I think there's a few libraries on Source Forge that will do what you want.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
ColumnHeader is the closest one that I've found, but it seems that it's conbined with ListView.
I needs columnheader that I can set its location, size.
|
|
|
|
|
Hi,
did you recognise the property "Columns" of System.Windows.Forms.ListView? It's a collection of columns that should have all properties you'll need.
Kind regards
|
|
|
|
|
hi,
i am a final year student who have to complete the final year project. i wish to ask how to execute the exe file in others pc by remote from my pc. the better is i can sending file and run the exe file to others computers by using only 1 program develop by c#.
thanks.
|
|
|
|
|
hi tyrone0109
We dont do homework for people here and we help people who started something and get stuck , but i forgive you for that. You question is broad and it will be difficult for a new person like you. but you might want to look at this link the might help
http://www.codeproject.com/KB/cs/Palantir.aspx[^]
Hope it helps
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswa@its.co.za
www.ITS.co.za
|
|
|
|
|
thanks for help. but it no totally is what i want. i wish to having a program can remote the desktop for others pc but the better is it can remote by background. and this will not disturb others user.
anyway thanks for your helping.
|
|
|
|
|
Sorry i could not help
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswa@its.co.za
www.ITS.co.za
|
|
|
|
|
dear Vuyiswa Maseko,
thanks a lot for ur help. i will try to apply the program in my project.
|
|
|
|
|
try using PsTools' PsExec[^]. Very simple
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
tyrone0109 wrote: by using only 1 program develop by c#.
You know what you were doing, right? Control the pc via only ONE app? This is totally a awesome hack app.
I Love KongFu~
|
|
|
|
|
Hi, all.
I study C# programming about list view control.
and I would like to show file icons on the list view control, when I drag & drop some files.
I could show file paths on list view control though. but I can't show file icons.
string[] files = (string[])e.Data.GetData(DataFormats.FileDrop);<br />
foreach (string file in files)<br />
{ <br />
Icon ico = Icon.ExtractAssociatedIcon(@file);<br />
Image img = ico.ToBitmap();<br />
<br />
ListViewItem lvi = new ListViewItem();<br />
lvi.Text = "";<br />
lvi.ImageList.Images.Add(img);<br />
// this line has an error.
// I would like to show file icons on this list view control , when I drag & drop some files.
// I can show file paths when I drag & drop on the control though.
listView1.Items.Add(file);<br />
<br />
}<br />
Thanks.
|
|
|
|
|
Whats the error ?
Icon.ExtractAssociatedIcon(@file);
Remove @
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
Originally, I did that way.
even though I removed @, an error occured.
like this:
First exception of 'System.NullReferenceException' format is occured from StackDocklet.exe.
|
|
|
|
|
Perhaps the ImageList is null? The times that I've used file icons in a ListView, I added the images to the ImageList, then set the image index of a ListViewItem accordingly. Of course, you need to set the ListView.ImageList property to the aforementioned ImageList
|
|
|
|
|
that mean 'StackDocklet.exe' do not have any icon...
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
lsh486love wrote: lvi.ImageList.Images.Add(img);
the ImageList value is null.
You can try this:
string s= "1.txt";
Icon i = Icon.ExtractAssociatedIcon( s );
ImageList imageList = new ImageList();
imageList.Images.Add(i);
this.listView1.SmallImageList = imageList;
this.listView1.Items.Add(new ListViewItem(s, 0));
Hope this will help you~
I Love KongFu~
|
|
|
|
|
This thing is irritating me since morning...well, I inherit PictureBox in a class and add property of another class something like this
public class PBC : PictureBox
{
Testing Testing1;
public PBC()
{
Testing1 = new Testing(this);
}
public Testing Testing
{
get { return Testing1; }
set { Testing1 = value; }
}
}
[TypeConverter(typeof(ProperyConverter))]
public class Testing
{
Control Control = null;
string textHolder = "";
public Testing(Control control)
{
Control = control;
}
public bool IsInitiated
{
get { return Control != null; }
}
public string TextHolder
{
get { return textHolder; }
set { textHolder = value; }
}
}
all looks good but when I set the 'TextHolder' property in Design Mode it works but when run all gone...so to find the problem out I set the TextHolder and open the form's Designer.cs and found nothing about Testing and TextHolder. Then after some test I got to know its happening because of 'public Testing(Control control)' constructor...then I added new one
public Testing()
{ }
and when I set the TextHolder property and I saw something in Designer.cs.
VS created an instance of Testing class, set its property 'TextHolder' and then set that instance to the control.
Testing testing1 = new Testing();
testing1.TextHolder = "fgvhh";
this.pbc1.Testing = testing1;
One thing I do not understand...why VS making this is so complicated. It can be simple like this
this.pbc1.Testing.TextHolder = "A Test String";
any idea guys ?
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
Just had a quick look, and this sort of hit me straight:
[TypeConverter(typeof(PropertyConverter))]
Another thing, i wouldn't use the word "Testing" as a public proerty name of type Testing
I know it looks nice and stuff but it confused me already
var question = (_2b || !(_2b));
|
|
|
|
|
Greg Chelstowski wrote: [TypeConverter(typeof(PropertyConverter))]
it doesnt matter, just a typo
Greg Chelstowski wrote: Another thing, i wouldn't use the word "Testing" as a public proerty name of type Testing
it wont effect BTW...
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
Xmen wrote: Greg Chelstowski wrote:
[TypeConverter(typeof(PropertyConverter))]
it doesnt matter, just a typo
Sorry dude, I thought you copy-pasted your code, that's all
Xmen wrote:
it wont effect BTW...
I know it won't, I was only pointing out it's confusing...
;>
var question = (_2b || !(_2b));
|
|
|
|
|
how one encrypted video and another normal video are embedded please send me the code for me if anyone hae that.
|
|
|
|
|
hi... how can i change this doc....etc to get file infor of just Image file....JPEG etc ???/
private void ProcessOfficeDocument(string fileName)
{
DSOFile.OleDocumentPropertiesClass docDSO = new DSOFile.OleDocumentPropertiesClass();
string docTitle = null;
string docModified = null;
string docAuthor = null;
string docKeywords = null;
try {
docDSO.Open(fileName, true);
DSOFile.SummaryProperties docSummary = docDSO.SummaryProperties;
docTitle = docSummary.Title;
docAuthor = docSummary.Author;
docKeywords = docSummary.Keywords;
docModified = (string)docSummary.DateLastSaved;
if ((!string.IsNullOrEmpty(docTitle))) {
_Title = docTitle;
}
if ((!string.IsNullOrEmpty(docAuthor))) {
_Author = docAuthor;
}
if ((!string.IsNullOrEmpty(docModified))) {
_DateModified = DateTime.Parse(docModified);
}
}
catch (Exception ex) {
}
finally {
if (((docDSO != null))) {
docDSO.Close();
}
}
}
A S E L A
|
|
|
|