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.
| 1351. |
Solve : Printer.Orientatio Method in VB6? |
|
Answer» Hi everyone, I NEED to use the Printer.Orientation method using the vbPRORLandscape value (2), but I obtain a RUNTIME error nº 380. |
|
| 1352. |
Solve : Outputting to a txt file - VB? |
|
Answer» VB Express 2005 |
|
| 1353. |
Solve : SkinCrafter- VB 2008? |
|
Answer» Has anyone here used SkinCrafter with VB.NET 2008 before? I have the DEMO version and wanted to see how it works. You would think the actual site would be of any help, but alas it is not. So I turn to my only hope, which is here. Anyway, how do I go about implementing SkinCrafter into the Toolbox components. I'm using Visual Studio 2008. Any help would be great.Quote You would think the actual site would be of any help, but alas it is not Adding Skincrafter to the toolbox is a function of Visual Studio not Skincrafter. In VS click Tools==>Choose Toolbox Items Checkout the .Net tab if you installed the .Net version or the COM tab if you installed the ActiveX. If found make sure it's checked. If not found, use the browse button to locate the item. Good luck. There are two compiled help files on the Skincrafter site. Did you download the ONE applicable to your version?Actually I got the blasted THING to work about 20 min after I posted the original message. I dont give up that easy and not getting things to work really angers me. The problem was with the instructions I was finding on the net. They were either for older versions of VS or they kept telling me to use the COM tab. I finally decided to check out the .Net tab like you specified Sidewinder. It worked like a charm. At any rate thanks for the quick reply. |
|
| 1354. |
Solve : Visual Studio.NET 2005? |
|
Answer» Quote During installing Disc 1 that you suggested, this is what was installed: Your installation looks incomplete. Seems to be missing the program languages, VB, C#, C++, and the Web Developer. Quote So it wanted me to go online and install 2 things, which is Visual Studio 2005 Service Pack 1 and Visual Studio 2005 Service Pack 1 Update for Windows Vista.... A trip to Windows Update is in order. From a security standpoint, you need to keep your machine current. Then try installing disc 2 again. If Disc 2 installs SUCCESSFULLY, next up would be SQL: 1. SQL Server 2005 Developer Edition 64-bit CD1 2. SQL Server 2005 Developer Edition 64-bit CD2 I'm a bit surprised with the Microsoft SQL Server 2005 Express Edition x64 installation. This may or may not create a problem with the SQL Server install. If it does you may have to uninstall the SQL Express edition before the SQL Developer install. If you installed VS into the default path, do the same with SQL. The products are tightly integrated and your machine will know where to find the COMPONENTS when needed. As for the MSDN library, best I can guess is choose one of the CD's marked MSDN Disc 1 and go from there. Quote Now do you think I'll ever need SQL or the MSDN for this program at all? I mean what are the purposes of those? If you don't mind me asking. SQL Server is a Microsoft database product. If this class is to learn programming, it seems reasonable you'll learn database programming and perhaps a bit of DB administration. The MSDN library discs are the help files. Not only only do they offer specific help for the programming languages, but they can teach you programming techniques and offer many examples you can use directly in your code. Do not leave home without them. FYI: The academic version of VS is the same as the Professional edition with a different license and a way cheaper price. If you need help, any info for the Pro version will apply to you. Good luck. Quote A trip to Windows Update is in order. From a security standpoint, you need to keep your machine current. Then try installing disc 2 again. Okay, now last night I ended up seeing that I needed up update for windows for the COMPUTER. So I did that, but tried to run the program and it still said compatibility issues were still there. So I'm not sure. Now how do I go about reinstalling what's on disc 2 when it's a continue disc from disc 1... Does this mean I would have to possibly uninstall and reinstall? Because when I put in disc 2, and then go to my computer and double click on the disc icon, it doesn't do anything. So is there some thing I need to do in order to get disc to install it's content on my computer? Thanks again.Most Microsoft applications make a restore point before installing the product. Your best bet would be to restore the system to before the VS install. If you did the Windows Update after the VS install, you'll have to re-do the Windows Updates. That would be the cleanest solution. If there is no restore point, you'll need to do it manually: Quote Remove Visual Studio 2005 by using Add or Remove ProgramsSource: Remove Visual Studio 2005 Just out of curiosity, what course are you taking? I'm going for my Associates degree in Web Design. The name of the course is Visual Basic. Now I haven't done the steps provided above. LOL But I'll see what I can do. I'll edit this post when I do the following, and let you know what happens. Update1: I went in to remove visual studio program and there's like a lot to remove... Do I want to uninstall all of it, or just the program visual studio? The reason I'm asking is because there are several things installed since I installed Visual Studio that ties into that program. Update 2: I think I figured out how to remove it... I guess we'll see. LOL And it seems like it may take a while to remove, ha.Okay, uninstall has been done. This is what it says: Next Step: Uninstall additional components Additional components might have been installed on your computer by Visual Studio during setup. These components must be manually uninstalled using Add or Remove Programs in the order listed below. Note: Uninstalling these components might affect other applications you have installed that rely on these components. The following components might have been installed with Visual Studio: Microsoft MSDN 2005 Express Edition Microsoft Visual Studio 2005 Tools for Office Runtime Language Pack Microsoft Visual Studio 2005 Tools for Office Runtime Microsoft Device Emulator version 1.0 Microsoft .NET Compact Framework 1.0 Microsoft .NET Compact Framework 2.0 Microsoft SQL Mobile 2005 Development Tools Microsoft Visual J# 2.0 Redistributable Package Microsoft Visual J# 2.0 Redistributable Language Pack Microsoft Document Explorer 2005 Microsoft Document Explorer 2005 Language Pack Microsoft Data Access Components 2.8 SP1 (Windows 2000 only) Microsoft Visual Studio 2005 64bit Prerequisites Microsoft .NET Framework 2.0 SDK (x64) Microsoft Visual Studio 2005 Remote Debugger (x64) Microsoft Visual Studio 2005 Remote Debugger Light (x64) The following components might have been installed with SQL Server Express, and need to be removed in the order listed below: Note: Uninstall of the SQL Express instances will leave behind the user-created databases, which can then be re-attached to the new instance. Microsoft SQL Server 2005 Express CTP Microsoft SQL Server 2005 Express Tools CTP Microsoft SQL Server Setup Support Files Microsoft SQL Native Client The following components must be uninstalled last: MSXML 6.0 Parser and SDK (only on 32bit) MSXML 6.0 Parser and SDK x64 (Only on 64bit) Microsoft .NET Framework 2.0 Language Pack Microsoft .NET Framework 2.0 So what's the next step? LOL Update: I did all of what was asked above. Now do I want to see if there are any required updates for windows?Quote I did all of what was asked above. Now do I want to see if there are any required updates for windows? I'm guessing you didn't use a restore point, that you manually removed the VS installation, so logically the Windows updates are still on your system. You can always visit the update site before you start the VS install and check if any updates are required for your system. Going forward, try installing Disc 1 & 2 If that's successful, install SQL Server. MSDN CD's could be duplicates. If you can, explore the discs, noting the files on each or any indication if there is such a thing as x32 & x64 bit help files. I gotta log off right now. There is an approaching thunderstorm. Later, I ended up manually removing Visual Studio and then afterwards restored the computer back to a point... Why, not a clue. LOL But I did both... LOL Now I'm updating things since they are out of date as far as my virus scanner goes and windows. Then I will do what you asked, and will update progress in this post. Update 1: I updated neccessary stuff, as far as windows go. I even checked to see to make sure it got all updates. It has all updates downloaded and restarted computer and what not. Now I wasn't sure if I was supposed to install or try to install the updates that it says I need for the Visual Studio program. The Visual Studio 2005 Service Pack 1 and Visual Studio 2005 Service Pack 1 for Vista Windows. Now it still gives me errors to do those just as it did before I removed Visual Studio... Keep in mind I haven't installed anything of Visual Studio yet. But this is the errors that pops up with trying to install the updates required for Visual Studio... Visual Studio Sp1 : C:\Users\Bond\Desktop\VS80sp1-KB026601-X86-ENU.exe is not a valid Win32 application. Visual Studio sp1 for Vista Windows: Windows Installer: The upgrade patch cannot be installed by the Windows Installer service because the program to be upgraded may be missing, or the upgrade patch may update a different version of the program. Verify that the program to be upgraded exists on your computer and that you have the correct upgrade patch. So now I'm going to go ahead and reinstall Visual Studio, keeping fingers crossed that it works and doesn't do what it did before. Otherwise, I don't know what I am going to do. lolGood god! lol Well come to find out, there was no reason for me to do the uninstalling or restore point at all. It was Microsoft's fault.. HA HA, well not theirs but their server or whatever that holds the update files to download from. What was happening was the fact that the files I was saving to my computer were incomplete file downloads. So when I was trying to run the updates, it was giving me errors because of the fact that it wasn't a complete file. lol Like Visual Studio 2005 Service Pack 1 is 431 MB file size, and after I noticed the size of the file that I had downloaded, it was like 101 MB. Which wasn't the whole file. I worked on this darn thing all day, lol I couldn't get the file to completely download to my computer. Then my boyfriend's brother decided to try it on the spare computer, to download the update and it worked. Why it wouldn't install on my computer is beyond me. But I'm just glad it worked. I got all three updates that were needed to run Visual Studio 2005. Now that all this was finally done, I went ahead and did the SQL Server 64-bit like you told me. That was a bit confusing, it asked me a lot of questions so I hope I did it correctly with me not really knowing what to select and what I didn't need and what not. lol But I did it. Anything else you think I should do at all? Let me know, and by the way thank you so much for helping me. I appreciate it big time!!! I hope the storm didn't hit you too hard. Update: When the first disc finished doing everything, it never asked me to put in disc 2, so I took out disc 1 and went ahead and put in disc 2. I ran it, and a box popped up that was similiar to disc 1 and it just had the following: Prepare: Review hardware and software requirements, read the release notes Install: tools, books online, and samples only - Run the SQL Native Client Installation Wizard Other Information: Browse this CD, Visit the SQL Server website, read the SQL server license agreement Now when I went ahead and clicked on Run the SQL Native Client Install wizard it popped up a box with the following: Welcome to the Microsoft SQL Server client setup Setup helps you install, modify or remove Options: Next, Cancel (I clicked on next) Next Screen: Modify - Allows users to change the way features are installed Repair - Repair installation errors in the program. This option fixes missing or corrupt files, shortcuts, and registry entries. Remove - Remove microsoft SQL server native client from your computer. Options: back, next, cancel (I clicked on next) next screen: Feature Selection Select the program feaures you want installed click an icon in the following list to change how a feature is installed Client Components SQL Server native Client SDK (Now I frozed here...) Because I am not sure what I want to do. I figured maybe you could help me out with that? Possibly you and I could get on a messenger for a temporary chat session, just so I am installing or doing what I am supposed to do since I've never installed this stuff before or don't even understand. Heck don't even know if I installed the first disc right. lol Anyways, please let me know. Again thanks for all your help!Quote Heck don't even know if I installed the first disc right You probably did. I only remember being prompted for the install directory and the product key. Quote Now how do I go about reinstalling what's on disc 2 when it's a continue disc from disc 1... Quote When the first disc finished doing everything, it never asked me to put in disc 2, so I took out disc 1 and went ahead and put in disc 2. I was under the impression that during the first install, you were prompted for Disc 2 and that's when it all fell apart. Disc 2 apparently contains SQL Express: Quote View Error Log The SQL Developer and SQL Express are two different products. They should be able to live side by side just not in the same directory. Quote Feature Selection This appears to be the client side (local machine) of SQL. Try following the directions by clicking an icon. At least you'll see how the feature will be installed. For now just take the defaults, based on all the prompts and windows you're getting, should be a piece of cake to change things later. A couple of things you can check. Open VS, click help, click about, click Copy Info. You can then paste that info in a post. Open VS, click file, click projects. When the New Project window opens, you should see Visual Basic, C#, J#, C++ in the Project Types box. You may have to open the plus signs to see all of them. If everything checks out, the MSDN library is next. Still no clue how you're going to distinguish between the two sets of CD's. Good thing you got an early start on this. Quote This appears to be the client side (local machine) of SQL. Try following the directions by clicking an icon. At least you'll see how the feature will be installed. For now just take the defaults, based on all the prompts and windows you're getting, should be a piece of cake to change things later. I ended up doing as you said, and a error happened to pop up which said: Microsoft SQL Server Native Client Setup- A network error occurred while attempting to read from the file: E:\Setup\sqlncli_x64.msi Not sure what is happening? Any suggestions on this part? Now while I'm waiting for this to be fixed, lol I'll go ahead and do what you suggested and get that posted as well... I'll update it in here. Microsoft Visual Studio 2005 Version 8.0.50727.867 (vsvista.050727-8600) Microsoft .NET Framework Version 2.0.50727 SP1 Installed Edition: Professional Microsoft Visual Basic 2005 77626-235-9250471-41401 Microsoft Visual Basic 2005 Microsoft Visual C# 2005 77626-235-9250471-41401 Microsoft Visual C# 2005 Microsoft Visual C++ 2005 77626-235-9250471-41401 Microsoft Visual C++ 2005 Microsoft Visual J# 2005 77626-235-9250471-41401 Microsoft Visual J# 2005 Microsoft Visual Web Developer 2005 77626-235-9250471-41401 Microsoft Visual Web Developer 2005 Microsoft Web Application Projects 2005 77626-235-9250471-41401 Microsoft Web Application Projects 2005 Version 8.0.50727.867 Crystal Reports AAC60-G0CSA4B-V7000AY Crystal Reports for Visual Studio 2005 Microsoft Visual Studio 2005 Professional Edition - ENU Service Pack 1 (KB926601) This service pack is for Microsoft Visual Studio 2005 Professional Edition - ENU. If you later install a more recent service pack, this service pack will be uninstalled automatically. For more information, visit http://support.microsoft.com/kb/926601 Update for Microsoft Visual Studio 2005 Professional Edition - ENU (KB932232) This Update is for Microsoft Visual Studio 2005 Professional Edition - ENU. If you later install a more recent service pack, this Update will be uninstalled automatically. For more information, visit http://support.microsoft.com/kb/932232 And when I do the new project, those languages do show up and Visual basic as well. Must be doing some thing right, finally!Looking good. I may have lead you down the wrong path however on the SQL server. Quote I went ahead and did the SQL Server 64-bit Research is giving me mixed signals: Quote Finally i solved the problem following the next steps:Source: Soution 1 Quote The "Installing Prerequisites" stage of the installer installs the incorrect version of the SQL Native Client. Immediately after the "Installing Prerequisites" stage (but before the rest of the installation process), follow any of the above advice to download/extract the sqlncli_x64.msi file, go to the control panel and remove the "Microsoft SQL Native Client", and then install the newly downloaded/extracted msi instead. When that's done, you should be able to go through the end of the installtion process without too much more difficulty.Source: Solution 2 The disk may have a bad version of sqlncli_x64.msi. You can download a version from here Solution 2 seems to be the more reasonable approach. The bottom line is Microsoft SQL Server Native Client must be installed ahead of SQL Server. If you have SQL Server installed, use add/remove programs to get rid of it and use the downloaded sqlncli_x64.msi to continue. Quote Crystal Reports AAC60-G0CSA4B-V7000AY My Standard Edition didn't come with Crystal Reports. I'd be really jealous, but it was a free copy for attending their launch party. Can't wait till we get to those help files!Okay, I did the following that you had told me to do. I did the simple solution 2 strategy. lol Now am I supposed to try and run the 2nd SQL disc now? The reason I'm asking is because when I tried putting in the disc it had said that it couldn't run because there is a higher version of it on and that it would need to be uninstalled before it can go through the install process, or at least around that saying. LOL Now what help files are you talking about? Ha ha!Did you check the add/remove program applet? Was SQL Server installed? Did you have to remove it? Did you download and install a new sqlncli_x64.msi? Does the SQL Native client show as installed in add/remove programs? Please be more precise when posting what you have done. If the SQL Native client is installed, then you should be done with the CD's labeled disc 1 & 2. Now try, starting with SQL Server 2005 Developer Edition 64-bit CD1, installing SQL Server. Please document any error messages that appear. Quote Now what help files are you talking about? Ha ha!Maybe we should have installed the help first, sure could use some right now. Quote Did you check the add/remove program applet? Was SQL Server installed? Did you have to remove it? Did you download and install a new sqlncli_x64.msi? Does the SQL Native client show as installed in add/remove programs? Please be more precise when posting what you have done. Sorry about that, I'm just getting a LITTLE frustrated because if it's not one thing it's another with this program ha ha. I'm just glad your taking the time to help me out with this, I really am. I did check the add/remove program, and it was there and I went ahead and removed SQL Server because it was installed. Then I went ahead and installed the pack that you had provided and it does show up in the add/remove programs list. Now I'll start with SQL Server 2005 disc 1 and 2. I'll update here if I happen to get errors during this task. Update 1: Error... If I understand correctly, you wanted me to remove the previous version of SQL server, and then install the new sqlncli_x64.msi, and then pop in SQL Server 2005 Developer 1. When I did that this error popped up: Installation of Microsoft SQL Server Native Client failed because a higher version already exists on the machine. To proceed, uninstall the higher version and then run Microsoft SQL Server Native Client Setup again.Quote If I understand correctly, you wanted me to remove the previous version of SQL server, and then install the new sqlncli_x64.msi, and then pop in SQL Server 2005 Developer 1 That is correct, but when I read this, I get the impression that the SQL Native Client is part of the feature pack for SQL Server. To me this would require SQL Server be installed first. See what I mean about mixed signals, some of them coming from Microsoft themselves. Have we you tried that sequence yet? Make sure both SQL Server and SQL Native Client are not installed, then install SQL Server 1 & 2. Let's see what happens. If it does install, make note of the version level. SQL Server has SP2 available which may account for the higher version error you got. Only 33 days till Sep 20th. With any luck we'll be done by then. |
|
| 1355. |
Solve : NetBeans IDE 6.1 shows incorrect package?? |
|
Answer» Iam using NetBeans IDE 6.1 using jfreecharts to GENERATE TIME series, but it shows Incorrect Package at : package org.jfree.chart.demo; |
|
| 1356. |
Solve : Connection to the Internet? |
|
Answer» Is there anyway to get internet connect after the you REBOOT the computer without the REINSTALLIN disc cause my school library computer does not have the internet connectionQuote Is there anyway to get internet connect after the you reboot the computer without the reinstallin disc I'd SUGGEST you download it, but wait, you have no internet connection. Apparently the school librarian KNOWS the students well and has taken PRECAUTIONS to protect the students from themselves and the school from liability. You'll probably have more luck at a public library. |
|
| 1357. |
Solve : How to use arrays in this?? |
|
Answer» In place of the series, how to use arrays? And ChartPanel if possible. |
|
| 1358. |
Solve : how to make 2 reverse triangles?? |
|
Answer» Ummm im trying to LEARN c++ but im stuck on a problem. how can i make a triangle look like this |
|
| 1359. |
Solve : MSN "Nudge" Like effect VB? |
|
Answer» Is there any PIECE of code I can add to a command button that CAUSES an EFFECT like the "Nudge" in MSN Messenger. I the code can be either Visual Basic 6 or Visual Basic.Net. |
|
| 1360. |
Solve : Delete current records which is displaying in the objects? |
|
Answer» Dear Sir |
|
| 1361. |
Solve : Display all records one by one by using rst.movenext? |
|
Answer» Dear Sir |
|
| 1362. |
Solve : [JAVA] Problems running application? |
|
Answer» Hello, Im trying to MAKE a VERY simple application that will draw a castle on the screen (still adding more stuff to it) for a school assignment, but when im working on it in my IDE (netbeans) or any other IDE for that matter, it seems to only run when IT wants to, for example, i can click the run and get this: (good) |
|
| 1363. |
Solve : Anything better than MSVC++?? |
|
Answer» As the title entails, I'd like to know if there's any better IDE than Microsoft Visual C++ 2008 Express Edition. The DEBUG mode LAGS to *censored*, and once it even disconnected me from the internet. Maybe that was just my ROUTER resetting itself... again... Also, builds take forever and sometimes it even crashes on me when I have a loooong code >_>; I've already tried Dev-C++ and it didn't really work out too well xD. Anyways, a little help please? =/Check out the link, it has all major C++ IDE's free and proprietary. If I'm on a XP machine, I'll use Visual C++ 6; if I need to run vista, I'll use another languageFor me, all the visual studios are laggy as heck when debugging and starting up, I got rid of them because they were taking up tooo much space for my needs.Version six isn't laggy at all. Ctrl+Alt+T shows up instantly, just like VB6's Ctrl+J. now the .NET environments, on the other hand...Quote from: BC_Programmer on May 19, 2009, 07:39:45 PM Version six isn't laggy at all. Ctrl+Alt+T shows up instantly, just like VB6's Ctrl+J.I mean like the 2008 ones...well, you did say "All"...Quote from: BC_Programmer on May 19, 2009, 07:50:45 PM well, you did say "All"...I meant all the 2008 ones. They're fairly BULKY (if you can't even INSTALL Maple Story) and very slow.2008 barely runs on my XP machine. 2005 is better. but still I ask myself why I bother since I never use them. The professional editions come with the MSDN library, though, which I find fairly handy. I've pretty much read everything in the April 2000 MSDN library snapshot that I got with Visual Studio 6.0 a few years ago (I'm dead serious- I was reading KB articles for programs I had never even heard of- it was reading material, after all)VBS 2008 runs fine on mine XP! Quote from: Ironman on May 20, 2009, 06:50:03 AM VBS 2008 runs fine on mine XP!Are you sure it doesn't actually affect YOU?!Meant to say "my", was typing too fast and didn't read over my post, still have no problems with VBS 08.Quote from: Ironman on May 19, 2009, 06:53:07 PM Check out the link, it has all major C++ IDE's free and proprietary. Thanks... lol =P I'm running Vista HPx64 x.x So yeah debugging happens to be a biiit laggy for me what the heck is "VBS 2008"Quote from: BC_Programmer on May 20, 2009, 05:43:26 PM what the heck is "VBS 2008"Visual Basic 2008 or Visual Basic Studio 2008 http://www.microsoft.com/Express/VB/ |
|
| 1364. |
Solve : Lengthdir? |
|
Answer» OK, I'm using a langauge that most of you won't know (GML - Game Maker Language), and two of the commands are lengthdir_x(length,direction) and lengthdir_y(length,direction). For _x, it gives the following definition: |
|
| 1365. |
Solve : which language?? |
|
Answer» Quote from: NEIL on August 02, 2007, 02:53:43 PM JavaScript, a real language (yes it is) ..how can you substantiate this statement? at least SHOW it to the OP by giving references.I didn't miss javascript.... did you follow the link I posted? Oh my God... the OP didn't ask for a "my language is bigger than yours" fight! Javascript (also called JScript or JS for short) is a healthy complement to your HTML. It's a very handy tool that makes your web pages much more dynamic. Buttons that move images or change them with other images. Add text to a div depending on user input. A heck of a lot is available with JS. Tutorials: www.w3schools.com/js/default.asp www.webteacher.com/javascript/ www.echoecho.com/javascript.htm I could go on forever. When you are interested in starting to write actual programs, for the computer, I recommend starting with a simple language, such as Visual Basic, to learn the basic concepts of programming. After you can write some FAIRLY complicated code (manipulating files is a good checkpoint), move on to other, more widely used LANGUAGES, such as C++, C#, Java, Python (for games), etc. It's really up to you. I went from VB to C++ myself. Good luck, and feel free to write back for any help understanding any languages you try. If we know the answer, we'll help you out. |
|
| 1366. |
Solve : help! create windows log file? |
|
Answer» I have a POWER box that build for power cyling test. |
|
| 1367. |
Solve : VB auto-click? |
|
Answer» is there a way to make a Visual basic form or w/e that will aoutomatically click in a certain spot on the screen?LIKE i would define points in on the screen where to click and it would click there, then in like 10 seconds it would click ANOTHER point. Like in the code TYPE pixel NUMBERS for where to click; (480,272) then click (480,300) or something like that. |
|
| 1368. |
Solve : Help with Microsoft SDK? |
|
Answer» Hi, |
|
| 1369. |
Solve : Messaging System Help? |
| Answer» HI all, im TRY to make a messaging system for a program in MAKING in Visual BASIC. | |
| 1370. |
Solve : CD Burner and DLLS?? |
|
Answer» HI all, im MAKING some CD burning software (summer project for fun) and i need help with the burning part. do i need any dlls, if so, how do i create the dlls? and can i just copy the files to CD with My.Computer.copy.**** ETC?I am guessing your LANGUAGE is VB? You need a cd burning API in order to do that. So you'll either have to write your own from scratch (if you even have to ask this is way above your level) or utilize an existing API. Check out this site: http://www.vbaccelerator.com/home/VB/Type_Libraries/IMAPI_(CD_Burning)/article.asp Or do a bit of googling.Well.... I've been googling for the last 5 hours for it so would i have to do it in C++ (upgrading project) or just use the API?Well... To make it more intresting, im going to do from scratch in C++ or C#. Got any Tips or Ideas?You will need to familiarize yourself with windows drivers and how to create them. You would need to find out how to interact with the burner and what commands they expect. etc, etc. Basically making a low level API is a very advanced stuff. I would suggest you use an existing API.i was reading the API's article and i didn't understand what they say and then i need to get C++ to do it any way. |
|
| 1371. |
Solve : how to check missing log? |
|
Answer» got a list which CONTAIN the date and TIME for my windows logging. |
|
| 1372. |
Solve : How to run VB Application in front?? |
|
Answer» Hi ! |
|
| 1373. |
Solve : Legal Hacking on my own machines? |
|
Answer» I want to learn to hack so that I can hack into my own machines. I have three computer sitting here and one is begging to to be used. Can someone give me some tips on hacking so that I can hack my poor little lonely computer. I have no intentions of getting involved in malicious activity. I just want to boost my programming intelligence. HELLLP! Can someone also tell me why it is SAID that Linux is better for learning to hack than windows IN DETAIL. Oh yeah, feel free to break things down as if you are explaining things to a guy who has been locked in a 3-wall room with no media access for 20 years.Advising you on hacking on an OPEN forum would be like printing the info in a daily newspaper for all to read. Besides I'm sure it would be against forum rules. Can someone give me some tips on hacking..learn how your computer works, learn how the different OSes work. learn how to program.Get to know your computerQuote from: zite.1 on August 19, 2007, 05:45:02 PM I just want to boost my programming intelligence.teaching you how to hack wont accomplish that just like teaching you to hot wire a specific car model doesn't increase your overall knowledge about motor vehicles. Instead you should learn how the different parts of a computer work and interact. Learn how NETWORKS work and learn a couple of programming languages.Well said, Deerpark. And Dusty is right...talking about this on an open forum could open a can of worms that we don't want to be responsible for. And for that very reason, this is indeed against forum rules and I will be locking this topic to avoid any unwanted information. |
|
| 1374. |
Solve : ACCESS HELP? |
|
Answer» im TRYING to grab one field from a table(HBATE.BATE), can placing it to another table(ATL)...like join/merge one UNIQUE field with another table...im having problems...i made this query...and its saying |
|
| 1375. |
Solve : JAVA GUI problem, advanced String representation.? |
|
Answer» Hi there, |
|
| 1376. |
Solve : VB script copying across networks? |
|
Answer» hey all, The red line brings up an error saying "access is denied", but i know that the username and password to be right. Quote I have checked and i can map to 10.1.0.100\c$ from a run box, (windows does ask for the guest password - which i don't know!) These statements seem contradictory. Do you know the user & password? Is there a user & password? Quote have i got them the wrong way round???UserID and password are in the correct order. Whether they have the correct values is the question. Do not use parenthesis for MapNetworkDrive or Copyfile. When I tried your code, I got a syntax error. Also it's set fso.....you are creating an instance of the FileSystemObject not equating two variables. Code: [Select]Dim fso, WshNetwork Const OverwriteExisting = True WshNetwork = CreateObject("wscript.network") Set fso = CreateObject("scripting.filesystemobject") WshNetwork.mapnetworkdrive "x:", "\\10.1.0.100\c$", , "username", "password" fso.CopyFile "C:\batch\remote.bat", "x:\remote.bat", OverwriteExisting MessageBox.Show("Transfer Complete") You never told us whether you're using wscript or cscript. That "unauthorizedAccessException was unhandled" message still has me puzzled. Yes, the user name and password are right. I can map to the path in the script (\\10.1.0.100\c$) but when the authentication windows pops up it has the \\computer name\guest inserted in the username and it's grayed out so i can't change it. Since there is no password on the guest account and you can't leave the authentication password field empty when mapping, i can't open the c:\. Hence why i use an admin account, both of the machines that I'm using are mine, so i have full access to all accounts. As to your question about weather i'm using wscript or cscript, thb i don't know!!!! I have installed Microsoft visual basic 2005 SP1, I opened it up and then opened a new project. (if there's a way of telling let me know and I'll check for you.) I have this code inserted under a handle of button4 (click) Dim fso, WshNetwork Const OverwriteExisting = True WshNetwork = CreateObject("wscript.network") Set fso = CreateObject("scripting.filesystemobject") WshNetwork.mapnetworkdrive "x:", "\\10.1.0.100\c$", , "username", "password" fso.CopyFile "C:\batch\remote.bat", "x:\remote.bat", OverwriteExisting MessageBox.Show("Transfer Complete") The set that you refer to keeps disappearing after i put it in. (i have copied your code and replaced it for mine, But i still get strange errors like, "access denied" and "path not found". I have tried subbing the c:\ on the remote machine for a newly made e:\ thats shared, but it made no difference. (also tried to map to the e:\ but still got the guest username inserted in the user field) I have also tried to use the computer name instead of the ip but as I'm on a LAN VPN extension from work, (where there is another Pc with the same name) it keeps saying "access denied" As i said yesturday I have only just started using vb so i'm a complete newbee, (but i'm willing to try to work it out for my self) If there is anything else that you can suggest, (i might start a new project and just have that simple code to get to work first before making the form menu.) that would help i would forever be in your debt. Thanks again Quote I have installed Microsoft visual basic 2005 SP1I suspected as much. You are using VB.Net which is a full fledged programming language. You can certainly use VB.Net for your project, but if all you need is to copy a file(s) across the network, VBScript is much easier and a LOT less overhead. Plus there is none of that pesky compiling and linking. To use VBScript, copy & paste the code that has been posted into your editor (Notepad works fine). Save the script with a VBS extension. Open up a command prompt and run the script as: cscript scriptname.vbs You can learn all about VBScript at the Microsoft Script Center. Good luck. cheers, I'm gonna to do that for this, but also have a larger program in mind. I currently have about 7/8 batch files that transfer files and run batch files on remote machines. I then have a menu.bat that simply points to the files needed for the operation that you've requested. Due to it getting bigger and bigger and because of my staff needing to use it as well, I require a windows based grafical interface. I think i'll just start by having bguttons on the from and then when clicked openning the batch file that deals with it. once i've read up some more i move to converting the batch files them-selfs to vb script. Thanks very much for your time and effort. (if i manage to accomplish this any time soon I'll post on this thread.) |
|
| 1377. |
Solve : ascii to image? |
|
Answer» Hi ..i want to know how to convert ascii values to correspondin Imagecan SOMEONE atleast tell me if it is possible or notHmm I've heard of image to ascii CONVERTERS but not the other way around. |
|
| 1378. |
Solve : link for Data structure? |
|
Answer» hi,i am learning c++... |
|
| 1379. |
Solve : programming language? |
|
Answer» i apologize if i am stepping on anyones toes with this message, i am just beginning to LEARN about "threads" and all this other fun stuff. my question is does anyone know what PROGRAMMING LANGUAGE motorola uses in their cell phones. I want access to the software in my phone and i was wondering if anyone out there could help me?Do you mean access as in reverse engineering the software on it? Or do you just want to make PROGRAMS for your phone?I dont want to engineer it necessarily, rather i want to look at the code that verizon updates and i want to understand what effect they have via their software updates on the effectiveness of my phone. Well, I Googled Motorola "programming language", and found this. Is it helpful at all? MPL (Motorola Programming Language) generates code for the Motorola 6800 Goto this site, and Ctrl+F (Find) Motorola Programming Language.Hi, It is not confirm that which language commonly all mobile phone manufacturing company are using. However Nokia and SONY are use Python and Java for mobile applications. Generally, Nokia and sony are using Symbian Operating system. Please follow the link below for more information on symbian OS. http://en.wikipedia.org/wiki/Symbian Hope this information help you. |
|
| 1380. |
Solve : Copy directory / subdirectory to another drive? |
|
Answer» Have been USING the following (visual basic BASED?): Have been using the following (visual basic based?):check the visual basic help for FileCopy. If you read that, you can get the answer. |
|
| 1381. |
Solve : help with VB.net shell command? |
|
Answer» hey all, Tools.Shell [/command] [/output] [/dir:folder] path [args] Example: Quote ProcID = Shell("CALC.EXE", AppWinStyle.NormalFocus) Is this the same project from last week? I still think a VB.Net program is overkill for your project, but shelling out of VB.Net to run batch files with the inherent overhead of the cmd processor is a bit counterproductive. A better approach might be using native VB.Net code to do the WORK of the batch files. If I remember correctly, you needed a GUI. You can develop a HTA which would combine VBScript for the window event handlers, drive mapping and file copying with some HTML code for the GUI controls. The unit runs as a script in Windows and does not require the services of a browser. This is a more down and dirty approach than VB.Net but with rapid development and easier maintenance. You can read about HTML applications at the HTA Developers Center Good luck. my advice...try to do eveything in VB.net...if POSSIBLE..look at the batch file and see if you can redesign your code to an VB equivalent...i believe in VB, you can use open to read your ipdetails.txt files and do something about it...$0.02cheers for the POST's guys, and yes this is still the same project. I have around 12 functions for this to carry out. These include sending "shutdown", starting pstools, re starting services and pinging other Pc's. It will help support over 2000 machines and will have a database of IP addresses, so the user only need enter a store number (5 digit's) and ping all Pc's on that site's IP range I do intend to convert the batch files into VB.net at some point but because this is my first real project I'm taking it one step at a time. I had already written all of the batch files and used them my self but "for the greater good" I'm making something more usable for everyone else. I have since posting this been advised by a friend that i can have a status window which displays the last lines of the batch file. This works well but i now have the problem that i need VB.net to write a batch file with user inputted values inserted so that status can just run one batch file with no added " + values +) I'll have a hunt around...... |
|
| 1382. |
Solve : Need windows.h? |
|
Answer» I am trying to FIND a copy of windows.h to download. I write in assembly, but have a .cpp file to MAKE and need it. I DO not WANT to dl the SDK file to get it. |
|
| 1383. |
Solve : URGENT computer programming question? |
|
Answer» Express 102410 as a polynomial in each of the BASES: DEC, HEX, OCT, BIN. To express this number in HEX, OCT, and BIN, you need to covert it to the given system first.This is a computer support forum not a "Hey wont you guys do my homework for me?" forum.Especially not when we get "URGENT" shouted at us in capital letters. That is such a good way of making sure you don't get any useful answers! You'd think people WOULD realise... |
|
| 1384. |
Solve : C program for keyboard? |
|
Answer» I have to develop a C prgram, in which, if I press Numeric Key 1 instead of 1 appearing on screen some PROGRAM defined statments should appear e.g 'FIRST KEY' Homework?CONSULT your text book THANX a lot...I GOT my required after a bit of brainwash.... |
|
| 1385. |
Solve : windows boot log? |
|
Answer» I need a windows boot log, so that everytime my system booting up, so when i open the Ntbtlog.txt under %SystemRoot% Yes - and a whole lot more. Note that the bootlog Ntbtlog.txt is created in %SystemRoot% not C: It's the same in Win.2k. Boot.ini does not exist in Vista, here's a bit of info on its replacement: "Boot.ini: Ever since NT 3.1, it's been an ASCII TEXT file on the hard disk. With Vista, that's all changed; it maintains a boot file called the Boot Configuration Data or BCD, located on the boot volume (that is, the volume that the operating system (OS) boots from, no matter what Microsoft calls it) in a folder named BOOT. @34447I It's one of those files locked open by the operating system (like the *.EVT event log files), so you can't edit it in the normal manner, and because that means that it'll be tougher for the odd bit of malware to modify it. Don't go looking to edit it from the Control Panel, either; the STARTUP and Recovery dialog box is still in Control Panel hidden a few layers down, but where the XP version of that dialog had a button labeled "To edit the startup options manually, press Edit," that doesn't exist in Vista anymore. Instead, there's bcdedit.exe, a command-line tool for messing with Vista boot options" Good hunting.oh..no this is not what i wanted.the ntbtlog.txt contains too many text Service Pack 2 9 3 2007 08:29:03.500 Loaded driver \WINDOWS\system32\ntoskrnl.exe Loaded driver \WINDOWS\system32\hal.dll Loaded driver \WINDOWS\system32\KDCOM.DLL Loaded driver \WINDOWS\system32\BOOTVID.dll Loaded driver ACPI.sys Loaded driver \WINDOWS\System32\DRIVERS\WMILIB.SYS Loaded driver pci.sys .......... i just want date and time imagine that if i reboot my unit every 4mins,wow...too many unwanted text in the ntbtlog file... anybody could help me to create a simple time log? Put the following into your Startup folder as a .bat file (or create a shortcut to it in your Startup folder): ------------------------------------------------------------------------------------------------ @echo off cls echo Windows Started %date% %time% >> c:\startup.txt ------------------------------------------------------------------------------------------------ It will write an entry to C:\Startup.txt on every boot. Change the text string and path\filename to suit your requirements. Good luck Oh.thanks ,works for me. Windows Started 05-Sep-07 8:28:59.26 |
|
| 1386. |
Solve : python calculator? |
|
Answer» hi i'm new to python and i'm trying to make a calculator. It's PURPOSE is to calculate the price of a certain number of UNITS of a product. |
|
| 1387. |
Solve : Programming Question "This is not IE7, this is %name of my browser%"!!!!!? |
|
Answer» how do i get EVERYTHING to say this is what ever the name is instead of ie? |
|
| 1388. |
Solve : Thats not bog standard code, mr. judge!? |
|
Answer» just a quick question. I made a computer program in VISUAL Basic.net for my sci fair and the judges thought it was bog standard code! How can I (if possible) prove it wasn't? (and it really wasn't, it took me 3 months to write!)From what I could FIND out, bog standard code is defined as something ordinary or basic, but often in a dismissive or derogatory way. Not knowing what your program does or what wow factor the judges were LOOKING for, it's hard to say what you could do in this situation. |
|
| 1389. |
Solve : making a menu? |
|
Answer» I'm trying to make a menu just to get the HANG of making them, and I'm running into a problem. Here's basically what I have so far... |
|
| 1390. |
Solve : Detect PE Format Methology? |
|
Answer» Hello, MZy Bad Spelling More seriously, Quote All Windows executable files begin with a MS-DOS executable stub, so we first test for a valid MS-DOS executable using information from the MS-DOS program header that is present in every executable file. We then check for markers for a 16 bit or 32 bit Windows executable or for a virtual device driver (VXD). If we establish the file is a Windows executable we look for information that determines whether the file is an application or is a DLL. A review of the MS-DOS, Windows NE (16 bit) and PE (32 bit) executable file formats leads us to note the following: See here (where I got the above) and much more including a flow chart. http://www.delphidabbler.com/articles?article=8 and here http://www.google.co.uk/search?source=ig&hl=en&q=detect+windows+executable&btnG=Google+Search&meta= Ok great information, just an other quick question is the "magic" number that stated PE on the second line of the program ? Thanks Al968Quote from: al968 on September 09, 2007, 04:45:17 PM is the "magic" number that stated PE on the second line of the program ? The Windows header's offset in the file is given by the long word at offset $3C. Don't know what you mean by "line" in this context. here's a little perl snippet you can use to get file header. I only tested on a exe file. you can follow the rest of what contrex has posted to get PE headers...may or may not work though. Code: [Select]use warnings; my $file = "c:/someapplication.exe"; my $success = 0; my $hex; if (open(FH, $file)) { binmode(FH); my $bin; sysread(FH,$bin,20); close(FH); $hex = uc(UNPACK("H*",$bin)); } print $hex; |
|
| 1391. |
Solve : File Format and Open with? |
|
Answer» how can i make a file for that my app opens? like.... |
|
| 1392. |
Solve : Full path display? |
|
Answer» How do I display the full path of a filename when working with batch files? I've been working on this for about an hour and can't figure it out.Show what you have done for your batch ATTEMPT. I want to add a command that will show the full path of the filename.for /? Code: [Select] %~I - expands %I removing any surrounding QUOTES (") %~fI - expands %I to a fully qualified path name %~dI - expands %I to a DRIVE letter only %~pI - expands %I to a path only %~nI - expands %I to a file name only %~xI - expands %I to a file extension only %~sI - expanded path contains short names only %~aI - expands %I to file attributes of file %~tI - expands %I to date/time of file %~zI - expands %I to size of file %~$PATH:I - searches the directories listed in the PATH environment variable and expands %I to the fully qualified name of the first one found. If the environment variable name is not defined or the file is not found by the search, then this modifier expands to the empty string The modifiers can be combined to get compound results: %~dpI - expands %I to a drive letter and path only %~nxI - expands %I to a file name and extension only %~FSI - expands %I to a full path name with short names only %~dp$PATH:I - searches the directories listed in the PATH environment variable for %I and expands to the drive letter and path of the first one found. %~ftzaI - expands %I to a DIR like output line Quote if test%2 == test GOTO :ERR What is this line supposed to do? |
|
| 1393. |
Solve : How to study PHP?? |
|
Answer» Hello.... |
|
| 1394. |
Solve : C Sharp .exe Encryption? |
|
Answer» Hi, thanks contrex, but i want to see other oppinions Don't hold your breath You could always write your own encryptor look on www.sourceforge.net or www.freshmeat.net for one SOMEONE has already made. |
|
| 1395. |
Solve : run time error 5 in bespoke website software? |
|
Answer» Hi |
|
| 1396. |
Solve : Check this code for me???? |
|
Answer» hi ll, |
|
| 1397. |
Solve : open Folder? |
|
Answer» Hello |
|
| 1398. |
Solve : Set a Date Field restriction in a Microsoft Access database? |
|
Answer» If I want to restrict the year that can be entered in a DATE field, what would the code be in the event procedure? |
|
| 1399. |
Solve : Viewing and Sending System Info With VB6? |
|
Answer» Hi all, She wants me to help her to find what windows version she is running, she dosent know how to copy and paste, much less bring up her system informationBut I presume she can read? Just tell her to right-click on My Computer and select Properties and read what is says under System. Another good free program she can download is System Information for Windows but if she doesn't know how to download anything then you're a bit stick. |
|
| 1400. |
Solve : too many arguments - Visual basic? |
|
Answer» i am trying to make my app close out of my first form and open the second but i get the error "too many arguments to 'Public sub hide()'." I am a complete noob to VB. I have tried looking around on the web for an answer and its all pretty complicated. heres the peice of code i cant get to work. and as far as books im not spending money on books at this point.you have never been to a library?yeah thats great if you can get to a library. maybe ill go to one sometime in the next coule of weeks if i pay my parents. lol. anyway i just want to know how to fix this problem. i have the whole program done but this part and ive tried EVERYTHING i can think of which isnt much so...gamerx365 you weren't really clear on whether or not you've tried not using any arguments for hide(). I.e. instead of Me.Hide(Me) then just Me.Hide(). Now I haven't coded in VB for quite some time but I'm pretty sure that's the way to use it.Quote from: gamerx365 on July 15, 2007, 08:41:20 PM Code: [Select]Me.Hide(Me)Yes Deerpark is correct you only need to use Code: [Select]Form2.Show Me.Hide It BETTER to show the next Form then Hide the first one. |
|