

InterviewSolution
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.
551. |
Solve : Hide Interface vb.net? |
Answer» Hello, |
|
552. |
Solve : Reading Binary Code from file? |
Answer» Hello, |
|
553. |
Solve : Ms Access - Pass value in form to subroutine.? |
Answer» I have added a VBA Command Button to a Form in a MS Access DATABASE. The Command Button executes the following code when clicked. |
|
554. |
Solve : File handling in C? |
Answer» Hi, |
|
555. |
Solve : COOKIES..please help? |
Answer» HI , |
|
556. |
Solve : How to reinstall the entire computer? |
Answer» Hi everyone. NEW to this site was looking on the internet for some possible help. Here is my problem: My aunt who often has problems with her computer messed up her computer again. But this time I don't know how to fix it. It is a Gateway that had Windows Millenium 2000. It starts up fine then it comes to the part where you see the wallpaper and it says error with internet explorer and it must shut the program down, you click ok and then the computer freezes. You see nothing but the wallpaper (no icons). I then try alt ctrl del. It pops up but there is nothing in it. No PROGRAMS running listed. I try restarting again and the same thing again and again. She said she didn't delete anything. She said that an aol program poped up and asked her to update aol. She clicks ok and the computer freezes. She restarts and the computer then ends up with this problem. If anyone out there knows how to fix this PLEASE respond. |
|
557. |
Solve : Desktop Refresh? |
Answer» Does anyone know how to refresh their desktop with vba?? can't believe that a simple microsoft function may have not been covered.....You could try this: Code: [Select]Private Sub cmdRefreshIcons_Click() ' routine to refresh the desktop. ' copied from (URL address BLOCKED: See forums rules) Dim icon_size_string As String Dim new_icon_size_string As String Dim result As Long ' Get the current icon size. icon_size_string = GetRegKeyValue( _ HKEY_CURRENT_USER, _ "Control Panel\Desktop\WindowMetrics", _ "Shell Icon Size") ' Increase the value by 1. new_icon_size_string = FORMAT$(CInt(icon_size_string) + _ 1) SetRegKeyValue HKEY_CURRENT_USER, _ "Control Panel\Desktop\WindowMetrics", _ "Shell Icon Size", new_icon_size_string ' Send HWND_BROADCAST to refresh the icons. SendMessageTimeout HWND_BROADCAST, WM_SETTINGCHANGE, _ SPI_SETNONCLIENTMETRICS, 0&, SMTO_ABORTIFHUNG, _ 10000&, result ' Restore the original value. SetRegKeyValue HKEY_CURRENT_USER, _ "Control Panel\Desktop\WindowMetrics", _ "Shell Icon Size", icon_size_string ' Send HWND_BROADCAST to refresh the icons again. SendMessageTimeout HWND_BROADCAST, WM_SETTINGCHANGE, _ SPI_SETNONCLIENTMETRICS, 0&, SMTO_ABORTIFHUNG, _ 10000&, result End Sub just be careful when modifying registry. You could render your computer useless, until re-install of OS. Re-installing OS just about solves everybodies problems lol. no joy my friends, what about a script that does a specific folder - could try doing it on the desktop folder instead???You might try to get a handle for the DESKTOP folder and use the sendkeys method of the shell object to mimic F5. Code: [Select]Set WSHShell = WScript.CreateObject("WScript.Shell") strDesktop = WSHShell.SpecialFolders("Desktop") WSHShell.AppActivate strDesktop WSHShell.SendKeys "{F5}" STILL no word on why you'd do this from within an application. 8-) Edit: found this solution on the net; it's still written in VBScript not VBA though |
|
558. |
Solve : split function or whatever works in Access? |
Answer» What is the code or expression used to RETURN text separated by a comma. In other words, in a text field containing a last name separated from the first name by a comma, what do I do to return either the last name up to the comma or the first name after the comma. I can't use "left" or "right" because the names are all of different lengths. I've TRIED working with the split function but am not doing it correctly. Thanks for any help offered.You can use a combination of left, right and instr (In String). Instr returns a number equal to the first place it finds a specific character. |
|
559. |
Solve : how to execute a ASP file when windows Starts?? |
Answer» I have been trying to find out the way , to excute a ASP page as soon as windows start. I have WRITTEN a ASP code which RETRIVES the information from the server and displayes it on the Internet Explorer. |
|
560. |
Solve : image size? |
Answer» I recently had my PC rebooted new with "WINDOWS Home edition" The size of of EVERYTHING i can see is incredibly small in size.I thought i COULD figure this out pretty EASILY but I cannot seem to figure this out. Any response would be appreciated, thank youtimm......What resolution is your display set at ? You may want to reduce it .......GO to your control panel and click on display ........ |
|
561. |
Solve : Bios where to?? |
Answer» well i ve notived that my BIOS is outdated...i download a NEW one...but now i dont know where to PUT it...any help please?You need a BIOS flashing UTILITY, you can probably get one from the MANUFACTURER's website...but a BIOS flash can be dangerous...ok thank you ...by dangerous... you mean?If you don't follow the instructions correctly and/or it just goes wrong for some reason (maybe a power failure) then you can corrupt the BIOS, badly damaging your system. well i ve notived that my bios is outdated...i download a new one...but now i dont know where to put it...any help please? Do you have a specific problem that the BIOS update addresses, or you just want to do it because it is newer? If it is the latter you may want to rethink this, and research a LOT. What motherboard, where did you get the file, etc. If it was not from the manufacturer's site don't do it. If it was, then read the instructions there. unless something is worng, which it dosen't seen so DONT DO IT. |
|
562. |
Solve : phoenix BISO with memory chip? |
Answer» I am GOING to link my PC to an existing embedded PC includeda "disk-on-chip" memory chip. |
|
563. |
Solve : validation/doctype? |
Answer» can anyone give a hint about the doctype problem I ENCOUNTER? I use a floating NAVIGATION menu that does not float when USING |
|
564. |
Solve : how do a exe. file on the table of vc? |
Answer» I am longing to know how the exe.file done on the table of VC!Is SOMEBODY who know deeply TELLING me the method?thank u!Are you tring to compile your code to an EXE in Visual C++? CONFUSED with this brief description |
|
565. |
Solve : maximize/minimize window using VB? |
Answer» HI guys, How to maximize window for program that is running and minimize it using VBscript? Actually I want to automate ALT+TAB function to switch display between few program that are running at taskbar. Could somebody HELP me... One of the shortcomings of VBScript is that it can't access the Windows API. There are 3rd party controls available (Google for them...specifically you're looking to use the User32.dll features in your code). The AppActivate method can tell you if a specific application is running but I suspect you need more than that. 8-)If you can call to an exe to execute, you could create an ALT+TAB macro with Jit BIT Macro recorder/compiler.... I use this software for all my macro needs, just not sure if you can call your EXE Macro from within VB. I know in C++ you can call the SYSTEM command and place your command or file you want to execute following it and have it execute. You can try Jit Bit at http://www.jitbit.com/macrorecorder.aspx I use this tool to create macros that are referenced by C++ and Batch Files ... Hope this helps, the software is cheap if it works for you. $35 and it has PAID for itself over and over again for redundant automated macro routines... 8-)Thank 4 your feedback guys. Is there any other way instead of using VBscript PROBABLY C etc...Actually any high level language will do. Check out EnumWindows for an example in VB. Good luck. 8-) |
|
566. |
Solve : How to draw a Karnaugh map?? |
Answer» Can someone show me how to DRAW a karnaugh MAP for: ABD'+A'BD'+AB'D+A'CD+ABCD and the how to simplify the expressionOh, you again. Did you even SEARCH GOOGLE? |
|
567. |
Solve : Get array from a file in vb.net? |
Answer» Hello, |
|
568. |
Solve : Sub Directory in VB.net? |
Answer» Hello, Actually I have no idea how VBScript works VBScript is a subset of VB but without the forms, the variable declarations, and all that pesky compiling. Actually the snippet was posted to show you a method to accomplish your task. It was not posted as a solution as there are differences between VB and VBScript. 8-)Well thanks for your help I understand your code a little but I don't KNOW how to write it in vb.net :-/ But I least know I have something Thanks Al968 |
|
569. |
Solve : Date Script? |
Answer» I need a windows batch FILE that I can RUN to look at log files and copy all files older than x days. I have alot of experience with UNIX scripting and know exactly how I would do it with shell scripting. I haven't done much scripting in the windows environment. I can't use WSL due to security reasons. |
|
570. |
Solve : Does anyone know of a BASIC....? |
Answer» Quote QuoteVB.NET uses this METHOD where it goes into Microsoft INTERMEDIATE Language and is compiled / INTERPRETED by the END user. |
|
571. |
Solve : Prolog programming.? |
Answer» Greetings to all, |
|
572. |
Solve : ASP .NET? |
Answer» Could anyone tell me where to find the Upload control in Visual Studio .NET. |
|
573. |
Solve : Using batch file to run Access VBA modules? |
Answer» Is it possible to create a batch file that will automatically start Access (2000) and run VBA code? I have done it with macros in Access, but not VBA code. ThanksYou MIGHT be able to use the /CMD switch. You could pass data as a command line argument provided your code knew what do with the data. |
|
574. |
Solve : Unpack vb.net? |
Answer» Hello, |
|
575. |
Solve : Bat File in Win 2000 to execute macro in Access? |
Answer» I am using Scheduled TASK in Win 2000 to run a simple batch file I created in Win 2000 (Note Pad). The batch file is to open a Access 2000 Database and EXECUTE a macro that will run queries and dump data into a history table. My batch file will GO into the Database, but will not execute the macro. I use the Access data everyday to run daily reports and it is working fine. Any ideas what I am doing wrong? Here is the code I pu together. Thanks |
|
576. |
Solve : Variable in VB.net Project? |
Answer» Hello, |
|
577. |
Solve : Got VB? |
Answer» HEY I just got VB to help me with my course work i hate PROGRAMING i remember learning TB Silver those were the DAYS lol. Anyone know where i can get tutorials? R0SS Ask the tutor of computer lessons. |
|
578. |
Solve : Error in vb.bet? |
Answer» Hello, I was running my vb.net when I got an error message saying that it could not read a file because it was being used by an other process There is not enough code posted to see the problem, but the try/catch construct is for the file read. pseudocode: Try read the file (you will need other parameters depending on what type of read this is...database, flat file, random read) Catch EX as Exception code this piece of what to do if the read fails End Try Good luck. 8-) PS. Did you read the links that were posted?Yes I did and they were useful thats how I came up with the code in my previous POST. Isn't the pseudocode exactly what I have ? Thanks Al968 |
|
579. |
Solve : Mail from VB .net? |
Answer» Hello, PS. There is a special place in *censored* for spammers. al968, I think he was referring to you for spamming the BOARD with a lot of questions that might be better handled if you SIMPLY bought a book, or took a class, or search on the Internet, etc. |
|
580. |
Solve : Visual Basic: MS Word Macro? |
Answer» This should be a pretty simple question for anyone familiar with MSVB functions. I'm pretty good with them, but I just don't use it enough to know what this particular function is called... ExampleYou may also want to read the help files on protecting/unprotecting documents. Incidentally if you have Office Pro, then you should be able to use InfoPath, which is a much better tool for this job.I've never heard of infopath, but I'm sure I could figure it out on my own pretty quickly; could you provide a brief explanation? (or a link to an good source of entry-level info; I googled it but it turned up general information & not-quite-newbie style info.) As for the selection object - that accomplishes nothing. I tried to explain this in my post without being too verbose, but I guess I was too vauge...srry. I know how to use the copy command to put items on the clipboard, but (as far as I can tell) the object only works on data that physically exists within a document. You can copy plain, cells, columns, database FIELDS, and the like using the '.copy' command. This poses a problem for me because the data I want to place on the clipboard doesn't physically exist anywhere on the document, and cannot be placed (even temporarily) on the document because it has to be locked at all times. I have read the help file inside and out for the Copy command, as well as all related commands. The selection object serves me no good since it, like Copy, can only be used on physically existing information within a document. Something like: Dim MyString As String MyString = "Hello World" MyString.Select Selection.Copy Does not work. I've searched the help document for several keywords like "clipboard", "copystring", "strcopy", "stringcopy", & "str", but I keep turning up the same useless information... ...it's hard to search for information on something that you don't even know the name of!You might try using the Clipboard class which has two methods (SetDataObject and GetDataObject) SetDataObject is used to copy data to the clipboard. GetDataObject is used to retrieve data from the clipboard. Don't know if this works in VBA, but it's all the rage in VB. Clipboard Good luck. 8-) |
|
581. |
Solve : inspiron 1000 start up problem (i need help plz)? |
Answer» I have a Dell Inspiron 1000 that would randomly shut down. After much trouble shooting, I discovered that when you move the LCD screen even an inch, the laptop screen would shut down, and I would have to REBOOT. I know that some LAPTOPS offer a power saving feature that allows a user to either hibernate or put the computer to sleep when you close the lid. I don't even have to close the lid, moving it an inch will cause it to shut down. I turned off all of the Power Saving Features in XP, but it still does this. Bad LCD, or is there something else that is CAUSING this? |
|
582. |
Solve : Algebra? |
Answer» Dilbert, I made a C++ program to work out the answer for the question you posted in quotes. I assume you have to FIND the right X and Y values that make the "X" on the left hand side (that I assume is a different X, otherwise it makes little sense) a maximum or minimum value. The maximum value is 27 when Y = 9 and X = 0 and the minimum value is 0 when both equal zero. Although it's fairly easy to solve just by looking at it. Try posting a more difficult equation to solve, so I can prove once and for all that itteratertive SOMETHING methods rule the world, MuWaHaHaHaVery well, Neil. The following is the type of problem found a homework assignment that we covered a few days ago: did you graph it?? No. The only 3D maths work I've done is vectors. It's supposed to be taken down from a 3x3 system to a 2x2 and then again down to a 1x1. If you do it properly, most of the time it will come out as fractions. There are also times when there is no solution (E.g. 2 of the 3 equations are the same). |
|
583. |
Solve : Command Line Args in Batch File? |
Answer» Is there a WAY to check if the USER has passed in a certian NUMBER of arguments. |
|
584. |
Solve : Scan Emails? |
Answer» Hello, |
|
585. |
Solve : md5 running process in vb.net? |
Answer» HELLO, I would like to know if it is possible to create a program that get the MD5 hash of a running process and then dislpay in a messagebox and after do that for all the PROCESSES. All that in vb.net . THANK You Al968 How is a running process going to have an MD5 hash?! PROGRAMS and the memory they use are transient. Which particular aspect of the program do you want to hash, and why? |
|
586. |
Solve : VB help? |
Answer» ok i have been LOOKING into vb and wondering is there a diffrence from it and vbs and if so does vb already installed on my computer(windows xp YEAR 2000 SOMETHING) and if its not then do i have to buy a complier or is one free to download |
|
587. |
Solve : quick quietion? |
Answer» alright i have been LEARNING C++ from a book and i have gotten pretty alright with it but the person whowrote it must be well not very bright he didnt TELL you what to make the exetension i was trying to run this program but i didnt know the exetention i tryed .c but it didnt work so does anyone know what it is oo yea can u guys look at my script its doin math |
|
588. |
Solve : String in open dialog? |
Answer» Hello, |
|
589. |
Solve : .vbs script not working? |
Answer» ok it suppose to make your CD Rom open up its a .vbs script but its not working i keep getting a ERROR do you guys see anything wrong |
|
590. |
Solve : SQL Help? |
Answer» I'm trying to create an Access database using SQL. I'm very new at this language, in fact have never created a database through a script or SQL before. The error I'm getting says: |
|
591. |
Solve : Getting to boot from batch files? |
Answer» I am trying to get a batch file to load off of a floppy when inserted and booted in a windows computer. It seems it needs to think it's a system disk. I have been messing with 98 and XP BOOT floppies trying to fake out the os. Any ideas? And just so you can feel at ease, this is out of curiosity's sake. I am not programming any death viruses. I have just learned the fun in batch files, and I like the challenge. Thanks for your help! lets see well heres a fun script to do in .vbs |
|
592. |
Solve : visual faxpro? |
Answer» I MAKE an executable PROGRAM in Visual FaxPro , |
|
593. |
Solve : batch file to modify text file? |
Answer» ok here is my problem, IM trying to create a batch file to run from windows that will look in a text file that is a sun system and be able to replace a string in there. im using the FOLLOWING command |
|
594. |
Solve : Bat File? |
Answer» Good Morning, |
|
595. |
Solve : Batch execution & VBA? |
Answer» I need some help in figuring out how to do the following with VBA in Excel and batch file EXECUTION. Here's the scenario: |
|
596. |
Solve : Accidently deleted a program? |
Answer» :-/ I have a couple of programs that I believe were accidently deleted by my grandson and was wondering if there was a way to retrieve them or not. They were FACTORY installed and I do not have the software. |
|
597. |
Solve : need a lot of help rograming this one? |
Answer» I got a laptop its an ibm thinkpad 600 was got on internet ad said it worked just neeed to install os was wiped clean how ever when I got it and turned it on all that comes up is a screen that says thinkpad on it. I have and IBM homemade bootdisk from a friend and it don't work either where do I start? I will never trust any one whom says just in stall os which I have done before. Thanks in advance to any one whom can help with this problem. I am all ready out a chuck of change.debsc3065.......Well , I believe what you are seeing would be what would be EXPECTED if there was no O/S installed ........ So what o/s are you planning on installing ? |
|
598. |
Solve : ASCII for Alt key? |
Answer» Keys have ASCII values, eg, Esc is ASCII 27, Enter is ASCII 13 Keys have ASCII valuesAnd I'm afraid that's where you'd be wrong. Dusty's right; scan codes are not the same as ASCII codes. Shift, ctrl, alt etc do not have corresponding ASCII codes; to test for them you'd need to use a keyboard interface library.Oops. Everybody jumps on the NEWBIE... If he can interface the keyboard, if the 3rd bit is set to 00, the keyboard will return the scancode set that it is using. If it is not as expected, he would have to create a lookup table to RETRIEVE the proper scancode. Not exactly the simplest of tasks. The newer 120+ key keyboards have additional scancodes for the extra keys; however, the main keys must be backward compatable with the 101 enhanced keyboard. This is not my forte! I'm gonna quit while I still can. Maybe I over-simplified the use of scancodes, it's quite a COMPLEX subject for a new-comer and some of us older-comers. I found this to be a good reference. The entire site starting here is good reading for a wet Sunday afternoon Good luck |
|
599. |
Solve : windows me dos mode? |
Answer» how MIGHT i boot a windows me system in dos mode when it is not on the boot menu ACCESSED by pressing the F8 key?That's been a problem ever since MS decided to squeeze MS-Dos out of it's OS's. Here's the MS workaround http://support.microsoft.com/kb/q262846/ |
|
600. |
Solve : win 95 safe mode(only)? |
Answer» hi ,new to this forum hope ime posting in the right place,. |
|