1,372 Posted Topics
Re: I Agree with you Dani, but I think those subscriptions are in fact spam. | |
Re: Try changing your for loop from a reverse count to a normal count: [CODE]Private Sub Form_Load() File1.Path = "C:\Images" File1.Refresh If File1.ListCount > 0 Then For i = 0 To File1.ListCount - 1 Combo1.AddItem File1.List(i) Next End If End Sub[/CODE] | |
Re: You want to split the data.... I'm guessing you are unsure how to extract the values from the split data... so add this to the above: [CODE]$firstpart = $line[0]; $secondpart = $line[1];[/CODE] Someone correct me if I'm wrong, but that will assign the first and second field to variables. Now … | |
Re: [url]http://www.daniweb.com/techtalkforums/thread41057.html[/url] | |
Re: You can change the dtpicker's display value by: [CODE]DTPicker1.Format = dtpLongDate[/CODE] However, if you actually have a textbox, AND a DtPicker, and you want them to display the same date in different formats, then you'll need to do some string manipulation. | |
Re: I'd personally like to keep the conversation on the forum. This helps other people who run into the same or similar problems without having to post and post and post..... I have written a number of servers and clients in VB, so let me know what you need. | |
Re: Simple enough, just use a timer control.... then in the timer control grab the current time. If the current time, is equal to the time specified, then consolidate your database. Check this thread, which works for the date (simple enough to modify for the time): [url]http://www.daniweb.com/techtalkforums/thread45561.html[/url] | |
Re: I would personally say that it has nothing to do with being a Moderator. You insulted a programmer (intentionally or not, isn't particularly relevent.... if it wasn't intentional, you probably should have apologized). The only thing she did as a moderator, was lock the bumped post, which hardly constitutes an … | |
Re: Ok, I got lost when you asked about converting variables to text. No, the chances of getting perl to work in word are real slim. It's easy enough to read the csv file, and work with it. It's definately easy enough to find out what kind of letter is required, … | |
Re: I found three on the web.... the second seems like it would be the easiest to impliment, while not actually 1 control, it gives the same functionality using a textbox and a dropdown box: [url]http://codeproject.com/jscript/jsactb.asp[/url] [url]http://www.mattkruse.com/javascript/autocomplete/[/url] [url]http://webfx.eae.net/dhtml/combobox/combo_demo.htm[/url] | |
Re: Ok, there is no way to tell you a code, but someone can tell you how to code a timer....which is easy enough. | |
[CENTER][B]For Starters...[/B][/CENTER] I was recently helping someone with Random Files, and I realized as I googled along, that it took me some time to find any kind of information about random files, and how to go about working them. I had to pop in an old 3 1/2 inch floppy, … | |
Re: You are saying that it's 5 to 6 hours of work to make a program that is able to incorporate all the protocols from the four major IM services, plus, build a server that is capable of authentication, querying for proximity zip-codes, transfer of photo's, and have it's own chat … | |
Re: first thing you need to do, is post a few lines of the text file. So, for example, is the textfile tab delimited? If you post a couple of the records in the file (or however it's setup) then I can help you out a bit more with decoding the … | |
Re: C or C++. Unless you do a lot of crafty programming, VB is bulky, and simply an awful tool for game creation. | |
Re: I would do it differently. depending on the size of the file, I would either read the entire file into memory, and then manipulate what I want to change, and then over-write the file with the new information, or (assuming the file is pretty big) read the data in, line … | |
Re: In VB, The shell command (and many, many others) spawns a process, and then immediately returns to the next line of code execution. This isn't a problem, really. The problem comes about, when you want to WAIT for a spawned process to finish, before spawning a new process. For example, … | |
Re: Here is a quick project, that does exactly that. In order to get the common dialog control... you need to right click on the toolbar, click on componants, and find "Microsoft Common Dialog Control" and put a check in it. Anyway, I've put together a project, that does what you … | |
Re: Not really. That's why it's called a "combo box" because it combines both a listbox feel with a textbox functionality. To give it the feel that you are after, however, simply change it's style property to 2, and it will behave like you want. | |
Re: just check if the boxes are checked, and if so, run a shell on each of them. If you need the program to wait a given length of time (or until the first run is completed) you can use the waitforesingleobject api. | |
Re: I hate to say it, but I think the best bet you have is to re-write the program. | |
Re: Are you typing that into your web browser!?! | |
Re: [CODE]Private Sub Text1_KeyPress(KeyAscii As Integer) Select Case KeyAscii Case 48 To 57 ' These are acceptable keystrokes Case 8 Case Else ' These are unacceptable, and should be ignored KeyAscii = 0 End Select End Sub[/CODE] | |
Re: Hmn, wouldn't you convert VOB's to AVI's? | |
Re: Did you read the sticky thread? [url]http://www.daniweb.com/techtalkforums/thread41057.html[/url] | |
Re: I've never heard of the ChilkatXml object before.... I'm guessing it's a module that perhaps you installed.... you might want to check the documentation on it, I'm sure it has an option for appending data. In VB, you can open a file for appending as such: [CODE]open filename for append … | |
Re: Adding new menu's to the parent is easy enough.... all you do is make the menu items a control array (by naming them all the same thing, but changing the index to the next number up). Then, just like any object in a control array, load the element, and set … | |
Re: [url]http://www.daniweb.com/techtalkforums/showthread.php?t=19874&highlight=password[/url] | |
Re: VB won't run standalone either. You'd need the VB runtimes installed in order for it to work. | |
Re: or don't use a button, use a timer control. | |
Re: You should post in a new thread, and not bump old threads. | |
Re: If it's been a real long time, it's very possible that msn closed the account, and then someone re-opened it. I know for sure that if you don't log in for a long time, MSN will deactivate the account, and then you have to manually re-activate. Also, if you look … | |
Re: Hey, Welcome to Daniweb. I'm sure your presence here is going to be a gift. So, here's a warm welcome and an out-stretched hand. | |
Re: Well, I see you setting the timer to false in the datagrid click event. Probably not a good idea, unless you plan to click the grid every time it loads a query result. I suggest that you add the timer1.enabled = false to the form load, after your last combo1.additem. | |
Re: You should post in the virus's and nasties section to try to get rid of the virus before taking any other measures.... if those guys deem you doomed, you may want to take a look into "knoppix" (or any of the variations, such as PHLAK or STD) which is a … | |
Re: Yeah, and lets spam the masses while we're at it! | |
Re: What exactly is the layout of the textfile? (post a line). | |
Re: Bad idea. Your best bet is to work with the file line by line. If it has no cr/lf or newline, then how are the words separated, by space? If so, I would make a mini-program to actually add a vbnewline after every word, and re-save the file, 1 word … | |
Re: Speaking of which, can you still get the beta for vista? | |
Re: I'll see what I can do with some API's, but I think it's easier just to make a form, and show it as Modal, (form.show vbmodal, me), and set it's boarder properties. I'll check into it though. | |
Re: It's a good thing you fixed it, ya know, us Daniweb Junkies go through serious withdrawal when the site goes down ;) | |
Re: I'm going to link you here, but it's my advice that you don't do it that way. I don't advise using the "windows help." like you see in some programs. I suggest that you build your own. As the world starts to become more comfortable with and more in tune … | |
Re: Check This Thread: [url]http://www.daniweb.com/techtalkforums/thread40595.html[/url] for a neat program. It shuts down all running processes, except for those that are required for windows to run stable. It also does NOT shut down services (such as AVG, Norton, or anything else that is a service). | |
Re: And you can still use shellexecute to execute a program without it's "default" loading operation. Meaning, you can load media player with the filename you want it to play as a parameter, instead of calling the .mp3 (or whatever) directly. |
The End.