Search results for query: *

  • Users: NickJ
  • Order by date
  1. N

    Can’t save an Imported Excel sheet to Database in VB 2005

    Hi guys I have this program that imports and Excel spreadsheet to a database, but when I try and save the imported information, nothing is saved. Here is my code I have so far…. Private Sub bindingNavigatorSaveItem_Click(ByVal sender As System.Object, ByVal e As...
  2. N

    Import excel doc to a database in VB.Net2005

    Hay people I’m very green to the world of VB.Net 2005 so would appreciate some help. I would like to know how would I import a Excel spread sheet into a Datagrid? This is what I have so far, but for some reason I get no errors and no data? But nothing happens. Dim...
  3. N

    Export to Excel Problem

    Hi guys I have a combobox that the user selects a name (the Title) from, then the user moves across text from a listbox to 6 labels, the user clicks a button to export these to excel with the Title at the top (Cell “A1” and the text goes in A2,A3,A4…..) My question is this...
  4. N

    build a Frequency Generator?

    Is it possible to build a Frequency Generator in VB.Net? I would like to be able to select a frequency from a Combobox or a drop down listbox. And be able to save that frequency as a file as well as play the frequency. Thanks Nick
  5. N

    Setup and Deployment

    i wasnt ignoring you kulrom i was trying to get my head around what you said! and i still dont understand what you mean can you explain to me what you mean please :( so sorry for not repsonding straight away. Nick
  6. N

    Offic Automation Help

    Hi guys Ok what i need to do is get excel cell information at runtime. On form1 I have a button that at runtime creates tabpages based on a selected number from a combobox. On form2 each tabpage that has been created has a number of Labels that will display the information. I have the code...
  7. N

    Progressbar problem

    Hi guys Im trying to get a progressbar to run but not sure of the code to get it to run. I would like it run on form2 while it loads but the button is on form1 can you help? this is what i have so far... Dim ProBr As Long ProgressBar1.Value = 0 Do While ProgressBar1.Value <...
  8. N

    Please can someone expain to me how this would work

    Hi Guys Can anyone please explain to me how I add labels to a tabpage at run time. I have the code to create the new Tabpage at runtime (thanks to everyone that put there bit in) all I need to know now is how to add the controls. The Tabpage will read cells from an Excel sheet but...
  9. N

    Problems with this code. Any ideas?

    thanks for that but this line of code returns an error... frm.TabSum1.TabPages.Add(TabPage) This is the error... An unhandled exception of type 'System.NullReferenceException' occurred in Projection Maintenance.exe Additional information: Object reference not set to an instance of an object...
  10. N

    Setup and Deployment

    Thats a good idea cyrilqupta but how do i do that and save it on a .ini file. Thanks Nick
  11. N

    Problems with this code. Any ideas?

    I have a problem with the code. I think its got something to do with the way its laid out. Im trying to get the user to enter a number from SetUpFrm which has a comboBox (ProjLstCb) so that the TabControl on Form1 will be populated with that number of TabPages Here is the code Dim...
  12. N

    Setup and Deployment

    Hi people My Questions is this I want to be able to ask the user how many projectors the have in there projection box. When the user picks a number between 1 and 31 the software will put that number of tabs with predefined textbox’s and other user tools on the form. I would like this to be...
  13. N

    Look to see if Excel is open or not

    sorry The button exports all the collected data from the .net program
  14. N

    Look to see if Excel is open or not

    Hi and thanks for that but.... As im a beginner, how do i but that in the button procedure? Thanks for your time on this
  15. N

    Look to see if Excel is open or not

    Ok but how do I stop my .Net application from opening another mydocument.xsl
  16. N

    Look to see if Excel is open or not

    still cant get it to work Ok I have been playing around with it but I still cant get it to work. May be I didn’t explain it probably If i open my Excel file manually and then run my .net application, my application will create another Excel instance instead of connecting to the already...
  17. N

    Look to see if Excel is open or not

    Hi People I have a small problem I have a VB program that exports some values to a Excel Sheet, now if I open the Sheet to have a look or work on it and I then open the VB Program and try to export the values it opens it again. How do I write the code so the VB program looks to see if...
  18. N

    Move up button on a Listbox error

    Thats great but how do you Disable the btnMoveUp in the SelectedIndexChanged event handler? (Sorry but im just starting to learn all this) Thanks Nick
  19. N

    Move up button on a Listbox error

    Hi people I have a problem with this code, the code moves the selected item up until it gets to the top. Private Sub btnMoveUp_Click(ByVal sender As System.Object, ByVal e As_ System.EventArgs) Handles BtnMoveUp.Click Dim index As Integer = LstAll.SelectedIndex If Not...
  20. N

    Subtraction from a Textbox

    Sorry but that didnt work. This is what im trying to do... textbox1 - (2 x Textbox2) and dispaying the answer in lable1 Thanks for your help Nick
Back
Top