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




Error Running VB6 Compiled EXE Program On Other PCs. Missing OCX, DLL Files?? Help!


i tried running my compiled EXE program on a different PC and i got a error message saying it needs a comdlg32.ocx & msvbvm60.dll file to run.
Issit becos tat PC doesnt hav VB runtime files to run the program i hav compiled?

how can i make my program portable so tat they can run on any Windows-based PCs. Must i go search for comdlg32.ocx & msvbvm60.dll files & copy them to the c:windowssystem32 if they dont hav it? Pls help. thanxs




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
Compiled VB Program Won't Stop Running!?
This is probably a very basic idea in VB programming, but I haven't learned it yet. I complied a VB program I wrote and when I hit the close button, the "X" next to max/min, the prgram appears to end, but if you press ctl-alt-del and see what programs are running it says that the program is still running! If you go to the file menu and hit exit, I have a sub that just calls the end function. If you exit the program this way, it doesnt keep running. So If anyone knows what I'm talking about please help!

After Closing A Compiled EXE Program, How Come Its Still Running Inside Memory?
i jus compile an EXE file for my VB code. After i run it & play around with it, i close the program by hitting the "X" at top right corner. The problem is tat the program is still running in the memory after i close the program & i hav to go to Task Manager & then under Process tab to close tat program.

is there a way to really make the compiled EXE file really close when i hit the "X" button?

Compiled Program Now Get This Error...
Just compiled my program and created a setup exe useing Setup Factory program.

Program works fine in the IDE

Compile works fine

Createing a setupfile useing setupfactory and includeing all the programs dependanceys works fine

installing the program on the PC useing created setupfile works fine

Try running th program and get this message

Run-time error '401': Can't show non-modal form when modal form is displayed

This happeds right at the start, at the start it checks to see if the various paths for routeen in the code have been set, if not (which is the case when you first run the program, it pops up a messga box saying you need to set the paths withing the program. its at this point it get the error message.

Program Error When Compiled (weird)
Hi,

I get no error running my program in VB, but when compiled I get the error when I run it:

"Run-time error '-2147024726 (800700aa)
Automation error
Requested resource is in use."

Any idea what could cause this error? The error happens because of the WebBrowser1.Navigate. If you put the WebBrowser1.Navigate... in the If/Then, it doesn't give the error but the program doesn't work. Here's the code:


Code:

Private Sub WebBrowser1_DownloadComplete()

H = Val(Text2.Text)

If WebBrowser1.LocationURL = "http://www.url.com" & X Then
X = X + 1
End If

If X = H Then
Exit Sub
End If

WebBrowser1.Navigate "http://www.url.com" & X

End Sub
Thanks!

Run Time Error '339' After VB Program Has Been Compiled To .exe
Hi,
I made a VB program and compiled it to the shared user drive.
Some users use it ok.


But some users experienced the following error:


"Run-time error `339`;


Component `MSCOMCT2.OCX or one of its dependencies not correctly
registered.

Does anyone know what to do?

Your help is appreciated!

Runtime Error 91 Only With Compiled Program.
Okay, I am tearing my hair out over this.

Enviroment is VB6.

The program I am working on only exhibits this error when it is compiled just making it even harder to figure it out.
Runtime Error '91':
Object variable or With block variable not set

Both sets of code/EXEs of the program do this. The main TME(Tiny Music Embedded) and the config program.

This pertains to reading settings from INI files.

In config.ini (Read by TMEConfig)
-------------
[settings]
iniloc=
-------------
The iniloc setting points to settings.ini where ever that may be.
When packing the program for a new installation, this is changed to nothing so that it will prompt for the location on the computer or network. However, when it is set to blank, the compiled program generates the error and terminates. Only the compiled does, the code in the run time enviroment behaves perfectly.
The main TME program exhibits the same behaviour when attempting to read the settings from its INI file.
-------------
[settings]
playlist=
winamp=
(Etc...)
-------------

I've done all kinds of tinkering and still I have no idea what is going wrong! It drives me insane and telling the people who use the program to edit the config.ini file to manually set the settings.ini location defeats the purpose of locating it.

The lastest source snapshot can be downloaded here:
http://www.experimentalinsanity.com/prog/TMESource6-1-04.zip

My appreciation in advance... about ready to start bashing my head.

PROGRAM When Played RUNS PERFECT...but When Compiled I Get A 55-error File Already Open?
My program works perfectly when ran before compiling.... but when it's compiled and I try to close the program I have some code in the form terminte that deals with two files, that are delt with in the form load.... in the load section they are closed... in the terminate section the are closed as well...

and ideas?

Justin

Running Batch Files From Vb Program
I want to pass few parameters and run batch files from my vb front end. How can this be done? Any examples will be of good help.

ActiveX Vdb Files When Running Program
Ok I have recently converted my Standard EXE to an ActiveX application.  I am actually learning this as I go so I am having some dificulties.  (I need to pick up a good book).

Anyway.  I have started going through the code and changing any non-ActiveX code to ActiveX.  I have started with my "Next" and "Back" buttons.  Seems to be the easiest.  Here is my issue.  In Visual Basic if I click "start" to run the program it puts all the vdb files in:
 C:Program FilesMicrosoft Visual StudioVB98

However if I make .exe it puts them in the same folder as the exe that is created.  I am trying to click "next" and make it go to the next ActiveX Doc.  Well I am using the Hyperlink.NavigateTo command to point to the correct spot.  However, when testing the .vdb are going to be in a different place then the final version.  I do not want to use exact paths to the vdb files.  I would like to keep everything relative paths.  I have tried app.path but it does not point to the right spot.

Any ideas on how I can reference to these files?

Thanks!

-Matt

Compiled Vs Running
Is there a way for a VB App to know if it's being run from the IDE in debug or if it's the fully compiled app running on it's own?

It would be cool if there was I'm using to different connection strings for my database connection. One for in development mode and one for the distributed app.

Be neat if I could just do an If not compiled then use string1 else use string 2 thing.

Running Compiled Exe Problems..
I get no errors when I compile my project but when i try to open the exe i get an error before it ever opens (referers to the msvbvm60.dll) anyone know what could possibly cause this?

Running A Compiled VB App From Within MS Access
Having a problem launching my app from within MS Access...

I have a VB App that runs great (stand-alone).

I want to run it from within a MS Acess program when the user clicks a button on a form.

I tried using the Shell command for the event procedure

Shell ("c: empmyfile.exe")

to run the executable but it does not run the same way as if it were just ran by double clicking the application.

The StartUpPosition for all forms in my VB app are set to 'Center Screen'

HOWEVER, when I run the app from MS Access, the app starts minimized on the taskbar and when you restore the window, it is at postion (0,0) in the upper left corner of the screen. NOT CENTER SCREEN!

Can someone help me please?????

Running Some Code Only When Compiled
I recall there acctually being a way to run some code only when the project is compiled, is this possible?

What I have is a module which runs some code in a thread, this modules is added to existing project and is called by that project when started.

what I want to beable to do, is have it so the code will not run in design/runtime since it uses multithreading and can cause problems with debugging.

Problem With Running Compiled Exe
Hi all,

I've a problem in running my applicaiton on Win 98. It runs well on win 95 though.

My application refers to the .OCX of a device and the OCX is given my the vendor of the device. I've to take some steps before using the methods of the OCX.


1. I've to initialize the OCX like
ctrlName.Init
The status of the control can be checked using the status method which returns true or fals

so i write

2. if ctrlName.status then

3. ctrlName.Take()

If the ctrlName.Staus is false then i will display amessage box saying that the control is not initialized.

The code is running perfectly when run on a 95 system.

But in 98 the control slips to the 2 step immediately after encountering the 1 st step. ( Iknow this because it takes some time probly 3-4 secs to initialise) And the messagebox saying control not initialized displays.

At last I've used a timer control which runs for 6 secs. and put statement 1 in that control. Now it seems to be working fine.

But I would like to know what was the actual problem when running on 98 is.

Kindly help.

Error In Running Packaged Program
I developed a program using VB6 and access as the database. I used ADO connection. I have packaged it and installed it on the server on which it runs properly but when I run the shortcut exe file on other system (Client) and try to open the forms that display the data from the database, it tells me Run-time error ' 713', Class Registered looking for object with CLSID:{59245250-7A2F-11DO-9482-00A0C9111OED}.
I used google to search for the solution and it told me it had to do with MSBIND.dll which i added but the problem still persist.
There is one funny thing though, if i should install it on the clients and uninstall it, it runs properly. Seems the Dll files and probably OCX files needs to reside on the client system but I cant run this on all the systems as I am not permitted to do so. Please what can I do.

Stupid Error When Running Program
I get an error why I try to Test-Run my program:
Compile Error: Block If without End If


Code:
If chkCom.Value = True Then

Favorites.List1.AddItem Text1.Text

Error When Running Program Directly From CD
I've done a program, pretty simple that show information from a access databas, that I want to run directly from a cd-r. When I compiled it and burned it to a cd and tried to start it I got a run time error 76: Path not found. The database file is in an subfolder to the program. I've jused app.path in the code.
Any ideas how to get it running?
If I copy the program and subfolders to the harddrive from the cd it's working splendidly.
Thanks
/Patrik

Run-Time Error 7 When Running VB Program In XP
Hi all,

I am trying to run a program which I have written on a computer running windows XP. Before the upgrade to XP, the program was running perfectly with windows 98.

When you start the program, the splash screen comes up fine, but then when you press "ok" to load frmMain, it gives an error: Error 7 Out of Memory.

I took this error code to heart, and went and bought another 64MB RAM for this computer (it was only running with 64MB RAM initially), and I upped the page memory from 92MB to 250MB. I have watched the page memory monitor when the program runs, and it does not use up even half of the page memory.

Despite all this (128MB RAM and 250MB page mem), the program still gives this error when it trys to load frmMain.

I have spoken to somebody who suggested that VB error codes do not always mean what they say, and the error could have nothing to do with memory, which sort-of makes sense after it still throws the same error after the extra RAM has been loaded.

Could somebody please give me some idea on how to tackle this problem - I have a very irate user who is taking it very personally that this program doesn't run on his machine.

Many thanks in advance!

Trouble Opening Excel Files After Running A Vb Program From An Access Database
I have created an Access 2002 database that contains a vb program which creates a number of Excel spreadsheets (amongst other actions). I have found that when the program finishes running I have problems when I open any .xls file (not just the ones created by the program) by navigating through the folders on the drive and double-clicking the file name. This is what happens: a new Excel window appears on my monitor, the top part of the new window (Title bar, Menu bar, Tool bar and Formula Bar) appears OK but in the worksheet area instead of seeing row headings, column headings and cells I see part of whatever window I had open previously. If I use the taskbar to switch to another window, I see part of this other window in the worksheet area when I switch back to the Excel window.

If I open any .xls file by starting Excel and going to File->Open (or click the Open icon on the toolbar) it opens normally.

If I start Excel and then open any .xls file by navigating through the folders on the drive and double-clicking the file name it opens normally.

If I close the Access database after the program has finished and then open any .xls file by navigating through the folders on the drive and double-clicking the file name it opens normally.

So in summary: After running a vb program from an Access database, .xls files appear abnormal if I open them by double-clicking the filename, unless I either close the database or start Excel.

Does anybody know of any likely coding mistakes that would cause such a problem? Let me know if I should post my code, although I don't want to ask people to go hunting through it line by line trying to find problems for me, I'd rather be informed of any likely causes of the problem first so I can try to fix it myself.

Thanks

VB Running Compiled/project Mode
hi

I want to know if the program is running "compiled" or in "project running mode"
Im using hooks and if Im doing this inside the project something it freezes.
So what I need to know if the program is in compiled or project form.

if this dont make any sense here is what I need to know:

example:
(compiled executable) example.exe
I start the program and it will activate the hooks

(project mode)
I run the project "inside" the editor and it will NOT activate the hooks

is there any functions that returns this information?

Debug Mode In IDE Vs. Running As A Compiled Exe
Any way to tell the difference within the code?

IE--I have a backdoor in to prevent logging in when I'm debugging something that's pretty hard to duplicate by accident,

(CTRL, SHIFT, ALT, A + LEFT MOUSE CLICK ON a 20 pixel wide area that's no different visually then the rest of the login screen---)


but i'd like to be able to turn it off in code if possible.

Thanks,
Calpha

Compiled EXE Differs From Running Code
Forum members,

I have an interesting dilemma.  I am attempting to create an ActiveX .EXE which will monitor some stuff.  During development, the project was run to simulate the .EXE being available.  This worked fine.  The code synched up properly and everything worked like it was supposed to.  Now, I am getting to the deployment stage where I need to build an .EXE out of the code.  The problem I am having is that the .EXE has different behavior than the code did!!  I am getting errors with the .EXE that don't occur when I run the code!  Does anyone know why a compiled ActiveX .EXE would act differently than running the code from within VB6?  Any ideas would be great.  Thanks.

(as a side note, yes I am pointing in the correct location.  I have changed calling application pointers to point at the compiled .exe instead of the project.  And yes, I have cleaned the registry so as to eliminate any old versions that may be hanging around)

Thanks again,

-crater


Error Message Running Program After Installation
I have run into an odd error message that I am not able to grasp, due to the flavor of the message. The error message occurs while trying to run the installed program on a non-development machine, and reads:

"Windows 2000 Setup - Please go to the Control Panel to install and configure system components."

I have viewed, reviewed, checked and double-checked that all necessary components are installing via the Windows Installer, and all components appear to be the correct version. Anyone run into this before, and if so, what resolution was determined?

Hoping desperately this isn't some wierd "out-of-place" line of code,

-Chris

Unexpected Error When Running My VB Program On Win98
Hi,

Created a program with VB6 Pro on XP Pro system and program installs fine on XP Home & Pro and Win 2000 systems but I get an "unexpected error" on Win 98 when they try to run the exe file.

Using latest version of InnoSetup to create setup..

Here are files being installed
[Files]
msvbvm60.dll
oleaut32.dll
olepro32.dll
asycfilt.dll
stdole2.tlb
comcat.dll
comdlg32.ocx

he ran an exe file I did that only difference is that it does not use comdlg32.ocx and it worked with no errors.

Any help please.....

Thanks John

Problem Running Compiled Application. RESOLVED.
Hello all,
I created a small application, which I'll attach, that converts colors from HEX or RGB or Long values. When I compile it and try to run the application and click on the "Capture" button, the application shuts down.

Any help or advice is greatly appreciated.

Thanx,
ziggy2004

Ado Connection Error When Running Program In Design Or Run Time
I am using vb6 with ado 2.1.In one of my developer machine my program is not running due to following errorin same line -

Activex Component cannot create object.

OR

Specified driver could not be loaded.System error 31 (Microsoft access driver {*.mdb))

Above error occured where i tried to open ado connection using open method.ADO dll properly referencd in project and i can select properties and method from list in code window.

I tried to uninstall and install vb.But problem is still there.

When vb setup registering dll/ocx certain files have problem to register to computer.Like msador.dll, msado21.dll, oledb32.dll etc.

I am in fix what to do now.Recently i have installed office xp in my machine and later uninstall it.May be errors are occured due to this.

Data Report Error When Running MS Sample Program
I was trying to create reports using the Data Environment and DataReport by binding to an ADO Recordset at runtime. I kept getting the error that a field was not found.

So I searched on the MS Site and found an article (0190411-HOWTO: Bind a DAataReport To an ADO Recordset at Run Time) doing exactly what I needed, but when I tried to create it, I got the same error. Now I am assuming it is a software problem, and something is corrupted. Any ideas on what to do, I've searched and search the MS site, but no solution.

Thanks in advance
Catrina

Microsoft Visual C++, Assertion Failed Error While Running VB Program
Hi people

I don't do anything with Microsoft Visual C++ and have got a program written in VB6. If a user tries to run it and access an Informix database, he gets this error when the form loads:
____________________________________________

Microsoft Visual C++ Runtime Library

Assertion Failed!

Program: \scorpioMyExe.exe
File: .savedrow.cpp
Line: 391

Expression: rowid

For information on how your program can cause an assertion failure, see the Visual C++ documentation on asserts (Press Retry to debug the application - JIT must be enabled)

(then three buttons)
[Abort] [Retry] [Ignore]
________________________

\scorpioMyExe.exe is the path an name of my application. And then an error generated from my program comes up when the user presses Retry (but that would probably be caused by this first error).

My error that I generate occurs in this procedure which binds data to a DataCombo control, so I assume the first error occurs somewhere before it. No problems accessing SQL Server though.

Code:Private Sub BindDataCombo(ByRef cbo As DataCombo, ByVal strDataField As String, _
   ByVal strBoundColumn As String, ByVal strListField As String, ByVal rsRowSource As ADODB.Recordset, _
   ByVal rsDataSource As ADODB.Recordset)
                
On Error GoTo Error_Handler
                
With cbo
   .DataField = strDataField
   .BoundColumn = strBoundColumn
   .ListField = strListField
   Set .RowSource = rsRowSource
   Set .DataSource = Nothing
   Set .DataSource = rsDataSource 'the second error occurs on this line
End With
                
Exit Sub
                
Error_Handler:
                
UnexpectedError "fServReq.BindDataCombo"
                
End Sub


Does anyone have a clue on what I can do?

Cheers heaps.

Compiled Program Won't Run
Hello, I have a probem with VB. When I run my projects from inside VB, they work fine, but when I compile them and launch the executable, the program does not open at all and I just hear the windows beep. I think that it used to work, but now it wont. I tried reinstalling VB, but the programs still don't work. I made a simple project, with a window and a button that pops up with a messagebox when you click it. It is the simplest thing and the exe will not work! Could it be a software conflict with something else I have installed? Please help.

Thanks

IDE V Compiled Program Run...
I have an error in my program. I don't know what causes it, nor do I know how to solve it. It occurs when I run my program in the IDE, however it does not occur when my program is compiled.

My question: Since I haven't had this happen in a compiled version of a program, can I simply leave it alone? Is it really an error if it occurs only in the IDE?

Has anyone else ran into such an error?

Compiled Program Won't Run
Hi everyone. I have writen an app that runs perfectly from the development environment, even if I select "Run with full compile". When I make the EXE, however, and run that, it doesn't even open - crashes with a Windows "FSEicas has perfomed an illegal operation, and will be closed" error box. The error details are:-


Code:
FSEICAS caused an invalid page fault in
module MSVBVM50.DLL at 017f:741bd10f.
Registers:
EAX=38cc036a CS=017f EIP=741bd10f EFLGS=00010206
EBX=740ddc7f SS=0187 ESP=0071f0e0 EBP=0071f50c
ECX=00713e7c DS=0187 ESI=0071f4d8 FS=43d7
EDX=0000005b ES=0187 EDI=740de2f2 GS=0000
Bytes at CS:EIP:
83 78 08 00 0f 85 02 64 00 00 8b 46 08 66 81 60
Stack dump:
741bd0d2 004defa4 004defb8 0071f518 0071f5f4 00d5b8f4 45c4e000 0000189c 00000187 0071f118 00000000 00000000 c4039588 c3beb3df c221f31e c1eab5fe

Can anyone help me out ?

Richard

Tell If Program Is Compiled Or Not?
Hi,
How can I tell if my program is running as uncompiled (i.e still in VB) or is running as a compiled executable?

My program saves it's current path in a setting in the registry every time it starts, but I have an old version of my program running while still using the current version so this registry setting ends up pointing to the the wrong file and I then forget about it and all sorts of terrible things end up happening.

Any ideas anyone?

Temp File Missing On Running .exe
I create my .exe file from my VB - project using package and deploy function in VB.

When I try to install this exe, I get an error:

file not found:
..My Documents empmsftqws.pwd$(DLLSelfRegisterEx)

?? What is this file, why is it in my project, how do I get rid of it?

There are no .pwd files on my C drive. What is this file type?

Many thanks,

Debbie

My Compiled Program Slow Upon First Run?
Hi There,

I have just completed my program and when I first run it after a reboot of the PC, it is very sluggish. My opening Intro screen contains an "Animation" in the form of 30 moving pictures to create the effect, and it runs in slow motion the first time I run the program. The funny thing is that when I close the application and restart it the animation is smooth and how it should be. Is there some file that is loaded when you first run the application and then stays there for as long as the PC is running. Do you have any suggestions as to how I can make the animation smooth from the first run. I would certainly appreciate and help

Thanks in advance

Compiled Program Start Up
I've made a nice program I really use a lot on my computer. I compiled it too an exe file so that I can access it fast. But when i click the shortcut on my desktop it can take 20-30 seconds before the program is visible on my screen.
I've allready tried to defragmentise my system, but that didnt solve the problem. My own written program doesnt contain weird stuff, so I dont know why the loading takes that long. Is there a way to compile the executable exe file in a way so that it loads faster ? (Ive got a pentium III, 667 mhz)

Regards,
Sjaak

Program Crushes If Compiled To .exe
My program that uses:


Code:
Private Declare Function CreateThread Lib "kernel32" (ByVal lpThreadAttributes As Any, _
ByVal dwStackSize As Long, ByVal lpStartAddress As Long, lpParameter As Any, ByVal dwCreationFlags As Long, _
lpThreadId As Long) As Long
Private Declare Function ResumeThread Lib "kernel32" (ByVal hThread As Long) As Long
Private Declare Function SetThreadPriority Lib "kernel32" (ByVal hThread As Long, ByVal nPriority As Long) As Long
Private Declare Function GetThreadPriority Lib "kernel32" (ByVal hThread As Long) As Long
Private Declare Function SuspendThread Lib "kernel32" (ByVal hThread As Long) As Long
Private Declare Function TerminateThread Lib "kernel32" (ByVal hThread As Long, ByVal dwExitCode As Long) As Long
in the .BAS module and code in the form:


Code:
Dim myFirstThread As clsThreads
Set myFirstThread = New clsThreads
With myFirstThread
.Initialize AddressOf RunGen1
.Enabled = True
End With
works fine if launched from within VB6. Once compiled to an .exe crushed immediately if I start the myFirstThread. Does anybody know why is this happening?

Program Crashes After Compiled
Why does my prog have a fatal error after it is compiled into *.exe

Compiled Program Too Big In Windows NT!!!
I ran into a problem compiling an application in VB6. It runs fine in the IDE but after compiling and getting the .exe file it doesn't work. I get what looks like a Command window with a message "Program to big to fit in memory." This blows by in a fraction of a second and nothing else happens.

I tried to reproduce this problem on a laptop. I compiled the application using the same files (I use sneaker net to move files from one machine to another) to make a .exe. It ran fine on the laptop! It also runs fine on my desktop. That gave me the chance to see how much memory it was taking up. Task Manager indicated about 13000k (~13MB) - not very big I thought. So I don't understand what could go wrong with a compile that would give the error.

Both machines have 128MB of RAM and plenty of disk space and are running Windows NT 4.0.

I can't be forever going to the laptop to compile it! Any suggestions?

Deploying Compiled Program To Other Pc
How come my program shows bugs when I installed it in other OS, eventhough I made the installer? how can I prevent this to happen?

Program Not Loading When Compiled
Is there any reason for a program running perfectly in VB IDE, but don't showing up anything, not even loading, when compiled?

the only dependency this program has is the common controls 6.0..

--
{-felipin-sioux-}
There are only 10 types of people in the world: Those who understand binary, and those who don't.

Changing A Compiled Program
I do all my Vb under (Standard EXE). Mainly because it is easier for me. I Finally learned how to Convert the Program to a desktop Icon starting program using the file menu Item (Make ??? ExE). Now I want to make changes in that code and once again save as a Make ??? Exe.
The question is How do I do that?
Deleteing the original by draging it to the garbage seems to have prevented me from ever compiling it again because the Make ??? does not show up on the file menu.
Thanks RSH

Compiled Program Doesn't Open
Hi there !
I'm really not a good programmer, but i've written a program, compiled it and everything works fine.
So the problem is.. why doesn't it open on other computers ?

Has anyone experienced it ?

The program is very simple
I use a rich text box and a list box
maybe it's that

my code is very simple, shouldn't be that..

Difference Between Uncompiled And Compiled Program
This one is hard!

What could be the reason, that a program runs normaly in debug mode, but when compiled, it constantly reports an error in one Sub procedure. I really can't find the reason of this error. The procedure uses no APIs, no user Classes or Structs, etc.

Have any of you had any such experiance?

E.

Compiled Program Behaving Differently
I've run into a strange problem with a chess program I've written (VB6). It doesn't have any AI and only plays out moves read from a file (and also does some analysis). Anyway, I came across a game that plays out on the graphical board perfectly within the development environment but causes errors when try it with the EXE (compiled) version of my program. Have any of you run into a problem like this before? How and why would the compiled version behave differently? Aren't they supposed to be exactly the same? I don't even know where to start looking for the problem in a case like this.

Sending Parameters To Compiled Program
I wasn't exactly sure what to search for to find the answer to this, so i figured i'd just ask:

Is there any way for a compiled visual basic program to accept some parameters as input, such as:
c:program filesvbprogram.exe "randomstring", "secondstring"
If I did that, how would i account for it inside of the program?
Thanks, Adam

Cannot Exit Compiled Version Of My Program
Hi - I'm very new to vb and I hope I can state my question with some type of clarity.
I created a very small program using 6.0 professional and it has some music playing in it. I only have 2 forms and I wanted to see what would happen if I tried to make it a .exe file and run the package and deployment....to package it. I wanted to do that now because I did not want to write a whole program only to find out I could not package it later on. So - it's a "test". The program now appears in my start....programs...and when I click it, it does open to show the main form (form1) and I do hear the music playing. However, when I click a command button to show form2 and hides form1 - form2 does appear and when I click a command button to bring me back to form1 that does work also. But - if I stay on form2 and I click the upper right hand corner of the form (Close) - the whole program closes and I have nothing but my desktop showing and the music is still playing - and I have no way to turn the program off unless I
click "Ctrl,alt,delete" and then close the program from there. Can anyone please tell me what code I may be missing - what am I doing wrong?
would very much appreciate it - thanks!
Jim

Program Written In VB 6.0 Compiled For UNIX
This is my first post on this forum. I hope you don't laugh too hard.

Anyway, I have a program written in VB 6.0 and compiled to run on Windows XP. It runs fine. Now my boss wants the source recompiled to run on UNIX. I know nothing about UNIX. I've done what I thought was a thorough internet search but can't find anything related to this. Is that even possible? If so, how do I go about it?

ty

[VB6] Problem Starting Compiled Program With OCX
Hello all!

I've got a problem starting a compiled program (little Tetris-game). It does not start at all when the program is compiled!
When I run the program within VB6 itself, the program runs smoothly. No problems at all.
I've placed the OCX-file in the Windows an System32 directory, so it should be correct. I also registered the file using regsvr32.

It won't work on other systems also. Even when I make a setup with Setup Factory from Endigo Rose.

What to do?

VB Compiled Program Made Into Screensaver
'lota viruses work that way..

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