1,372 Posted Topics
Re: I don't understand what you are doing. They are logged into a server, and you want to know which machine it's from? | |
Re: What do you mean by guide them? Like, give them steps, or are you talking about having them type the info into the VB App, and then having The VB Program actually change the settings? | |
Re: [url]http://www.daniweb.com/techtalkforums/member.php?u=7907[/url] (512M which isn't a lot, btw) | |
Re: Moved To Geeks Lounge (For discussion). I fully agree with you Aparnesh, in fact, I raise the question of: what kind of code are you writing using a cell phone keypad?? I have a bad enough time dealing with a VB IDE and a keyboard :cheesy: | |
Re: Yes, But the code won't be the same as with CSV (Comma Delimited) File. Here are a couple of links on concepts. These links focus on using word, but excel is the exact same concept. Once you understand how the tutorials (creating office objects, and automating office apps), we can … | |
Re: My search also turned up empty....looks as though karland made sure there were no floaters left around. I suggest using a built in method, anyway, as it saves in troubles with mobility: [url]http://www.daniweb.com/code/snippet36.html[/url] | |
Re: There was a day when I'd say yes. As of right now, we have a few hot threads about this....(not about excel, but about reading from a serial (or parallel) port with V6: [url]http://www.daniweb.com/techtalkforums/thread52807.html[/url] [url]http://www.daniweb.com/techtalkforums/thread52505.html[/url] [url]http://www.lvr.com/parport.htm#Programming[/url] Basically, it looks as though in XP we have to try to use this … | |
Re: You can define byte arrays in VB like so: [CODE]dim Path0(49) as byte[/CODE] But keep in mind, that's as literal bytes. If the actual path is a string (sequence of characters) you probably wouldn't want to define it as a byte. I'm guessing the TP code [INLINECODE]IF Path[z] IN Path2 … | |
Re: By screens you mean monitors right? As in, you have two monitors, and you click "open" in your app, and it loads the commondialog on the other monitor? | |
Re: I don't understand what you mean by "hiccup" in the listbox.... but if the listbox is bound somehow to a database, I think you have to modify the database to modify the listbox....(or maybe modifying the listbox modifies the database). Truth be told, I do it the old fashioned way. … | |
Re: Yes. It's not generally done, and will probably make your code more difficult to follow and understand when you are trying to add/update things later..... beyond that, as was mentioned in another thread, you'll be using more memory (to create an object variable to an object that already exists) to … | |
Re: make sure you have read this thread first, and follow the links. If this proves to be of no help, attach the project in a .zip and I'll see what I can do. [url]http://www.daniweb.com/techtalkforums/thread53781.html[/url] | |
Re: It might be a bit more helpful if you can attach the excel document (as a .zip if necessary). One problem, is that you are trying to reference a property of an integer, which is not an object. For example, the variable i is going to be a sequence of … | |
Re: set the field's (guessing a textbox) .enabled property to false? [INLINECODE]text1.enabled = false[/INLINECODE] | |
Re: I can't really tell by your code, but is this VB express, .NET, or Legacy (VB 4, 5, or 6)? If it's Legacy VB, could you attach the project in a .zip to your next post, so that I can download your code, and see your problem. The truth is, … | |
Re: You mean, if they choose a database.... close the program, and then open the program up again, you want the database to still be the same... right? | |
Re: There are a ton of reasons why this can/would happen. Runtime Error 490 is inability to open the specified file.... it doesn't really give a reason, but for some reason it failed. [INLINECODE]Application.FollowHyperlink Me.form_location[/INLINECODE] is the line that it would have flipped out on, the problem, however, is that there … | |
Re: Hmn, does this help [url]http://www.databasedev.co.uk/autonumber.html[/url] [url]http://www.databasedev.co.uk/automatically_increment_value.html?[/url] | |
Re: Is he behind a router? Are either of you behind a firewall? | |
Re: For sending e-mail attachments, or do you mean once you have downloaded the e-mail messages from a pop3 or imap server, you want to have a link to the attachment (which, at this point, should be a local file). What exactly are you doing? | |
Re: I wouldn't suggest going about it that way. You can add a textbox to the form, and set it's "multiline" property to true. Then go to the "scrollbars" property, and choose if you want vertical, horizontal, or both. They will only be active when the data goes beyond the textbox, … | |
Re: Visual Basic is no longer maintained by Microsoft, and can not be purchased anywhere that I know of.... you might be able to get a copy on ebay. VB Express can be downloaded here: [url]http://msdn.microsoft.com/vstudio/express/vb/[/url], but any questions regarding it should be directed to the .NET forum, since this is … | |
Re: I'm not 1000% sure I understand what you are asking.... I'm guessing you have an MDI form as like a remote control or controller (navigation) window, and when you do something in that window, you want it to display the corresponding MDI form..... BUT that MDI form COVERS your remote … | |
Re: You can declare them at the form level, or you could simply replace each occurance of Dim with Static. Static allows you to make a procedural variable, that will maintain it's value until manually reset (or the object in which it resides is destroyed). It's good programming etiquette to use … | |
Ok, Umn..... How do I escape BBCode Tags? For example, I have a post where the user uses a database (with code), and the problem is that one of the fields is "code". So, what I mean is, it gets referenced like this: `Select (Code),[Price],[Res] from [tt]" & " order … | |
Re: Does it compile though the IDE (without the use of the package and deployment wizard)? | |
Re: So... the glass is half empty? From your point of view, iamthwee, what features / additions would YOU like to see, that you WOULD pay just a little money for? Anyone for that matter, what things could Daniweb offer, that would entice you to want to be a member? One … | |
Re: I've never tried to use javascript in a VB6 application, but the chances of that actually working are nil and none. I'm not sure what your activex dll is actually doing, but I'll bet the problem with the crash, is due to the code in the .dll. | |
Re: PG's Right. You should test if the string is empty (or how long the string actually is) before trying to get the left value from it.... | |
Re: Thanks for following up the solution.... it's a great help for others following and having the same problem. | |
Re: You don't need a database for that. You could use a flat file, so long as you encrypt the password. Most of these "password files" are set up in the old unix fashion, where each username / password combination is stored on 1 line in the file (so if you … | |
Re: Is the database (or any part of it) password protected? | |
Re: Try using msgbox's at the critical portions of the code to determine that the values are right. The reason I say this, is because it's been my experience that VB's IDE doesn't do a very good job of changing variable values in the IDE. So, for example, you could do … | |
Re: Hmn, I don't understand the problem with the picturebox.... you can make it load pictures from files and what not, right? Maybe we can make excel export the graph (and only the graph) to a file? | |
Re: Research.... [url]http://www.daniweb.com/techtalkforums/showthread.php?t=20254&highlight=reading[/url] | |
Re: Hmn, I can't seem to find anything specific to changing the volumes of each channel, but I've found API's to work with stereo (2 channel) and it looks directsound (sub of directx) can handle multichannel devices, but it doesn't give me anything specific for changing the volume, here is some … | |
Re: [QUOTE=Maggot]first of all your making it way to hard on your self just open the picture in a different program and save it as a jpeg picture.[/QUOTE] As a programming forum, using a different program and saving it with that doesn't make much sense..... | |
Re: I've never used starnet, so I can't help you there. If you have an API of some kind, or have code to add things to starnet, then I can point you to a place to get data from excel..... | |
Re: I use both *nix (in Various forms [Red Hat, Fedora, BSD, System V, debian, knoppix, and DSL [damnsmall]) and windows XP. Truth is, I only use XP because I moderate the VB forum, so I have to have a windows box in order to test programs. | |
Re: You are talking about a link in a textbox that opens a file? In the textbox, or in whatever program would normally open it? I mean, what exactly are you trying to do? | |
Re: Can you get to the properties of anything else? If you right click on my computer, or the network thingy, can you get it's properties window to load? | |
Re: Hmn: [url]http://www.daniweb.com/techtalkforums/showthread.php?t=20254&highlight=reading[/url] | |
| |
Re: I don't understand what you want to do.... I do know that VB can work with databases (both structured database [access, oracle, SQL], and non-structured, such as flat files). I'm not sure what you want to do with the card stuff, but I know VB can show pictures.... of anything, … | |
Re: You will first need to declare that API call in a module or at the top of your form... that declaration will look like this: [CODE]Public Declare Function mciSendString Lib "winmm.dll" Alias "mciSendStringA" (ByVal lpstrCommand As String, ByVal lpstrReturnString As String, ByVal uReturnLength As Long, ByVal hwndCallback As Long) As … |
The End.