Search:

Type: Posts; User: dim_kevin_as_human

Page 1 of 5 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    1
    Views
    3,066

    A php xpath question?

    I'm grabbing a page with PHP's cURL and the page contains an arbitarty set of <td> elements in a <table class="content"> how do I use the xpath to traverse to the content class and said td's and...
  2. Getting a form submitted after curl login

    So, I've scrapped my earlier method (hard coding __VIEWSTATE etc) of using cURL in a system that uses asp due to the issues with __VIEWSTATE and __EVENTVALIDATION changing. I found a script that...
  3. Re: A question about a java multidimensional array

    ahhh i had to take the [][] off the variable...

    thanks! i appreciate it!
  4. [RESOLVED] A question about a java multidimensional array

    During the design of my java class, I need to use an 2d array to keep track of products and salespersons. I would like to declare the private variable at the top, and then create it in my constructor...
  5. Replies
    1
    Views
    737

    [RESOLVED] creating a pattern

    using for loops in java, how do i create this pattern in the output window?
    you an only use System.out.print('*') and System.out.println()

    *
    **
    ***
    ****
    *****
    ******
    *******
  6. Why is break and continue bad to use?

    For example, in Java used in a loop? Why is this a bad practice or bad form? Example:



    int count; // control variable also used after loop terminates

    for ( count = 1; count...
  7. Replies
    6
    Views
    462

    Re: Switch + Router

    you could set the computers that you want interfaced off the router to static IPs like 192.168.2.25 etc. you'd have to point the machines gateways to the router and add dns of course.
  8. Replies
    1
    Views
    350

    [2005] application clock

    What would be the best way to create a clock inside my application that moves through the week, not needing an actual date. Like you find in some games that move on the time and days of the week. ...
  9. Re: [2005] DataGridView Woes

    thanks for your replys. I'm going to be doing alot more reading into ado.net 2.0 but I've found exactly what I needed:

    DataGridView1.DataSource = Nothing
    DataGridView1.DataSource...
  10. Re: [2005] DataGridView Woes

    I know the ExecuteNonQuery has no effect on my grid. That's why I was trying to fill the datagrid via manual means. But it would seem that mixing two ways of doing this is not going to work. ...
  11. Re: [2005] DataGridView Woes

    Well, I did duplicate what you did, however I do not see the connection with adding and removing rows from the datagridview via button apply the above. I need to have the datagridview update the...
  12. [RESOLVED] [2005] DataGridView Woes

    Alright folks, I have a datagridview that is for viewing purposes only, no editing is done via the datagridview itself.

    I'm manipulating the database with oledbcommand's via code. So I have to...
  13. Re: [2005] database command looping

    Yes! I did it!

    the message boxes were misleading, of course they were going to tell me the values that SHOULD be written to the DB, but it had occured to me that once the paramaters were set,...
  14. Re: [2005] database command looping

    i have modified the code, but it still only writes to the db once.


    Dim i As Integer = 0

    OleDbConnection1.Open()
    For i = 0 To capacity - 1
    ...
  15. [RESOLVED] [2005] database command looping

    I have this:


    Do Until counter = capacity

    OleDbConnection1.Open()

    cmdFactoryJobUpdate.Parameters.AddWithValue("@QtyLeft", Jobs.Item(counter).QtyLeft)
    ...
  16. Re: [2005] inserting data into a databse

    i have fixed the issue by changing the paramater adds to define the data type...

    for example:

    cmdAddJobsToFactory.Parameters.Add("@Species", System.Data.OleDb.OleDbType.VarWChar).Value =...
  17. Re: [2005] inserting data into a databse

    Well, The paramaters are from variables or string, as you can see from my first post...I'm not sure if that's answering what you want...here is the dbcommand object in it's form:
    ...
  18. Re: [2005] inserting data into a databse

    Ok, I did remove the quotes, but I couldn't remove the brackets. I ran this command one paramater at a time. Turns out the paramaters with numbers work fine AND the adding the species paramater is...
  19. [RESOLVED] [2005] inserting data into a databse

    I have a oledbcommand object with the following command text:



    INSERT INTO FactoryAQueue
    (Species, Quantity, Cloth, Stuffing, Accessory, Packing, QtyLeft)
    VALUES ...
  20. Replies
    5
    Views
    3,171

    Re: [2005] hide caret api

    actually, scratch that. I fixed that issue, and it doesn't error out...But it doesn't hide the caret.

    maybe there is an easier way to do this. I want the textbox to appear to be disabled, but I...
  21. Replies
    5
    Views
    3,171

    Re: [2005] hide caret api

    thanks for your replies. a pInvokeStackImbalance was detected is thrown:

    A call to PInvoke function 'myApp!WindowsApplication1.Form1::HideCaret' has unbalanced the stack. This is likely because...
  22. Replies
    5
    Views
    3,171

    [2005] hide caret api

    this code:


    Private Declare Function HideCaret Lib "user32" (ByVal hwnd As Long) As Long

    Private Sub Text1_LostFocus()
    HideCaret Text1.hWnd
    End Sub
  23. Re: [2005] regular expression

    actually, i decided to go a different route for keeping periods out of a user input, so I'm going to mark this resolved and leave it at that. thanks to those that responded.
  24. Re: [2005] regular expression

    i had to change the overload to type double in order for it to accept the decimal point...but when i convert that to a string in order to use IndexOf, it removes the decimal point, therefore always...
  25. Re: [2005] regular expression

    because if it is, there's a problem as it returns false everytime
  26. [RESOLVED] [2005] regular expression

    is this the correct way to find a period?

    Private Function validateWholeNumber(ByVal rawGood As String) As Boolean


    Dim expression As New Regex("\.")

    ' Call Match,...
  27. Replies
    4
    Views
    541

    Re: [2005] SQL commands

    yes, at some point from which i didn't have the 'where' to the point where i added 'where' i must have had made another change that fixed it because after i removed the 'where' it works just fine.
  28. Replies
    4
    Views
    541

    Re: [2005] SQL commands

    ok well, I have added a static field to reference with a 'where' for my update. Well, it updates the records only once. When I launch the dubugger and update it works that one time. If I try to...
  29. Replies
    4
    Views
    541

    Re: [2005] SQL commands

    maybe it's not even possible without a 'where' i just want to keep overwriting the values in the same record, and not create a new record.
  30. Replies
    4
    Views
    541

    [RESOLVED] [2005] SQL commands

    I have this oledbcommand object with the following command:



    UPDATE CurrentPrices
    SET redClothCurrentPrice = [@redClothCurrentPrice]


    inside my code i have this:
  31. Replies
    5
    Views
    765

    Re: [2005] devider?

    Thanks for the reply. This is how I am adding the data to the listview. Right now all data fills to one column, as can be expected


    Dim dr As OleDb.OleDbDataReader

    ...
  32. Replies
    5
    Views
    765

    Re: [2005] devider?

    ok, but what if I'm not pulling the data from a database?
  33. Replies
    5
    Views
    765

    [RESOLVED] [2005] devider?

    i would like to add this to my listbox to devide the entrys in my list box:

    http://img.photobucket.com/albums/v299/ptchat/bar.jpg


    can that be added to a listbox? or is it another control...
  34. Re: [RESOLVED] [2005] random numbers

    ok, thank you, i will look into this.
  35. Re: [2005] random numbers

    thanks, making it gloabal appeared to fix the issue.
  36. [RESOLVED] [2005] random numbers

    i have this code:



    Dim randCloth As New Random

    'set red cloth price range
    redClothLowPrice = 400
    redClothHighPrice = 500
  37. Replies
    6
    Views
    482

    Re: adding users to a domain

    doesn't 2k3 have remote desktop capabilties?
  38. Replies
    6
    Views
    482

    Re: adding users to a domain

    yeah, all drives have a default administrative share that can be used in extreem cases. it's never a good idea to share your root. period.
  39. Re: DataGrid: How to know if I'm in a New Row

    and the above will not work?
  40. Replies
    6
    Views
    482

    Re: adding users to a domain

    no. what version of server or you running?
Results 1 to 40 of 195
Page 1 of 5 1 2 3 4



Click Here to Expand Forum to Full Width