1,372 Posted Topics

Member Avatar for AhmedHan

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

Member Avatar for tgreer
0
101
Member Avatar for Dani
Member Avatar for savi_karthika
Member Avatar for skalra63
Member Avatar for robertlees

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

Member Avatar for Comatose
0
114
Member Avatar for JC_2000

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

Member Avatar for tgreer
0
101
Member Avatar for peter_budo

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 …

Member Avatar for Esopo
0
206
Member Avatar for manish Kishore

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 …

Member Avatar for Comatose
0
98
Member Avatar for softwarecaz

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.

Member Avatar for Comatose
0
97
Member Avatar for Warden

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 …

Member Avatar for Comatose
0
151
Member Avatar for sandip.juit

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.

Member Avatar for Comatose
0
81
Member Avatar for ritud

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 …

Member Avatar for Comatose
0
81
Member Avatar for babirox
Member Avatar for skalra63
Member Avatar for BirdByte
Member Avatar for chancellor

you have to do it in code on form_load, by setting the .text property to date. [CODE] Text1.text = date [/CODE] For example.

Member Avatar for Comatose
0
101
Member Avatar for carryyb
Member Avatar for softwarecaz

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 …

Member Avatar for softwarecaz
0
205
Member Avatar for mallyajiggs
Member Avatar for Covinus
Member Avatar for sandip.juit
Member Avatar for rixius

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

Member Avatar for Comatose
0
145
Member Avatar for Phenomena

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.

Member Avatar for Comatose
0
118
Member Avatar for s0312001

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

Member Avatar for s0312001
0
89
Member Avatar for carryyb

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 …

Member Avatar for pattyandme
0
192
Member Avatar for Shlag

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.

Member Avatar for DMR
0
163
Member Avatar for softwarecaz

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.

Member Avatar for Comatose
0
134
Member Avatar for tiffeyneohelp
Member Avatar for skalra63

Thank you for following up with a solution. It helps in many, many ways, and it's not often that people do it.

Member Avatar for skalra63
0
690
Member Avatar for KaRy

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

Member Avatar for Comatose
0
109
Member Avatar for Bomber686
Member Avatar for mikeo14
Member Avatar for mikeo14
0
210
Member Avatar for skalra63

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 …

Member Avatar for Comatose
0
108
Member Avatar for Bomber686

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 …

Member Avatar for Comatose
0
112
Member Avatar for ncy

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

Member Avatar for Disciple
0
118
Member Avatar for Comatose

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 …

Member Avatar for Comatose
0
102
Member Avatar for Robert06

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 …

Member Avatar for Robert06
0
103
Member Avatar for delizeka
Member Avatar for Dani
0
34
Member Avatar for mallyajiggs

Did you read the sticky thread? [url]http://www.daniweb.com/techtalkforums/thread41057.html[/url]

Member Avatar for Comatose
0
56
Member Avatar for Comatose

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

Member Avatar for Dani
0
258
Member Avatar for pavankishore

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 …

Member Avatar for Comatose
0
167
Member Avatar for softwarecaz

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 …

Member Avatar for Comatose
0
132
Member Avatar for ivernrawks
Member Avatar for ivernrawks
0
120
Member Avatar for SAZAR

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)

Member Avatar for SAZAR
0
124
Member Avatar for Dani

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 …

Member Avatar for AlexJ
0
221
Member Avatar for jcmoles
Member Avatar for robbie_j0

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.

Member Avatar for Comatose
0
311
Member Avatar for Sul

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 …

Member Avatar for Comatose
0
712
Member Avatar for ghaney1
Member Avatar for davidpitts

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 …

Member Avatar for davidpitts
0
149

The End.