Making A Windows Program
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?
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Making My Program Start With Windows
can someone give me the exact code how to get my program to start along with windows by using the Registary, (please dont post telling me that I can put it in the c:windowsstartup folder)
Help Making A Program That Captures Windows/programs Into Itself!
Long time, no see... hehe
I've gotten rusty in coding and need some help making the following...
A program that can open any program (this part is easy)
and then capture the opened window into a Picturebox (harder)
and then capture the name/icon of the opened program into a second Picturebox,
so that when you click the icon/image, you bring the captured window/program to the front inside the first picturebox...
I have two pictures that explains all this a little better...
What My Program Looks Like Now
How That Program Should Work !!
Code to my current program can be found here:
CapturePrograms.ZIP with the code!
So... is there anyone out there, with the knowlegde of how to go about this?
I know we have to do some .hwnd code, preferrably catching the PID and not the WINDOW title, as that differs from system to system, and from language to language...
And yes, this program will act as a Explorer Shell Replacement...
This may ofcourse not be the END-DESIGN of it... but it will have to do for now until the code is working better...
This is to be ussed in locked down kiosk machines...
And the drop-down list, will be replaced by bigger icons at the very "desktop" (this programs main surface... hehe)
More of that later, when working code has been archieved...
Making A Program With Functions Like Windows Task Manager
Hi, I am trying to make a program that basically has some of the same functions as Windows Task Manager as my examproject.
I'm pretty new to this programming business, so I hope for some help on how to do.
My program has following condotions:It shall have an alarmfunction, that plays an alarm on a specific time.It shall have a funtion that allows the program to run other programs, or documents, like running an .exe or opening a .txt document, at a specific time.
Making A Program Work In SMALL AND LARGE Font Size Windows Settings
I found why my program's command buttons, picture boxes, forms themselves, lables, etc. width and height are larger than they should be and not positioned where they should be when I install my program on some computers (5 out of the 10 computers I installed my program on have this problem). It's because my program was designed on my computer with my WINDOWS FONT SIZE SETTING AT: SMALL FONTS. So now my program only looks right on computers with the same setting.
If a computer is set at LARGE FONTS, then my command buttons and everything else's widths and heights are too big and they are all in different positions on my form than they should be. My program is USELESS when someone has their computer settings for WINDOWS FONT SIZE set at: LARGE FONTS.
I want to make my program work on both settings, not just one or the other.
Does anyone know what I would have to do to get my program to work on a computer that is set at SMALL FONTS or LARGE FONTS rather than JUST SMALL FONTS like it does now?
Thanks for your help,
Take Already Existing Windows And Making Them Child Windows.
Basically what i want to do is take the AIM, Yahoo, MSN Messenger and make them child windows in 1 big window, I am gettin annoyed at the whole running 3 different windows at the same time, it would be nice to condence them.
Anyone know a simple way to do this. I figure VB would be the easiet option, I know how to get the handle.
I dont want to use Trillian, I dont like the interface too graphicy. and each program has its advantages which trillian will never be able to adapt too.. plus AOL is tryin to prevent trillians users..
Making Program With Another Program Activex ??
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 Windows Explorer Pop Up On Top
I am calling windows explorer and that works well. However it becomes active as an item on my task bar. How can I call it and put it on top of my application?
Making Windows Transparent...
I'm currently using the following code to make windows transparent (am fading screens in/out in my application) but am finding this to be particularly slow.
Does anyone know of a faster way of doing this?
Thanks in advance!
Sub SetTranslucent(ThehWnd As Long, nTrans As Integer) On Error GoTo ErrorRtn 'SetWindowLong and SetLayeredWindowAttributes are API functions, see MSDN for details Dim attrib As Long attrib = GetWindowLong(ThehWnd, GWL_EXSTYLE) SetWindowLong ThehWnd, GWL_EXSTYLE, attrib Or WS_EX_LAYERED SetLayeredWindowAttributes ThehWnd, RGB(255, 255, 0), nTrans, LWA_ALPHA Exit SubErrorRtn: MsgBox Err.Description & " Source : " & Err.Source End Sub
Making Windows Shake.
I was messing wit the GetActiveWindow api...and it is prtty cool what it does..but i was curios as to know if it is possible to actually make the whole window shake??
Cause i know code that can make the form in visual basic shake...
I am thinking it is possible....anyone have a say on this?
When Making A Windows Shell...
Can you press ctrl+alt+del and bring up 'that box' when running a personalised windows shell??
If so, can you disable it by using api's????
Making A New Windows Command
Is it possible to create a new windows command (if that is what it is called).
Basicly when i am looking at the files in lets for example say "my pictures" there is a bunch of commands at the side of the page...
Or when you right click a file there is even more commands
How would i be able to put my own menu item there that would execute some code?
Get A Handle To A Windows File Editor When Starting Program From Within Another Program
I am trying to make a program that starts another program, and using sendkeyes to control what the new program is going to do and then close it. Basically the new program is going to open a db and store some data in a notepad file from the db.
I know how to start another program from within a program using shell, but
1) I do not want the new program to fill the screen like it does now. I know hat you can start the program and minimize it so the program icon shows at the bottom of the screen on the same line as the start button. But I would prefer the new program to not show. Can anyone help me with this ?
2) At one point in the process when using sendkeyes, the new program automatically opens/fetches a Windows list (where you can specify the name of the file and where it is going to be stored on your computer).
I need to find a way to get a grip on that windows list from my own program, so I can send a standard file name to it.
How can I do that?
Edited by - kolibri1 on 9/25/2003 1:33:40 PM
Making Windows Taskbar Disappear Meanwhile....
I have an image display form, which is basically a form that's the same size of the image control. whenever I resize the image at runtime, the form resizes accordingly. When I resize the image to fit the screen, for example, same height as the screen.height if image is "vertically" oriented, I want to be able view the image without the Windows Taskbar in the way. Can anyone tell me how to hide the Taskbar temporarily? Thanks
Making Form Stay Under All Other Windows.
How do I have a form stay on the bottom of all other windows (other programs and other forms in my program), like, not cover other windows when it gains focus?
Making Custom Windows For 98se
Hello. I would like to customize my windows for 98. Could someone point me in the right direction? What I want to do is make the window bar on the windows different. I know it can be done, but I really don't know where to start. Any help or pointers will be appreciated..
Making Windows Shutdown Pause
ok here is the low down. IT keeps pushing out patches to our reporting machine which causes it to reboot (usually on the weekend) so monday morning we have to run all our reports from the past 3 days.. of course they swear that it is not them...but the PC never reboots unless they push a patch to it... (or possibly we have a rouge computer rebooter running rampant in the office, but i doubt it)
so anyways... there is NO way around this because our company is so big it is all defined by company standards blah blah blah
so here is my question... the query unload method of a VB form as vbAppWindows as a value.. for when your app is closing because windows is closing... i want to have an app.. so that if windows shuts down... my app with text message me to let me know..
is there a way to delay windows from shutting down until something is completed.. because if when my app goes to shut down it tries to text message.. i dont know if it will do it fast enough before windows finishes logging off...
Making Windows Stay In Focus
I have a Midiform with a number of child forms. I want to make sure that the user can't change the focus while certain child forms are loaded. How can I ensure that a form keeps the focus until it is unloaded.
Making A Form Like The Windows Taskbar
I want to make a form that looks and behaves like the Windows Task bar or the MS Office Toolbar. I don't know how to make it so other applications will not use that screen space like the Taskbar does.
Making The UpDown Control Use The Windows XP Sytles
In my program, im using several UpDown Controls (Included in the common controls). Now, when i put them on my form, and apply the Windows XP Styles to the controls, all the forms get the style, but these controls do not!
How can i make an UpDown like these in the pictures? Do i need to change the control or something?
thanks a lots!
Look at the attachment, there is the picture of my application, which has UpDown controls not using the XP sytles, and of other applications using the UpDown controls with the XP styles.
Windows Media Player /Making A Audio App
Ok, I've tried to use MediaPlayer as the basis of my Audio App, but trying to understand its Events/Methods are impossible. Heres what I need.
How to make MediaPlayer Loop/Repeat
How to make MediaPlayer go to next item in a PlayList(ListBox)
MediaPlayer can play Video, correct?
How to I find out how much of a Song has been played?
Does anyone have any code so that I can turn like, a Progress Bar or something into its Slider.
(I know it would probably be easier to just use MediaPlayers Controls but....... wheres the fun in that)
Making A Prog Start Up When Windows Starts Using A Reg Key?
hi all how do i make my proggi start when windows starts i no there is a registry api's that can do it but i dont no wot it is (wot i need is when the program executes it will right the reg key in so that it runs on start up)
Edited by - markblue777 on 4/6/2004 4:13:50 PM
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
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...
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.
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...
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.
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"
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.
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,
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)
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
Making A Program Run On Another Pc
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.
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.