Search results

  1. U

    webbrowser download location?

    I have some code that makes it possible to download/convert a youtube movie (through a website) to mp3, it shows the download screen, but the location I want to be a specific location. Here is the code I use, hope some one can help me: Private Sub ButtonX2_Click(sender As System.Object, e As...
  2. U

    exit program when setup is running

    I've created a program with vb2010 and I am kinda stuck with the following: When I run the program it checks if there is an update for it, if so, then the exe is downloaded and is executed, the program (main program) then checks if the setup is running, if so the program quits so the setup can...
  3. U

    Question Check if item exists before adding it

    I have a datagridview and I can add a selected item from the datagridview to a listview by double click the grid. This does work, but I want to check if the item I try to add does already exists in the listview. I have the following code, but this doesn't work: Private Sub...
  4. U

    datagridview image instead of value in column

    I have a datagridview with a ms access database. It shows all the records that I have in the database, but the thing I'm struggling with is, that a column in the database contains 0 or 1 (which I use for checkbox), now I want to change that value (or change the column into a imagecolumn. At...
  5. U

    Forms in panel with custom colored square around it

    I have a win form, a panel and on that panel I can add multiple instances of a form (without border, pre-created), after I click a button. Now what I would like to know is how can I add a custom colored square around a click form, to make it selected and when I click another form, that one will...
  6. U

    yahoo won't receive emails send from vb2010

    I have a program which I created with vb2010, with it I can email. I use my own domain as a host to send the emails from. This works fine, hotmail, gmail, etc, are receiving the emails, but only yahoo won't receive them. Is there something yahoo has in their mail settings. It's not that the...
  7. U

    play youtube video with wmp in vb2010

    I've been trying to make a videoplayer that can choose to play, regular video files and also youtube video by supplying the link. Programming code: vb2010. The regular video files are working, but the youtube aren't working. I know I should use the url as followed...
  8. U

    wpf ellipse image change with code

    I have been searching google for this issue, but haven't found a good answer, so hopefully someone here can help me. The code I use is vb2010 so no C#. This is the issue I have: I have an ellipse with a fill image, but I would like to know how I can change the image with code (or even check...
  9. U

    Question WMP on second form won't play in fullscreen

    I have this program, created with vb2010, to play video on the main screen and on a second screen. This works, but I don't get the second screen WMP to play at fullscreen, it just stays at normal size. The second is not a pre-designed form, it's created when I click on a button, and then the WMP...
  10. U

    scrolling in datagridview

    I would like to know when I use the up/down arrows from the scrollbar, the selected row disappears, instead of scrolling along the datagridview. I have seen some codes when searching through google, but those I found are scrolling directly to the last row or to specific row. All I want is just...
  11. U

    numbers before listbox items

    At the moment I have a listbox which contains several items. On a button I want to "export" those items, add a number for each item. I can see the numbers but the items are displayed as: system.string[]. 1 system.string[] 2 system.string[] 3 system.string[] What do I do wrong: Dim Larray As...
  12. U

    open text file with application

    I have an app made with vb2010. When I double click the text file I want to open the text file in an application created with vb2010. I use the following code, but when I try to open the text file with my application, it closes as fast as it opens. Also the listbox should be enabled when the...
  13. U

    An invalid character was found in the mail header: ';'

    I am using vb2010 and winforms. I've been trying to send an email and got almost everything right, but getting an error: An invalid character was found in the mail header: ';' I have the following code: Private Sub SendButton_Click(sender As Object, e As System.EventArgs) Handles...
  14. U

    items listbox to custum html mail

    I'm using mail for my program, for the body I use custom html. I also have a listbox that contains items, my question with this is: How can I add those items to the html with numeric order. I have tried to use "for next" but inside the html code this doesn't work. Here is the code I have for...
  15. U

    single records from database

    Sorry for the title, I didn't know how to name it. But here is what I want to do. I know how I can get records from a database, but I have a table which contains a column and in that column are multiple records using the same group, like: Group1 Group1 Group1 Group2 Group2 How can I (when I...
  16. U

    The DataAdapter.SelectCommand property needs to be initialized

    I'm having a big issue and hope that anyone here can help me. I've build a program with vb2010 and use it to add, edit, delete data from databases (mysql and ms access). Most of the code works, but there is a part that gives me a headache. With a button click I add/edit records in a database...
  17. U

    windows forms startup issue

    Hi there, I'm having an issue with the startup of my build app with vb2010. Let me explain what the situation is at the moment. I have a form and a splashscreen. I use the application events (startup event) to check if there is a network connection, if so the splashscreen will run and it will...
  18. U

    on datagridview cellclick combobox

    Hello peoples, I have searched google for my question but couldn't find the right answer for it, so I hope someone here can help me. My question is as followed: I have a datagridview which gets it's columns on form load from a ms access database. When a user clicks a cell in the first column...
  19. U

    move same selected item in 2 listboxes

    First let me explain my settings at the moment. I have 2 listboxes on a form, which contain the same items (and in the same order). I would like to know if and how I can move a selected item in one listbox and the second listbox moves the same item aswell (so they move in sync). I can move the...
  20. U

    emailaddresses from msaccess column separated by semicolon in 1 textbox

    In vb2010 I am trying to create a small program, I have a textbox and a combobox. The combobox items are dynamically loaded from an XML file. And has items that correspond with the Groupname column in the access database. The msaccess database has 3 columns (excl id), groupname, realname...
Top Bottom