1,372 Posted Topics
Re: For reasons that are beyond my understanding, we are being moved into the whole new era of having to give things ID's. If someone knows another way, simplier, using names, please let me know, but try this: [CODE]<html> <head> <meta http-equiv="Content-Type"content="text/html; charset=windows-1254"> <title>JavaScript</title> <script language="javascript"> function ShowValue() { document.getElementById("TextBox").value = … | |
| |
| |
Re: Well, I wanted to add some updated stuff to it before posting, but I can always add it later. Keep in mind that there is 1 issue, and so far, I'm not able to explain why.... I'm guessing because the information is memory resident, or some other crazy windows reason, … | |
Re: ;) [CODE]<A HREF="#" onClick="javascript:alert('hi'); window.location='www.google.com'; return false;">[/CODE] With her method, however, the user has a choice to hit cancel or not, while this is strictly an OK button. | |
Re: The user of the site, to my knowledge would have to allow activeX controls, to be accepted and run on their system. It's not really a good idea. If you are doing it for yourself, or for a business... say, an internal network or something nuts.... then you could allow … | |
Re: Personally, I don't know how good of an idea it is to use a submit button with an onclick event. I could be wrong, and still living in earlier days, but I would use a button, with an onclick, and then do a form.submit(); to submit the form. The perl … | |
Re: You could do it with an elseif, but your best bet is to simply add the required code to each option button. This makes the code more readible, more modular, and more understandble. | |
Re: Well, if you have a sirious problem, you may want to contact their customer support here: [url]http://www.sirius.com/servlet/ContentServer?pagename=Sirius/CachedPage&c=Page&cid=1019257316790[/url], or get a hold of "Car Tunes" and have them install the module you need. As for your program, I would suggest using the internet transfer control, and get the file. You might … | |
Re: Here is a calculator Skeleton I built for you. It doesn't actually do anything accept for putting the clicked numbers into the textbox, so you'll have to add the buttons and code for doing the calculations, but this is how I would start to go about it. | |
Re: This post doesn't belong in the community introductions, as much as the VB6 Forum. It seems to me, however, that if the required VB runtimes are not installed (deleted for some reason, infected by a virus and quarentined, whatever...) that the internal functions would take a crap. I've never personally … | |
Re: hmn... was it done in the same version of VB? | |
Re: So, This isn't a Question about VB? | |
Re: you have to do it in code on form_load, by setting the .text property to date. [CODE] Text1.text = date [/CODE] For example. | |
Re: That doesn't do it, because as long as there are ungrouped option buttons, regardless if they are a control array or not, you can only select 1 at a time. The way to make it so that you can have more than 1 option button selected at a time, is … | |
Re: you could use onLoad in the body tag, like: [CODE]<BODY onLoad="formname.submit();">[/CODE] And if you want to make the function you call wait a given amount of time, you could use "setTimeout" to have it wait a given number of milliseconds (I think it's MS). | |
Re: We love all information we can get, but do me a big favor. Threads, and Lazarus, should have nothing to do with each other.... so let's not resurrect dead threads. | |
Re: Unless I don't understand what you are doing, this project should be what you asre after. The project has a label (for identification of what the textbox is), a multi-line textbox (for the information to be typed into), a frame (purely cosmetic), and a button. The project is fully commented, … | |
Re: Right. Something else you'll need to take into consideration is the size of the image. If you set it to be auto-size (the picture or image control) then it will change depending on the size of the picture.... if you don't, it will chop off the image so you can't … | |
Re: I'm pretty sure regedit is supposed to be an EXE not a .COM file.... try regedit.exe, or regedt32.exe, but you should be somewhat concerned, not only for the name, but for the behavior of the regedit window. Make sure you have an anti-virus installed. | |
Re: We can help with problems, and you could even post pseudo-code, or even a description of what the part is that you are working on, and it's problem. | |
| |
Re: Thank you for following up with a solution. It helps in many, many ways, and it's not often that people do it. | |
Re: Be advised, this type of .DLL is not a Real .DLL, but an activeX (COM) DLL. The difference has to do with dependancies, and entry points, which is well beyond the scope of this thread, and may need to be in a different forum altogether. For the sake of simplicity, … | |
Re: Well, The title has EVERYTHING to do with your question, now doesn't it? | |
Re: I would suggest sticking with listbox's. However, the ocx doesn't have to be in windows system, but MUST be registered in the registry (which would most likely also require permissions). The DOS command regsvr32.exe is the command that will register the componant (regardless of it's path) but again, the registry … | |
Re: it's not a good idea to use sleep. Sleeping may always wait (in this case) 1 second, but some machines may take longer than 1 second to load the prompt. Basically, you are having to guess how long it will take that window to appear, and shoot in the dark … | |
Re: I'm guessing you have to setup the system as if there are 2 monitors. I'm guessing that windows thinks the TV is a secondary monitor, perhaps an extention of the desktop, and you could essentially DRAG windows from your laptop monitor to your TV (monitor). | |
I don't like having the numbers, (or the change in color) to the code snippets. While the idea is there for tutorial purposes (see line 5), it makes things a lot more difficult to copy and paste the code. While at first glance (in firefox) it seems that you are … | |
Re: If you know the row, you can use objectreference.EntireRow.Delete (objectreference is a reference to a range, I think). Or something like: xlApp.ActiveSheet.Range("2:10").Rows.Delete, might work for you. First you'll need to loop through and make sure the row in question is in fact blank, and then just run a delete on … | |
Re: Did you read the sticky thread? [url]http://www.daniweb.com/techtalkforums/thread41057.html[/url] | |
Is it just me, or does this happen to anyone else (just started today). I've cleared all my history and cache, and cookies from firefox, and did a hard-reload, and it's rendering it this way.... Idea's *Cough*Dani*Cough* And how did I lose stars? I had 4, I'm down to three??? … | |
Re: That's something you have to do internally to your windows machine though (which rocks for me, but not for someone trying to do it through a web page... now if we can find out where that same type of key is for firefox). If I'm not mistaken, you could use … | |
Re: There are a couple of ways to tackle this problem. I would personally make a function that splits the string into an array, and then grab the passed number as that array's indice. I have attached a project that has 3 functions in it. The first I'll go over is … | |
Re: [CODE]#!/usr/bin/perl ($sec, $min, $hour, @junk) = localtime(time); print "$hour:$min$sec\n";[/CODE] | |
Re: depending on the layout of the text file, I could probably make one in VB, but I'm unsure as to the level of work it would require (and my time constraints) | |
Re: I think the option isn't keeping 1 post wonders out, but I think a time limit of inactivity of people with an extremely low post count would work. Hotmail, for example, will discontinue your account if it's not been logged into in a certain amount of time.... now while I … | |
Re: Hmn, that might require a server side language. | |
Re: Ok, this is a vb 4, 5, 6 forum, not a vb.net forum. Should you be looking for that forum, you can find it here: [url]http://www.daniweb.com/techtalkforums/forum58.html[/url]. var.tolower() is a .net method, and is not available in vb6. Let's try to keep related information grouped in their respective forums. | |
Re: In VB, I'm sure the problem has more to do with the fact there are variables in the SQL statement, that are inside of quotes.... making the variables a literal string. For example: [CODE]X = 5 msgbox "x"[/CODE] Does NOT produce a msgbox of 5..... it performs a msgbox of … | |
Re: You could use sendkeys. | |
Re: The answer is simple. You have the onclick events launched when you click a radio button. That function (check) sets a document item to the value of the clicked option. Then when you execute a refresh_window, that value is still valid in that page element, when you read the value … |
The End.