Explore topic-wise InterviewSolutions in .

This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.

951.

Solve : Messy Autorun + Batch Files?

Answer»

Well I have some exprience in programming, but it doesn't help me here...

I'm PRETTY familar with GML, Java, C++, HTML and Batch

Here is what the current Autorun.inf does :

  • Plug in an usb-stick
  • The Autorun.inf LOADS CFG.BAT

Autorun.inf Contains :
Code: [Select][autorun]
ICON=1.ico
OPEN=CFG.bat
CFG.BAT swaps icons for the device

My question is :

How do I make the CFG.BAT execute only once - Even if I try to autoplay it ?

And if I try to autoplay it, I would just get a new WINDOW SHOWING the device - How to do that ?

Darn, I really need to know how have the batch file create a "flag" file on the key drive, and check for it's existence when it starts, and if so, quit. Of course this means it would only execute once during it's lifetime...

but to simply get a new window showing the device, either execute "explorer ." in cfg.bat, or as the RUN= line.


Also, under what circumstances does it swap icons?Well my intention was to swap the icons when I connect it

But I don't get the "flag file" thing


Could you tell me more ?Oh I'm sorry- a "flag" file would just be a file you create in the CFG.bat on the key- it doesn't matter whant you call it or what is in it, because the batch file will simply be testing for it's existence when it first starts. If it exists, then it had been executed.

The problem is it doesn't really work, since you want it to run the autorun code everytime it in plugged in. In this case it will only work the first TIME.
952.

Solve : Visual C++ Suggestions?

Answer»

I was wondering if anyone had any suggestions for a good site to learn (Visual) C++. I have programmed in C and C++ with Borland and MS C++ 5.0 and 6.0, but never (Visual) C++ to have a GUI interface.

I do own a copy of MS Visual Studio.net, but defaulted back to MS Visual C++ 6.0 because I just cant get use to the drastic differences between 6.0 and .net.

Is it easier to throw in the towel on C++ and go with ( learn )Visual Basic for GUI applications? I have heard many people say that C++ was not very good and very complex at GUI compared to VB! Is that true? I would consider myself not a beginner or a know it all of C++, I am sort of in the middle knowledge wise, but havent touched on the GUI (visual) aspect of C++ before. All my applications/programs ran from DOS shell.

Thanks for your help and suggestions!The method of creating a GUI with Visual C++ would be via the Windows SDK. Personally I didn't have the internet while learning it so I had to go with the MSDN documentation that CAME with Visual Studio 6. Even after learning it I haven't written a serious GUI app in C++, I always go back to VB. In short VB is easier to create a GUI with by fairly large margins.

Another route with Visual C++ would be to use MFC. I haven't done more then dabble with it, but it seems like a thin layer over the SDK functions.

Also, what kind of stuff have you done in C++? SDK calls, COM programming, classes, etc

Right now, unless you already did, you could look at the sample programs, GENERIC in particular. It's hard to glean much info, but the comments are pretty informative about what is going on.

Essentially the main difficulty with using the SDK/MFC is that almost all your windows will need to be created by code, register the window class, create the window, create windows (controls) within that window, huge pain in my opinion.

Another route to try might be C#...


Thanks for the info...

I havent tried C# before so I will check into that. I suppose I will get a VB for dummies book and start reading up as well...ha ha

As far as programs written, they are generally small apps to integrate with DOS as better method than batch for testing data and commanding DOS through the SYSTEM call.
Other than that WITHOUT knowing how to do a nice GUI window etc, its pointless to make anything else really other than tools that run behind the scenses with data etc.If your going into .NET, you may as well learn C#. You could start with Visual C++ as included with VS.NET.

If your not going into .NET (which, unlike MICROSOFT seems to think, IS an option) you could learn VB6. I don't know if you have VIsual Studio 6 (or just standalone VC6), So you might need to go into the nether regions of the net since Microsoft doesn't sell it. I've seen a few on Ebay.

So then you'll be able to do both, GUI in VB, and command-line stuff in C/C++. (you could do commandline apps in VB, but that's even harder then doing GUI in C++ (lol)).


here are some websites I frequent:


www.killervb.com
www.vbaccelerator.com
www.classicvb.com

Also, I did a quick google search and found a good beginning guide to VB6:

http://visualbasic.about.com/od/standalonevb6/l/bllearnvba.htm

once you skip the first few pages to actual VB stuff rather then programming rhetoric, it seems to be fairly good.


Either way, with a BACKGROUND in any amount of C it should be fairly easy to start using VB.

Be sure to snap up any VB6 (or Visual C++ 6, for that matter)-based books that look good, they seem to be replacing all their "old stock" of computer books with .NET programming stuff.Thanks for all the info once again!

Also, I have noticed that the pre-.net books have been becoming scarce also...so I suppose MAYBE I just need to dive head first into it.

TG for Ebay, Amazon, and as always the local used book stores for obsolete or soon to become obsolete books and software.

953.

Solve : Flash ROM?

Answer»

I couldn't fully understand the sentence below.
Does it means, when i flash new bios,it will have a backup for OLD bios?
Correct me if i'm wrong.

“The first instruction that is fetched and executed FOLLOWING a hardware reset is located at physical
address FFFFFFF0h. This address is 16 bytes below the processor’s uppermost physical
address.”1 The Flash ROM containing the Boot Block CODE resides at this address.
There will be one physical ROM which is 16Mbit in capacity. This ROM will contain both the primary and
the backup BIOS ROM images concatenated to create one 16Mbit image
Boot Block
Primary BIOS ROM:FFFF0000hFFFFFFFFh
Primary BIOS/DMI/ESCD:FFF00000hFFFEFFFFh
----------------------------------------
Backup BIOS ROM:
Backup BIOS Boot Block(Unused):FFEF0000hFFEFFFFFh
Backup BIOS/DMI/ESCD:FFE00000hFFEEFFFFh

When the backup BIOS EXECUTES, the primary BIOS
region for ESCD and DMI are updatedIt should, but you can't be sure...Quote from: Ryder17z on May 14, 2008, 11:05:00 AM

It should, but you can't be sure...
what should i do?
954.

Solve : Making pages??

Answer»

Just a question, I am currently working on a website (programmed in html and javascript) and I was wondering how other websites (e.g. this one) create new PAGES (like this thread) for users to see. At the moment, if users want to add data to the website they have to email me and I have to add it manually, which is really inconvinient.

So for an example, lets have them make a html DOCUMENT that anyone can see at "http://myexample.myexample.com/user_made_pages/" (not that that is the website, duh) when they fill out a form at "http://myexample.myexample.com/submit_a_page/"

I am a novice when it comes to web programming, even if i can make programs for windows...

I know it MUST be possible to do it (when I press the [post] button on this page it makes a new webpage), but my problem is letting it do it, and I can't find anything on google to HELP (it returns stuff about scripts running under windows)

Thanks,
BONESA good starting place would be learning some PHP. A book I have found to be quite handy and very easy to follow is PHP Programming With MySQL by Don Gosselin, but I'm sure other members will have their own suggestions.

After getting a bit of basic PHP knowledge, you could easily do what you have described.Thats alright, I looked up it in a different search engine, and it told me to look up php. I'm already learning it. Thanks for your help though.

955.

Solve : Sorting in C?

Answer»

hello

Question :- If we have given certain numbers ( 23, 21,19, 18,15,10) all the numbers are ALREADY SORTED . Now suppose we are given three sorting techniques (Bubble sort, Insertion sort, Quick sort) . If we have to find a number among the given numbers then which of the given sorting techniques wll be faster and why??

Thankx in advance.
Tough question (at least to me) to answer, because it could vary on how the algorithm is WRITTEN to sort the data. But I BELIEVE most consider quick sort to be the fastest technique for sorting data. Check out the below page as it gives you examples of each of the types of sorting techniques and clicking on the image gives you a visual example of how the sort works.

http://www.cs.ubc.ca/~harrison/Java/sorting-demo.html

Sure sounds like a homework question to me. It requires thought, rather than knowledge. If you understand how the mentioned sort ALGORITHMS work, the answer will be obvious (as it is to me). But I SHALL not TELL you.


956.

Solve : creating multiple account database?

Answer»

hi everyone,

I want to create an APPLICATION that have MULTIPLE accounts with different access rights.

I want to know how to MAKE a database for multiple accounts.

Can anyone help me. I am using MS sql.

thanks in advance.

957.

Solve : Nvidia Driver Update NEED HELP?

Answer»

I recently got a new GAMING laptop with Geforce 8600m GS direct 10x duo CPU T7500 @ 2.20 GHZ 2.20 GHZ


Windows Vista 32 bit

Anyways, I'm TRYING to play AoC but an error window poped up saying that I should update my drivers. I've been searching for a driver update but can't find any. I went to www.laptopvideo2go.com but the driver there doesn't work for me for some REASON :/ I can still play the game, but if I download the newest driver it'll improve my performance. This is not a programming question. Post in the correct section.
Topic closed.

958.

Solve : Parallel port Interfacing?

Answer»

This is a tutorial on parallel port interfacing USING Visual Basic 6.It has information on how to interface parallel port under windows Xp using dll files.
http://lcdinterfacing.googlepages.com
Do give feedback.
Thank You
Looks easy Interfacing an alphanumeric WHAT to a parallel port? Some sort of undefined DISPLAY...It is 16x2 alphanumeric LCD display having hd44780U compatible driver. What kind of information WOULD this display? I'm curious.It will display the text you type in the "textboxes"(green color).Refer the later SECTION of the webpage.

959.

Solve : Problem with app showing up in Add/Remove.?

Answer»

Im having a problem with my registry entries. Ok so i made a game and i made an installer in vb.net 2008 and i set it to write the game to the registry so that it shows up when you go to Add/Remove programs. The keys get CREATED but it doesnt show up in Add/Remove, what am i missing?

I didnt CREATE an uninstaller is that the problem?

Code: [Select] InstallLog("Currently installing Pointblanc, please wait.")
'////////////////////////////////////////////////
'WRITING APP TO THE REGISTRY
'////////////////////////////////////////////////
'Opens the HKEY_LOCAL_MACHINE\SOFTWARE subkey and adds 'Pointblanc' subkey
InstallLog("Writing Game to Registry.")
Dim regKey As RegistryKey
regKey = Registry.LocalMachine.OpenSubKey("SOFTWARE", True)
regKey.CreateSubKey("Pointblanc")
regKey = Registry.LocalMachine.OpenSubKey("SOFTWARE\Pointblanc", True)
regKey.CreateSubKey("Pointblanc")
regKey.Close()
Dim execToWrite As String = "c:\Pointblanc\Pointblanc.exe"
Dim iconToWrite As String = "c:\Pointblanc\Pointblanc.exe,0"
Dim icondestToWrite As String = "c:\ProgramData\Microsoft\Windows\Start Menu\Programs\Pointblanc.exe"
Dim icondestpToWrite As String = "c:\users\Public\Desktop\Pointblanc"
Dim ROOTToWrite As String = "c:\Pointblanc"
'WRITE VALUE
My.Computer.Registry.SetValue("HKEY_LOCAL_MACHINE\Software\Pointblanc\Pointblanc", "Icon", iconToWrite)
My.Computer.Registry.SetValue("HKEY_LOCAL_MACHINE\Software\Pointblanc\Pointblanc", "IconDestPath0", icondestToWrite)
My.Computer.Registry.SetValue("HKEY_LOCAL_MACHINE\Software\Pointblanc\Pointblanc", "IconDestPath1", icondestpToWrite)
My.Computer.Registry.SetValue("HKEY_LOCAL_MACHINE\Software\Pointblanc\Pointblanc", "Executable", execToWrite)
My.Computer.Registry.SetValue("HKEY_LOCAL_MACHINE\Software\Pointblanc\Pointblanc", "RootPath", ROOTToWrite)
'Checks for the existence of the key before proceeding
If My.Computer.Registry.GetValue("HKEY_LOCAL_MACHINE\Software\Pointblanc\Pointblanc", _
"Rootpath", Nothing) Is Nothing Then
InstallLog("Error Adding Game to the Registry.")
GoTo installfailed
Else
'InstallLog("Writing to registry successfull.")
Dim myValue As String = My.Computer.Registry.GetValue("HKEY_LOCAL_MACHINE\Software\Pointblanc", "install path", String.Empty).ToString
InstallLog("Successfully ADDED to the registry.")
End IfQuote

I didnt create an uninstaller is that the problem?

Probably. This link states "The Currently installed programs list in the Add or Remove Programs tool lists all of the Windows-compatible programs that have an uninstall program or FEATURE"

Hope this helps.

960.

Solve : batch file for clearing a folder in c drive?

Answer»

hi i am using tomcat to run my application so that more than one client access my application and when the client LOGGED in to my application each time 4 log files created in the following folder C:\Program Files\Apache Software Foundation\Tomcat 5.5\logs so that my application runs very slow and here i need to clear the particular folder or move the files from the folder to D:/templogs so that i need a batch program to do the specified process kindly REPLY me with the solution
regards
yuvarajHave a LOOK at the Move command

It would be something like this:

move "C:\Program Files\Apache Software Foundation\Tomcat 5.5\logs\file.log" "D:\Templogs\file.log"yes i got it
thanks and regards
yuvarajhi as i have specified that my application is running under Tomcat as a server in online so here i should not stop the tomcat to move the file but my process has to continue i have used the simple CODE as follows

move /y "C:\Program Files\Apache Software Foundation\Tomcat 5.5\logs\*.*" "D:\test" so here i have the PROBLEM that my tomcat will always running but i should move the files without stopping the tomcat how to achive this using batch programs
regards
yuvarajSo if I understand this correctly, you want to back up the logs in D:\test but you can't move them because the program is in use.

Try the copy command:

Code: [Select]copy "C:\Program Files\Apache Software Foundation\Tomcat 5.5\logs\*.*" "D:\test"

961.

Solve : about machine language?

Answer»

Hello,,,;

i'm wondering if there are any programming language in machine language programming?

if not, how about assembly language? where i can get the tutorial and references about it?

any help, please..

Here is a QUOTE from this site:
Quote

Machine Language refers to the "ones and zeroes" that digital processors use as instructions. Give it one PATTERN of BITS (such as 11001001) and it will add two numbers, give it a different pattern (11001010) and it will instead subtract one from the other. In as little as a billionth of second. The instruction sets within a CPU family are usually compatible, but not between product lines. For example, Intel's x86/Pentium language and Motorola's PPC/Gx language are completely incompatible. Machine Language is painfully difficult to work with, and almost never worth the effort anymore. Instead programmers use the higher-level languages below, which are either compiled or interpretted into machine language by the computer itself.

For Assembly language tutorials make your choice from here..

Good luck.Assembly language is a script, in a sense, which is assembled into machine code by an assembler.

There are only two reasons to use assembly language:
  • To do rare, ODD things that language COMPILERS can't handle, or
  • Because you just want to (usually to learn something or occupy yourself)
yea assembly is used more to program a Microcontoller's(or Microproccessor's) rom.
962.

Solve : Just BASIC, a easy programming enviroment?

Answer»

Hello everyone, if you are a beginning programmer who wants to learn basic then you should try Just BASIC at http://www.justbasic.com
this editor and complier let you build your own programs, Just BASIC supports RS-232 communication, bmp animation and bmp GRAPHICS, textboxes, texteditors, file menus, buttons, joystick, KEYBOARD, and mouse support, and much more, and its easy for beginning programmers to learn basic. I have MADE many programs using just basic and it has helped me learn how to code in VB, and no this isnt an advertisment, but it is a recommendation for beginning programmersTheres also an OLD program that can help to called Interplays Learn to Program Basic. However it will run only on a 95 copy of windows. Its some what cartooned but it teaches the basics of basic.from what it SAID on the website, Just BASIC can run on Windows 98SE, ME, 2000, and XP yet they havent made a Vista version of it, hmm...

963.

Solve : m3u Ramdomizer Project?

Answer»

I need some help with this:

I got a an m3u list which contains this :
Code: [Select]#EXTM3U
C:\Video\Twisted Sisters - I Wanna Rock.avi
C:\Video\Amy Dimond - Thank You.avi
C:\Video\Andreas Da Man.avi
C:\Video\Bicycle.avi
C:\Video\Billy Idiol - Mony Mony.avi
C:\Video\Billy Idol - Rebel Yell.avi
C:\Video\Billy Idol- White Wedding.avi
C:\Video\Bily Idol - You Spin Me Right Round.avi
C:\Video\Black Uhuru - Great Train Robbery.avi
C:\Video\Crashday.avi
C:\Video\Dream1.avi
C:\Video\En gammal Amazon.avi
C:\Video\Gigi D' Agostino - Bla Bla.avi
C:\Video\Gone In 60 Seconds SoundTrack.avi
C:\Video\Guns N Roses - Welcome To The Jungle.avi
C:\Video\Kiss Strutter.avi
C:\Video\Marshall Jefferson - Move Your Body.avi
C:\Video\Masterboy - Is this the love.avi
C:\Video\Michael Jackson - I'm BAD.avi
C:\Video\Ozzy Osbourne - HellRaiser.avi
C:\Video\Rihanna SOS.avi
C:\Video\Scorpions_-_Rock_You_Like_A_Hurricane.avi
C:\Video\SWINE.avi
C:\Video\The GAP Band - You Dropped A Bomb On Me.avi
C:\Video\Toto - Hold the line.avi

I want to build a program that edits the 1.m3u file like this :

Line 2 - 25 (Or whatever the last line nuber is) is my target

These lines will be in a new random order each time I launch the program

Does anyone know how to do this in Batch, Java or C++ ?



If you install Cygwin to get the bash shell and the normal GNU utilities like head, tail and sort, you could do it like this. (I haven't tested this code.)

Code: [Select]$!/bin/sh
test -w "$1" || exit 1
TEMPFILE=/tmp/$$.tmp
head -n1 $1 > $TEMPFILE
tail -n+2 $1 | sort -R >>$TEMPFILE
mv -f $TEMPFILE $1
Name this file randomize and then at the bash prompt execute:
$ randomize 1.m3uWell, that code works in half

It does randomize the m3u file - But VLC won't deal with it and plays all files in the same way all the time - no matter of how many times i launch the batch file

One detail I didn't think of until now is the line ending. Most Windows apps expect a sequence at the end of every line. But I think Cygwin will do the Linux default, which is to write only a .

You can use either the unix2dos or dos2unix -u2d commands to restore line endings.

If that's not the problem, are you sure the application is READING the input file?Well now I found out that this code won't work at all :

Code: [Select]$ randomize 123.m3u
"C:\VLC\vlc.exe" "123.m3u"
pause
It does nothing with the 123.m3u I originally put the $ there just to show that you were at the bash command prompt. You shouldn't type it or put it in a script. Sorry for the confusion. Also, it's not clear if that is running in a bash shell or the Windows CMD shell. (In theory, either should work.)

I just noticed vlc has a -Z or --random switch which will "play files randomly forever". At least the Linux version has it, so the Windows version probably does too. So maybe you don't need to use any script, just this command:

vlc -Z 123.m3uAny language which supports associative arrays and a randomizer should be able to do this.

Window machines come installed with VBScript. Here is one solution:

Code: [Select]Const ForReading = 1
Const ForWriting = 2

Set dct = CREATEOBJECT("Scripting.Dictionary")
Set fso = CreateObject("Scripting.FileSystemObject")

Set f = fso.OpenTextFile("c:\temp\123.m3u", ForReading)
strHdr = f.ReadLine

Do While f.AtEndOfLine <> True
keynum = keynum + 1
strLine = f.ReadLine
dct.Add keynum, strLine
Loop
f.Close

Set f = fso.OpenTextFile("c:\temp\123.m3u", ForWriting)
f.WriteLine(strHdr)

Do Until dct.Count= 0
Randomize
key = Int((keynum - 1 + 1) * Rnd + 1)
If dct.Exists(key) Then
f.WriteLine(dct.Item(key))
dct.Remove(key)
End If
Loop
f.Close

Change any path specifications as needed. Save script with a vbs extension and run from the command prompt as cscript scriptname.vbs

Good luck. Sidewinder - That code works well

Thanks both of you for helping me out...

------------------------------------------------------------------------

BTW: Is there anywhere I can learn VB for free ?

I have worked with these languages so far :

Batch
HTML
Flash Action Script 1.0
Java
C++
GML
Delphi (- Not very much, just a Hello World Looper)

964.

Solve : Deskmate Changes?

Answer»

Okay instead of bonzi MONKEY I REMEMBERED these demoed AI, Know the thing is, I dont know how or what is used to code them. Is there an easy way to FIND out? Also if I wanted to change the VOICE an animations how would I do that. If anyone knows?

965.

Solve : AI Files Questions?

Answer»

I was thinking of tring to change the AI I downloaded some what close to bonzai monkey but felt he was more a threat then anything. So any how I WENT to the file an seen that it has faz, fas ,was , wa3 file extensions. Was this created by USING a program or are these c files?I don't THINK those extensions belong to C but you can check them here

Good luck. I found the file extensions but it did REALLY help sorry.??

966.

Solve : Hello Everyone!?

Answer»
Hi,
My name is meeleend, I am new on this forum.I need help regarding programming.
Can ANYBODY TELL me about Coding of Chat Window.
How can i create chat window for my own site?
thanks in Advance!Use a so called Shoutbox - if you want something easyif you are HOSTING the site yourself, I suggest that you research the net for appropriate OPTIONS... If you are hosting with someone ELSE who offers a platform or deck use theirs.

http://www.google.com/search?q=website+chat+room+code&rls=com.microsoft:*:IE-SearchBox&ie=UTF-8&oe=UTF-8&sourceid=ie7

Here's a quick search for you to gander at...

Good luck
967.

Solve : A question about Computer Architecture?

Answer»

Hi guys, i have a question that would REALLY help me,

"how ANALOGUE data can be converted and stored in COMPUTER systems"

This is a question in my ASSIGNMENT among about 400 others, i have the others down, word count of about 2500. but this one is kicking my a*s! any help? A simple Google search and I found this pretty interesting site.
http://www.klbschool.org.uk/ict/gcse/theory/5_1/5_1_4_com_devices.htmThanks Carbon! When i searched my college had blocked most of the results, that website never came up for me hmm, thanks anyway it ws a big helpNo PROBLEM. Good Luck!

968.

Solve : Batch file with errors?

Answer»

I have created a batch file that should do this :

1. I start ARstart.bat
2. ARstart gives a command to QRes.exe
3. QRes changes resolution
4. Miljard_r.lnk launches (A shortcut)
-----------------------------------------------
5. I end the game
6. ARstart.bat gives another command to Qres.exe
7. Qres resets the resolution
8. ARstart closes

Here is my code :

Code: [Select]:@echo off
echo Miljard?r is Loading...
::This make the game launch in the right resolution
QRes.exe /x:800 /y:600
Miljard_r.lnk
::This resets the resolution
QRes.exe /x:1280 /y:1024
Echo Miljard?r Closes...
The problems with code is :

1. Miljard_r.lnk starts before Qres have changed resolution - resulting in a fake statement - Qres thinks he is done, but he haven't done anything
2. The icons on my desktop moves like crazy - Is there anyway to lock each one at a specified point ?
3. How do I replace the questionmark in my code with the ASCII-letter "132" ?

Does anyone know how to deal with it ?Quote

1. Miljard_r.lnk starts before Qres have changed resolution resulting in a fake statement - Qres thinks he is done, but he haven't done anything

If you run Qres from the command prompt does it work? How long does it take? Try adding a ping command after Qres to delay the start of Miljard_r.lnk

Quote
2. The icons on my desktop moves like crazy - Is there anyway to lock each one at a specified point ?

I would imagine so if you're changing the screen resolution. After you REVERT back to 1280x1024 are the icons in the proper locations?

Quote
3. How do I replace the questionmark in my code with the ASCII-letter "132" ?

Use the Windows Character Map to find character 132 for your font. You can copy the character to the clipboard and paste it into your batch file.

Good luck.

1. Less than a second - when it works

2. Nope, that's why I need to lock them, otherwise my desktop gets very messy

3. Nope, it would only show the wrong letter

EDIT:

I have ADDED this to my code :

SLEEP.EXE 1I'd of done this;

Code: [Select]@echo off

echo
echo Miljard?r is Loading..

::This make the game launch in the right resolution

start /WAIT QRes.exe /x:800 /y:600

start /wait Miljard_r.lnk

::This resets the resolution

start /wait QRes.exe /x:1280 /y:1024

Echo Miljard?r Closes...

Notice the 'start /wait' before running QRes and the Miljard link. It will make the batch file pause until the command/program has completed.

That should fix the problem with it loading the game before the res has had a chance to set.

As for the icons not being in the same place everytime, all I can suggest is using 'auto arrange' on your desktop.

hope it helps.
You had the right idea with sleep. Ping can do the same thing but not everybody has the sleep command on their system. Using start with the /wait switch merely shifts the problem to another window.

Quote
1. Less than a second - when it works

Why and when doesn't it work? Perhaps you can test the return code. If you do check the return code, don't use the sleep command.

Code: [Select]:@echo off
echo Miljard?r is Loading...
::This make the game launch in the right resolution
QRes.exe /x:800 /y:600
if errorlevel 1 goto :eof
Miljard_r.lnk
::This resets the resolution
QRes.exe /x:1280 /y:1024
Echo Miljard?r Closes...

For the icons, the previous post might be onto something. Set the desktop to auto-arrange the icons.

According to the standard ASCII chart, character 132 is character: ä. Why could you not get this off the Windows Character Map.

/wait wont work

And that about that letter "ä" - It won't show up as it should, why does it give me an "ò" instead ?

When I launch the code now - the game has "almost" right resolution, but it's in the top-left corner with a grey box filling out the rest

The game is now launching in 1024x768 - But my desktop resolution is still 1280x1024

Here is the rewritten code :

Code: [Select]@echo off
echo Miljard?r is Loading...
QRes.exe /x:1024 /y:768
Sleep.exe 1
Miljard_r.lnk
Sleep.exe 1
QRes.exe /x:1280 /y:1024
Echo Miljard?r Closes...
I changed from 800x600 to 1024x768 due messy grapics when using 800x600

Seems hard to deal with this program

By the way :

I'm using the SLEEP.EXE dos file from here.

I need to lock my icons - otherwise DreamScene will have icons on it Quote
The game is now launching in 1024x768 - But my desktop resolution is still 1280x1024

Not really understanding this, but hey, if the game is happy, so am I.

Did you try auto-arranging the icons? Right click the Desktop==>Arrange Icons By==>Auto Arrange.

The sleep command you have is fine. Just pointing out that sleep came with the Windows 2003 toolkit and not everybody has it installed.

Have you considered using DOSBox. I've never used it but I understand it can help with old games.

Good luck.

I have no answer for character 132 (ä). If you can't copy/paste it from the post, then whatever application you're using is interpreting it as something else. Could be your font.This game was created 2005 or 2006 - So it's not old

And I'm getting nowhere with this

I just MESSED the whole game up now

* Ryder17z leaves this project...* Ryder17z begins a new project...
969.

Solve : date formatting in VB?

Answer»

how can I change a text box value to a date format and save in the backend...
hw can i retrietve and again do the additions, SUBTRACTIONS etcNot really understanding the question. Could you give an example of a text box value you want to convert to a date. Is the backend a database?



I am doing a project for my own office for "PREPAID HOTEL VOUCHER "

i am not a software professional...i havnt done any project in VB before.
i have only basic knowledge in computer.

Data are like " hotel name, address, passenger name, checkin(date), chkout( date), issuedate ...

now i am using dataenvironment as a connection ...this information i got from internet help details...it is good ...now i can save the data to the table...

when i am saving text value "30/12/2008" , in the table it is saved as "12/30/2008"...first record is ok...from the second record this PROBLEM starts.

I have to WRITE a " search" command also
input values are "startdate" and "enddate"
i have to display all the records of which the "issuedate" value is between the above dates.




Quote

when i am saving text value "30/12/2008" , in the table it is saved as "12/30/2008"...first record is ok...from the second record this problem starts

This a new one on me. Which is correct? If your regional settings call for mm/dd/yyyy, it's better to flag dd/mm/yyyy an error at the textbox source. You can use the isDate function to determine a date's validity.

This example will blurb that 02/29/2009 is not a date:
Code: [Select]str = "02/29/2009"
If IsDate(str) Then
msgbox(str & " is date")
Else
msgbox(str & " not date")
End If
Note: isDate uses your regional settings to makes it's determination

Quote
I have to write a " search" command also
input values are "startdate" and "enddate"
i have to display all the records of which the "issuedate" value is between the above dates.

This WOULD involve a query against the table:

Code: [Select]select * from table where issuedate BETWEEN startdate AND enddate

The above SQL statement is inclusive with the start and end dates.

Good luck.
THNAK YOU VERY MUCH FOR YOUR IMMED REPLY

" 02/29/2008 IS NOT DATE " IS THE REPLY I GOT

THEN I PUT 29/02/2009

FOR THIS ALSO THE SAME REPLY
Quote
" 02/29/2008 IS NOT DATE " IS THE REPLY I GOT

THEN I PUT 29/02/2009

FOR THIS ALSO THE SAME REPLY

To be expected. Feb 29, 2009 is not a valid date in any format. Better to have checked 12/30/2008 and 30/12/2008. The point is to get the same date format in the textbox as you stow in the database.

There was no question in your previous reply. Is everything good now?

Good luck.
970.

Solve : how to save a text file into an array?

Answer»

hi everyone,

I want to know how to save CONTENT of a file into an array.


I want to save a full line into a particular position or address in an array.

e.g.

if a is an array

a(0) = save first line

a(1) = save second line

......

and it should be CONTINUE until all lines are saved.

Can anyone help me?

thank in advanceCode: [Select]@echo off
set IDX=0
setlocal enabledelayedexpansion

for /f "tokens=* delims=" %%x in (test.txt) do (
call set /a idx=%%idx%%+1
call set array.%%idx%%=%%x
)

for /l %%x in (1, 1, %idx%) do (
echo !array.%%x!
)

Batch CODE does not support true arrays although you can mimic one. The first for shows how to load the array from a file. The second for shows the notation NEEDED to access the array elements.

Happy Coding thanks sidewinderYeah, what language are you programming in?

971.

Solve : help needed in generating combinations of words?

Answer»

Hi everyone,

I am doing a small assignment of mine.

There is a question to generate all combinations of alphabets a,l,c,h,e,m,i,s,t.

do anyone know how to generate the combinations?

I am doing it in C language.

If anyone knows please help me.

thanks in advance.It is amazing what a Google SEARCH can turn up.

Code: [Select]#include <stdlib.h>
#include <string.h>
#include <stdio.h>
VOID swap(CHAR* src, char* dst)
{
char ch = *dst;
*dst = *src;
*src = ch;
}
/* permute [set[begin], set[end]) */
int permute(char* set, int begin, int end)
{
int i;
int range = end - begin;
if (range == 1) {
printf("set: %s\n", set);
} else {
for(i=0; i<range; i++) {
swap(&set[begin], &set[begin+i]);
permute(set, begin+1, end);
swap(&set[begin], &set[begin+i]); /* set BACK */
}
}
return 0;
}
int main()
{
char str[] = "alchemist";
permute(str, 0, strlen(str));
return 0;
}
Source

"Alchemist" is hardcoded but I'm sure you can tweak the code to prompt for the word. This particular example uses RECURSION but you can also find examples with iteration.



The longer the word, the longer the program will run.thanks sidewinder

972.

Solve : help needed in generating all combinations of 8 numbers?

Answer»

hi everyone,

I am LOOKING for a algorithm which can generate all combinations of 8 numbers.

can anyone know how to do this.

please tell me.

thank in advance.Quote

I am looking for a algorithm which can generate all combinations of 8 numbers

Single digit numbers? Double digit numbers? Permutations? Combinations?

Wasn't an answer posted here? With a few changes and CHANGING alchemist to numbers, you should be able to find a solution.



Note: I forgot to mention in the previous POST that the C program can be compiled with the Tiny C CompilerCode: [Select]for (int i = 0; i < 100000000; i++)
cout << i << endl;
Is that what you're looking for? Another way you could do it is to nest 8 loops INSIDE of each other.

Code: [Select]for (int i1 = 0; i1 < 10; i1++) {
cout << i1;
for (int i2 = 0; i2 < 10; i2++) {
cout << i2;
for (int i3 = 0; i3 < 10; i3++) {
etc...
}
}
}
And when you get to i8, print out a new line.
973.

Solve : Conversion from string to type 'Boolean' is not valid.?

Answer»

Im creating an uninstaller and i keep getting the following error "Conversion from STRING "C:\Pointblanc\Game" to type 'Boolean' is not valid." Any idea on whats gone wrong, here my script:
Code: [Select]Imports System.IO

Public CLASS FrmUninstall
Private Const m_cUNINSTALLDIRECTORY As String = "c:\Pointblanc"
Private Sub FrmUninstall_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim intFileCount As Integer
Dim intFolderCount As Integer
Dim intFileCounter As Integer
Dim intFolderCounter As Integer

Me.Show()
Me.Refresh()

With My.Computer.FileSystem

'Delete Files
intFileCount = .GetFiles(m_cUNINSTALLDIRECTORY).Count
intFolderCount = .GetDirectories(m_cUNINSTALLDIRECTORY).Count
ProgressBar1.Maximum = intFolderCount + intFileCount

If intFolderCount > 0 Then

intFolderCounter = 1

For Each Folder As String In .GetDirectories(m_cUNINSTALLDIRECTORY)
Dim FolderFoundInfo As New System.IO.DirectoryInfo(Folder)
InstallLog("Removing folder " & FolderFoundInfo.Name & " (" & intFolderCounter.ToString & " of " & intFolderCount.ToString & ")")
Directory.Delete(Folder, m_cUNINSTALLDIRECTORY & "\" & FolderFoundInfo.Name)
ProgressBar1.Value = ProgressBar1.Value + 1
lblPercent.Text = CStr(Fix(100 * intFolderCounter / intFolderCount)) & "%"
intFolderCounter = intFolderCounter + 1
Next
Else
MsgBox("There seems to be a foler(s) missing, PLEASE reinstall.")
End If

If intFileCount > 0 Then

intFileCounter = 1

For Each FileFound As String In .GetFiles(m_cUNINSTALLDIRECTORY)
Dim FileFoundInfo As New System.IO.FileInfo(FileFound)
InstallLog("Removing file " & FileFoundInfo.Name & " (" & intFileCounter.ToString & " of " & intFileCount.ToString & ")")
.DeleteFile(m_cUNINSTALLDIRECTORY & "\" & FileFoundInfo.Name)
ProgressBar1.Value = ProgressBar1.Value + 1
lblPercent.Text = CStr(Fix(100 * intFileCounter / intFileCount)) & "%"
intFileCounter = intFileCounter + 1
Next
Else
InstallLog("No files to copy.")
End If
End With
MsgBox("Uninstallation Complete")
Application.Exit()
End Sub


Private Sub InstallLog(ByVal strLog As String)
txtInstallLog.Text = txtInstallLog.Text & strLog & vbCrLf
txtInstallLog.SelectionStart = txtInstallLog.Text.Length

End Sub
End Class
Directory.Delete(Folder, m_cUNINSTALLDIRECTORY & "\" & FolderFoundInfo.Name)

See here

http://msdn.microsoft.com/en-us/library/fxeahc5f.aspx

974.

Solve : data1 control?

Answer»

guys, need your help

where can i find the different functions of data1 control?
i already search in several site but i can't find the exact answer...im very confusing with this... please help..
thanks in advance You need to be more specific. What type of control are you referring to? What language are you using?

What language are you using? Are you using an IDE and if so which one?



im not sure if what language we will use because im not yet FAMILIAR with this. what are language using data1 control? as of now,we are using Visual basic...
i only know that this is related to database.

sorry for not being specific. this is only info i can giveData1 is most likely the default name of the control, not the control type.

Taking a stab in the dark, I'm guessing you're referring to the datagrid control which is useful when displaying data from a database. More info can be had here

Good luck.

Depending on your version of VB, the datagrid control is ALSO known as a datagridview control.

Where is the Patio tooth when you need one?

975.

Solve : random number generation?

Answer»

i want a RANDOM number generation program between 0-5 using c language Quote

i want a random number generation program between 0-5 using c language

Have you CHECKED if C has a random number function? This link might be a little dense, but what CAUGHT my EYE was the KISS generator.



As long as this thread is about wishlists, I want a Lamborghini Gallardo!

sorry i want an exact program
i am not understanding anything from your given link
thank you for your replay
You really need a contract programmer. This little bit of code will show you method, however it needs some CHANGES to meet your requirements.

Code: [Select]#include <stdio.h>
#include <stdlib.h>
#include <time.h>
int main()
{
int array[16] = {0};
int x;
int y;
int m;
int n;
srand(time(0));
for(x = 1; x < 17; x++)
{
array[x] = rand()%17;
}
for(x = 1; x < 17; x++)
{
for(y = 0; y < 17; y++)
{
if( x != y)
{
if(array[x] == array[y])
{
array[x] = rand()%17;
if(16 == array[x])
{
array[x] == ' ';
}
}
}
}
printf("%5d", array[x]);
if(x%4 ==0)
printf("\n");
system("PAUSE");
return 0;
}}

This program can be compiled with the Tiny C Compiler

Good luck. Quote from: Sidewinder on June 19, 2008, 09:32:04 AM
You really need a contract programmer.
Yo should sign up to be one.
976.

Solve : Interactive .bat??

Answer»

On some cmd's I've seen the user is ABLE to interact with input areas by clicking on them.
Is this possible to do in a .BAT file?um im pretty shure cant exactly REMEMBER how something about
if -y blah blah
if -n blah blah

something like thatQuote

On some cmd's I've seen the user is able to interact with input areas by clicking on them

What commands? Batch files are text based and cannot interact with windows or forms. Batch files are designed for the cmd shell and can prompt for low volume input and output to the console, but that's about as interactive as it gets.

VBScript and JScript have limited functionality with input (input boxes), output (message boxes, popups) and the Windows shell dialogs (BrowseForFolder, SaveFileAs).

Short of a full programming language you can develop HTA's which combine VBScript with HTML (no BROWSER required) that allow the user to develop a GUI for an otherwise colorless VBScript.

woops missed the clickin g on partAh, sorry I FORGOT. The program I was looking at was running in a DOS - Environment, I guess it just looked like cmd. Would that be in C++ or something? Another question, is there a way a batch file can encrypt/decrypt things when they import/export them?Quote
is there a way a batch file can encrypt/decrypt things when they import/export them?

Anything is possible, but a more likely scenario would be a batch file launching a program to do the ACTUAL encrypting/decrypting.

Quote
Encryption: The process of converting information into a form unintelligible to anyone except holders of a specific cryptographic key
Source

Batch code is a command language not a programming language.

977.

Solve : Screensaver - C++?

Answer»

I'm currently trying to program a screensaver in C++ that displays an image from a specific folder. But I like many others, do not know where to START. I GUESS I could start by using wxWidgets, but I feel that it's going to require lines and lines of code. Is there some easy WAY out? I'm a couch potato.

978.

Solve : Displaying strings via usb port in c++?

Answer»

Hi I NEED to display WORDS form a text file to the usb port . witch LCD am i going to use and CODE?Do you have some Embedded Development Board
wha's its module

I'll try my BEST to HELP you !

979.

Solve : .INI with .BAT?

Answer»

Figure of speech. Both are already installed with the operating system. This is a good place to learn about VBScript. Everything from tools, examples and articles.

You can also find a file on your system named script56.chm. This is a compiled help file which serves as a reference for both VBScript and JScript.

You can also post here should you have any problems. Could you upload script56? I don't have it on my computer. (Searched everywhere!)Quote

I don't have it on my computer.

That's odd. What OS are you running?

You can download it here

Good luck. Windows XP Home edition. Probably outdated or it only comes with XP Professional. IDK...Thanks for the link anyways! Now I MIGHT be able to become a vb noob. hypercam, you need to stop asking question after question, and start doing some independent study.
You'd probably be better off trying visual basic with some of the ideas you have. You can download visual basic express for free here. http://www.microsoft.com/express/vb/default.aspx
And a good book about it: http://www.microsoft.com/MSPress/books/12202.aspx
Quote from: HypercamJ on June 17, 2008, 09:12:16 AM
Is there a way to import SETTINGS from an .ini file to use in a batch file? I LOOKED it up on Google but I didn't see anything I was looking for.
use a programming language. eg Python. Sample ini file
Code: [Select][Settings]
%PrNm%=Program name
%Auth%=Author's Name
%PrLc%=Program location

[Drivers]
a = abc.dll
b = efg.ocx
code
Code: [Select]import ConfigParser
config = ConfigParser.ConfigParser()
config.read("file")

print "Program Name ", config.get("Settings", "%PrNm%")
print "Program Location", config.get("Settings", "%PrLc%"),

# dump entire config file
for section in config.sections():
print section
for option in config.options(section):
print " ", option, "=", config.get(section, option)

output:
Code: [Select]c:\test> test.py

Program Name Program name
Program Location Program location Drivers
a = abc.dll
b = efg.ocx
Settings
%auth% = Author's Name
%prlc% = Program location
%prnm% = Program name

980.

Solve : Installing & Configuring PostgreSQL?

Answer»

At the school I go to we have written several programs that read from a postgres database. I've been wanting to be able to work on them from home, but have not been able to get postgres to work CORRECTLY. I've searched AROUND the internet, but haven't been able to find much of anything useful. Most of what I've found doesn't seem to be for windows. I've downloaded and run the installer for the latest VERSION (8.3). I'm not sure I installed postgres correctly. I'm not REALLY sure how to setup users/roles and initializing/creating database. Any help on how to setup postgres correctly would be much APPRECIATED.

981.

Solve : Stats program?

Answer»

I am trying to make a stats program for my baseball team. I am having trouble with my sheet that displays the team LEADERS in each offensive category. What I am trying to do is have the program look on a sheet entitled Season Totals which is put together by added all the weeks together. Once it looks at Season totals, it is suppose to go through each category for example Hits.. and display the number of hits that the first, second an third team leaders have which is not in ascending or desending order and then it displays the name accordingly with there respective number of hits... IVE been experimenting with different formulas suchs as VLOOKUP, MATCH, OFFSET and the problem i am facing is that if 2 people SHARE the same amount of Hits it displays the same name twice.. even though i am having it SEARCH for the 3RD largest value by using the LARGE function as a subfuction of OFFSET, if anybody has any insight to this please email me at [email removed] or reply to this message. Thanks!

982.

Solve : linking a parallel port and a usb port to a c++ program?

Answer»

I need to know as to how I should go about when trying to link a parallel and a USB ort onto a rogram that I CREATED and PERHAPS use these PORTS to input or output data.
If anyone knows anything about this could he/she please TELL me I don't even know what library is to be used so I'm totaly lost please help out! Have a look here...

Good luck

983.

Solve : Access Database: Number Display?

Answer»

Good afternoon,

I'm trying to display a number in a field to only display the number(s) to the left of the decimal point. For example, 10.567 should display as 10;
5.987 should show 5.

I've tried all kinds of things using LEFT to no avail.
Can someone help please?

Thanks for any assistance.The question is murky. Any ODBC aware language can process an Access database and we have no IDEA what language you're using.

If by CHANCE you're using a member of the VB FAMILY (VBA, VBS, VB, VB.NET), check out the fix and int functions.

Quote

The difference between Int and Fix is that if number is negative, Int returns the first negative integer less than or equal to number, whereas Fix returns the first negative integer greater than or equal to number. For example, Int converts -8.4 to -9, and Fix converts -8.4 to -8.
Source: Windows Scripting Technologies

Good luck.

Quote from: catz on June 20, 2008, 03:47:09 PM
Good afternoon,

I'm trying to display a number in a field to only display the number(s) to the left of the decimal point. For example, 10.567 should display as 10;
5.987 should show 5.

I've tried all kinds of things using LEFT to no avail.
What database objects have you created so far? Only tables? Queries? Reports?

Formatting NUMBERS for display in a Query is easy. Have you ever created a Query?
984.

Solve : Advice on where to start with certification?

Answer»

Hi guys,

I was wondering if anyone could help me?

I'm based in the UK and would like to start work as a Systems Analyst. I was doing this as a role for 9 months before I got made redundant. I'd like to know if there is a good introductory qualification I could study part time for the next year that would help me to get another role doing this?

I've STUDIED and used VBA but I understand that this is soon to be outdated.

I'm after SOMETHING that would be the most generic and widely applicable qualification. I've studied before for an MCP in Windows 2000 and I wondered if I could do anything similar for programming?

Obviously I'm looking for something that's as future proof as can be. Does anyone know what are the best AREAS to study? Would it be best to study Visual Basic for EXAMPLE?

I'm hoping to later go on to do an HND and then a degree, I was wondering what the best programming language was to start learning?

Would I perhaps do well to do a BTEC instead of a Microsoft qualification?

Studying for PARTS of an MCAD looks to be a good way to go but the MS site states that a lot of the exams for this will retire in March 2009 and I'm not sure I'll have time to complete them.

Does anyone know what supercedes MCAD?

If anyone could answer any one of these questions I'd be very, very grateful.

Thanks very much indeed.

Dan.

985.

Solve : FTP from UNIX server to Windows 2003 Server?

Answer»

I have read all the information under windows and Unix regarding ftping a file, but I can't SEEM to get it to work. If I'm coming from a UNIX box, connecting to a Windows box do I perform UNIX commands or Windows commands? I connect to the Windows box just fine, but I get errors when I ATTEMPT a put, get or send. My goal is to perform this within a WebFOCUS program. I've tried it from within the WF program, and from the UNIX PROMPT, with the same results -- I get errors stating that 'get', 'send', and 'put' are not recognized commands. Below is one of the syntaxes I've attempted within my WebFOCUS program:

CODE: [Select]UNIX cd /webfocus/
UNIX ftp ip address port#
UNIX put filename.xls p:/directory/filename.xls

Any help is greatly appreciated...I've been spinning my wheels way too long.

Thanks,

Linda

986.

Solve : My brain hurts - need some thoughts - c++?

Answer»

For the past few days I have dedicatedly put my mind into how certain types of programs work, and looking up information. These programs consist of:

1. internet browser
2. IM chatbot
3. Instant Messenger
4. compiler
5. operating system

I eventually plan on making one of each of these in my lifetime, and I have a long ways to go unless I get hit by a car or just plain out right die over.

I have a pretty good understanding of the basics of c++, can't say I have it all memorized or I've used it all, but I do have the understanding most of the time. I understand these are difficult tasks. For the goals that require internet access; yes, I know the first step would be to look up tcp/ip; for compiler, it would require a greater understanding of how compilers work and the c++ language. And for operating systems; how the operating system works or go and get a linux kernel blaahh blah blah. Honestly, reading through all these things that explain how something works doesn't teach me anything about how to program what they are talking about or at least give me all the commands and their definitions and how they are used, and not too many people around the internet are very helpful.

what I have learned so far has been through hands-on and the availability of explanations, plus working with php before c++ helped a whole bunch. (working on a forum right now, but having trouble with the login, but ill get there. The forum has gotten better each time I have lost it...well, I mean after I restored the computer a few times without backing up my forum hehe) But, anyway, any ideas on books for these topics, since there doesnt seem to be too many options left for me. And don't say, search Google; these forums were created to help people, not make stupid, downgrading remarks. I come as a beginner, asking a professional for advice (in a sense). Thanks.Quote from: zaryk on June 19, 2008, 11:16:53 PM

working on a forum right now, but having trouble with the login

I'm working on dating girls, but I'm having trouble with the "asking them" part... Wow. You have proved that people are as inconsiderate and stupid as I thought they were. But honestly, MAYBE that's just your excuse, maybe your really into guys. It's ok, I can ask my sister to go talk to some of her gay guy friend's so you all can go *hang out*.Zaryk, I answered as I did partly because of a certain section of your post. I reproduce it below for convenience:

Quote
And don't say, search Google; these forums were created to help people, not make stupid, downgrading remarks.

You surely are a beginner, if you do not realise the first thing about web forums, (as you apparently do not) namely, asking not to receive "stupid" answers is a sure-fire way to guarantee that those are the only answers that you will receive!

The reason for this is that the web is an intensely democratic medium, and people don't like being hectored by arrogant dorks.

Your subsequent reply showed, if further proof were needed, just how much you richly deserved that description.

So, in my language of choice, I recommend that you váyase a la mierda...

Quote
You have proved that people are as inconsiderate and stupid as I thought they were.

That's how you think people are? Study karma. Learn how you see in other people what you really are. Classic case of projection, there, doctor.


Really? Sweet. So do you have anything important to say? Because none of that helped me or offended me any.Quote from: zaryk on June 19, 2008, 11:16:53 PM

1. internet browser
2. IM chatbot
3. Instant Messenger
4. compiler
5. operating system


There really isn't any series of steps involved in the creation of any of these types of programs. In fact, in most cases the only things they have in common is function.

As an example, creating a compiler requires far more then just knowledge of the C++/C language, but also a intimate understanding of assembly, and/or Machine code(as ideally, that is what is written as output). It also requires an intimate knowledge of file handling, string PARSING, expression evaluation, tokenizing, etc...

This is why you can't find any specific information as to the creation of these programs, they are, as with any program, built with a group of smaller components. Once you gain an intermediate understanding of the types of data structures and algortihms required for the development of such tools, you can set foot into creating one. How does one develop such an understanding? Creating other programs. For example, one could gain the skills necessary for creating a compiler by creating a Expression Evaluation library, as well as a dissassembler. These two separate programs, once created, will give you [some] of the combined knowledge to effectively create a compiler of some sort (not necessarily C/C++, don't we have enough of those? I mean, as a learning experience it makes sense, but otherwise....)

For the other items, the same type of stuff applies- one would need to learn any algorithms involved. With Operating System, of course, comprising the behemoth, as one would require intimate knowledge of any and all hardware that the OS is intended to run on, the ABILITY to write a compiler to create the executables that can run on your platform, in addition to the drivers that it uses.




I BELIEVE I can think of a good book off-hand for Operating Systems, one called "Operating Systems: Design and Implementation"


Their are countless numbers of networking related books, but a good low-level TCP/IP book I find myself browsing is "TCP/IP foundations" by Sybex publishing.


Also, on a unrelated note, an unsaid first step to almost every post of this nature is to search google. If the hits you find are unhelpful or onconclusive, then you make a post. Although there is of course no harm in bending this rule, it sets yourself up, since if another member finds that the information you wanted was the first hit on google, it makes you look lazy, or requiring attention, or something along those lines... search for "how to write operating Systems" not in quotes, and the first hit seems relevant.


Quote from: Dias de verano on June 20, 2008, 12:26:13 AM
Quote from: zaryk on June 19, 2008, 11:16:53 PM
working on a forum right now, but having trouble with the login

I'm working on dating girls, but I'm having trouble with the "asking them" part...

ahh, see theres the problem, I don't bother asking. I just go up and say "me like u. You come to movie tonight." See, no question. Of course, some actually Misunderstand and think I was asking them, they make friends with duct tape.

"This is a good movie, isn't it, dear."

"mmmf mmuff meef meffff fffff mffff"

"I'm not taking the tape off, because you'll scream. And that's bad. because we were meant to be together."

"muffff muuuu mfffome"

"So what kind of music do you like?"

"mufff"

"Muff... never heard of them"
OK, I've been shamed into actually contributing (or trying to). I can only echo BC_Programmer's excellent advice. Basically, learn how to program. Then learn how to design software applications. (These are not the same thing).

Very few large projects such browsers or complete operating systems are written by individuals. They are generally collaborative efforts by teams of programmers, and for this reason, the ability to write code that can be maintained and understood by others is important. Far more important than competence in any one programming language is a deep understanding of topics such as algorithms, logic and project design and planning.

Unless you are a very special kind of genius (and given the need to work with others, even if you are!) you should go to college and, to begin with, take a degree level course in computer science with a particular emphasis on software design methodologies.

Books are in many ways better than web browsing. Some books that I have found very useful include:

The Elements of Programming Style, by Brian W. Kernighan and P. J. Plauger.

A very good introduction to the "art" of programming. This book is crammed with good advice. I still have my 1982 edition and it is not only useful but a good read as well. Not many programming books are!

The Practice of Programming by Brian W. Kernighan and Rob Pike.

This book covers a lot of things like debugging, etc that you don't normally learn in college courses, and touches on the topic of style.

The C Programming Language, Second Edition by Brian W. Kernighan and Dennis M. Ritchie.

The bible for many programmers.

Assembly Language for Intel-Based Computers by Kip R. Irvine

It's possible to learn Intel assembly language using this book alone, not taking a formal class, even though the text isn't really designed to be a "teach yourself" programme. Assembly language is a RATHER difficult topic, so you would have to be very motivated. I learned 68000 assembly before any other language, so maybe I am biased, but I think it is indispensable.

I hope you won't think I am trying to get all hi-falutin' and put you off, but I don't think it is a good idea to pretend that serious software design is easy.Code: [Select]Also, on a unrelated note, an unsaid first step to almost every post of this nature is to search google

Google is my bible. But, just like the bible to most people, they can read it but there are things that are hard to understand.

Thanks for both of your input.Code: [Select]you should go to college and, to begin with, take a degree level course in computer science with a particular emphasis on software design methodologies.

right now, Im working on an Associates of Science, then transferring to start working on Computer Science....the few computer classes that I have had are not required for graduation nor transferrable though (just wanted to take them), but I was exceedingly more knowledged than the rest of the students.
Quote from: zaryk on June 23, 2008, 10:07:53 AM
I was exceedingly more knowledged than the rest of the students.

I hope you hid that opinion from them.
I didn't have to, they knew it. There were a few times the teacher began thinking in java, and I would correct him. I was the first one done with tests, first one done with writing programs. They then started coming to me for help. I kinda got bored of the class, so at the end of the class period we would talk about java or winapi....of course, students stayed around and listened....and of course, the talking doesn't help too much because I learn better by doing step by step.shell_notifyicon is my favourite API. closely followed by DeviceIoCtl and DrawEdge. I suppose that I could give honorable mention to GetProcAddress and GetModuleHandle. I'd also like to thank the brothers SendMessage,PostMessage,DispatchMessage,TranslateMessage and GetMessage, for keeping the pump going.

I hate to name names but I have to call out TerminateThread for being exceedingly stupid, as well as TerminateProcess. And how can I forget, good old RtlMoveMemory in my old friend, Kernel32.dll, why if it wasn't for you, I wouldn't have been able to copy that entire structure back and forth from the alternate structures, and for that, I must thank you.
987.

Solve : A dumb question?

Answer»

I see that there is hundreds upon hundreds of RESOURCES online saying that "you cannot code programs with a hex editor."

And yet, in my garage, I have a computer which can ONLY be programmed in hex - its keyboard consists of 25 buttons {0-9, A-F, Goto, Exe, and a couple of other commands)

SO WHY ARE THEY SAYING ITS IMPOSSIBLE?

And as it is not impossible, where do I go to learn where to code it?I don't have direct expertise to answer your QUESTION, but I'm guessing that it's not so much that it's impossible, it's just that most people don't code at that level, anymore. (I've hard stories from the old days that there were guys good enough to key "hex" and "octal" and "ascii" DIRECTLY into the computers -- no punch CARDS, no tape.

I did a search, and found THIS.coding in Hexadecimal is really just coding directly in machine language. in order to learn it, you'll need to learn the instruction set of your target processor. Then, when you're done, you can do it again! because by the time you make something useful, the processor you originally wrote it for will be obsolete!

I'd like to make a revision to their statement:

"you cannot practically code programs with a hex editor"

988.

Solve : J2EE help?

Answer»

Hii
I am learning J2EE, for that I have got complete reference by Herbert Schildth, but it doesnot have any chapter regarding jdbc-odbc.
Could you please refer a FREE online document from where I MAY learn that.

Thanks in ADVANCE. Here is something I found:
http://www.businessobjects.com/pdf/dev_zone/crxi_java_startup_guide.pdf

Heres the search page I found it on:
http://search.live.com/results.aspx?q=j2ee+-+jdbc-odbc&form=QBRE

989.

Solve : Createobject Wscript.shell?

Answer»

how can i USE this to open an internet explorer window with specific dimentions?You mean something like this?

Code: [Select]Set objExplorer = CreateObject("InternetExplorer.Application")
objExplorer.ToolBar = 0
objExplorer.StatusBar = 0
objExplorer.Width = 400
objExplorer.Height = 350
objExplorer.Left = 300
objExplorer.Top = 200
objExplorer.Visible = 1

This link explains the methods, properties and events available to the IE object.



this is it exactly thanks Sidewinderone more thing , how can i load a webpage without USING the address bar? i mean from inside the script and automatic? i tryed object.Navigate but i dont understand the syntax im just learning , objExplorer.Navigate(_http://www.google.com) I'd be interested to know where you're learning the syntax from. Most languages REQUIRE quotes around LITERALS, and where the underscore came from I can't BEGIN to guess.

Code: [Select]objExplorer.Navigate("http://www.google.com")

Good luck

A good source for everything Scripting

990.

Solve : QBasic Question?

Answer»

Ive seen a sort of point and click type of programs MADE in qbasic, kinda like with a gui, does anyone know how to make that? where i can USE the MOUSE, INSTEAD of it all being command basedPossibly it was made in Visual BASIC 1.0 For DOS which looks very much like QBasic.There's probably something here for you..

Good luck.

991.

Solve : Java Program?

Answer»

Its been a while since I did JAVA but I have all my notes, what I WANT to do is MAKE an ocarina music TRANSPOSER. But when I go to put in the int for the sheetmusic I have to have all the NOTE values?

992.

Solve : VB6 - LoadPicture() in same directory?

Answer»

ok i have made a slot machine game in VB6 but i CANT get the PICTURE to LOAD right. I WANT it to load the picture in the same directory like this.
Code: [Select]Pic1.Picture = LoadPicture("b.bmp") but it says "Cant find b.bmp". any ideas?

help would be appreciated
,NickYou should coding like this:
Code: [Select]Pic1.Picture = LoadPicture("\b.bmp")or event
Code: [Select]Pic1.Picture = LoadPicture(app.path & "\b.bmp")
thanks qing, its WORKING now no thanks

993.

Solve : Oracle --- HELP?

Answer»

hey GUYS, i got somenthing for you guys hehehhehehhe, just joking,,, i wounder if some one can explain me whats the meaning of this sentence,,,,



“Despite software testing being used in software development for some time the assurance of quality software remains an issue”.

•agree/disagree with the above statement and motivate your
selection.



can some one help me with this, i really need it

tksYou should start a Poll Quote

Despite software testing being used in software development for some time the assurance of quality software remains an issue”.

Let's have a look.

The first sentence implies that even though software testing is a part of the development cycle, the quality of software remains a problem. Software is complicated. Not only does it have to work on the operating system for which it is designed, it has to "play nice" with all the other software which may exist on a person's computer, and it has to be able to work on a wide variety of hardware. That's part of why quality assurance is so difficult, and necessary.

A few months ago, I saw a program that was loaded on to a Local Area Network. This program had a virus-protection feature built into it. It did not allow certain files to be changed. The problem is, it "looked" at EVERYTHING on the computer, and would not allow updates to be made to a database which was part of an entirely DIFFERENT program.

I AGREE with the statement, because in spite of testing, quality software is still a problem.

I DISAGREE with the statement, because it makes it sound like testing is this new idea that's just come along in the last few years. EVERY program ever written has to be tested to see whether it will work. (Some coders are so good, they KNOW their code will work properly, but that first "run" is still a "test.") What that part of the sentence implies is that testing has become part of the ongoing software development cycle because it's become so complicated. The sentence says "for some time," which makes it seem which makes it seem like testing has not always been part of the process.

Quote
• agree/disagree with the above statement and motivate your
selection.

Let's see...motivate my selection...so you want me to take the response I wrote, and encourage it to do something.
"Motivation" may be positive or negative, but motivation is getting someone or something to do what needs to be done.

Quote
can some one help me with this, i really need it
Yes, you do.

Can some one help me with this? I really need it

You wrote a question and a statement and combined them with a comma. Yes, I understood what you MEANT, but had to spend extra time "processing" the statement because the syntax was incorrect.

Quote
tks

tks??

Oh, do you mean, "Thanks"?

You couldn't be bothered with three extra letters? How many people know that "tks" means "thanks"? You assume people will know, and it's more convenient for you, but it doesn't convey the proper meaning for everyone.

So what did I do, here? I took your question and turned it into a personal attack. Yes. No.

If we were to meet, I would shake your hand and call you "friend" and be glad to know you. The POST typifies a growing problem: people who can't or won't properly communicate in a written language format wondering why their code doesn't work. It's one thing to be new to a language or to not to have a language as a second language (though I know people for whom English is a second language who have better English skills than native speakers and writers).

I see more and more poorly written posts and memos at work and all kinds of things where people are making mistakes or being lazy and taking too many shortcuts with what they communicate. I guess they think it doesn't matter, or that everyone else will figure it out. The problem is, some of these people come to this forum and write, "My code doesn't work." I wonder how MUCH of it is the fact that they are not paying proper attention to the rules of the language, and the structure, and the syntax.

Oracle is a monster of a program. My understanding is people with skills in Oracle are usually well paid, because it is such a demanding software system.





994.

Solve : PHP Session variable in Java Script?

Answer»

I create some PHP pages with user LOGIN. All pages displayed only when a user is logged. Otherwise all pages redirected to Logon page.

After logon, the user name will be displayed on all pages.

That all are created and worked fine.


Now I want, REFRESH the user status(logged or not logged) in all pages for a particular interval.

Incase a user logged out from any one page then I want to inform all other opened pages that the user logged out.

In PHP, we can get user info using SESSION OBJECT. But I can't use it for every interval.

There is any way to get? Please tell me.I don't think that what you a trying to do would be able to be without the pages reloading every few seconds. I myself use php in My Website and have never seen any examples online where the page checks little bits of itself against what users are doing. It would be far easier if you had a note "Users Logged In when this page was loaded: User1, User2, SomeUser, TheOtherUser, Etc"
Then if they click to a different page, the website generates a different list.

Thanks Bones92.

I don't know that is possible in PHP.

But I see on some websites.

They publish rating or vote results in homepage. They conduct the rating or vote in a new window only. After rating, it closes current window and results refreshed in that home page.

I don't know what language is used by them. But there is a possibility available.So I want the same in my PHP pages.The only way to do that is by constantly refreshing the page. The way that the web server sends your web browser the HTML is stateless, meaning that it sends the text and then closes the connection. After the page has been loaded, the only way for the web browser to receive new data is to open another connection and request it.

So basically, create a PHP script that will display only the information you want to be constantly refreshed (a list of online users, if I've read correctly). Then, use javascript on the pages you want to display that to SET a timer that will occur every X seconds that will use AJAX to refresh the info in the element that's going to display it all.OK Spasm. I understand your words that explained the concept.Now I try to implement. But I am Beginner in PHP. So I need a little reference in PHP.

If you can tell me the any website(closer to your words) to REFER PHP and AJAX.

995.

Solve : How do I read from a spesific line in a .txt file in VB 2008??

Answer»

I believe the title covers it all but...

Code: [Select] Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim loadf As New System.IO.StreamReader("E:/sinistradc/save.txt")
loadf.ReadLine()
loadf.Close()
End Sub
that is as far as I have gotten.

Thanks in advance,
SimitraText files use sequential access methods, so you'll need to loop through the file until you find your record.

Code: [Select]Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim loadf As New System.IO.StreamReader("E:/sinistradc/save.txt")
Dim strContent As String
Do
strContent = loadf.ReadLine()
Loop Until strContent Is NOTHING
loadf.Close()
End Sub

How will you recognize this specific record?

If you looking for a record based on it's position in the file, maintain a counter inside the loop. For INSTANCE, if you want the 47TH record, when the counter reaches 47, the data you're looking for will be in strContent.

If you looking for a record with specific values, there are MANY functions available including mid, instr, left, right, etc

If the file is delimited, use the split function to parse the data.

As written, after each read, the CONTENTS of the record are in strContent.

Good luck.

996.

Solve : need to make a program?

Answer»

nid to make a program about employment system,sale n stock,payroll & embentory...HELP me PLSSSSSS ^_^ i nid a program using vb or JAVA script What? Explain a little. And less of the swear words.Posts edited to remove offensive language - zyven, please read the forum rules.
Post also moved to the correct board.
I have a feeling this is homework.embentory?
Quote from: Dias de verano on June 29, 2008, 06:45:31 AM

embentory?

Quote from: CALUM on June 29, 2008, 04:36:27 AM
Posts edited to remove offensive language

Calum isn't here to proofread and correct, that would be restricting the OP's creative fervor.

Quote from: zyven on June 29, 2008, 03:01:21 AM
nid to make a program about employment system,sale n stock,payroll & embentory...help me plssssss ^_^ i nid a program using vb or java script

What luck, I just finished making a program that does exactly what you want, but it's an EXE, and I'll need you to disable your virus scanner before you can run it. Then you'll have to let it through your firewall so it can download some important information from the internet. Quote from: BC_Programmer on June 29, 2008, 09:39:20 AM

What luck, I just finished making a program that does exactly what you want, but it's an EXE, and I'll need you to disable your virus scanner before you can run it. Then you'll have to let it through your firewall so it can download some important information from the internet.

He he
997.

Solve : C + HAS GOT ME BETWEEN A + AND A COMPILER PLEASE = THE -?

Answer»

i have downloaded I BELIEVE GNU C and the GNU++ i believe debugger
i am trying to learn C++ i was directed to download the GNU from the book. after downloading it i read the README and it was built for C "but will compile C++ language could someone explain compilers for a second i know they ccompile your program after you download it into the compiler and turn it into a workable intendended program.
is the rhide compiler only for C/C++ could you give it a taste of JAVA, or a dose of HTML
is HTML a compiler?
is jdk a compiler?
are compilers specific for instance i found a site that you ccould use their compiler if you needed one (it was a research site)
i know a java jdk is for java is it a compiler
WHERE DO I START THE PROGRAM?

my intended question is after i downloaded the GNU
the book directs me to enter the C++ program into the dos command. window
i do.... i finish.... i can't direct the file anywhere because i have no directory to put it
the book directs me to put it into a file called conversion.cpp do i make the directory if not it is not in the directory of options.
if i hit the C:\ it only shows me about 4-5 files i can deposit
so i try to make a directory from the prompt i can't could you explain the process i read the dos section at this sight
the MKDIR [C:]path does not work
the MD [C:]path does not work
i cannot use the complier everytime i use the rhide interface i get a message the DGJPP environment variable is not set i have tried every which way to set it the environment but does not compute (have it set) or it's there maybe i am not doing it right i need specific directions. i have tried everything
how come you write in the windows prompt and not the rhide

another question i downloader the JAVA JDK i have no idea where to start which file could someone get me started there also you donj't know how much and long i have struggled trying to get started i am begging please help
i know it is something simple
thank you ruby
I KNOW I HAVE A LOT OF QUESTIONS BUT I AM AS CONFUSED AS A WORM WATCHING A NEWBIE GEEK REARRANGING THE REGEDIT FILES.
Quote from: RUBY02 on June 24, 2008, 08:37:10 PM

download it into the compiler

First things first- "downloading" is the act of retrieving data from a remote computer, not installing a program or loading a file into a program. This causes a lot of confusion on these forums (for me, anyway).

Quote from: RUBY02 on June 24, 2008, 08:37:10 PM
after downloading it i read the README and it was built for C "but will compile C++ language ...
is the rhide compiler only for C/C++ could you give it a taste of JAVA, or a dose of HTML

no. HTML is a markup language, not a programming language, and doesn't need to be compiled, and Java, like HTML, isn't C OR C++, so I'm assuming that a C/C++ compiler wouldn't be able to compile it.

Quote from: RUBY02 on June 24, 2008, 08:37:10 PM
is HTML a compiler?
HTML is a markup language. the web browser Interprets the HTML tags to determine how to "markup" the text. And no, there is no compiler for HTML files (ignoring the mess that becomes Microsoft's CHM format).
Quote from: RUBY02 on June 24, 2008, 08:37:10 PM
is jdk a compiler?
it includes one, jvc.exe. A java bytecode compiler. transforming .java files into java bytecode .class files for the virtual machine, these class files you can subsequently run using the "java.exe" program, or applet viewer.


Quote from: RUBY02 on June 24, 2008, 08:37:10 PM
i know a java jdk is for java is it a compiler
err- why did you ask this twice

Quote from: RUBY02 on June 24, 2008, 08:37:10 PM
my intended question is after i downloaded the GNU
the book directs me to enter the C++ program into the dos command. window
i do.... i finish.... i can't direct the file anywhere because i have no directory to put it
the book directs me to put it into a file called conversion.cpp do i make the directory if not it is not in the directory of options.
if i hit the C:\ it only shows me about 4-5 files i can deposit
so i try to make a directory from the prompt i can't could you explain the process i read the dos section at this sight
the MKDIR [C:]path does not work
the MD [C:]path does not work
i cannot use the complier everytime i use the rhide interface i get a message the DGJPP environment variable is not set i have tried every which way to set it the environment but does not compute (have it set) or it's there maybe i am not doing it right i need specific directions. i have tried everything
how come you write in the windows prompt and not the rhide

The main hurdle your experiencing here is command prompt itself. mkdir and md would have worked fine had you omitted to square brackets, and added a slash, as in MD C:\path

In addition, why and how are you using command prompt to create these files? "copy con"? A more flexible and reliable method would be to use a text editor of some description, such as notepad, and save it with the appropriate filename.

which ways have you tried to set the DGJPP variable, and what are you setting it to? chances are it wants to be set to the directory of the DGJPP include files...


I'd include step by step instructions but an easier method to to learn exactly what your doing in command prompt.

"the files it shows you" on C:\ are PRESENT ON C:\, not files you can deposit (whatever that means).


I'd be able to provide more detailed help, but instead of asking more questions you should flesh out the more important ones. Such as how you've gone about "trying to set" the variable, how exactly your entering the files into the command prompt, ETC. This way we can provide more thorough explanations as to why it works the way we describe, as opposed to simply droning off a list of steps to perform your task a single, non-repeatable time.

Also, let's stick with the C/C++ or java problems until we resolve them, then we'll go about fixing the other, okay?


okay thanks so much for getting back with me. i am as lost as virus in steril file. i worked all day or most reading info on this sight. i believe what this gnu wants me to do is make a batchfile so that i can either enter rhide into the run prompt or open the windows prompt cmd. and enter rhide and the rhide editor pop up. what is happend is i can't set the variable because i am going by the books direction and not my knowledge. the location of the file is different. so i will tinker and when i can ask a knowledgeable question in a fashion you can answer i will do a retake hangten
ruby
thanks no bytes could compare to your PATIENCE thank you much appreciation
by the way if figured out i was using [] and \ and word"path" and on and on this is what baffles me computer instructor are excellent teachers plain and spoken and easy to understand but i am confused why they would write a syntax you can't even use. a new programmer i assume copies exactly the directions. Quote from: RUBY02 on June 25, 2008, 10:09:44 PM
by the way if figured out i was using [] and \ and word"path" and on and on this is what baffles me computer instructor are excellent teachers plain and spoken and easy to understand but i am confused why they would write a syntax you can't even use. a new programmer i assume copies exactly the directions.

Sounds like you are trying to run before you can walk.

Very often, in code examples, square brackets mean "This is an example, change what is in the square brackets to suit your own case". "Path" in those examples probably means "the path to the folder", not the literal word "path".


THANK YOU FOR TRYING TO ANWER MY QUESTIONS.
you have cleared some hexes and binds

berfore i forget i wanted to answer you about the DGJPP FILE I HAVE TRIED TO GET TO HEED TO MY TYPING'
I ENTERED THIS IN THE AUTOEXECT.NT FILE OF MY XP SYSTEM32 FILE
@echo off---------------------------------THE ECHO OFF WAS THERE ALREADY
set PATH=C:\DJGPP\BIN;%PATH%
set DJGPP=C:\DJGPP\DJGPP.ENV
i also made a file in the same place system32 file an autoexect.exe because i could not find one already in place(i made it with notepad)
i also put them in the environmental variables user and system windows
i placed them everywhere but my forehead!(i know what your thinking)
=====================================================
okay i have scratched the DGJPP C/C++ PROGRAMMING FOR RIGHT NOW!
i have scratched the JAVA PROGRAMMING FOR RIGHT NOW.
AND I HAVE PUT THE HTML ON HOLD.
the reason being i was advised that i should learn LINUX-UNIX.
HERE IS MY GOAL AND WHAT I WANT TO DO OR TRYING TO DO
i want to learn how to build programs i realize that is in the future.
so i bought a few books that claimed in 21 days i would be on my way stacking the world with my brilliant files of excentric programs. i have spent 31 days on the first 10 pages trying to set up the programs to work on by computer. when i couldn't get the first to work such as c++. i drifted into java because i was more familiar (windows used the program to run some of their programs) i downloaded java jdk from their site as directed by their book. i got it all downloaded and such but i don't know where to open the jdk window. (both of these programs i have ended up using notepad and saved the files). i realized that i couldn't do much or anything with them unitl i understood how to make directories and folders that could find each other in their programs(hello world, conversion.cpp, ect...) i was programming in. so i politely thought i would learn how to get the dos prompt to work for me. i soon realized that i needed my head examined. i spent an entire week reading on this site about MS-DOS AND THE COMMANDS. i finally got the command. and cmd prompts to open up and stop flashing me. (i was informed xp does not have MSDOS)(THAT INFO WAS A SCREAM) i tried a few execises on this site (simple one) and i could not get these to work. i have got bytes and pieces from people and i found out like you said [] i did not need. since finding out i didn't have to type exactly like the sites directions with the \, [], and that i use my enter after a command not a line of commands , i may be able to use the prompt more effiently(I haven't tried yet). now, my last point then i have a favor to ask, for the last week i have tried to download LINUX ONTO MY COMPUTER. i found out everyone and their mother loves or uses LINUX AND HAS IT FOR FREE. i found out on stumble it is the number one essental language to use and know. i have tried to download it several times in several different ways such as
in ISO FORMAT
live through a bit torrent
semi live to file from maybe (ftp) from bosnia, cancun, egypt, and georgia university. it downloads and leaves an icon
i have tried to download it to a
4 gig slap stick
to my c drive
to my d drive
to my mail box
to may car
i have tried to to burn it with a cd burner
with a cd, with a dvd, with matches, with a lighter,
you name it have tried it all. i finally did everything at the same time
i started downloading live from the ares sight on my c drive
i started the cd burn the program from the d drive
something happend and the program that was on my desktop i believe (who knows it could have downloaded from botwania but it burned.
after it finished it politely started downloading to my computer it divided my d drive (partitioned) and downloaded what it felt like when i boot i have a choice for
xp
the kernal
the 3 legged boot
if i choose xp i get xp
if i choose the kernal i get asked a few questions and the a prompt
i have not chosen the 3rd
so this is where i am......... confused a virus in steril file
i have tried to explore the cd, i can open a few files, i don't know what's next
this is what i would like to ask ........give me some specific
minor commands that an alzhiemers patient in ICU COULD PREFORM. with my (cmd) command prompt whether it is making a batchfile or just changing file.THESE BOOKS get my hopes up then boom it stops there because the next step the command does not work, no such file, ect...... I NEED TO BE ABLE TO COMMUNICATE, IF I GET STUCK, I CAN GET SOME FEEDBACK AND GETTING BACK WITH ME HAS BEEN WONDERFUL
I BELIEVE IT IS JUST GOING TO TAKE SOME MINOR PUSHES, BECAUSE I AM PRETTY EFFECIENT ON COMPUTER AND UNDERSTAND MORE THAT I CAN DO. SO IT'S SOMETHING SIMPLE I AM MISSING.
with many bytes of graditude i would LOVE tHE computer to say "hello world"
kiss my usb, eat my monitor, shut the cd up, eat my dvd. something besides claiming to be gutless(no internal, external)
ruby
thats my story!
i was told i needed to learn how to maniputlate files by changing settings and familarizing myself about how to give commands.

to get linux:

1.download the ISO
2.burn to a CD

which step is causing the problems?Quote from: BC_ProgrammerBC
which step is causing the problems?

In the space of 31 days, he got defeated by C, bored with MS-DOS, confused by Java, thinks Linux is a "language"...


Quote from: Dias de verano on June 30, 2008, 12:20:55 AM
Quote from: BC_ProgrammerBC
which step is causing the problems?

In the space of 31 days, he got defeated by C, bored with MS-DOS, confused by Java, thinks Linux is a "language"...




On that topic, where did he get this information:

Quote
i drifted into java because i was more familiar (windows used the program to run some of their programs)

Last time I checked most of windows was written in C, And I don't even think any java programs come preinstalled.


Quote
semi live to file from maybe (ftp) from bosnia, cancun, egypt, and georgia university. it downloads and leaves an icon

which in all likelihood is the image file that needs to be burned.

Quote
THESE BOOKS get my hopes up then boom it stops there because the next step the command does not work, no such file...

this wouldn't be a problem unless one was flying completely blind through the console. Perhaps learning a bit about the command interpreter would be ideal?I AM A SHE!
i know it seems like i got board or defeated but exactly what you said at the end is what i realized i needed to do is get familiar with using the commands and such
i thought that when i started using or learning c/c++/java that it was like setting up windows. i can take my computer with no program install windows and start using it. these computer programs you have to set them up and make small programs such as "hello world, conversion.cpp, mkdir folders and such. i found out very quickly even the windows cmd.
since WRITING and asking for advice i can now make a few commands work so i am getting farther and farthe. like i said before if i could get specific feedback i know i could get the programs set up and start learning.
as far as the linux it is burned now some of it did not download into the d directory and i don't know how to unistall i know something is there because my computer gives me options. so i was going to try to reinstall the program.
where do i look to see where it's at like i go to windows if i want to see windows program did it just download the kernal and stay on the disk if so
USE THE PROGRAM FROM THE DISK. IF SO COULD YOU GET ME STARTED I HAVE NO IDEA.

i know windows does not come with preinstalled java i installed it. i should have said that i don't know but i thought i don't know that either i believe i was just trying to explain the programming cycle of learning and realization i needed to back up so i can set these programs up...... now i have tried LINUX..... THIS IS NOT EVEN FUNNY .........YOU GUYS HAVE TO READY TO BAN ME FROM ANY MORE QUESTIONS. YOU WOULD THINK I COULD ASK PEOPLE AROUND ME . IT'S UBELIEVEABLE HOW COMPUTER ILLITERATE PEOPLE ARE CONCERNING COMPUTERS. theses programs just don't miraculously get you going.
anyway i can't get my burner to burn the cd for reasons it seems does not recognize it's there because it it not telling it has a files or whatever waiting

i can rt click and it gives me the option i thought maybe i couldn't because of my disk space it kept telling me it was getting low so i went about erasing all the bit torrents, iso recorder and a different verisons of linux and started over. i think now i just need something
NOT A BIT FUNNY THIS IS SAD I HAVE ALL THESE PROGRAMS AND CAN'T THEM STARTED IT'S SOMETHING SIMPLE I HAVE WENT AHEAD AND WROTE SOME OF THE PROGRAMS IN THE BOOKS I UNDERSTAND HOW AND WHAT THE COMMANDS DO.
RUBY

so i downloaded an ISO RECORDER that did no good either

Quote from: RUBY02 on June 30, 2008, 05:28:12 PM
I AM A SHE!

Sorry, we didn't know you're gender, and using "they" would be gramatically incorrect , Besides, visitors to this site are predominantly male. Oh well.


If the Linux CD is an ISO, use IMGburn, great cd burning software

Quote from: RUBY02 on June 30, 2008, 05:28:12 PM
i thought that when i started using or learning c/c++/java that it was like setting up windows. i can take my computer with no program install windows and start using it.
Here is the misunderstanding. Compilers/Linkers, etc, they are not necessarily designed to be easy to use, since they aren't used by mainstream users, and (the assumption goes) anybody interested in a Compiler/Linker will also know exactly what they are doing. Windows, on the other hand, is designed from the get-go to make a computer more accessible to people who otherwise wouldn't want (or need, but that's a different story altogether) a computer. The thing is, this ease of use my be the root cause of the problem, since your so used to the GUI and the "windows" way of doing things, that you are blindsided into believing the Windows method is the only way of doing it (or more precisely, since GUI tools are all your familiar with, you are (understandably) completely lost on the topic of command lines and so forth. This is what I gather from the information I was able to get from your posts.


Personally I HAD to learn the command-line, simply through necessity. I believe I was thirteen, (a mere- 8-9 years ago) and I had a 286 sitting in the closet. Couldn't even run Windows 3.1, so I just tossed DOS 3.1 from my step-dads XT computer on it, and wrote batch files. I got into it over time, and acquired newer hardware (thanks to my computer science teacher in high school).


The best solution is reading. And NOT information on the internet. Why? Well, first a lot of information on the web is inaccurate. Since you're learning some of this stuff for the first time, you want correct information. In addition, people comprehend books a lot better then On-line material (At least I do).

Personally I got into programming (with VISUAL Basic 2) with the DOS 6/Windows 3.1 Manual, The Visual Basic Programmers Guide, Language Reference, and "professional Features" manual.

Now, let's see if I can answer some *more* of your questions


As I said before, there are only two steps required in getting Linux. First download, then burn the ISO. you will need a program that can burn the image, the windows built-in burning facilities are limited and frankly blow. I recommend a program called IMGburn, it can burn ISO files and the like.

Quote from: RUBY02 on June 30, 2008, 05:28:12 PM
where do i look to see where it's at like i go to windows if i want to see windows program


Don't take this the wrong way, but I'm having a lot of trouble understanding a lot of what your asking/posting- here is a prime example. Your asking about getting Linux, and yet there is something about a Windows program here sorry!
Also:

Quote
i can rt click and it gives me the option i thought maybe i couldn't because of my disk space it kept telling me it was getting low so i went about erasing all the bit torrents, iso recorder and a different verisons of linux and started over
what option, what are you right clicking, what ISO recorder?



The linux CD is an Image because it is bootable. you will need to boot the computer with the Linux CD. And, in order to install you will need a partition separate from your Windows Drive. If you don't have one, I'm not sure wether it will work, since I have never installed linux.


Also, you are definitely trying to learn too many things at once, Java, C++, etc. do one at a time. preferably in order of difficulty. For example, HTML is a very simple start, it isn't a programming language, but it can get you put into the right mindset, where the computer can only do what you ask it to. Then you can try moving onto a programming language.

Also, if you want answers, you could ask one question at a time- you are asking many questions, and I really don't know which ones you would prefer were answered, and also other questions are based on hypothetical answers to your other questions.

Do keep asking questions though, and I will do my best to answer them what happend was when i made room on my disk the burner burned the linux then it downloaded now what on the boot it gives options that take me to nowhere. does it stay on the disk i burned.
rubyQuote from: RUBY02 on June 30, 2008, 06:29:08 PM
now what on the boot it gives options that take me to nowhere.

can you elaborate?i am reading the readme files for the dgjpp compiler it
i checked the longfile it accepts them next


i was told that xp is not based on MS-DOS SYSTEM BUT NT
but that it has a dos emulator so that it can emulate the old systems
that it does take some commands. (not really called dos commands)okay i screamed.....accepted....moved on now i am trying to figure out why i can't get this DGJPP TO LET ME USE THE RHIDE INTERFACE they inform me how to fix certian settings if fix the longfile name or looked it already accepted
THE DPMI SERVER BUILT INTO NT LOSE DOS MEMORY ....DOS MEMORY?

NOW I AM LOOKING AT THE NEXT SETTING IS THE DJGPP IDE RHIDE
the readme says it needs a -m switch to work
how do you do this?
above before these directions because dos and nt so interwined i got confused but does the RHIDE program work on NT i could have sworn it said it did not that you had to use the MS-DOS WINDOW
RUBY
998.

Solve : setting the environment variable?

Answer»

i set the environment variables for the djgpp program in the in ENV variable programS WINDOW.

user variable
variable NAME DJGPP
C:\DJGPP\rhid15ab\BIN\rhide.exe

systems variables
variable name %PATH%
C:\DJGPP\rhid15ab\bin\rhide.exe\.env

the C++ programming book says to set it like this
set PATH=C:\DJGPP\BIN;%PATH%
set DJGPP=C:\DJGPP\DJGPP.ENV

I HAD IT SET LIKE THIS (THE BOOK)FIRST BUT I PUT MY 2 SENSES TOGETHER. I ASSUMME,
ONE OF THESE OR BOTH ARE BEING SET TO BE DECTECTED, SO I CHANGED THE SETTINGS TO ABOVE (FIRST EXAMP) WHERE THEIR LOCATION ARE SPEC..

WHICH IS IT? NEITHER WORK

BY THE WAY THE REASON I ASKED SUCH A STUPID QUESTION ABOUT FOLDERS FINDING EACH OTHER (MIGHT NOT BE HERE I ASKED)
BECAUSE, I FINALLY LEARNED HOW TO USE COMMAND PROMPT
THIS WAS MY PROCESS
CMD....... ENTER (START RUN
CD\.......ENTER
CLS.......ENTER
EDIT AUTOEXEC.BAT........ENTER
I ENTERED THE ABOVE LINES LIKE THE BOOK SAID (NOT THE ABOVE ABOVE) FIRST EXAMPLE.
THE ENVIRONMENTAL VARIABLE DID NOT CHANGE IN THE ENV. VARAIBLE WINDOW WHY?
ALSO,
CAN YOU HAVE MANY "PATH"VARIABLES LISTED FOR EXAMPLE 2 PATH VARIABLES?
OR DOES IT HAVE TO ENTERED ON THE SAME LINE AS THE OTHERS. ( I NOTICED ABOUT 3 SEPERATE PROGRAMS THERE?

COULD YOU TELL ME IF SHOULD BE GOING BY THE BOOKS EXAMPLE OR WHERE THE FILES ARE LOCATED.
THANK YOU RUBY

999.

Solve : downloading dev c++?

Answer»

I have been trying to download DEV c++ but it keeps on failing at 607KB wha am I doing wrong or is it a site problemWhat browser are you using? What is the website? How big is the file?Quote from: kpac on August 09, 2008, 03:16:52 AM

What browser are you using? What is the website? How big is the file?
CHANGE to another site,RESTART your computer,try other browser :firefox,opera IE and so on...What do you mean change to another site? We should try FOCUSING on fixing the problem, not HIDING it.
1000.

Solve : souce code of ftp in linux?

Answer»

my SELF yakub
and i WANT to see the source CODE of ftp server where can i FIND it?