Search:

Type: Posts; User: skrantz71

Search: Search took 0.01 seconds.

  1. DB connection problem from service app. Application not declared

    Hi,

    When I try to make a connection to a db from a service application I get that "Name Application is not declared"

    con.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" &...
  2. Combobox. Do not allow values that are not in the list

    Hi,

    I was useing VB a lot for some years ago and now I have started again..

    then, think I was useing VB3 or VB4 there was a property on ComboBox and listboxes that allows only to select the...
  3. Replies
    5
    Views
    676

    Re: Datagrid code examples

    bump...

    anyone have tutorials on datagridview?
  4. Replies
    5
    Views
    676

    Re: Datagrid code examples

    Hi,

    Iam useing VB2008.

    Thanks for the fast reply..

    /Stefan
  5. Replies
    5
    Views
    676

    Datagrid code examples

    Hi,

    I should realy need some tutorial or exambles how to code the datagrid with a database before I start asking a lot of stupid Q here :rolleyes:


    1. how could I control the colum size for...
  6. Re: Windows Mobile 6.5 SDK and Client / Server solution.

    Thanks for the reply

    I have installed
    http://www.microsoft.com/downloads/details.aspx?FamilyID=20686a1d-97a8-4f80-bc6a-ae010e085a6e&displaylang=en

    but when I start VB2008 I don't have any new...
  7. Windows Mobile 6.5 SDK and Client / Server solution.

    1. Does someone know how to install Windows Mobile 6.5 SDK and how to get a Windows Mobile 6.5 emulator, like the 6.1 that comes with VS2008?

    2.
    Planing to develop a server application that have...
  8. Replies
    20
    Views
    2,344

    VS 2008 Re: How could i get a Global IP?

    and if your PC does not have internet access?:)

    Nice soulution... Useing the web.. Is that the new era? Useing functions on the web :)
  9. Re: Multithred call to a function that should return a value?

    aha.. Thanks..

    so if I have a return value I just do like this?

    Value = Thred1.Start(10)
  10. [RESOLVED] Multithred call to a function that should return a value?

    Hi

    Iam trying to make a call to a thred by does not find how to start a Thred on a Function that should have a value and should return a value,
    I got it to work on Function or Subs that does not...
  11. Re: Catching Errors with a Errorhandler

    Thanks!!!

    So easy..

    I Love this forum and all helpfull people!
  12. Re: Catching Errors with a Errorhandler

    Like this

    Dim ex as Exeption

    On error goto Errorhandler


    Sub Errorhandler (Error as exeption)

    msgbox"Error blabla"
  13. Re: Catching Errors with a Errorhandler

    Yes you are right, but i want to pass the exeption to my WritetoEvenlog function..

    and

    i got this error when trying to convert it to string.
    "Value of type 'System.Exception' cannot be...
  14. [RESOLVED] Catching Errors with a Errorhandler

    Hi,

    Does someone have a example to catch errors and log them to the Eventlog?

    I would like to catch any error and pass them to my WriteToEventLog function.

    If i use On Error , how could I...
  15. Replies
    6
    Views
    11,300

    Re: ADO.NET Data Containers: An Explanation

    Good explanation!
  16. How to handel DB path with install program etc

    Hi,

    When Iam develop my app I have my db in
    "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\db\remoteit.accdb;Persist Security Info=False;"

    How could I handle that in a finnished...
  17. Replies
    3
    Views
    1,216

    Re: Calling DLL from service not working.

    There was a autorizaton problem.. When i change the service from local system to my user it works..

    but if i what it to run as local system?
  18. Replies
    3
    Views
    1,216

    Re: Calling DLL from service not working.

    Thanks for the ideas, should test that..
  19. Replies
    3
    Views
    1,216

    Calling DLL from service not working.

    Hi,

    Makeing a service that should call a DLL.. When I run it i a Windows form app it works but in the service nothing happens. no error??

    Is there some considers that i have to take care of...
  20. [RESOLVED] Realy need help with connection to database. Code example please

    Hi,

    I have searched around now but could not find example that works for me :(


    I need to connect to a access 2007 db from VB.NET
    I need to connect with code only since iam doing a Service...
  21. Re: [RESOLVED] How to calculate a weekday of a given date?

    sry.. it was..

    i was just replying.. cred for you too:wave:
  22. Re: How to calculate a weekday of a given date?

    thank!.. Dayofweek was what iam looking for :)
  23. Re: How to calculate a weekday of a given date?

    My VS2008 does not reconize DateVal.DayOfWeek.ToString("dddd") ??
  24. [RESOLVED] How to read a txt file on the web?

    Hi,

    I want my program to transfer the value in this url
    http://www.temperatur.nu/termo/sollentuna/temp.txt

    to a integer in my program..

    Ideas?

    Thanks
  25. [RESOLVED] How to calculate a weekday of a given date?

    Hi,

    Does anyone know how to calculate a weekday of a given date?

    Thanks in advance
    /Stefan
  26. Replies
    2
    Views
    325

    Re: Loop while application is running?

    Maybe use a multithred call for the function?

    http://www.metacafe.com/watch/yt-hAFrN9apWiU/vb_net_how_to_use_multithreading/
  27. Replies
    1
    Views
    300

    VS 2008 Connect to database from a Service

    Hi,

    I am developing an applikation that uses an access database for storing records. The form app is for the users to add and change data in the database and so on.

    but then

    I should have a...
Results 1 to 27 of 27



Click Here to Expand Forum to Full Width