1,372 Posted Topics

Member Avatar for alc6379
Member Avatar for watkins6878

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]

Member Avatar for watkins6878
0
168
Member Avatar for NewVBguy
Member Avatar for heatherc3

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 …

Member Avatar for Comatose
0
281
Member Avatar for lance471
Member Avatar for Comatose
0
127
Member Avatar for russell214

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.

Member Avatar for Comatose
-1
241
Member Avatar for softwarecaz

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.

Member Avatar for Comatose
0
87
Member Avatar for naramis

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]

Member Avatar for naramis
0
96
Member Avatar for Free Arsenal

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 …

Member Avatar for >shadow<
0
398
Member Avatar for heatherc3

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, …

Member Avatar for heatherc3
0
161
Member Avatar for java_programmer

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]

Member Avatar for java_programmer
0
126
Member Avatar for marsg2

Ok, there is no way to tell you a code, but someone can tell you how to code a timer....which is easy enough.

Member Avatar for Comatose
0
492
Member Avatar for Comatose

[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, …

0
104
Member Avatar for Dani
Member Avatar for jackpro

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 …

Member Avatar for Comatose
0
180
Member Avatar for FredNg

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 …

Member Avatar for Comatose
0
88
Member Avatar for alpha2006

C or C++. Unless you do a lot of crafty programming, VB is bulky, and simply an awful tool for game creation.

Member Avatar for Comatose
0
208
Member Avatar for sbmarsh

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 …

Member Avatar for Comatose
0
342
Member Avatar for Smooth_411_2000

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, …

Member Avatar for Comatose
0
109
Member Avatar for indangasy

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 …

Member Avatar for Mayo
0
172
Member Avatar for janeane_tho12n

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.

Member Avatar for Comatose
0
105
Member Avatar for Smooth_411_2000

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.

Member Avatar for Smooth_411_2000
0
264
Member Avatar for Enee
Member Avatar for Comatose
0
94
Member Avatar for BoogaBooga
Member Avatar for xenophobia
Member Avatar for janeane_tho12n

[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]

Member Avatar for Comatose
0
97
Member Avatar for zemezman
Member Avatar for xenophobia
Member Avatar for Comatose
0
93
Member Avatar for kamitsin

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 …

Member Avatar for Comatose
0
120
Member Avatar for robertlees

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 …

Member Avatar for Comatose
0
1K
Member Avatar for janeane_tho12n
Member Avatar for MIGSoft
Member Avatar for Smooth_411_2000

[url]http://www.daniweb.com/techtalkforums/showthread.php?t=19874&highlight=password[/url]

Member Avatar for Sinha's
0
109
Member Avatar for damiokuneye

VB won't run standalone either. You'd need the VB runtimes installed in order for it to work.

Member Avatar for damiokuneye
0
525
Member Avatar for creex
Member Avatar for nazgand
Member Avatar for MIGSoft

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 …

Member Avatar for MIGSoft
0
243
Member Avatar for happygeek

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.

Member Avatar for Danny
0
236
Member Avatar for wut-da

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.

Member Avatar for wut-da
0
237
Member Avatar for madman

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 …

Member Avatar for Comatose
0
101
Member Avatar for goldeagle2005
Member Avatar for vader
Member Avatar for KevinADC
0
246
Member Avatar for robertlees

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 …

Member Avatar for robertlees
0
265
Member Avatar for tayspen
Member Avatar for nizzy1115
Member Avatar for Sinha's

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.

Member Avatar for Comatose
0
78
Member Avatar for Dani

It's a good thing you fixed it, ya know, us Daniweb Junkies go through serious withdrawal when the site goes down ;)

Member Avatar for The Dude
0
363
Member Avatar for softwarecaz

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 …

Member Avatar for Kegtapper
0
98
Member Avatar for MysticalChicken

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).

Member Avatar for goldeagle2005
0
158
Member Avatar for Prahaai

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.

Member Avatar for Comatose
0
224

The End.