473,656 Members | 2,824 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Parsing extensions

looking to see if anyone can help trying to parse a listbox that I have
downloaded from a ftp but I only want to show certain extensions (.txt .ini)
not all the files in the dir.
Thanks

Sep 2 '07 #1
2 1245
"houdini_tx " <u37125@uwewrot e in message news:77a26b8672 301@uwe...
looking to see if anyone can help trying to parse a listbox that I have
downloaded from a ftp but I only want to show certain extensions (.txt
.ini)
not all the files in the dir.
Thanks
Honestly, from the way you've phrased your question, I can't figure out what
you're asking. Parse a listbox? I don't even know what that means. You
downloaded a listbox by FTP? That makes no sense.

Please try to rephrase your question and instead of asking generalitiies,
which is what it seems like you're probably doing, try to ask specific
questions and give sample code where it might help illustrate what you're
trying to do.


Sep 2 '07 #2
Hello houdini_tx,

I'd suggest to put your data to the DataSet where you can set the desired
filter and bind the listbox to this data

---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
hlooking to see if anyone can help trying to parse a listbox that I
hhave downloaded from a ftp but I only want to show certain extensions
h(.txt .ini) not all the files in the dir.
h>
hThanks
h>
Sep 3 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
1913
by: egg | last post by:
Dear Sir/Madam, I'm about to start a project, the idea is to have a web interface to let user specify the URL of a target HTML document, based on that URL, retrieved and parsed the HTML document using the DHTML object model exposed by ActiveX control WebBrowser, getting the position and dimension of each node inside the HTML document, processed it and pass the result back to the user as a new HTML document.
4
2648
by: ralphNOSPAM | last post by:
Is there a function or otherwise some way to pull out the target text within an XML tag? For example, in the XML tag below, I want to pull out 'CALIFORNIA'. <txtNameUSState>CALIFORNIA</txtNameUSState>
0
2678
by: david | last post by:
Hi all, I am trying to do something which would seem to be simple. I need to parse message files (.msg extensions) in order to find certain words in the content of the message. I thought that the simplest way would be to parse these files as if they were text files (using Stream Reader). The problem comes that some of these messages are sent in an HTML format, so parsing them with a stream reader omits a great deal of the text, or turns...
4
5255
by: Earl | last post by:
I'm curious if there are others who have a better method of accepting/parsing phone numbers. I've used a couple of different techniques that are functional but I can't really say that I'm totally happy with either. 1. My first technique was to restrict the users to entries that could only be 3 character, 3 characters, 4 character (area code, prefix, suffix, respectively). I would null out any inputs that were non-numeric (except the...
5
1486
by: karthigaj | last post by:
Hi, Is it possible to parse XML page using c solaris Anybody know abt it...pls reply me....
26
3291
by: Ramon F Herrera | last post by:
http://groups.google.com/group/comp.lang.c/browse_frm/thread/86a3ddf0724d9630/4e38340aa824bee0?lnk=gst&q=how+to+best+parse+a+CSV&rnum=1#4e38340aa824bee0 http://tinyurl.com/29q4kf Michael & Paul (or anyone who can help): I have been looking for a solid implementation of CSV parsing and found the thread above, which includes pointers to programs written by both of you. In my first attempt at building them, I failed miserably, and I
7
2968
by: ArdGre | last post by:
HI THERE, I have a strange problem. I am writing a firefox extension to the Onlywire API (http://onlywire.com/index?api). Now the problem is when I tag pages using the onlywire API the service responds with an xml that indicates whether the web page was tagged successfully. Something like this: <?xml version="1.0"?> <result code="success" />
40
2463
by: Phlip | last post by:
Scott Lurndal wrote: Would it also cause a problem if your file descriptors go "around the horn", and exceed some platform-specific limit, such as 0x80000000? They would "go negative" when expressed as signed integers... Does some relatively standard .h file define a good constant there?
0
2133
by: Ahmed, Shakir | last post by:
Thanks everyone who tried to help me to parse incoming email from an exchange server: Now, I am getting following error; I am not sure where I am doing wrong. I appreciate any help how to resolve this error and extract emails from an exchange server. First I tried: Traceback (most recent call last): File "<interactive input>", line 1, in ? File "C:\Python24\lib\poplib.py", line 96, in __init__ raise socket.error, msg
0
8297
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8816
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8600
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7311
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6162
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5629
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4300
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2726
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1600
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.