zack8686
Posts a bit
gl-Home in wikispace
Posts: 207
|
Post by zack8686 on Feb 27, 2009 8:30:45 GMT -5
Can anyone please answer my question ? - is there "scankeydown(vk_..)" for "ENTER" button - how to check/scan for total byte(or size) of a certain file - how to auto run a programme/.exe once switching on computer << Thanks to everyone that help me up!! >>
|
|
|
Post by matthew on Feb 27, 2009 10:36:09 GMT -5
I believe the ENTER button can be accessed by using ScanKeyDown(VK_RETURN) but I haven't tried it. Basic4GL has got a ReadByte command, so maybe you can use that for calculating the amount of information in a binary file but once again I'm not 100% sure. In Windows it's pretty simple to add a program to your startup, just look at these links.
|
|
zack8686
Posts a bit
gl-Home in wikispace
Posts: 207
|
Post by zack8686 on Feb 28, 2009 8:48:12 GMT -5
Thanks matthew .
What is the format for "shortcut" file ?
|
|
|
Post by matthew on Feb 28, 2009 11:34:04 GMT -5
You'll find more info on the shortcut format at this Wikipedia page.
|
|
zack8686
Posts a bit
gl-Home in wikispace
Posts: 207
|
Post by zack8686 on Mar 2, 2009 9:20:07 GMT -5
Do you know how to make text size in basic4gl as small as the text size in this forum ?
|
|
|
Post by matthew on Mar 2, 2009 9:55:45 GMT -5
You could try resizing the text... resizetext(80, 30) print "Hello, World!"
Or try using the TTF2B4GL program, which you can get from the bottom of the Basic4GL homepage download section. It'll take a True-Type font & convert to a Basic4GL Bitmap font.
|
|
zack8686
Posts a bit
gl-Home in wikispace
Posts: 207
|
Post by zack8686 on Mar 4, 2009 22:26:56 GMT -5
But , in smaller-sized window , the text appears to be blur .
Question : -Is there any plugin or coding for sound capture port/mic ? -Do anyone know CodeBlock's forum/official homepage address ?
|
|
|
Post by Darkjester on Mar 4, 2009 22:55:39 GMT -5
|
|
zack8686
Posts a bit
gl-Home in wikispace
Posts: 207
|
Post by zack8686 on Mar 5, 2009 0:09:24 GMT -5
Thanks Darkjester .
Question : -Is CodeBlock a compiler and text editor united tool ? If so , how to execute a .cpp ?
|
|
|
Post by matthew on Mar 5, 2009 2:27:06 GMT -5
Yes, Code::Blocks is an IDE.
|
|
zack8686
Posts a bit
gl-Home in wikispace
Posts: 207
|
Post by zack8686 on Mar 10, 2009 21:57:33 GMT -5
Is there any tool to make texture for 3D model ??
|
|
|
Post by matthew on Mar 10, 2009 22:02:39 GMT -5
Most people just use a painting application such as Paint.NET or The Gimp to create their textures.
|
|
zack8686
Posts a bit
gl-Home in wikispace
Posts: 207
|
Post by zack8686 on Mar 12, 2009 2:08:58 GMT -5
Matthew , can you please make a plugin to load video ? Is it doable ?
Question: -how to make a shortcut(.lnk) on desktop using Basic4gl codings ? -how to open web browser(e.g. :Internet Explorer) using Basic4gl codings ? Or with the assistance of plugin . If the latter one, can you post a simple example to make this plugin using C::B ?
|
|
|
Post by matthew on Mar 12, 2009 3:49:45 GMT -5
I'm sure making a plugin for video is doable but it's beyond me at the moment. Creating a program for making shortcuts could be done but I currently haven't looked at how it could be accomplished. If you look here you'll see that davy already created a plugin for opening websites but as usual it can't be downloaded because his Wikispace no-longer exists. So I've created a simple .dll in Code::Blocks that does the same thing, the .dll can be downloaded here & the Code::Blocks project here. Usage of the .dll is quite simple.
|
|
zack8686
Posts a bit
gl-Home in wikispace
Posts: 207
|
Post by zack8686 on Mar 13, 2009 4:34:11 GMT -5
Is this code - RunFile("Notepad.exe") - open notepad.exe ? If so , is there any other plugin that can open other non-Basic4gl executibles ? And , is there any code of making this plugin ?
Are both "registry..." also included into .cpp file ?
Do you know .reg file that do stuff at the desktop ? If yes , can you post some examples ?
Question: -How to check the strength of Internet's line ? -If I got a simple Messenger , How can I leave a message to a friend while he/she is offline ? Do I need to make a "Register Machine ??" that open an account for every registrar , that can save file while owner is not around ? -If I've made a plugin , can I immediately test it in C::B , or tested after being checked in Basic4gl plugins libraries ? -(from previous) Is there a unified way to make a texture for 3D model ? E.g. : the hands texture of a monster is placed at upper-right corner of pic file (e.g. : .pcx) -How to convert an .mp3 song to .wav song ? (with C::B sample)
-Thanks-
|
|