i'm making a program that will be used Only from a CD, not ever downloaded to a PC.I just would like to have the user insert the CD into a CD-Rom Drive, and the program will Auto Start with a Splash Screen, then start/load the first windows form. The form will have some buttons on it for the user to interact with the CD, by either going to other window forms or by downloading exe files or zip files to the user's computer.
Also the form has buttons on it for the user to click on to bring up a PDF to be viewed.I have tried to do the Publish and found that it created a setup.exe...as in I think it wantes to install my program, and my program is not for installing. only viewing and interacting with and maybe downloading files from it, my CD program is never to be installed.I'm pretty sure I need to save or create my program as just an AutoRun, that starts when the CD is inserted and that is all I think needs to be done...so how do I just create a AutoRun Only version of my program, not a setup.exe?I will have a ini file to reference the AutoRun file on the CD, no problem.
I've been reading about i18n and how to make my app ready for localization. One thing recommended is to set the NeutralResourceLanguageAttribute in the AssemblyInfo.vb file like such: <Assembly: NeutralResourcesLanguageAttribute("en")>However, when I do that I get 'Type is not defined' Anybody have any clues?
i have a NAS drive that is mapped to my system..My application will copy files to the drive but the only problem is the drive has a sleep function on it therefore when i try to copy files to it and it is in sleep mode, it says the folder does not exist (drive still in my computer but just with a red X on it)is there a function to make ir ready ? the only other way to do it is to double click the drive icon in my computer then it wakes up... but id rather not do this as its a pain.
I'm trying to create a Windows Explorer like application, when a flash drive is connected/disconnected the application detects it and does some stuff. This is what I've accomplished so far:
Code:
Private Const WM_DEVICECHANGE As Integer = &H219 Private Const DBT_DEVICEARRIVAL As Integer = &H8000 Private Const DBT_DEVICEREMOVECOMPLETE As Integer = &H8004
[Code]....
One thing that this code does not do is detect when the driver changes from ready to not ready, e.g. if a CD is removed/ inserted into the optical drive or a memory card is removed/inserted into the card reader. How can I accomplish that?
After lot of searching I found a working sample showing how to get a HTML page loaded. It works now if I wait until it is finished loading and then press a button to transfer HTML data into string. I tried to use webBrowser1.DocumentCompleted event but it does not fire.My question: How to get the data automatically when it is ready. Or what is wrong in my code.
[code]I have this type of xml file how i can access this xml file into dataset and i want to print name into textbox1.text and class in textbox2.text and rollno into textbox3.text how to do that ???
I am developing an application that reads from a network shared folder on a separate Windows Server. When the application attempts to read, I am receiving the error message "System.IO.IOException: The Device Is Not Ready". I have tried running the application as an Administrator, however I still receive the same error.The files in question do not appear to be in use by any other application.
I am listing all drives with GetLogicalDrives().. I am getting ( A:. C:, K: )
Now I want to know Each of Above Drive is ... 1) Ready or Not (To list out its content) 2) Type Of each drive...
Even if Floppy is not inserted in A: Code Should return 0 I am using GetFileCount() for A: and I am getting error.. Drive not Ready. I am using VS2003 VB.NET
I am using a webbrowser control to login to a website.[code]On successful login I have to navigate to another page. This will happen only if the login is correct. The issue here is as son as the login page is loaded the readystate of webbrowser control becomes complete and even before the I login to website the next line of code gets executed and results in an error as I am not logged in.url...How can I make my application wait for the login to be complete and then execute the above line of code.
I am trying to navigate the URL to an applet login interface. Is there a way to determine if the applet is ready to take input? You know when Java is loading. My timing is not right, and I want to be able to make it stable by determining when Java applet login object is in a ready state.
I want to be able to use the core frotz library (dll) in a different project (no WPF front end). The dll needs to accept an entire string command as the input, and produce the entire output as a string. Produce this dll and the source of the class showing me how you did it.
I would like to detect the insertion, and completion of installation of a USB cable in VB2008 as two separate events. The driver gets installed prior to insertion of the cable.
I'm making a hangman game (yes everyones starting point) and got the basics running. I've added so extras to it, such as reading in random words from a text file, only allowing capitals to be entered, an option of guesses the phrase etc. All very simple but a nice way to learn.
Anyway, I want it to show the letters that have all ready been entered between each guess. I want to do this by using an array and making sure the same letter cannot be entered more than once into this array.
So far i have the following:
Sub Main() Dim GuessLetter As Char Dim LettersGuessedArray(26)
[Code]....
and i do not know why. I want it to output the letter entered from the array "LettersStoredArray".
I have a report ready to print document, however you will make it stop reading when the records end up, give it displays this error:
Index was out of range. It should be non-negative and less than the size of the collection.Parameter name: index
I've tried an index = 0 to no avail, I think that has to do with the End print. Because I cannot make it stop reading after all the records appear on the leaves.
Is there an error list in vs 2003? I can't remeber if there was and can't find it in the options... The TaskList window shows the errors but also messages like 'Visual Studio is ready to deploy XY' and it is distracting.
I cannot find a way to make a program that I write make a shortcut in the start menu for all users.My final goal is to make an MSI and deploy it in group policy to all users on a computers OU. Is this possible?
Dim IncomingCommand As String = e.CommandLine.Item(0).ToString
If IncomingCommand.Substring(0, 2) = "-1" Then
form1.close()
End If
End If
I am trying to make the program close if the -1 string is sent with the program. See my installer allows for me to run certain programs before it actually installs, but it doesn't shut down copies of the program itself. So I have a next startup instance set to shut the program down if the -1 is received. But if the program is not running it starts up instead. This is not desired. form1.close doesn't work. e.cancel = true doesn't work, etc etc. What can I do to make the program not start during this instance.
I made vb.net program for 1440x900 resolution, if i run my program on 800x600 or 1024x768, my program's resolution is bigger then windows, so i have problem with resolution. Now i want to change my program's size and i am interested in, wich resolution is correct to make program, 800x600 such as minimum?
what im trying to do= make a program that will make multiple accounts
[code]...
ok what i type in textbox(es) "1" i want it typed on a "3"{a website=www.justin.tv/signup} when i hit the "2"[button1]i really dont have any idea what im doing i know ill need to have a webrowser to load the justin.tv/signup but i have no clue what the name of the boxes are called on the webpage
I am new the Visual Basic and just downloaded 2008, and I am wanting to make a program with a button that will run a .exe that is in the same location as the program/