Search:

Type: Posts; User: met0555

Page 1 of 13 1 2 3 4

Search: Search took 0.11 seconds.

  1. Replies
    1
    Views
    1,030

    Re: Spelling suggestion

    Nevermind, I found out why it was slow, it's because i was reading from a file every time instead switched to an array.

    tHanks
  2. Replies
    1
    Views
    1,030

    [RESOLVED] Spelling suggestion

    Hi,

    I'm working on a spelling checker, for the suggestion part, i'm using the Levenshtein algorithm, https://www.dotnetperls.com/levenshtein-vbnet , however I find it a bit slower for web based...
  3. Replies
    7
    Views
    1,114

    VS 2013 Re: sort list in custom order

    Thanks for the info, this looks a bit complicated than expected. I was basically trying to sort a list for a non-english language by providing the chars. I will try to look for code examples.
    ...
  4. Replies
    7
    Views
    1,114

    VS 2013 sort list in custom order

    Hi,

    I was wondering if it's possible to sort a string list by custom order, ex, instead of ordering alphabetically A-Z, i want to do it using my own order first (M to Z ) then (A to M). Any tip...
  5. Thread: Spell checker

    by met0555
    Replies
    2
    Views
    708

    VS 2013 Re: Spell checker

    Thanks for the link but I'm looking for an open source one if possible.
  6. Thread: Spell checker

    by met0555
    Replies
    2
    Views
    708

    VS 2013 Spell checker

    Hi,

    I was wondering if you have any recommendation on how to implement a custom spell checker on asp.net. I basically want to provide my own dictionary and do the usual spell check.

    Thanks
  7. Replies
    2
    Views
    1,706

    embed HTML using javascript

    Hi,

    I'm trying to load a js file and a textbox into an HTML file. I'm using the following code.


    document.getElementById("yyyy").innerHTML = '<script type="text/javascript"...
  8. Replies
    2
    Views
    2,311

    VS 2013 Re: Sharing elements of my website

    ok, thanks
  9. Replies
    2
    Views
    2,311

    VS 2013 Sharing elements of my website

    Hi,

    On my webpage I have a simple textbox that will change user inputs using a javascript. I'm basically trying to share my textbox and the js behind it to other ppl so they can use it on their...
  10. Replies
    2
    Views
    2,673

    VS 2013 Re: HTML to image

    Thx for the help, I ended up taking a different approach which worked fine for my need. I used the graphics drawString... instead of converting html to image.

    thanks
  11. Replies
    2
    Views
    2,673

    VS 2013 [RESOLVED] HTML to image

    Hi,

    I'm looking for a piece of code to convert an HTML file or code to an image file. I tried to do some search on google, I found a few but it only works on Windows application not web...
  12. Replies
    2
    Views
    2,247

    Re: client server SOAP

    Yes, you are correct, that is what i'm trying achieve. Trying to see if there is an easier solution to implement SOaP btw my API gateway and the abckend servers.
  13. Replies
    2
    Views
    2,247

    client server SOAP

    Hi,

    I'm trying to make a client-server app using SOAP. The communication btw the client and gateway will be done using SOAP messging. I was wondering if it's possible for the gateway to...
  14. Replies
    9
    Views
    4,370

    Re: [RESOLVED] websocket

    Yes, it's up to the server, but you would expect the response time to be reasonable loll.... And that's probably why they invented the TTL thing to handle this kind of situation.
  15. Replies
    9
    Views
    4,370

    Re: [RESOLVED] websocket

    @ident
    actually the reason it was freezing, was because i didn't send the end of request signal (Environment.NewLine), as a result the server was waiting for me to receive the next request element....
  16. Replies
    9
    Views
    4,370

    Re: websocket

    I got it to work
    First I removed \r\n and only used with Environment.NewLine as suggested by passel
    Then I was only missing an additional Environment.NewLine at the end of my request.
  17. Replies
    9
    Views
    4,370

    Re: websocket

    @passel: I tried your suggestion , but no luck, thc tho

    @Toph: If i use http request i'm pretty sure it is gonna work. But if possible i would like to stick to the current socket code.

    more...
  18. Replies
    9
    Views
    4,370

    [RESOLVED] websocket

    Hi,

    Im trying to use the following socket code to send an http request and get a reply from google. However nothing is coming back, the app just freezes.
    Any idea where i'm doing it wrong...
  19. Replies
    11
    Views
    8,199

    Re: SQL "select distinct"

    So i ended up doing it the long way...

    I improved my data validation code (vb.net) before insertion to the DB at the application level (to avoid this scenario :



    And used the SQL distinct...
  20. Replies
    11
    Views
    8,199

    Re: SQL "select distinct"

    I see, unfortunately I'm using MS Access in this case, I will keep looking for the right syntax


    thanks
  21. Replies
    11
    Views
    8,199

    Re: SQL "select distinct"

    Hmm I guess, DISTINCT alone wount do the work for me. I Just realized i'm looking for something like this



    ex. data

    aa bb true
    aa bb false
    bb aa true
    bb aa true
  22. Replies
    11
    Views
    8,199

    Re: SQL "select distinct"

    @RobDog888 : Yes it is different



    Maybe there is problem with my logic and expectation .

    ex. Table1


    a b c
  23. Replies
    11
    Views
    8,199

    [RESOLVED] SQL "select distinct"

    Hi,

    I have a table with 3 columns, name,number,active . I only want to select unique (name, number) where active=false. I tried to accomplish the following with


    SELECT DISTINCT name, number...
  24. Replies
    4
    Views
    1,134

    VS 02/03 Re: textfile as database

    @kebo and @Edgemeal
    Thanks for your tips and sample code. I ended up using an access database since I realized i needed to do some SQL query "Select Distinct....", if I try to do that in a text file...
  25. Replies
    4
    Views
    1,134

    VS 02/03 [RESOLVED] textfile as database

    Hi,

    I'm writing a simple program. The program will save 2 values, Website title and website URL. I normally use a database to store data, however this time if possible I would like to use a simple...
  26. VS 2013 Re: function parameter predefined options

    @NeedSomeAnswers sorry for the delay got caught with some other project.
    Thanks for your code, this was the exact functionality I was looking for. To be honest I was expecting to achieve this only...
  27. VS 2013 Re: function parameter predefined options

    For now let's say I only have 4 entries for each parameters , And I have the 4 entries CountryCodes and CountryNames on 8 different string values
    dim a as string = "canada"
    ...

    thanks
  28. VS 2013 [RESOLVED] function parameter predefined options

    Hi,

    I created a function as follow
    Function FindCapital(ByVal CountryCode As Integer, ByVal CountryName As String) As String
    End Function

    And later on when i call the function I want the...
  29. Replies
    2
    Views
    17,131

    Re: gridview item style

    @sandeepv415 ,

    I thnk the sample code you provided is for vb.net app but it doesn't apply for windows 8 apps.

    thx
  30. Replies
    1
    Views
    540

    Getting different results

    Hi,

    Im trying to calculate how many hrs a user wroked weekly, however i'm getting different results

    1) i'm trying to get the time using the 'between' function for a specfic week


    SELECT ...
  31. Thread: Timezone

    by met0555
    Replies
    7
    Views
    20,787

    Re: Timezone

    Hi, the issue I have is that TimeZoneInfo.FindTimeZoneById is not recognized by the system.
  32. Thread: Timezone

    by met0555
    Replies
    7
    Views
    20,787

    Re: Timezone

    ' The Basic Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=234237
    Imports System
    Imports System.TimeZoneInfo
    Imports System.Globalization
    Imports Microsoft.VisualBasic...
  33. Replies
    2
    Views
    17,131

    gridview item style

    Hi,

    I have a gridview in my xaml page, and I populate the item as follow :


    For test As Integer = 1 To 20

    gridview1.Items.Add(test )

    Next
  34. Replies
    1
    Views
    12,394

    Re: DatePicker maxYear

    I manage to make it work, instead of changing the value in the properties window, i did it programatically like this


    Dim date2 As DateTimeOffset
    date2= "12/12/2035"
    ...
  35. Replies
    1
    Views
    12,394

    [RESOLVED] DatePicker maxYear

    Hi,

    I have a Datepicker on my xaml page and i'm trying to assign the maxYear that it should accept by using the Properties toolbox, but i'm getting the following error :

    Error 1 Cannot assign...
  36. Replies
    2
    Views
    1,201

    Re: quick javascript question

    ok, thank you that was helpful
  37. Replies
    2
    Views
    1,201

    [RESOLVED] quick javascript question

    Hi,

    I have the following code, I was wondering its possible for someone to show me the equivalent of the code in the IF .. THEN format .

    A= 5 + (B % 4 = 3)? 1:0)

    Thank You
  38. Thread: Timezone

    by met0555
    Replies
    7
    Views
    20,787

    Re: Timezone

    4.5.1
  39. Thread: Timezone

    by met0555
    Replies
    7
    Views
    20,787

    Re: Timezone

    any idea?
  40. Replies
    0
    Views
    2,348

    VS 2013 remove-render-blocking javascript

    Hi,

    I did a test with Google PageSpeed Insights, and i do have a bad score due render-blocking Javascript. I'm not sure how to force to load the WebsResource.axd files at the end ? or any other...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width