Search:

Type: Posts; User: Paco75

Search: Search took 0.04 seconds.

  1. Replies
    1
    Views
    546

    Unable to import Office objects

    Hi,

    I wish to use outlook from VB 2010 but when i try to import any Office applications like the following :



    Imports Outlook = Microsoft.Office.Interop.Outlook


    i cant see everything...
  2. Replies
    5
    Views
    1,173

    Re: Problem using ADO.Net with excel

    anyone can help? I still not have a solution...

    my excel file look like this... i changed the field1 for a float.

    field1 field2
    1234567890 'Test
    1234567891 'Second test
    ....

    each...
  3. Replies
    5
    Views
    1,173

    Re: Problem using ADO.Net with excel

    One of the fields is only letters... like 'Cola' and 'Chips' in the example from your last post and it got the ' character in front too.
  4. Replies
    5
    Views
    1,173

    Re: Problem using ADO.Net with excel

    But my fields are strings...

    if i got strings entirely made of numbers could it be excel that tries to write it as a numeric value?
  5. Replies
    5
    Views
    1,173

    Re: Problem using ADO.Net with excel

    here is where i took the information to inspire my code http://support.microsoft.com/kb/316934
  6. Replies
    5
    Views
    1,173

    Problem using ADO.Net with excel

    Hi,

    Im using ADO.Net to create and fill a excel file from data i read from a MySql database. The problem i got is that each cell in the excel file starts with a ' character... and i dont know...
  7. Re: Using all cores of multi-cores processors in VB 2010?

    Yes i expected it to be a not-so-easy task. In fact i just wanted to evaluate the effort needed to accomplish this. I did not expect to have to write some lines and voilà. (That would have been nice...
  8. Re: Using all cores of multi-cores processors in VB 2010?

    In my case its a single threaded app that i want to turn into a multi-threaded application.

    From what i read in this link is that you put tasks in a pool of tasks and .net framework manage the...
  9. Re: Using all cores of multi-cores processors in VB 2010?

    Thanks for sharing the link, very interesting :)
  10. Re: Using all cores of multi-cores processors in VB 2010?

    From the things i have read up to now you have to separate tasks in multiples threads otherwise it will be run on a signe core. It does not always make your application run faster... by example in...
  11. [RESOLVED] Using all cores of multi-cores processors in VB 2010?

    Hi,

    If i want my program to exploit all cores of a processor do i need to add extra code? If yes do you know a link to a tutorial that explain how to do it in VB 2010?

    thanks
  12. Replies
    2
    Views
    1,607

    Re: combobox focus

    Thanks you were right my tabindex was not in the good order
  13. Replies
    2
    Views
    1,607

    [RESOLVED] combobox focus

    Hi,

    I want to set the focus on the first object to be used by users in a form. It's a combobox. I do the following on form load:


    Me.myCombobox.Focus()

    but nothing happens. The cursor is...
  14. [RESOLVED] Error when selecting combobox item

    Hi,

    When i select an item in my combobox it raises the following error

    Column 'field1, field2' is constrained to be unique. Value 'test1, 1' is already present.

    The combobox is bound to the...
  15. Re: Trouble with MySQL connection string

    thanks i managed to connect to MySQL database! :)

    Here is the method i used, this sample connect to MySQL using ADO.Net and pops the version of MySQL in a msgbox.



    Imports...
  16. [RESOLVED] Trouble with MySQL connection string

    Hi,

    I want to connect to MySQL on VB 2010 but i cant manage to get the connection string work. Here is my code:


    Private Function GetMySQLConnection(ByVal MySQLProv As String, ByVal mySQLDB As...
  17. Re: Problem reading excel file using ADO!

    Never mind i found it. It was simply Project->Add Reference. Then choose "Microsoft ActiveX Data Objects 2.8 Library" (latest one)
  18. Re: Problem reading excel file using ADO!

    Anyone know what to do? Seems to be a simple declaration or define ADODB object in my project but i dont know how to do it in Visual Studio 2010! I have not used VB since VB6... im a bit lost lol.
  19. [RESOLVED] Problem reading excel file using ADO!

    Hi,

    I tried to read a excel file using the method i found here http://www.xtremevbtalk.com/showthread.php?t=217783

    But i get an error on ADODB.Connection saying "Type 'ADODB.Connection' is not...
  20. Re: Do i need licences if my VB application use excel and access docs?

    I will use latest VB version because i need to buy it. I will use Visual Studio 2010 professional. I guess i might also look if this latest version has built-in tool to ease.
  21. Re: Do i need licences if my VB application use excel and access docs?

    i think i found some interesting links showing how to connect to Excel using ADO.

    http://www.vbforums.com/showthread.php?t=402060
    http://www.xtremevbtalk.com/showthread.php?t=217783

    This does...
  22. Re: Do i need licences if my VB application use excel and access docs?

    Can you show me an example how to do this?



    Have you tried any of these library? Any recommendations?
  23. Re: Do i need licences if my VB application use excel and access docs?

    Hi Si_the_geek, thanks for your answers.

    Actually the excel file merely contains rows of data... except for the 10-12 first lines containing a header.

    I am surprised you seem to say it is...
  24. Re: Do i need licences if my VB application use excel and access docs?

    Actually the application is not still created. So i can't show code.

    The main goal of the application is to read a excel file and write some of the data into a access database.
  25. [RESOLVED] Do i need licences if my VB application use excel and access docs?

    Hi,

    I need to know if my VB application create and edits office documents like excel and access database does each user using my application needs to have appropriate Office licenses?

    thanks
Results 1 to 25 of 25



Click Here to Expand Forum to Full Width