Search:

Type: Posts; User: MonkOFox

Page 1 of 13 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    6
    Views
    1,048

    VS 2008 Re: Convert TIFF to PDF?

    This is kind of an old post lol. But I've been using iTextSharp and PDFSharp/MigraDoc for all my 'on they fly' pdf needs. I've had to change the source some to get the exact functionality I've...
  2. Replies
    6
    Views
    391

    Re: MySQL 2nd reading speed change

    How large is this table? Are all the fields indexed? If you're using these queries often, PDO may suit you better. You can prepare one statement and execute it over and over with different...
  3. VS 2008 Re: Databindings for label on a winform usercontrol

    That's great! If you don't mind, use the thread tools to mark it resolved. : )

    Justin
  4. VS 2008 Re: Databindings for label on a winform usercontrol

    If all your binding is data members from one database row, then just bind the controls you need to be bound:




    Private _data as DataRow

    Public Sub New(ID as integer)
    InitializeComponent()
  5. Replies
    2
    Views
    508

    Re: PHP Timing & ETC

    Yeah, you're going to want to handle that logic client side with javascript/JQuery(). I would just initially load the last saved data about the character/environment, update any changes on client...
  6. Replies
    8
    Views
    530

    Re: Best mysql querying... protocol?

    Awesome, thanks for the info. I'll definitely look up PDO since the mysql_* stuff will be gone shortly.
    I did some extra research and create a single connection at the beginning of the page load...
  7. Replies
    8
    Views
    530

    Best mysql querying... protocol?

    When creating a connection to perform a query or non-query. Is it best to open a single connection at the beginning of the page and use it
    until the last operation and then close or create a...
  8. Re: First PHP code - help creating mutiple image pages

    That's great! I'm glad everything is working out for you.
  9. Re: First PHP code - help creating mutiple image pages

    No problem man. Let me know how it goes!
  10. Replies
    12
    Views
    676

    Re: login problem

    Ah, didn't see that. Hmm, well in that case I'm not really sure what's going on.
  11. Replies
    6
    Views
    466

    Re: PHP Session Issue

    yes just do something like:


    //...
    $result2 = mysql_query("DELETE FROM messages WHERE mid=$row ")
    if(!results){
    header('location: error.php?x=differenterrorcode');
    }
    //...
  12. Re: First PHP code - help creating mutiple image pages

    The reason you got the 'sprint' error is because it was supposed to be sprintf(), sorry : (.
    also in the <form> opening tag, be sure and put 'multipart/form-data' in the quotes in stead of '...'.
    I...
  13. Replies
    12
    Views
    676

    Re: login problem

    Looking at what code you provided for login.php, you didn't call session_start(). You have to call this on every page that you intend to set or retrieve $_SESSION variables.
    Otherwise, if you're...
  14. Replies
    6
    Views
    466

    Re: PHP Session Issue

    Hmm, is ID varchar in the table? If not, are you accidently setting it to the string value of 1 or 2? I would also use $_POST instead of $_GET, a little more secure. Also, slap an intval() around...
  15. Re: First PHP code - help creating mutiple image pages

    The code below should at least get you started and give you an idea on how to approach the situation.
    Basically you set up your pagesize and then figure out how many pages you'll have by dividing...
  16. VS 2010 Re: SendKeys.Send() to password textbox.

    I ended up just making the keyboard an actual form that was bundled with my application. I just created a reference to it and then sendkeys.send() worked much better for some reason. I still used...
  17. VS 2010 Re: SendKeys.Send() to password textbox.

    What I'm saying is that when I'm sending keys to the other window and the non-password textbox is the focused control,
    then the sendkeys.send works every time. Only when the password textbox is...
  18. VS 2010 [RESOLVED] SendKeys.Send() to password textbox.

    Ok so I have a virtual keyboard I've made and I was having issues at first with the focusing so I just changed from using buttons to labels.

    Now my problem is that when I have my cursor in the...
  19. Replies
    2
    Views
    467

    Re: File upload security question.

    I realize that you can't use it until it's saved to the system in tmp or whatever. I just wanted to know how to search the byte stream for malicious scripts and etc. Or if that's even the way you...
  20. Replies
    5
    Views
    651

    Re: Multiple Select List Box

    Awesome! Glad you got it going : ).
  21. Replies
    5
    Views
    651

    Re: Multiple Select List Box

    So you have a Bonds table, Exchanges table and another relational table (we'll call it BondToExchanges where you can have 0 to many Exchanges to one bond.
    I can't really tell what the code is trying...
  22. Replies
    5
    Views
    651

    Re: Multiple Select List Box

    How is this used in practice? I see that you're looping through the 'rows' in $thiscat. I think your $row variable needs to be a $rowS and do an inner loop to compare each one instead of the same...
  23. Re: dataset within dataset/list within a list

    You're updating your $result variable in the nested while. So by the time your inner while completes, when it goes back up to the outer, there are no more fetches left to do. Use $iresult or...
  24. Replies
    1
    Views
    531

    Re: multiple files ajax upload

    Take a look at This page.

    Goes over how to do what you're looking for.
  25. Replies
    2
    Views
    467

    File upload security question.

    When I upload a file, could I search the file's byte stream for the byte value of <script, <embed or <object and reject if found, to further protect from malware and attacks? Is this the way I would...
  26. Replies
    1
    Views
    420

    VS 2010 Retrieving Textbox text server side.

    Ok I'm adding <ASP:TextBox>'s to a page in code.
    I'm going to set their ID and stuff like that.
    I'm wanting to retrieve the text of those textboxes on a button press.

    Now I know I can't simply...
  27. Replies
    3
    Views
    449

    VS 2010 Re: DropDownList PostBack issue.

    Thanks for the reply :).

    I had figured this out by further investigating the differences in the properties. I should have done that earlier, but I was confused at the time lol.

    Thanks again...
  28. Replies
    3
    Views
    449

    VS 2010 [RESOLVED] DropDownList PostBack issue.

    Ok, I have two dropdownlists on my page and when the selected index changes I want to create cookies that store the index for resetting the index if someone leaves the page and comes back later.

    I...
  29. Replies
    3
    Views
    879

    VS 2010 Re: datagridview paging

    Private Sub SetOrdersDataSource()

    SqlConnection oConn = new SqlConnection(ConfigurationManager.AppSettings["constring"]);

    DataSet dsGrid = new DataSet();

    ...
  30. Replies
    3
    Views
    277

    VS 2010 Re: Extracting user&pass from richtextbox1

    Use string.indexOf() to first find '<user_register.php'
    Once you have that index, then you can search for 'email='
    Once you have the index for the string 'email=' then you can get the substring...
  31. Replies
    3
    Views
    682

    Re: Remove special characters from csv file

    You could have an array with all the special character in it like so:



    Dim arr(7) as String = {"!","@","#","$","&#37;","^","&","*"}

    'Then loop through the special character array and replace the...
  32. Replies
    4
    Views
    218

    Re: Adding lots of buttons

    If you're using the sizeChanged event, why not just get the total y (from 0 to the sum of the heights of the existing buttons (with any spacing included)) and subtract that from the new size of the...
  33. Replies
    3
    Views
    222

    VS 2010 Re: Reversing Multiple Booleans

    for i as integer = 0 to myarray.length - 1

    myarray(i) = Not myarray(i)

    next



    Something like that should work and is fairly simple.
  34. Replies
    2
    Views
    294

    VS 2010 Re: Check if process is running.

    System.Diagnostics.Process.GetProcessesByName(name As String)

    Justin
  35. Replies
    3
    Views
    879

    VS 2010 Re: datagridview paging

    You have to assign the datasource again as well. So you have to re-query or just store the datasource (datatable, etc) globally and .Datasource = x and DataBind().

    Justin
  36. Replies
    3
    Views
    428

    VS 2008 Re: Handling onclick event issue

    The only time the client side will execute and not the server side, is if the script returns a false value. Otherwise they will both always execute. I believe.

    Justin
  37. VS 2010 Re: Accessing Dynamically created server controls, server-side.

    I was thinking about adding an asp:radiobuttonlist to the page initially along with a hidden field. And when I change any of the selections, update the value of the hiddenfield to reflect the types...
  38. VS 2010 Accessing Dynamically created server controls, server-side.

    Ok, so I'm dynamically adding <input type="File" />'s to the page via button click, client-side via Javascript.

    Now when I click the upload button I can access the PostedFiles server side, but I...
  39. Thread: OnClick Help.

    by MonkOFox
    Replies
    1
    Views
    325

    VS 2010 Re: OnClick Help.

    Would I need to do .SetAttribute("runat","server")? That way the control's event will be triggered server side and not client side?
  40. Thread: OnClick Help.

    by MonkOFox
    Replies
    1
    Views
    325

    VS 2010 OnClick Help.

    Ok, so I'm adding linkbuttons to a page dynamically on page_load.

    I had it to where the link buttons were redirecting to a page with a query string attached. I was attempting to use the...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4