1,372 Posted Topics

Member Avatar for NewVBguy

Firstly, I don't believe Excel works with an ADO connection. You can create an excel object, and work with it, but as far as I know, SQL (Structured Query Languages), and Access (which are database systems) are the ones you can interface with using ADO. Did you read the sticky …

Member Avatar for maheshsayani
0
177
Member Avatar for Payman
Member Avatar for Payman
0
313
Member Avatar for robmcfeters
Member Avatar for Shefali
Member Avatar for b.janahi

Stick This in a module (or in the declarations of the form) [CODE]Public Sub LoadTextBox(NotepadFile$, XTextBox As TextBox) Dim chk As String Dim hld As String If Dir(NotepadFile$, vbNormal) = "" Then MsgBox "File Not Found: " & NotepadFile$ Exit Sub End If Open NotepadFile$ For Input As #1 Do …

Member Avatar for Comatose
0
114
Member Avatar for snengos
Member Avatar for snengos
0
83
Member Avatar for ejp001
Member Avatar for the_idiot

It's my personal opinion that, that much information should be done in seperate databases.... even seperate apps, but I'm not here to judge, I'm here to help... so I suggest using sockets. I would personally build a server program to handle the database, the database would sit on 1 computer, …

Member Avatar for snengos
0
118
Member Avatar for Ramabhadran

I just crufted this up real quick.... basically, what you have to do, is to "cast" each string variable to an integer (the "val" function would also work, instead of cint, but cint makes more sense here, since the values are integers and not doubles. So, you simply cast the …

Member Avatar for Comatose
0
98
Member Avatar for vtechno42

I'm not sure the specifics of your page.... such as if this info is coming from a textbox or something. Also, being that it is a web page (if that is the case) then I promise you, it's a better solution to use Javascript. The reason that it is a …

Member Avatar for Comatose
0
104
Member Avatar for b.janahi

Is it all in the same line, like the picture that you have posted? If not, how does it look exactly, can you paste some of the file in code tags. I can help you much more with that then.

Member Avatar for b.janahi
0
108
Member Avatar for racerrunner
Member Avatar for SamY

You could also use load... which works just as well. Start a new project, and add a textbox... leave it's name alone (Text1). In The Properties Box, change index to 0. Now, in your form load (or in a button) add this: [CODE]For I = 0 To 9 If I …

Member Avatar for SamY
0
103
Member Avatar for Duki
Member Avatar for TheNSS
0
77
Member Avatar for ~s.o.s~

Not an entire application....... UNLESS the app itself was built as a control. If you built the entire thing in an activex control, then yes. It's as easy as using the <OBJECT> tag of HTML, and referencing the ClassID, and the CODEBASE for the OCX. This site has a quick …

Member Avatar for Comatose
0
90
Member Avatar for Syphus

As for playing a sound, yes. There is 1 or 2 ways to go about doing that..... as for Changing the output of the sound..... I'm not so sure.

Member Avatar for Comatose
0
38
Member Avatar for BombAppetit

Hmn, I don't seem to get that error when I run your code on my box... I wasn't sure how your ABP-FET Reference.xls file looks, so I kind of guessed, and maybe that's the issue (probably, if it's a problem with a text range), but umn..... it seems to work …

Member Avatar for Comatose
0
196
Member Avatar for ciuboda
Re: Hi

No doubt about that ;) *Rubs His Hands Together, and Laughs like the Crypt Keeper* Welcome Dan...

Member Avatar for Comatose
0
53
Member Avatar for b.janahi

You need to use the commondialog control. So, Click the Project menu, then select componants. In the new window find microsoft common dialog control, and put a check in it. Now Hit Ok. A new control appears in the toolbox, double click it (or drag it to the form). Then, …

Member Avatar for b.janahi
0
84
Member Avatar for SamY

Read This Thread: [url]http://www.daniweb.com/techtalkforums/thread37479.html[/url] Basically, you have to create an object of the excel.application class. This will allow you to manipulate the object as you see fit..... such as setting it's visibility and some other fun gadgets that come with it's methods and properties.

Member Avatar for Comatose
0
58
Member Avatar for b.janahi
Member Avatar for robertlees

:eek: check this thread out: [url]http://www.daniweb.com/techtalkforums/showthread.php?t=41491&highlight=datediff[/url]

Member Avatar for robertlees
0
671
Member Avatar for chrisbliss18

I've had my XP box crash on me a good number of times recently (clean of viruses and malware) just silly crap.... like when I empty the recycle bin or something..... I've never (ever) had linux take a dump on me, unless it was my own fault.... As a programmer …

Member Avatar for DMR
0
205
Member Avatar for timzukas

I hate to give up fun little tricks like this.... but I suggest that you use the API to change the parent of the word window, to a form in your project. Then, simply ensure that your form is not visible.... you can decide to give the parent the child …

Member Avatar for Comatose
0
242
Member Avatar for shalini_roy

Nice Job. If you are trying to get the item that is selected in the listbox, you could use list, instead of item, but nicely said.

Member Avatar for Comatose
0
101
Member Avatar for Sannn

I don't see the problem.... VB is reading data from the serial port right? So should it matter if the form's .visible property is true or false?

Member Avatar for Sannn
0
95
Member Avatar for vjeshemv2000

Create a Module (Code Module) and add this: [CODE]Sub Die() for each XFrm in Forms unload XFrm next XFrm end end sub[/CODE] Then, in your project on the "exit" menu, AND in the main windows form_unload, just do this: [INLINECODE]Die[/INLINECODE] This method, actually is 100,000 times better than using end... …

Member Avatar for Comatose
0
83
Member Avatar for RanmaSaotome

it would probably be to have 2 forms on the screen.... you COULD probably move it, but it doesn't really like it.....

Member Avatar for agrothe
0
146
Member Avatar for INI

Fooey, use the DIR command.....(stick this in a code module): [CODE]public function FileExists(sPath as string) as boolean If Dir(spath, vbnormal) <> "" Then FileExists = True Else FileExists = False End if end function[/CODE] Then call it from your code like this: [CODE]if fileexists("c:\fileinquestion.txt") = true then msgbox "the file …

Member Avatar for Comatose
0
117
Member Avatar for vjeshemv2000

In The Textbox's GotFocus() Event (Assuming the textbox is text1) [CODE]Text1.SelStart = 0 Text1.SelLength = Len(Text1.Text)[/CODE]

Member Avatar for Comatose
0
40
Member Avatar for vjeshemv2000

I'm sorry, I'm having a very hard time understanding what you are trying to accomplish. You have a database that stores information about the faculty, and you want to do what exactly with it?

Member Avatar for vjeshemv2000
0
126
Member Avatar for joe935
Member Avatar for Comatose
0
237
Member Avatar for robertlees

I've done this..... it requires the microsoft text-to-speech control. The package (if you google, you should be able to find it) has controls to go in both directions (text to speech, so the computer can talk to you, and voice recognition, so you can talk to it, and it can …

Member Avatar for Comatose
0
365
Member Avatar for shalini_roy

So, you want to delete the stuff from the VB program, but not the oracle database? The problem, I'm guessing, is that when you delete an item from the listbox, it's not updating the database..... so the information remains? If you post the code, I can take a look for …

Member Avatar for Comatose
0
220
Member Avatar for 'Stein

I just recently learned that canned responses are responses that are already premade. So, they can scan a Hijack This Log, find the problem, and paste the solution (already prettied up with BBCode Tags and all, so it has bullets and color, and fun stuff) without having to type it …

Member Avatar for 'Stein
0
276
Member Avatar for sekkinj1

Also [B]Some[/B] of the programs you use in windows you can run in linux with [URL="http://www.winehq.com/"]Wine[/URL], which is difficult to set up for someone who doesn't have a lot of linux experience, but is pretty durn good.

Member Avatar for nytrokiss
0
367
Member Avatar for Dani

Is this user disable-able? Sounds like you have been working with AT&T, and NSA?

Member Avatar for Dani
0
337
Member Avatar for happygeek
Member Avatar for goldeagle2005
0
191
Member Avatar for vlntine82
Member Avatar for vlntine82
0
100
Member Avatar for rlutia66

in the evaluate function, you may need to use split to rip apart the expression, and then assign the elements of the variant array to the respective variable types.... Or don't use string, use variant.

Member Avatar for Comatose
0
161
Member Avatar for Smooth_411_2000

You should be able just to reference those elements. Let's pretend you have form1, and form2. You have a button on form1, and a combobox on form2. In the code for the button on form1, you could do this [INLINECODE]msgbox form2.combo1.text[/INLINECODE], and it will gladly display the information in form2's …

Member Avatar for bulanhagui
0
170
Member Avatar for Smooth_411_2000

I don't know exactly what you are talking about..... if you tell me what you want to accomplish I can help you out a little more.... a batch file is going to wait though, for 1 command to finish before moving on to the next. The shell command (or shellexecute) …

Member Avatar for Comatose
0
187
Member Avatar for kohkohkoh

Depends! Are you talking about Scheduled Tasks (clicking start, going to programs, accessories, system tools, Scheduled Tasks) or something like the AT tool, that uses the WMI Class?

Member Avatar for Comatose
0
136
Member Avatar for Smooth_411_2000

Is the captured text from your own program, or a different program? Again, if you explain what you are trying to do, I can help you a bit more.

Member Avatar for Comatose
0
97
Member Avatar for larmit

The only thing I get is an EXE, which I will NOT run unless I have the source code (then I'll compile it and run it).

Member Avatar for sirWest
0
3K
Member Avatar for >shadow<

I'll vote for you, if you can convince Narue to re-establish her position as a moderator..... otherwise <voice type="soup nazi">No Vote For You!</voice>

Member Avatar for goldeagle2005
0
367
Member Avatar for INI

ctrl-printscreen seems to copy a screenshot (in XP anyways) to the clipboard..... then you can run mspaint (start run mspaint) and paste it into paint, in which case you can manip the image...... then when posting your thread (in advanced mode) there is an option to attach a file.... save …

Member Avatar for INI
0
88
Member Avatar for naramis
Member Avatar for INI
Member Avatar for INI
0
162
Member Avatar for Dave Sinkula

The End.