Answer Questions
Kuttappan Problem extracting URL from Favorites showdailog, used to work
Revisiting older code that used to work, now in VS2003 Getting: “The process failed: System.ArgumentException: The path is not of a legal form”. In the following code below the user would click on a URL from a (show)dialogbox displayed. I would then take the selected URL’s path via FavoritesFolder.DirectoryPath really (FolderNameEditor.FolderBrowser .DirectoryPath) and parse the file to retrieve the http URL. Obviously th ...Show All
Doogshnooglis Sending text in text box through mails
Hi, I would like to know how can I send all the text in textbox in a form as a message to a particular mailbox. Can this be done May i have sample code about it I'm new in this language and i need to do a project using VB.Net hi, may i know what reference must i import into my program in order to use the smtp code.. when i write "SmtpMail.SmtpServer" it display an error message saying that smtp was not declared.. ...Show All
Jim TheGreat unbound text boxex and dates
I am writting a small VB6 system to track employee check-in and check-out times and dates. The entry form uses unbound text boxes. I have gotten most everything to work except the dates. 1) how do I use an unbound text box to capture a date input by the user, use it to compare to date fields in an MSAccess table (date fields) and to write to the MSAccess table I keep getting type mismatch. 2) how do I put an input mask on the text box to format ...Show All
Kaiser user.config
Hey, I'm creating a setup to install an application with vb setup project. I was wondering if it is possible to remove or overwrite the user settings (my.settings) file in C:\Documents and Settings\user\Local Settings\Application\Data because we want new settings every time the app is reinstalled. I also would like to know how to remove files created by the app in the installation directory (ex.: ini files) if that is possible. Thanks and Gr ...Show All
joneal Where is windows application Equivalent of web.config?
Hi fellow developers, I am new in windows app development. can anyone kindly advice where I can find a windows equivalent of web.config (in the web app terms) and global file I wish to create an application level variable to connection the sqlconnection object. thanks and enjoy your day, jimmy chan Hi Johan. Which file were you referring to when you mentioned " Add the file to your project and give it th ...Show All
elpepe Saving User Settings
I trying to figure out the best way to save user data / preferences for a program... For example, let's say that I want to save the personal information of my user (i.e. Name, Address, Phone Number, etc...) so that they only have to type it in once. What is the best way to do this Currently I am importing a simple text file with the information upon loading the program. If the user ever decides to change that information then the text file is ...Show All
swamikns Problem with DLL in Windows 2003
Hi, I have a component(dll) that calls another component(dll), but i am getting the error "429 - cannot create object" when i call a method. For Example: In the DLL that calls another DLL visual basic code: contact the manufacturer/developer of the product Did you register the DLL after installing Windows 2003 If not, try registering it by calling: "regsvr32 yourdll.dll" Hope that helps, I don't know if it ...Show All
Bryan Kardisco Loading .txt files
Hello, I am sort of new to Visual Basic, but I have completed some tutorials. I can't find information on how to make a menu with Open File for example, in it, then make it open a file such as .txt. Where or how can I script a menu to have an option called Load File that will load a .txt file or something else. So far I have made a menu with the Open File option, but I need to script it to load a file now. Thank You! ...Show All
Gentia Odd Error
OK, I have read a post on this before, and I have tried turning off the signing (click one manifest & assembly) But that didn't helped, I am currently getting this error: There is no editor available for 'C:\<path to .vb file>' Please make sure the application for the file type (.vb) is installed. Could someone please explain to me how to fix this error I am currently using Visual Studio 2005 Team Suite. ...Show All
EgorKDie Web Browsing program
OK, I know what I want in the browser, I know how to make most of it. The only problem I have right now I DON'T KNOW HOW TO MAKE THIS WEB BROWSING WINDOW!! I'm trying to make it in a panel, which probably is the wrong way to do this. I need help with the web browser commands. Oh, and I want it in the program, not external Internet Explorer window. Please help, I'm new at this and I'm trying to make an OS-like program set. I don't see any o ...Show All
Archana G May i know what happen here??
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click PictureBox1.Image = "1.JPEG" Label1.Text = "what text" End Sub when i clck this button, the text "what text" will appear. but the picture stil can;t be display. the error showed is " value of type string cannot be converted to 'System.Drawing.Image'" May i know what happen> ...Show All
Kenco Computers Serial to TCPIP
Are there someone could help me out I have a device that's connect in a network by TCPIP and this device has a number like 192.168.0.254. I need to connect to this device throught TCPIP and gets information from this serial device and transport this serial information to another computer in another program, but when I get this information back, this back information cames wrong to this computer. ...Show All
ppngiap ClickOnce update
I have created my project by clickonce technolgy, my project size is 10 MB, My main EXE file is 8 MB, now when I have to update small thing as an other refreneced file , the update should download all 10 MB again ... that is a probelm because my project is going o be 40 MB, Is there any soultion to download the small file changes because EXe file need to download each time :( There is an option download updates in the back ...Show All
Bentes16 Getting a listbox selected value from a seperate form
Hi all, I'm having a rather strange problem with listbox.selectedvalue. I have a form (Form1) that has a listbox populated with values from a database. I also have a button on Form1 called 'delete'. When you select a listbox item and click delete it brings up a new dialog form (Form2) thats asks if you are sure you want to delete the selected item from the listbox/database. You can choose 'Yes' or 'No' via two buttons on Form2. When you ...Show All
de_henny Custom Menu Click
I have followed the instructions posted on Microsoft for creating a custom menu with icons: http://support.microsoft.com/ kbid=888168 In my case I have implemented a custom context menu. My menu is displaying correctly but I can't figure out how to get the Click event for items in my menu. Has anyone implemented this Here is how I am creating the menu items: Dim cm As MyIconMenu = New MyIconMenu("Do Something", Nothing , ...Show All
