Search:

Type: Posts; User: mbutler755

Page 1 of 11 1 2 3 4

Search: Search took 0.12 seconds.

  1. VS 2013 Re: Unable to use HTTP API from inside a web service

    I have always used the process.start in the past and it didn't occur to me that it wouldn't work in a webservice. It's one of those facepalm moments.

    I set it up as you recommended using an HTTP...
  2. VS 2013 Unable to use HTTP API from inside a web service

    I have built a web service using VB.NET and the thing is rock-solid on my IIS server. Recently, I signed up for Click-a-tell (SMS Messaging service) and they have an API where I can send messages via...
  3. Re: I have two tables: JobsAndTasks and JobsAndTasksHistory

    I tried. You cannot declare a variable in a dataset query (xsd)
  4. Re: I have two tables: JobsAndTasks and JobsAndTasksHistory

    I guess I can do it in VB and just set the date as a variable. I'll think more about this today and see if I can get it resolved. I'll post here how I end up doing it.
  5. I have two tables: JobsAndTasks and JobsAndTasksHistory

    I have two tables: JobsAndTasks and JobsAndTasksHistory

    The idea is that scheduled tasks and SQL jobs will be defined in a table called JobsAndTasks (this has already been completed). I want to...
  6. Replies
    8
    Views
    1,953

    VS 2013 Re: RegEx Help

    Unfortunately, I couldn't get any of the examples above to work. I tried the following variations:


    ^;\s*Info:\s*Count:\s*(?<count>\d+)\s*Total:\s*(?<total>\d{1,5}(?:.\d{1,2})?).$
    ...
  7. Replies
    8
    Views
    1,953

    VS 2013 Re: RegEx Help

    .paul. & ident, thank you for the replies. I will try it out when I get home later. Thank you!
  8. Replies
    8
    Views
    1,953

    VS 2013 Re: RegEx Help

    Dday,

    Thanks for the reply, but I don't control the incoming file. If I did, I would definitely do XML
  9. Replies
    8
    Views
    1,953

    VS 2013 [RESOLVED] RegEx Help

    It's late and my brain isn't working. I use a regular expression to get some text from a file and it works beautifully. The problem is that I have an updated file and it's slightly different. I need...
  10. VS 2012 Re: How can I tell the difference between source and published .NET code?

    The solution file (.sln) and C# Project (.csproj) should not be in the published code. You should only find those files in the source code.
  11. Replies
    2
    Views
    2,238

    Re: Code tags

    Thank you.
  12. Replies
    2
    Views
    2,238

    [RESOLVED] Code tags

    When posting VB code, I can only located the tags for CODE, PHP and HTML.

    How do I post VB code and have highlights? I can't seem to figure it out.
  13. Replies
    3
    Views
    15,080

    Re: Converting Images to Base64 and Back Again

    jmcilhinney,

    Thank you for your post. I would take offense if I hadn't dealt with your "NO BS" posting manner previously. I wrote the class out because my work deals with Base64 strings. They...
  14. Replies
    3
    Views
    15,080

    Converting Images to Base64 and Back Again

    Ever need to store a picture in a database? It's not the easiest thing to do, but this class I wrote makes it pretty quick and easy.

    The attached project consists of a VB.NET class that does all...
  15. Replies
    9
    Views
    1,476

    VS 2010 Re: Data Connection Times Out

    Put a breakpoint on this line:



    If IsNothing(con) Then


    Check to see if the variable "con" actually has something in it. As part of that If/End, you are exiting the sub-routine. My guess is...
  16. Re: Create computer account in Active Directory using certain credentials.

    If you can't locate that in the context menu, you can always use the "runas" command.



    runas /user:domain\username app.exe
  17. Re: Create computer account in Active Directory using certain credentials.

    Right mouse click - Run as Administrator ?
  18. Re: Final attempt.... HELP what am i doing wrong?

    It looks really good. One little tip about your comments for Math.Min and Math.Max: You are still using that functionality, it's just down to a single line because you are bringing it in as a double....
  19. Re: Final attempt.... HELP what am i doing wrong?

    I bet you are missing the word 'As' somewhere. Like:



    Dim numbers(2) AS Double
  20. Re: Final attempt.... HELP what am i doing wrong?

    Post #15: http://www.vbforums.com/showthread.php?748027-Final-attempt-HELP-what-am-i-doing-wrong&p=4579405&viewfull=1#post4579405
  21. Re: Final attempt.... HELP what am i doing wrong?

    Good deal. Glad you understand the Double.TryParse.

    Now you could look at optimizing your code if you wanted to:



    Dim numbers(2) As Double


    That single line declares an array of three...
  22. Re: Final attempt.... HELP what am i doing wrong?

    I see you still aren't using the Double.TryParse. Using IsNumeric isn't the best practice and I would be willing to bet your teacher will tell you the same thing. Here's the one I built out:


    ...
  23. Re: Final attempt.... HELP what am i doing wrong?

    This is obviously a homework assignment of some sort. We won't be helping you learn if we just do the code for you. With that said, we are more than willing to help.

    You tell us: Where is your...
  24. Replies
    19
    Views
    4,281

    Re: Motorcycle Riders?

    Awesome!
  25. Replies
    19
    Views
    4,281

    Re: Motorcycle Riders?

    I own and love motorcycles. In March 2013, a young kid came right out in front of me and left me with two choices: 1) Hit his truck and fly over the bars or 2) Lay the bike down.

    I chose to lay...
  26. VS 2013 Re: Command text definitions for ADO to Excel

    Sorry, here are some resources to help:

    http://msdn.microsoft.com/en-us/library/ee814737(v=office.14).aspx

    http://www.excel-vba-easy.com/
  27. VS 2013 Re: Command text definitions for ADO to Excel

    The $ designates a tab.
  28. Re: Error with opening database connection - please help!

    Thanks for the DDL. How are you instantiating the database? Are you using TableAdapters?
  29. Replies
    6
    Views
    947

    Re: Align a Form and it's control

    I use the anchors of the controls in order to dynamically size forms for different resolutions. It may take some experimentation, but it's pretty easy once you get the hang of it.
  30. Replies
    12
    Views
    1,869

    Re: query problem

    You still may not be passing the date value correctly. Have you checked to see what it's passing? MsgBox(DTPicker1.Value)
  31. Replies
    12
    Views
    1,869

    Re: query problem

    After re-reading your error, it sounds like you will have to get the number of rows the query will return first and then subtract one from it.
  32. Replies
    12
    Views
    1,869

    Re: query problem

    Sorry, comment out .FixedRows = 1 in myfg
  33. Replies
    12
    Views
    1,869

    Re: query problem

    Comment out fixed rows and try again. Also, comment out the DTPicker1.Value and just statically put a value in there for right now to see if it returns you any data.
  34. Replies
    12
    Views
    1,869

    Re: query problem

    With a breakpoint on that line of code, what is the value that comes across for DTPicker1? I'm assuming (watch out) that the value is not being passed properly to the query.
  35. Replies
    12
    Views
    1,869

    Re: query problem

    Put a line break on that line and inspect the value of DTPicker1. Determine whether or not it is in the proper format and if your variable is being passed as expected. Use the same line in the DBMS...
  36. Replies
    9
    Views
    1,345

    Re: Displaying Currency on a Web Page

    Good deal - glad it worked. Make sure to mark the thread resolved and rate the post if you think I deserved it. ;)

    PS - Welcome to the forums
  37. Replies
    9
    Views
    1,345

    Re: Displaying Currency on a Web Page

    Try this:

    Console.WriteLine(String.Format("{0,0:C}", Cost))
  38. Replies
    9
    Views
    1,345

    Re: Displaying Currency on a Web Page

    On the website, try using the String.Format method for currency. It should put it in $00.00 format for you. The follow article describes using format strings:...
  39. Replies
    8
    Views
    1,083

    VS 2013 Re: between dates and times

    You can expand a DateTime Picker to include times as well. Then, use the two where statements that jmc suggested to make it work.
  40. Replies
    4
    Views
    1,349

    Re: Print Checks with VB6 & Windows 7

    Have you looked at changing the compatibility settings for the program to Windows XP?
Results 1 to 40 of 432
Page 1 of 11 1 2 3 4



Click Here to Expand Forum to Full Width