i dont want the xmlnode list count - i want the node count of each of the elements within xmlnodelist.
Type: Posts; User: deviousdexter
i dont want the xmlnode list count - i want the node count of each of the elements within xmlnodelist.
i have an Xml document loaded and have used the folwing to get the nodelist for all elements with the tag "item".
XmlNodeList nodelist = Info.GetElementsByTagName("item");
each "item"...
i have alot of textboxs and didnt really want to pass them all one by one - if i could pass them as a collection that would be better.
I have tried the above changes
but still says 'no definition found'.
typing ' this.parent.' and checking the intellisense panel does not show any of the textboxs i have on form1.
My initial...
I am trying to do it this way to try to make the method in populate more flexible for future use.
I also want to ensure it is done the correct ( safe) way., rather than one that does the job.
...
I have a Form - Form1, which contains several textboxs all with private accesibility.
i also have a class - Populate, from which i want to be able to modify the textbox.text values on form1 when i...
Sorry i thought i had posted back to this thread, must have forgotten the submit button.
both the Theoobe and Magos' solutions were tried and did what i needed - i opted for Magos solution for no...
just a quickie - my head seems to have gone blank
i have an enum
public class1
{
public enum types
yes i was fortunate enough to have pulled the file and checked the structure of the XML so i knew what the layout was.
I t seems to me, after returning to programming after a very log break that...
thanks for the help, appreciated.
i had some time to play around with this today and came up with an alternative to your suggestions which does what i need.
assuming that the people.xml has...
Hi all
Need a bit of help with some XML ( i am new to XML so not sure what i am doing)
i have used a httprequest to acquire the xml information i need but i believe it uses elements
note ....
does C# now contain any native classes for accessing devices such as USB webcams and external hard drives without resorting to using older calls to WIN32(??). i was thinging mayber there was someting...
Beauty is in the eye of the beholder - and as long as it works and is right - im blind :)
edit:
if i want to use this in the class ( for re-using later) is this a suitable method ?
i can see...
ok i was playing around with this ( and kind of came up with Magos' suggestion)
but want i want to know is this the right way to do it ? i dont want to use it if it is wrong and i end up with a bad...
ok expanding on this a little
im am using Leave event from the textbox to check the input.
private void textBox1_Leave(object sender, EventArgs e)
{
......
}
had a quick google for this but no luck ( well not what i wanted).
checking input is a textbox is valid i.e. is a character or numeric value.
any way to do this without importing user32.dll for...
thanks for that - i can see the problem - dont know why they have been added to the form in the wrong order maybe just the way the IDE deals with it :)
maybe parse was the wrong word to use in this case. basically when i use this piece of code it appears to start going through the controls in reverse order. there is a button and several text boxs...
hi again.
Just used a control collection to parse all the textboxs on my form, and from what i can see it parse's in reverse order ?? is this correct ?
is there anyway to make it follow the tab...
which of these is now the way to go. i read somewhere that DirectX is "no longer supported" ? and XNA should be used instead because of its cross platform abilities to Xbox 360.
I was under the...
glad i could help :) maybe more to do with bling's patience tbh lol
is there an implementation of the 'pasword' style textbox in C#, Similar to the one in Visual Web Builder ?
or should i look at including the
using System.Web;
using System.Web.UI;
using...
Are you using more than one picturebox ?? if so is this an array or individually named ?
pictureBox1.Paint += new PaintEventHandler(paintBoard);
.
.
.
from what i can see here, you are painting to the panel not the picturebox. your e.Graphics is pointing to the panel paint not the picturebox paint, this is why your X is appearing behind your...
okay from my limited knowledge ( its limited trust me)...
i take it you want the X to appear over the image in the picturebox
1. is it not easier to create a graphic for the bitmap and then...