1,372 Posted Topics

Member Avatar for The Dude

I can make it so that i can't be moved..... but I'm struggling with the removal of the gay line.... I'll keep working on it though.

Member Avatar for thunderstorm98
0
626
Member Avatar for mattsearle

Hmn, you should be able to just set the reference to the filename.... so in an anchor: [HTML]<A HREF="http://www.yourserver.com/yourfile.zip">Your File</A>[/HTML] that's if you want to link to it.... to force it, you may have to use some javascript. Something like: [HTML]<BODY onLoad="window.location='http://www.yourserver.com/yourfile.zip';">[/HTML]

Member Avatar for MidiMagic
0
110
Member Avatar for fatma

Should Be Able To get you started with reading data from the parallel port using VB. I hope this helps. [url]http://www.aaroncake.net/electronics/vblpt.htm[/url] Another Option, should it be a tad easier (costs a little), is to use an ocx control (activex) to simplify this entire process. This can be found at: [url]http://www.scientificcomponent.com/portcontroller.htm?referrer=google[/url]

Member Avatar for mzlover
0
485
Member Avatar for nobody2ph

One problem that a lot of people don't understand is that an if statement has 2 different syntax. The only time you have to "end if" an if statement, is when the if statement is on more than 1 line (or if it does more than one thing). So for …

Member Avatar for Dell XPS
0
571
Member Avatar for khaled44

Something to note when using a richtextbox, is the method "loadfile", which will load a .txt file (or an RTF File... Actually, it will load any file, but you might want to stick to .txt and rtf with it). You can do it that way, which is real easy, but …

Member Avatar for lorraines212
0
197
Member Avatar for shuvo

I'm sure that you will first have to close the database. If you sift around for the methods of the control, there should be one for disconnecting or closing the connection to the database. Another option is to make the control a control array, when you are done with that …

Member Avatar for dalwadijayen30
0
1K
Member Avatar for Pmaster

Not to my knowledge. However, if you have free compiler or something like that, and distribute it then you can write the C code out to a file and compile it, but actually doing good stuff like inline asm in C with VB and C, probably not. Something else to …

Member Avatar for cwood
1
168
Member Avatar for koolsid

could You Elaborate Just a little more on exactly what you are trying to get done here? You want to store the passwords in a textfile (or database) with the username and encrypted password?

Member Avatar for jireh
0
209
Member Avatar for richip

I think you can do something crazy (I do this) by just pushing values onto inc, such as: [CODE] push(@INC, '.'); [/CODE] Which adds the current directory (.) to the INC (search path) of Perl. You should be able to any path, but I haven't tried. I know . works, …

Member Avatar for masijade
0
484
Member Avatar for bryan110

Doevents will allow windows to do things, such as repaint the progress bar. The timer control makes things fire at a given interval, true, and maybe the thunderdll's will get around to it between interval events, but doevents a good way to make those events happen.

Member Avatar for brijlesh
0
342
Member Avatar for moody

I just threw this code together, and it works in FireFox 1.5.0.3. and I just tested it with IE 6.0.2800.1106..... eah, it's long. Anyway, you should be able to extract the function from the HTML page, and use it as you will. I've attached the HTML so you can see …

Member Avatar for schwarznavy
0
125
Member Avatar for timd
Member Avatar for nedwards

You should be able to use createobject, and create the object in question.... for example: [CODE]dim wsh Set wsh = CreateObject("WScript.Shell") wsh.run "c:\windows\notepad.exe", 1, 0[/CODE] Which should create the WScript Shell object, and then launch it's "run" method to spawn notepad...

Member Avatar for kmortensen
0
946
Member Avatar for paradox814
Member Avatar for gcc777

Yeah, If you could help me with a clearer picture... or even zip and attach the project so we can see what you are doing, that would be outstanding!

Member Avatar for arjunsasidharan
0
182
Member Avatar for willeffects

I suppose you could do a [CODE] somevariable = window.location; [/CODE] and then do a substr or substring on the url, and see if it's in there. There might be an easier way, but that's probably how I'd do it.

Member Avatar for MidiMagic
0
160
Member Avatar for Phreak

[CODE] dim wsh set wsh = createobject("WScript.Shell") login_name = wsh.RegRead("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Logon User Name") src = "C:\documents and settings\" & login_name & "\Favorites" [/CODE]

Member Avatar for mcgyver201c
0
101
Member Avatar for neon123

Yeah, I'm not sure that the batch file is properly reading the data. A Simple test here (test.bat): [CODE]@echo off echo %1 echo %2[/CODE] and then the command line [INLINECODE]test.bat testing1 test2[/INLINECODE] produce the result of both parameters passed. Are you trying just to have the .bat file run, or …

Member Avatar for kiran_berry
0
1K
Member Avatar for ChadW

A Timer is a control, just like a button, or an option button or some other fun little tool.... here is a little article: [url]http://www.vbdotnetheaven.com/Code/Jun2003/2084.asp[/url] You can have it run a function at set intervals....

Member Avatar for Dukane
0
268
Member Avatar for iamthwee

That's a prefect solution. There are a ton of langauges, but let's face it, there are BASICALLY 2 kinds. Basic, real. Basic is a fairly simple, and easy to figure out language, if, end if, etc. Then the real style (you know, C, C++, Perl, Java, Javascript, etc) with the …

Member Avatar for John A
0
2K
Member Avatar for iamyoyo
Member Avatar for lia

You can disable the shutdown with this: click start click run type shutdown /a But I don't think this is the solution to your problem. This will stop you from being shutdown, but I would be willing to bet that there is some nasty virus that's making this happen (Sasser.F). …

Member Avatar for crunchie
0
203
Member Avatar for keks

[url]http://www.daniweb.com/tutorials/tutorial51307.html[/url] [url]http://www.daniweb.com/tutorials/tutorial51315.html[/url] It's for word, but the concept and idea is the same.

Member Avatar for staravi39
0
157
Member Avatar for Frost

[CODE] Private Sub Form_Load() Text1.text = time for x = 1 to 10000 Print "Frost" next Text2.text = time Timer1.Interval = 1 Label1.Caption = "" End Sub Private Sub Timer1_Timer() Label1.Caption = Time End Sub [/CODE]

Member Avatar for vidyahajare
0
5K
Member Avatar for Mr Gates

Right, Paul had the right answer. You'll also find (which may be a better solution, since the .refresh method doesn't give windows a chance to update anything other than the textbox) that the doevents function will also work. Doevents, unlike .refresh, gives your app a chance to process events passed …

Member Avatar for davidcairns
0
2K
Member Avatar for qualityprocess
Member Avatar for Chainsaw

It's VERY possible that it's NOT from a website. There could be a program of some kind that is making these popup's happen. You should download microsoft's anti-spyware program from microsoft's web page. This isn't the best software for fighting malware, but it helps a lot. There is also hijack …

Member Avatar for *TGO*
0
410
Member Avatar for Smooth_411_2000

Do you want a batch file, or a VB program? Batch files wait for a program to finish before moving to the next line, but I'm not so sure you can use sendkeys, or anything like that with a batch file..... give me some more info, and I'll see what …

Member Avatar for Ved_TheOne
0
111
Member Avatar for christiannmandi
Member Avatar for Nelly1965

You can access all the files in a directory (you can get a directory list) like so: [CODE]' /* Naturally, Change This For Your Path and Files */ retval = dir("c:\windows\*.doc") while retval <> "" msgbox retval retval = dir wend[/CODE] Granted, that will simply pop up an annoying msgbox …

Member Avatar for Nelly1965
0
81
Member Avatar for Smooth_411_2000

well, you can give the file some obscure name, but then anybody who is on the curious side (like myself) will find it..... you can encrypt it, using a control like the blowfish control, or you can make your own cipher.... but any time the password file is accessible it's …

Member Avatar for Comatose
0
85
Member Avatar for seanx
Re: help

Are you talking about setting processes priority (such as high medium and low) in windows?

Member Avatar for seanx
0
91
Member Avatar for Dawmah

That's Because you have to tell EOF the file handle that you want it to check for EOF of.... for example: [CODE]open "c:\autoexec.bat" for input as #1 ' / * do this until eof returns true on handle 1 */ do until eof(1) ' /* Read Data From File */ …

Member Avatar for WaltP
0
84
Member Avatar for Little E

I would say so, but I'm biased to Perl/CGI. It ultimately depends on what you are trying to do. When they click submit, what exactly do you want to happen? For some reason, these aren't listed under Tutorials (where they should be) but, nevertheless, I have written a few tutorials …

Member Avatar for Comatose
0
87
Member Avatar for jaigurudev

Right, if you want to write a setup, you need to know that older windows systems don't come with the VB Run time files (OR any of the dependency files that you decide to include in your project). On newer windows systems (2k and up) VB Run times come along …

Member Avatar for Comatose
0
101
Member Avatar for Maritime

How exactly are you drawing the lines? I would suggest looking into API calls on GDI, to speed up your graphic drawing.

Member Avatar for Maritime
0
68
Member Avatar for skyzone

If I'm not mistaken, though, harry5341, the mscomm control was obsoleted come (what was it, 2k?) when they removed the API calls for in and out calls of the port..... meaning that it won't work in windows 2k and above. If you are in 98 though, it should work fine.

Member Avatar for harry5341
-1
127
Member Avatar for maznil

[url]http://www.daniweb.com/techtalkforums/thread41057.html[/url] is also a good tutorial on ADO. You should do a lot of research into databases, and interfacing Databases with VB before undertaking such a large-scale app.... because there is a lot to know about it.

Member Avatar for Comatose
0
79
Member Avatar for GENERAL GUEVARA

You should check out the sticky post at the top of this forum: [url]http://www.daniweb.com/techtalkforums/thread41057.html[/url], that will give you a good foot hold on dealing with databases from within VB

Member Avatar for Comatose
0
100
Member Avatar for The Girl

[CODE] Public Function B2D(BinVal As String) As String Dim iVal#, temp#, i%, Length% Length = Len(BinVal) For i = 0 To Length - 1 temp = CInt(Mid(BinVal, Length - i, 1)) iVal = iVal + (temp * (2 ^ i)) Next i B2D = iVal End Function [/CODE]

Member Avatar for alice_C
0
227
Member Avatar for sniper4you

You should start off reading a tutorial about it.... here is a good site to start at: [url]http://www.vbtutor.net/vbtutor.html[/url] That should help to give you a general idea of what is going on, and help you to be able to at least start getting involved in VB. Once you have a …

Member Avatar for mjwest10
0
151
Member Avatar for jasworld
Member Avatar for mjwest10
0
90
Member Avatar for carmen
Member Avatar for Seyha Eng

in a module [CODE] Public Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long [/CODE] then in your button or whatever [CODE] retval = shellexecute(0&, "whatever.pps", …

Member Avatar for tupadjia
0
680
Member Avatar for NewVBguy

I have a feeling you are going to need to use API calls, or possibly sendkeys. If you post the code or attach the project, I'll take a look at it, and see if I can't find a way to accomplish it.

Member Avatar for QVeen72
0
201
Member Avatar for Tom Pilk

[QUOTE=Tom Pilk]helllooooooo? Does anyone know the answer to this mysterious and magical question? I have tried several programs to do this but none seem to work!!! Is there just a few lines of code I can use? Any ideas? Thanks for your time even if you don't know the answer, …

Member Avatar for gummo
0
1K
Member Avatar for Roxsy3392
Member Avatar for jetyan

If I understand what you are asking, you are wanting a program to display a list of all the .dll files currently loaded and in use by each program (this really isn't the forum for that, unless of course you want VB code to do that.)? I wrote a utility …

Member Avatar for jetyan
0
138
Member Avatar for jeevitha

You'll find VB to be pretty slow doing this too, unless you go overboard on speed optimization of strings. If you had it using a database (the dictionary as a database) then you could have it return all words that are starting with the first alpha letter after a space …

Member Avatar for iamthwee
0
83
Member Avatar for naheed

The question I have is, are you actually trying to make a .swf (shock wave flash) file, or are you just trying to make VB MIMIC (act like) a .swf file?

Member Avatar for antonybls
0
163

The End.