Search:

Type: Posts; User: lkallas

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. VS 2010 Re: Editing and adding fields to Access database over LAN

    Did some research on this error and came across with this little article. Thread solved on my behalf. :)


    The unbelievably cryptic Operation Must Use An Updateable Query error is the bane of...
  2. VS 2010 Re: Editing and adding fields to Access database over LAN

    Hi!

    Reporting back the "ex.Message" : Operation must use an updateable query.

    Weird that it doesn't give that message when I run the program directly from my local computer.
  3. VS 2010 Re: Editing and adding fields to Access database over LAN

    Good point!

    I'll do just that.
  4. VS 2010 Re: One project, one Database but multiple forms.

    Ok, I misunderstood you. Design time = with wizard and dynamically=programmatically. Yes, I have studied these tutorials already.
    Unfortunately these tutorials didn't answer my question that I...
  5. VS 2010 Re: One project, one Database but multiple forms.

    What is the difference between them?

    Let's say I want to add tables etc. at design time...

    Sorry, I am still learning the secrets of databases and vb.
  6. VS 2010 One project, one Database but multiple forms.

    I have a fairly simple question (I guess): If I have one project that connects to only one database(Access) with one table, but in my project I have 3 forms. One for displaying and filtering...
  7. VS 2010 Re: Editing and adding fields to Access database over LAN

    Ok, I try to clarify things a little bit. I have one computer where my program is installed. The database that is used by my program is in the same directory as my program.

    Then I shared this...
  8. VS 2010 [RESOLVED] Editing and adding fields to Access database over LAN

    Hi!

    I have made a program that is able to filter, edit, add and delete rows to a database. On my local computer all works fine. But when I share the folder and open the program in another computer...
  9. Replies
    4
    Views
    193

    VS 2010 Re: Save empty fields to access database.

    Few fields are numeric fields so it gives me an error: Conversion from string "" to type Double is not valid.
  10. Replies
    4
    Views
    193

    VS 2010 Save empty fields to access database.

    Hi!

    I have a code that saves data to access database. But I can't figure out how to make it work when a field is left blank.


    MainForm.RihmatabelTableAdapter.Insert(Me.ComboProfiil.Text,...
  11. VS 2010 Re: Datagridview and ContextMenuStrip

    Hi again!

    Did some rethinking and came up with this solution:


    Private Sub RihmatabelDataGridView_CellMouseDown(ByVal sender As Object, ByVal e As...
  12. VS 2010 Best way to connect to one database with different forms.

    Hi!

    I am struggling with this question: How should I set up a database in my project when I want to connect it to multiple forms.

    Do I have to set up a new dataadapter, dataset,...
  13. VS 2010 Re: Datagridview and ContextMenuStrip

    This is when the cell is leftclicked(notice that the little arrow is on the same line as the highlighted row).

    96369

    Now the right click. As you see the cell that I clicked highlights the row,...
  14. VS 2010 Re: Datagridview and ContextMenuStrip

    I have tried with different selection modes. They select the row but the arrow on the rowheader remains its position(when I use right click).
    With left click the arrow on row header comes along.
  15. VS 2010 [RESOLVED] Datagridview and ContextMenuStrip

    Hi!

    On my Form there is a DataGridView that has a ContextMenuStrip bound to.
    ContextMenuStrip has one button "Delete".

    When I Right click on DataGridView then it displays the ContextMenuStrip,...
  16. VS 2010 Re: Very weird "data gone missing and then it's back" problem.

    I found a solution to my first question. Missing data was caused by the order of my IF statements inside the code. I changed the order as I was coding and that messed around with the data that was...
  17. VS 2010 Re: Very weird "data gone missing and then it's back" problem.

    Thank you, it did it. Something new to learn.

    Another quick question. How can I modify this code to close database connection and does it refresh the data(in the gridview) when the code has...
  18. VS 2010 Re: Very weird "data gone missing and then it's back" problem.

    Yes, I know it isn't very good explanation. Been coding for....20 hours in a row - can't understand even my own thoughts.

    I am starting to think that there is something wrong with my sql...
  19. VS 2010 [RESOLVED] Very weird "data gone missing and then it's back" problem.

    Hi!

    I have a code that uses SQL query to filter data in gridview. Using MS Access 2003 database. The query is running fine and filters data well. But sometimes when I execute the code one row goes...
  20. VS 2010 Re: Log in a webpage via vb application

    Answer to my own question is that when I changed the setting name from ForgardenUser to User then it started to work. Go figure!
  21. VS 2010 Re: Log in a webpage via vb application

    Flaming hell...that was a braincracker...

    I tried all the tricks and tips I could get my hands on...

    Ended up with only one solution(that works):


    Private Sub...
  22. Thread: Execute a url

    by lkallas
    Replies
    5
    Views
    209

    Re: Execute a url

    In a new browser? Does it have to be users default browser?

    In this case the easiest way to navigate the user's default Internet browser to a specified URL is to call...
  23. Thread: Execute a url

    by lkallas
    Replies
    5
    Views
    209

    Re: Execute a url

    For example:

    http://www.youtube.com/watch?v=VmacM9QPqp8
  24. Thread: Execute a url

    by lkallas
    Replies
    5
    Views
    209

    Re: Execute a url

    For example:

    http://www.youtube.com/watch?v=VmacM9QPqp8
  25. VS 2010 Re: Log in a webpage via vb application

    It still gives the error like in the first post.

    How could I write a code that fills the fields and clicks login button with HttpWebRequest POST Method? Never used it, maybe it'll work?
  26. VS 2010 [RESOLVED] Log in a webpage via vb application

    Hi!

    Here is my code that should fill in "user" and "password" fields on a webpage ("http://forgarden.ee/tellimus") and then click the button "submit" in webbrowser. But it doesn't work!
    It gives...
  27. Replies
    15
    Views
    414

    VS 2010 Re: Filtering data in grid view.

    I mean that if I am using textboxes in my VB program (one is Amount1 and the other Amount2) and I am trying to make a query that will filter all numbers between Amount1 and Amount2.

    WHERE Bedrooms...
  28. Replies
    15
    Views
    414

    VS 2010 Re: Filtering data in grid view.

    Thanks dunfiddlin!

    It works now! But when I leave the fields blank and execute the code it will give me an error.
    Also when I try to use numbers like 3,5 and 4.5 It gives me an error.....

    What...
  29. Replies
    15
    Views
    414

    VS 2010 Re: Filtering data in grid view.

    Solved my previous question like so:

    Dim County, SQLString As String
    Dim Bedrooms As String
    Dim NonSmoking as string
    Dim dtProperties As New DataTable()
    ...
  30. Replies
    15
    Views
    414

    VS 2010 Re: Filtering data in grid view.

    Thanks!
    Way too advanced for me to understand using parameters. :(


    But what if I use SQL LIKE operator?

    For example:

    County = lstCounties.Text
    Bedrooms = lstCounties.Text
  31. Replies
    15
    Views
    414

    VS 2010 Re: Filtering data in grid view.

    Thank you Ian, helped me alot understanding SQL basics!

    Yes, I meant optional parameters. So it will filter the data even if some of the so called search fields are left empty. And even then if...
  32. Replies
    15
    Views
    414

    VS 2010 Re: Filtering data in grid view.

    Thank you! Good advice!

    How should I write the syntax when I have 3 criterias. So it would work if all 3 fields are filled and also when some of them are leaved blank.

    County = lstCounties.Text...
  33. Replies
    15
    Views
    414

    VS 2010 Filtering data in grid view.

    I have a database "holiday.mdb" and there is a table "Properties" that contains columns "County" , "Bedrooms".
    The following code shows how to filter data by one criteria( by the county OR by the...
  34. VS 2010 Re: Advice needed with developing database driven application

    Hi again!

    New problem has come up. I have 2 tables that are related to each other: Client table and Product table. They are related to each other with Client ID.
    I have designed my application to...
  35. VS 2010 Re: Advice needed with developing database driven application

    Thanks alot!

    I think your advice has pointed me to the right direction. I'll start testing and if some further questions come up I'll post them here.
    Cheers!
  36. VS 2010 Advice needed with developing database driven application

    Hello!

    I am developing an application for my employer. I am not a programmer but I do it as a hobby.
    The story is as follows: we have a store that sells lawn tractors and riders. Every lawn...
  37. VS 2010 Re: Local IP Finder not functioning properly in win 7

    Used 4x2y code: works fine on both platforms (win XP and win 7).
    Thank you all for helping.
  38. VS 2010 [RESOLVED] Local IP Finder not functioning properly in win 7

    Hello!

    Here is a code that shows my local (LAN) IP in a textbox.

    'To get local IP address
    Dim h As System.Net.IPHostEntry = System.Net.Dns.GetHostByName(System.Net.Dns.GetHostName)
    ...
  39. VS 2010 Re: Window size wrong in windows 7, labels and buttons hiding behind window border.

    Hello again!
    Changed the form autosize to true and anchored all controls properly.
    Everything is displayed correctly(labels, pictureboxes), but the button(designed to be in the bottom center of the...
  40. VS 2010 Re: Window size wrong in windows 7, labels and buttons hiding behind window border.

    I have tried different form settings and seems that the issue is solved when:
    form AutoSize = True
    Contents(labels, pictures, buttons) are anchored top, left (haven't used this setting yet, but it...
Results 1 to 40 of 43
Page 1 of 2 1 2