Search Results - VBForums

Search:

Type: Posts; User: lkallas

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. VS 2010 Re: Counting special characters in a string?

    Thank you dunfiddlin!
    Thread solved!
  2. VS 2010 Re: Counting special characters in a string?

    Thank you ident and dday9! Wonderfully working codes. ;)

    One question more: how can I test code so that I know how much resource it is taking. Is there any tool for this built in Visual Studio?
    ...
  3. VS 2010 [RESOLVED] Counting special characters in a string?

    Hi!


    I am trying to create a code that counts characters in textbox(including whitespaces) and checks if it contains specific characters: |^€{}[]~
    All these symbols mentioned above will...
  4. VS 2010 Re: Looping: searching string from one array with the string from another array?

    Thank you ident!

    The code you provided does exactly what I wanted. (Y)
  5. VS 2010 [RESOLVED] Looping: searching string from one array with the string from another array?

    Hi again!

    I was wondering if it is possible to check if one big string array contains values from another string array. And if the values match then do smth, else do smth else....


    I thought...
  6. Replies
    5
    Views
    218

    VS 2010 Load contents of a file to datatable

    Hi!

    Never used .csv file for data source so I have a question. I have a file with contents like this:

    Mike
    John
    Evelyn
    etc.

    How do I read this file line by line and store names into a...
  7. Replies
    3
    Views
    219

    VS 2010 Re: SMS character counter

    Fantastic! Thank you! With some adjustments the code worked.

    Totally forgot about modulus. :)

    As I was being happy with the solution I came accross with another problem. The SMS service...
  8. Replies
    3
    Views
    219

    VS 2010 SMS character counter

    Hi!

    One logical excercise...
    I am developing a SMS sending program. I am struggling with character counting.
    Regular SMS is 160 characters long (including whitespaces). So if the character count...
  9. Replies
    9
    Views
    392

    VS 2010 Re: String manipulation

    Ok, now I get it. Thanks!



    Tried all of your codes and all of them worked nicely.
    Ident code has one problem: It'll show the first character only if it's capital letter. If it's not then it...
  10. Replies
    9
    Views
    392

    VS 2010 Re: String manipulation

    Thank you Edgemeal and Zelot!

    I'll give your code a go and see what happens ;)

    What does Split(" "c) do? Especially the letter c? Not very familiar with string splitting.
  11. Replies
    9
    Views
    392

    VS 2010 [RESOLVED] String manipulation

    Hi!

    I am developing an application that needs a function as follows:

    I have a name, for example: John Smith. I want the program to manipulate this "John Smith" string like so it returns string...
  12. Replies
    9
    Views
    485

    VS 2010 String concatenation.

    Hi!
    I have a kind of a stupid question. I have a link that I want to declare as string and put textbox values in it.

    This is what I have so far:

    Dim address As String =...
  13. 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...
  14. 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.
  15. VS 2010 Re: Editing and adding fields to Access database over LAN

    Good point!

    I'll do just that.
  16. 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...
  17. 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.
  18. 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...
  19. 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...
  20. 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...
  21. Replies
    4
    Views
    225

    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.
  22. Replies
    4
    Views
    225

    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,...
  23. 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...
  24. 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,...
  25. 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,...
  26. 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.
  27. 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,...
  28. 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...
  29. 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...
  30. 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...
  31. 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...
  32. 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!
  33. 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...
  34. Thread: Execute a url

    by lkallas
    Replies
    5
    Views
    255

    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...
  35. Thread: Execute a url

    by lkallas
    Replies
    5
    Views
    255

    Re: Execute a url

    For example:

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

    by lkallas
    Replies
    5
    Views
    255

    Re: Execute a url

    For example:

    http://www.youtube.com/watch?v=VmacM9QPqp8
  37. 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?
  38. 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...
  39. Replies
    15
    Views
    616

    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...
  40. Replies
    15
    Views
    616

    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...
Results 1 to 40 of 55
Page 1 of 2 1 2



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.