Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
C

China Gary

@China Gary
About
Posts
24
Topics
13
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Vb Forms and Crystal Reports
    C China Gary

    Hello, I'd like to be able to create a crystal report containing strings that are contained within textboxes and labels on a from, using the click event of a button. Is this easily done? Thanks

    Visual Basic question

  • Listbox loop
    C China Gary

    Thanks, but im new to VB, can someone show me the code to do this?

    Visual Basic database question

  • Listbox loop
    C China Gary

    Can you save a range of items in a listbox as a datatype, like a collection for adding to an Access Database?? If not then how do you loop thorough the listbox adding each one to a seperate column in an Access table? Thanks

    Visual Basic database question

  • Datagrid and MS Access
    C China Gary

    I have a form with a datagrid, a textbox and 3 buttons. BtnAdd - Adds a new event to the database BtnSave - Saves to the database BtnUpdate - Refreshes it and shows the updated version in the datagrid My table only has an ID number and name - type Number and Text, but it wont write to the database for me, can someone show me way to do this please??

    Visual Basic database question announcement

  • How do you open an Access Query in Excel using a vb button?
    C China Gary

    Is this easily done?? Thanks in advance

    Visual Basic database question

  • Adding listbox items to an Access DB
    C China Gary

    I have an application that needs to add listbox items (strings) to an access database, with each item going to a new row in the table. Each one of these items has a unique id number (autonumber in access) and am getting stuck with it not writing properly to the DB. Wats the easiest way of going about this? Thanks

    Visual Basic database help question

  • The randmize function using listboxes
    C China Gary

    Brilliant, it works a charm! Thanks a million TwoFaced! :)

    Visual Basic question help tutorial

  • The randmize function using listboxes
    C China Gary

    Basically i have a listbox and need to take each item (string) out of that listbox to populate textboxes, so the first listbox item goes into the first textbox, second to second etc... Here is the code that i have for this that works. For i As Int16 = 0 To lstListbox.Items.Count - 1 Select Case i Case 0 : txt1.Text = lstListbox.Items(i).ToString Case 1 : txt2.Text = lstListbox.Items(i).ToString Case 2 : txt3.Text = lstListbox.Items(i).ToString Case 3 : txt4.Text = lstListbox.Items(i).ToString Case 4 : txt5.Text = lstListbox.Items(i).ToString Case 5 : txt6.Text = lstListbox.Items(i).ToString End Select Next My question is, how do i randomly do this, instead of having the first item go to the first textbox etc, so perhaps having the first item going to the txt5 or txt3 for example and so on. Help or guidance would be brilliant, thanks!

    Visual Basic question help tutorial

  • Is it possible to run a vb.net application without Visual Studio??
    C China Gary

    Just a general query, as i am under the illusion that with the .net framework installed on the host computer that vb.net applications can run with it. Can someone clarify this for me please, and if it is possible how is it easily done? Thanks

    .NET (Core and Framework) csharp database dotnet visual-studio

  • Generating an Excel spreadsheet from vb.net forms!
    C China Gary

    Thanks, ill try it out! Appreciate the help! :)

    Visual Basic help question csharp

  • Generating an Excel spreadsheet from vb.net forms!
    C China Gary

    Any help/guidance with this would be much appreciated! Im working on developing a system that ultimately generates a timetable of events, much like an timetable for a track event, allocating people to lanes etc.. I need to be able to generate an Excel spreadsheet that is populated with the data that is held within my text boxes and labels in my forms, all Strings btw. Is there a way that i can submit an event/race to the spreadsheet, go back and submit another race that will appear underneath the race already submitted, without overwriting what is already in the spreadsheet?? I would be very grateful for help here, and have explained it as i see the nature of the problem! Thanks

    Visual Basic help question csharp

  • How do i get an image to appear in a picture box using the open file dialog??
    C China Gary

    Thanks!

    Visual Basic question database

  • How do i get an image to appear in a picture box using the open file dialog??
    C China Gary

    I would like be able to open up a .jpg file from the open file dialog and then have the selected picture appear in a picture box, for submitting to a database at a later stage. Is this easily done? This is what i have so far, and am a small bit confused as to where to go! Dim OpenFileDialog As New OpenFileDialog OpenFileDialog.InitialDirectory = My.Computer.FileSystem.SpecialDirectories.MyDocuments OpenFileDialog.Filter = "Image files (*.jpg)|*.jpg|" If (OpenFileDialog.ShowDialog(Me) = System.Windows.Forms.DialogResult.OK) Then 'what do i need to do from here??? End If Thanks

    Visual Basic question database

  • List box loop?
    C China Gary

    thanks, ill give it a go!

    Visual Basic question

  • List box loop?
    C China Gary

    Sorry for the delay! Basically i have a list box populated with items from another listbox, drag and drop basically. Within a different groupbox, i have 8 different textboxes. How do i take the first element from the listbox and put it into the first textbox, second to second etc... They are all on the form at the same time. Can a loop easily do this? Thanks

    Visual Basic question

  • List box loop?
    C China Gary

    Thanks for the help! Thing is, i have up to 8 in the list box, and each element in that listbox is to go to a different textbox. Sorry, but i just cant figure it out! Thanks!

    Visual Basic question

  • List box loop?
    C China Gary

    How would i code a loop to go through a listbox and take each value out of it to insert the values into textboxes? Would i use a loop? Dim strLan As String strLan = lstX.SelectedIndex() = 0 txtX.Text = strLan This code isnt working for me, somthing pretty damn basic i know!

    Visual Basic question

  • MDI Form Trouble!
    C China Gary

    This may seem like a very basic question, but im a novice! I have an MDi form, and i want to load up my other vb.net forms into it, so basically, running my application from within the MDi form. Can someone give me some advice on this as it is stressing me out a bit! Thanks

    Visual Basic csharp question

  • How to open a Word Document using vb.net command buttons
    C China Gary

    How do you select a specific folder?

    Visual Basic csharp help tutorial question

  • How to open a Word Document using vb.net command buttons
    C China Gary

    Thanks for the help!

    Visual Basic csharp help tutorial question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups