Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
 
  HOME    TRACKER    Visual Basic




Need Help Making A Program


i have been trying 2 make a exe that when some one clicks on it will open a certin web page and have it start up every time the person starts there computer. here is the code that i have been puting in:

Private Sub Form_Load()
Shell "C:Program FilesInternet Exploreriexplorer.exe http://www. * * * * * * * * * * */page.php?x=1731571"
End Sub

when i do that it gives me an error " Run-time error 53 file can not be found" can some help me fix this problem or give me another code.




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
Making Setup Program For Program Which Use API Functions
I have program which use API functions. When I use P&D Wizard for make a setup program must add (include) the *.dll files (eg user32.dll) of API functions?
Thanks

Making Program To Program Communication
how do i send from program anyprogram.exe to anyprogram2.exe something like Form1.Caption = "dude"

Making Program With Another Program Activex ??
Hi,

I have this viewing picture files program that beside the viewer when you install it, you install an activex (ocx)named by this program , and you are able to use it in vb6.

My problem is that I made a vb program containing this viewer activex , but the problem is when I want to make a package (setup file of my program) - I get problems with this activex when I try to install my program in other computers.

I think that it regard to the dependency of this ocx (activeX) I think that f I want to use my vb program in other computer I need to install this viewer program too, can you help me ?

Thanks , moyalt .

p.s I don't want to install the viewer in other computers , only my vb program (that contain the viewer activex).

Making A Program
Im starting a new program, its kinda like a popup and im just messing around with new code and stuff. Im trying to click a button and have a new window pop up in its place while the old one closes. Im also trying to add sound when the new window pops up. I was also trying to get something like confetti falling from the top of the screen or somthing. SO if someone could help itd be great. THanks

Need Help With Making Program..:)
First of all I would like to make somthing like: http://www25.brinkster.com/habbohavo...amacrotool.zip (not mine). How it works you open http://www.habbohotel.com/popupframe.html?123 (a chat based program in shockwave) and when you type somthing in the hobbamacrotool it says it on habbo... you will get my drift when you use it . Anyway i was wondring were I start making somthing a bit like that of my own......

I can make only small programs in visual 6.0 that why I need a little help

Thanks, SW5

edit:
http://www.xtremevbtalk.com/show...threadid=55113

This One Program I Am Making
Im making this one program for quake 3. It’s to add colors to your name. In quake the code to make your names into color is basically a "^" sign with the numbers 1 through 6 for different colors. for example "^1" makes your name red, and “^1Hello ^2Bob” would make Hello red and Bob green. In the program I want it to do this. I have a rich text box linked with command buttons that tell it to change the selected text in the textbox the color of the button you click on. How would I do the coding? I am thinking it would be a lot of If and Then statements. I have a text box at the bottom that when you press create it should write the code into the txtCode textbox. Any ideas?

Making A New Program...
hi

i'm currently starting to create (another) program but this time i would just like to find out whether visual basic is the best choice:

basically i am designing a program which i would like to store on CD and to automatically load up when the disc is inserted. the actual content will include flash files and information from a database...

i know some VB, C/C++ and am prepared to learn what i have to, so can anybody offer any advice on whether choosing VB ideal.

thanks alot

also if there is anybody out there who would like to keep in touch and help develop the program then plz contact me

®

Making An .exe Program
I was just wondering how would I go about making my program an exe so I can install and run it on other systems that may not have visual c++. I've got this program but I can only run it with visual c++ I know visual basic has where you can make your program an exe but does visual c++? if so where and how?

I Am Making A Program And...
hi

i am in the process of designing my program and now am ready to begin contstructing it on VB.

what i am working on at the moment is adding a button using the HoverCommand UserControl which i obtained from a link provided to me on this site.

i only have 2 questions - firstly i intend to use my program for commercial purposes (if possible) and i understand that i need to display some information about the original coders of the HoverCommand control >>> can anybody tell me what i should include in code or maybe within the program itself (like in help section...maybe?)

secondly i am actually not sure how to add the user control to my new project - is it a case of putting the control file into the same folder as my project and then copying the code over or what? i've never done this before and would like to know how i can begin putting it on my app immediately.

otherwise thx,

I Need Help Making A Program!!!!
hey people, could ne of u tell me the code to generate a random number ???

thanx kevin_P_

Making An AIM Program
I want to make a simple program with 2 textboxes and a button on a form. When you hit the button, it sends a message(designated by Text1) to a user on AIM(Designated by text2).

How would I do this? Would I need to learn how to Hook or would I need to learn to subclass? Or is there an alternative method? (Whatever is easiest)

Thanks in advance,
-Vinx

Need Help Making A Program
I'm not asking anyone to give me the whole source code for the application (unless you want to) but I need some help on how to do something.

I want to put together a small application that can read all of the desktop icon's property boxes and change the Target: location and the Start In: location.

Can this be done in VB? If so, what do I need (like API's, for example) and the general algo for it?

Making Of A Program
ok i didn't know, in which topic to post, so i posted here, because here is the most posts .

im interested in making a problem, which could go to some internet site, and click on one button, and that it would repeat doing it all the time like at every half an hour... so im interested, if it is possible to make it, and if any of you can make it, or at least teach me to do it ( but i never programmed, so that would be the hardest part to do)

thx, pakec

Help Making A Program
this is my first post and it will makes me look like a lazy guy but im really desesperated i want to make a program in visual basic 6.0 that makes any geometrical figure i really dont find a way to do it the program needs to ask you for the measures of the geometrical figure of your choice i have looking for any documentation that helps me with no success i know some of you are vb gurus and visual 6.0 may be obsolete for you and oudated but im a begginer and i need this for my school class.

thanks in advanced

Help Making A Program
I am making a program using Visual Basic. This program is going to be an IQ test and i was wondering...what would the easiest way be? I am an amateur programmer so i wont know how to do advanced coding. I can do simple/medium difficulty things. I was thinking about makeing a question using a Label and then everytime they hit the next button to switch the question. I would also have choices using the option button. I dont really know how to make it keep switching the question. Please help me figure out a better method or how to solve this problem.

Making VB Run A Program
I need to have VB run a totally seperate program....this program is not a VB program.

Wht is the command to run another program

Help is appreciated..thanks


-Hacker

Making A Program Run On Another Pc
HI
I have reasently completed an hnc in computing and as part of the course we were taught VB. the only thing that our tutor didnt tell us was how to get our newly written program off of my computer and working on someone elses. I have just written a small database program for a friend and would apprieciate any assistance that anyone can give me inorder that i can pass the finnished program to my friend.

Alan

Making A Program That...
Hey all. I am a hardcore level editor for a game Drakan: Order of The Flame. I have recently found a way to do something with the character files that allows new vertecies to be added to them using an ASCII editor. This process takes a long time and I am fairly new to Visual Basic Programming. I want to know If anyone would have a general Idea of what I need to do to make a program that:

1) Allows you to enter the Vertecies of one file

2) Merges or allows you to copy+paste them into another file

3) Creates and Saves a new file.


As of now, It takes about 2 hours to just add and texture one of these modified files. I am the only one that currently knows this technique but If I can make this program It could allow all other PCL creators to make new characters. I don't know if this is enough information for you to help me but if you need more Info I can give it.

I posted one of the files that I would like to be a "Production" of this program. They are the REC files and can be opened with any text editor.

Thank You,



Mage150

Making Help For My Program
I'm trying to make a robust help system for my program. Although, I'm not satisfied with the .hlp help files. Can anyone help with .chm files. I have created help in .html, how can I link this to my program. Such that if help is chosen from the Help Menu, it opens this .html file. Please help!

Help With Making A 2 Second Program..
In text1.text, theres some text:

"Hello" "test" hi hi "hi"

How can I replace each '"' with Chr$(34)?

So, it would look like
Chr$(34)HelloChr$(34) Chr$(34)testChr$(34) hi hi Chr$(34)hiChr$(34)

I'm Making A Program And I Need Your Help!
i have made a program that remembers your passwords and username for a site called neopets i was wondering how i could save it as like a save button

Making A Program That Looks A Little Like VB
Hey all. I'm working on a program that looks a little like VB. I need help for two things:
1) How do you make a certain word turn a certain color [eg in VB "Else" -> blue]?
2) How do you make the "Auto-Complete" menus [eg when you type text1.te and vb suggests .text]

Thanks a lot, any code or links to pages about these topics would be great, i have been scouring the net for ages already!

Making A Program Just With Api
HEHE...... sorry but I still know so little about API, and still got much to learn.

Okay.... i know how to make buttons and forms with just API, but what I want to know.... is how can you make a command for it, like, if they click the button..... APIs doesn't have stuff like "Command1_Click", "Text1_Change" etc.. How would you make one in API?

If you can't explain, any codes would be good enough..... or both should be perfect..... If none of the above then, "WHERE ARE THE API GURUs!?!?! HELP ME OUT!"

Thank you.

Help Me...Program Making For IE
Hi, I need help that in my program that goes like this:
Private Sub Command1_Click()
A = shell("C:@IEie.exe", 1)
AppActivate A
MsgBox "Please go to the website and enter the details, tab to go to sent button!"
Check = True: Counter = 0
Do
SendKeys "~", True
Do While Counter < 101
SendKeys "~", True
PauseTime = 10
Start = Timer
Do While Timer < Start + PauseTime
Loop
Finish = Timer
SendKeys "%{LEFT}", True
Counter = Counter + 1
If Counter = 100 Then
Check = False
Exit Do
End If
Loop
Loop Until Check = False
MsgBox "Done 100x"
End Sub


There is a problem in thius program as this is my first time using vb4 and my vb6 can't work as there say that I need to reinstall MSDN eventhough I fully installed it! (This is the 2nd problem I hope people can help me too...)

Firsty of all, this program has a click button, when clicked, will first activate the internet explorer, then stop to alert me and allow me to go to the website i want and go to the "submit" button on the website, then i can fill in what i want, then i press "ok" from the msgbox to continue the program and let it send "enter" to the "submit" button in the IE5.5 and then wait 10secs for the website to submit the details and then autorefers to another page in IE, after my vb wait 10sec, it will then SendKeys "%{LEFT}", True and so IE would go back to the "submit" page again. and the process repeats again for 100 times.

the problem i met in win98 is that IE keeps opening and opening and doesn't give me time to input the info on the website and i'm not sure if the keystrokes is working.

hope that someone can help me correct the thing above or at least suggest an alternatives...


this program which i want to create, main objective is to submit information on a website 100x. hope that someone can help me on that.

thanks alot

Making Your Program The....
How would I put the correct information to the registry that would make any files with a certain extension (.tov for example) open up in my program each time they are click on...

Need Help With A Program Im Making.
Hi im wondering if someone can help me with this program i m makeing and i need to find the fastest drive. im not really sure how to do it.

plz help.

thnx in advance

Way Of Making A Program
Hello to everybody, I am making a program which would keep track of my Cross Country training. I have made one but I am not fully satisfied with the way it works. Currently it saves the data into a text file, but i do not know how to load it back into the program witout the "" around my data. I am considering making another version which would save the data into some kinda of a database, maby an exel spreadsheet. Does anybody have any suggestings, ideas?

Help Making Program
i need help making a vb program that enables me to take a picture with my web cam save it and then close the program. i can close the program just fine but i dont have the code for accesing the video codec or saving a picture. in device manager the name of the video controller is "legacy video capture devices" the name of the th ecapture device is "WDM for windows capture driver (win32) any help would be nice email me at dcs115@hotpop.com thank you

Making The Program Pop Up
Hi again, does anyone know how to make the vb program pop up the moment i click on the powerpoint slide? As in clicking on my powerpoint file icon, then it immediately starts the vb program..

Need Help Making A Program Autostart
Im currently trying to get my project to autostart every time windows starts. I am having a heck of a time with it, but so far I have come up with this:

I can do this by adding a string value (the name of my application) to this key:
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionRun

However, I am not sure how to do that. I have been looking all over and every tutorial I have found has been different and none have worked. Hopefully someone here can help me. This is on Windows XP Home edition, by the way, incase that makes any difference.

Also, will this method of startup work on other operating systems too?

Making An Install Program
How do I make an install program?

It needs to put my program on the C: drive
and make it run every time someone logs into the computer
or have it running since the copmuter starts, and stay running
until the computer shuts down, including through logins and logouts

Need Help Making Maze Program
Hi, I'm new to this forum, and mostly a novice programmer when it comes to VB. I've been looking for a way to build a mouse maze using 255 labels, but things I've tried haven't really worked. I have the "mouse" position indicated by a red label, and I've been using a for next loop with random number to generate a maze, like this:

For i = 0 To 255
'Reset all cells to white
Label(id).BackColor = &HFFFFFF

num = Int(Rnd * 100)
If num > 70 Then
Label(id).BackColor = &H0& 'Black
End If
Next i

It works, but then the problem is actually getting the mouse to move through the maze I've generated. The code I have is below, but I can't seem to figure out why it won't work.

Do Until position = 223 'Finish point is on Label(223)
DoEvents
position = 48 'Mouse starts on Label(48)
If Label(position + 1).BackColor = &HFFFFFF Then
position = position + 1
Label(position).BackColor = &HFF&
ElseIf Label(position - 1).BackColor = &HFFFFFF Then
position = position - 1
Label(position).BackColor = &HFF&
ElseIf Label(position - 16).BackColor = &HFFFFFF Then
position = position - 16
Label(position).BackColor = &HFF&
ElseIf Label(position + 16).BackColor = &HFFFFFF Then
position = position + 16
Label(position).BackColor = &HFF&
End If
Loop

I'm using VB 6.0 Professional Edition, and I'd like to have this done ASAP... can anyone help? Thanks!

Making A 3D Model Program
First off, I'm not looking to make a 3D game..... I want to make an engineering application that can render the various inputs into a solid model. So I guess it would be more similar to Solidworks than a Quake game.

I don't need 3D interactions like Solidworks, but just the ability to make good looking 3D shapes that are built using the inputs that the user gives the program (like for a pressure vessel - shell thickness, diameter, nozzles sizes & locations). Then the user can rotate and view the model in a 3D space.

My question is, where do I start with this? I of course have no money to buy ACIS kernels or whatever the solid modeler compaines use. Are there components to handle 3D object for VB? I've read a little bit about DX in this forum and the FAQ and whatnot, but since I'm not trying to program a 3D game, I'm not sure if the same "Learn DX8" answers are appropriate for my situation.

Thanks!

Making My First Chat Program
hi! im working on my first chat program ever.. woah.. im using Visual Basic 6.0 and i have 2 forms..

Login.frm
Chat.frm

when i enter the IP to conect to in Login.frm how can i display what i entered in chat.frm? get what i mean?
ok, im in Login.frm i enter IP as 123.123.123.12

in chat.frm it displays like

Current connection : <e.g. 123.123.123.12>


and also after you press mnuFileConnect a timer starts , to time how long you have been on...

Travis

Making A Downloading Program!
Hello

I wanted ot know how to make a downloading program! (downloading music (self made) of an FTP). I know you got to use iNet. DOes someone know a tutorial for this?

--Death Warrior

Need Help Making An Email Program
Hey all. I wan't a program to check email and to send email without using Outlook, as I don't have access to it in most places <_>. I've looked all over for tutorials and such, but most of them just start with saying HELO does this, kinda stupid stuff. I don't want something that just tells me what the commands do, I want something that'll tell me what it has to do, why it needs to, and THEN what command to use. I've looked on WinsockVB and VBIP, no help. Can you all help me any? Thanks!

~kmaho

Help In Making A Phone Program
hi, i am new in using mscom in vb6 and i would appreciate some help in making a program that dials answers and hangsup a phone call. here's my code so far i want it to display evey event the modem is making.

Private Sub Command1_Click()


If Text1.Text <> "" Then

If MSComm1.PortOpen = flase Then


MSComm1.PortOpen = True ' opens modem comm

MSComm1.Output = "V1" ' word result code

MSComm1.Output = "X4"

MSComm1.Output = "Q0"

MSComm1.Output = "E1"

MSComm1.Output = "ATDT" & Text1.Text & vbCr ' dials the number

Else

MSComm1.Output = "V1" ' word result code

MSComm1.Output = "X4"

MSComm1.Output = "Q0"

MSComm1.Output = "E1"

MSComm1.Output = "ATDT" & Text1.Text & vbCr ' dials the number

End If

Else

Label1.Caption = "Please Enter The Number You Want To Dial In The Box"

End If




End Sub


Private Sub Command2_Click()


End Sub

Private Sub Command3_Click()

If MSComm1.PortOpen = True Then

MSComm1.Output = "ATH" & vbCr
MSComm1.PortOpen = False

Else

Label1.Caption = "Phone is already off hook"

End If


End Sub



Private Sub Command4_Click()

If MSComm1.PortOpen = False Then

MSComm1.PortOpen = True ' opens modem comm

MSComm1.Output = "A"

Else

MSComm1.Output = "A"

End If


End Sub

Private Sub Label1_Click()

If MSComm1.PortOpen = False Then

MSComm1.PortOpen = True ' opens modem comm
MSComm1.Output = "&N"

Else

MSComm1.Output = "&N"

End If


End Sub

Private Static Sub MSComm1_OnComm()



Dim MMsg As String


Select Case MSComm1.CommEvent

Case comEvReceive

MMsg = MSComm1.Input

Label1.Caption = MMsg

Exit Sub

Case comEvSend

MMsg = "Sending"

Label1.Caption = MMsg

Exit Sub

Case comEvCD

MMsg = "change in carrier detect line"

Label1.Caption = MMsg

Exit Sub

Case comEvRing

MMsg = "ring detected"

Label1.Caption = MMsg

Exit Sub

End Select




End Sub

Help With Making The Program Cleaner
Well i'm doing my Human Computer Interface for college.
Our last assignment is a command line interface.
So far it's going well but i'm getting abit anoyed with my code, it's abit messy
What we are doing is launching another form from a command line, then typing in things to change stuff on that form

So far i've got a shape to change colour, border and styles.

When the user enters in the a command it gets split up in to 2 parts. the first part is before a space the second is after the space


Code:
Private Sub parse(ByVal strcommandline As String, _
ByRef strcommand As String, _
ByRef strarguments As String)
Dim intSpacePostion As Integer

intSpacePostion = InStr(strcommandline, " ")
If intSpacePostion = 0 Then
strcommand = strcommandline
strarguments = ""
Else
strcommand = Left(strcommandline, intSpacePostion - 1)
strarguments = Mid(strcommandline, intSpacePostion + 1)
End If
End Sub
this i made with my colege teacher

But thats not the problem
i'm using the select case for when the user inputs something
eg if the case for the first part which is str command was to be
circle, the shape on the other form will change
dash, the border style will change on the shape
the second part is the strarguments
eg yellow, color is yellow
any hash code eg 123456 it is convert to RGB and that colour is selected

What i need to do is is trim the code down abit and make it more easier to code

on each case i have to keep setting the first form (form1) to .setfocus

Code:
Select Case UCase(strcommand)
Case "SQUARE"
Output.shpoutput.Shape = 1
Form1.SetFocus
Case "OVAL"
Output.shpoutput.Shape = 2
Form1.SetFocus
end select

Select Case UCase(strarguments)
Case "RED"
Output.shpoutput.FillColor = vbRed
Form1.SetFocus
Case "GREEN"
Output.shpoutput.FillColor = vbGreen
Form1.SetFocus
end select
is it possible to stop repeating the repeating of form1.setfocus in every case and make sure the first form is always the one in use

Making An Install Program
Hello,

I wanted to know if its possible to make a Installation program with Visual Basic. I think it is, but can anyone help me with it...
You gotta store the files into the .exe and then unpack em and such x_x plz help =)

--Death Warrior

Making The Program Wait.
I'm writing a program at work to copy pst files from individual computers to a server. In order to connect to them, it makes a batch file, runs it, copies the pst files from the resulting mapped drive, disconnects the drive, and deletes the file. I have a small i'f' statement checking to see if the drive disconnected properly, but I need a delay before the check. Does anyone know of a good way to make the program wait before moving on. I don't want to use a timer because then I have to leave the subroutine. I also would rather not use a loop, as it sucks up 100% of the cpu.

Thanks!!!

Making A Package To Use In My Program
hi.. i want to make a program wich will load a package created by me or the user and display the info pics in their places for example some one wants to make a package of all the models of PORSCHE or FORD cars so when the package is loaded in my program it'll show info about the models few pictures of each car and other info.. its kinda like all purpose app (to display info) it could be alot of homes with pictures and sizes of rooms, or different countries and cool places to visit.. users can make all kind of packages (like show app..)

now, im not realy sure how to do this i know i'll have to store all the pics strings and info in my own package file (maybe .pkg) but im not realy sure how to store pics and all that in a text file (or whatever)
and i think i'll need to make a package builder to make the .pkg files and then some how my app will load the file

its kinda like a VCR you put a casset and it'll play it something like that so basicly my app is the vcr angine and the tv...

any one can help me with this?

Thanks...

Making An Addition To My Program
I'm running a little "math" program and it
returns very good results.

I want to add another "lable" and have the
results from the first label divided by 2 and
returned to the new label.

I've tried this many times today with lots of
results......none good.

Here is my code:
Private Sub Command1_Click()
If Text1.Text = "" Then MsgBox "Please Enter A Frequency In The Range 1.8 - 30 MHZ": Exit Sub
Dim sngFeet As Single
Dim sngInches As Single

sngFeet = 468 / CSng(Text1.Text) 'Your "decimal feet"
sngInches = sngFeet - Int(sngFeet) 'Get the decimal part of that

sngInches = Format(sngInches * 12, "0.000") 'Convert it to inches and limit the number of decimals to 3
sngFeet = Int(sngFeet) 'Cutting off the decimal part of the feet

Label2.Caption = sngFeet & " Feet " & sngInches & " Inches" 'displaying result

End Sub

How do I change this to get the results in the
first label, divided by 2 into the second label??
Thanks
Ray

Making One Program Talk To Another?
Hiya...

I'm trying to make one of my visual basic programs talk to another one, but I've got no idea how.

Program 1 has two variables, say $blah and $blah2.... and I want to pull these into Program 2. When this happens, is there some kind of event that can be called (so a bunch of commands can be ran?)

Ideas suggested to me were DDE, local winsockets, COM automation. I'm not sure how I can achieve what I want with either - I'm usually a unix developer, not a windows one.

Please help! (sample code would be awesome)

L

Making Customized FTP Program
Hi
I want to make a FTP Program
which takes files or folders on your network and
and uploads these to specified ftp site and also can download it
when requires.

pls. advise me.

rgds.
Avnish

Making An Install Program.
Hi, Im fairly new to VB. Ive made a few small programs using it. But this is my biggest yet. Im trying to make an install program. A program that basicly has the files in it and installs them to a spot on the a drive of the useres choice. So far I have got all the interface pages done and the 'back' and 'next' buttons linked between them. Has this ever been done? Does anyone know of any example codes that would go with this type of program? Right now Im stuck at the part where a user can specify the spot they want the files to install into. A nudge in the right dirrection would appreciated. Mebbe someone can give me a brief walkthrough here?

Any help is much appreciated.

Thank you.

Making A Windows Program
Hi:
I want to make a Windows program, and I am fairly new to VB 6. I made a program which runs on my PC in Windows after I make the executable, but when I upload it to my FTP site and then redownload it (as well as when other people do the same), it runs as a DOS console program and disappears from the screen after a moment.

What can I do?

Thanks,

Bob Zuvich

Making A Setup Program
I'm going to try to make a setup program for my game. I think I've got a good idea on how to start. So pretty much I'm looking for suggestions on how to do it. Any help would be appreciated.
ex. how to put the required files into the setup program and extract them to a user-defined directory.

"And the day shall come when the Viper will take his throne"

Making Program More Efficient
I made a program that checks a website periodically which can run in your system tray. It also sometimes shows tray alerts. There are about 6 picture boxes whose picture properties are icons (maybe I could store them somewhere else?). I have one WebBrowser control, one Timer, and one INET control. Does anyone have some tips on how I can trim down my program to save some memory? Currently it takes up about 14 MB of ram. If you really want, I can post the source here.

Copyright © 2005-08 www.BigResource.com, All rights reserved