|
Hi,
i want to export excel file to pdf how can i do this
Thanks
|
|
|
|
|
Ask Doctor Intarweb:
"print to pdf" with any reputable search engine
Panic, Chaos, Destruction.
My work here is done.
|
|
|
|
|
I have a listbox control that contains one or more directories. How do I watch this listbox to see if something is added or removed to it so I can proceed to update my other controls depending on what changed. I can't see an event that really pertains to this, maybe DrawItem but that seems like a bit of an ugly solution.
Thanks, sorry if this doesn't make sense, sleep is needed.
|
|
|
|
|
Can't you update the other controls from the code that updates the listbox?
DaveBTW, in software, hope and pray is not a viable strategy. (Luc Pattyn) Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia) Why are you using VB6? Do you hate yourself? (Christian Graus)
|
|
|
|
|
If listbox is in your application then your code is adding items so you should know when an item is added.
|
|
|
|
|
You probably want the filesystemwatcher, look into the IO namespace for it. Caveat, the early version choked on too many events but I have not used it since v1
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
is there any way to import CSV file to datagridview without all the procedure of connectionstrings and querys????? i want only to imports the parameters of the CSV to the table.....
10x...
Ido
|
|
|
|
|
You can read a CSV into memory as a string array using File.ReadAllLines and use the split method to split on the comma to get your fields.
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
I love it when I can do this - CSVtoTable[^]
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Great! lovely 10x!!!!
|
|
|
|
|
|
how using properties inheritece?
how chage one properties and then the inherited that i selected take changed?
ex:visible property in text chaged so lable visible propertes changed.because i select lable visilbe properties to inherite from text visible propertis.
thanks
|
|
|
|
|
What
If you give us a proper example of what you want, we may be able to help you achieve it. Try to be a little clearer as the above makes no sense at all.
DaveBTW, in software, hope and pray is not a viable strategy. (Luc Pattyn) Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia) Why are you using VB6? Do you hate yourself? (Christian Graus)
|
|
|
|
|
If I understand you, which I doubt
generate a VisibleChanged Event for your TextBox
private void aTextBox_VisibleChanged(object sender, EventArgs e)
{
aLabel.Visible = aTextBox.Visible;
}
|
|
|
|
|
i want to thank the all of the pepole that help ech other to improve .
thanks i think i gi ve my answer.
thank u . thank u . thank u.
|
|
|
|
|
Hi
In my application I want to view Windows' Safely Remove Hardware screen from a button instead of clicking the hardware icon on taskbar to see inserted flash disks.
Is there a function to call?
can anyone help me?
|
|
|
|
|
Maybe this article[^] can help?
DaveBTW, in software, hope and pray is not a viable strategy. (Luc Pattyn) Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia) Why are you using VB6? Do you hate yourself? (Christian Graus)
|
|
|
|
|
|
Can I get the special xml strings (< & etc) directly instead of being translated?
For example, given the data "RCI>", the code:
xmlReader.ReadStartElement("DATA");
data = xmlReader.ReadString();
xmlReader.ReadEndElement();
Gives: "RCI>". Can I get the raw "RCI>" and if so, how?
Thanks
|
|
|
|
|
use
String.Replace Method
*12Code
|
|
|
|
|
|
That's the one.
Thanks very much.
|
|
|
|
|
I have this code in my project:
<br />
string str;<br />
byte[] enc = new byte[str.length];<br />
enc = Convert.FromBase64String(str);<br />
when i trace it, in the 2nd line the enc is a byte with the length of str but when 3rd line executes the enc length becomes 1 and therefore my data is not valid at the end.
does anybody know what should i do?
Roshanak
|
|
|
|
|
You should know that the base64 encoding is a bit verbose.
I.e. Silly question, silly answer (i.e. please post input values, expected output, actual output if you want better help).
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
You didn't assign any string to str.
What do you expect enc should be?
*12Code
|
|
|
|