Search Results - VBForums

Search:

Type: Posts; User: MonkOFox

Page 1 of 13 1 2 3 4

Search: Search took 0.03 seconds.

  1. Re: no access to page when passing a querystring

    Maybe htmlencode your datarow's value that you use in the querystring.
    Then in the Load event on Agera.aspx, htmldecode that querystring parameter.
  2. Replies
    2
    Views
    277

    Re: Connecting MySQL database to VB

    Check out this stackoverflow thread, the second response specifically. You can download the MySql connector assembly and use System.Data.MySql.* classes.

    It has an example of making a connection...
  3. Replies
    1
    Views
    629

    Re: Simple dummy action for learning Ajax

    I'm not sure, but maybe the /Project/Save needs to have the specific extension in the url as well? I'm not sure if the default dataType is 'text' or not but you could try specifying that as well:
    ...
  4. Re: no access to page when passing a querystring

    Could you post your web.config and page_load for that specific page?

    Justin
  5. VS 2010 Re: Execute inline server code every time page is displayed.

    So, putting:


    Response.Cache.SetCacheability(HttpCacheability.NoCache)

    In the Page_Init event made it to where the server-side code executed every time (regardless of back button or redirects)...
  6. VS 2010 [RESOLVED] Execute inline server code every time page is displayed.

    I'm wanting to insert some javascript in the body of a page using ClientScript.Register..() when a user returns to it (either by back button or on link click). When I use the back button the inline...
  7. Replies
    1
    Views
    253

    VS 2010 Problem splitting up TIFF image.

    So this is the code I'm using:



    Me.StorePath = "C:\"

    For i As Integer = 0 To TiffFile.GetFrameCount(FrameDimension.Page) - 1

    Dim FileName As String =...
  8. Replies
    5
    Views
    270

    VS 2012 Re: Form In Panel Inherits Panel Font

    Sweet! Glad it worked out for you : ).
  9. Replies
    5
    Views
    270

    VS 2012 Re: Form In Panel Inherits Panel Font

    What happens if, right after to do the Controls.Add(form2), manually set form2's font to the font of your choice and then Show() it?

    So:


    form2.TopLevel = False
    Panel1.Controls.Add(form2)...
  10. VS 2010 Auto generated data layer classes from Tables.

    Is there a way to do this? Like have VS generate properties and Save(Insert/update) and delete sub/functions?

    I've always just manually written them, but if there is a better way, I would like to...
  11. Replies
    40
    Views
    1,080

    Re: ComboBox Population Speed Issue

    I'm not sure if you can track the scroll offset in a combobox or not. But you could just load 50/100/200 items at a time in the combobox. If the user gets to where he/she can see the last item in...
  12. Replies
    1
    Views
    196

    VS 2008 Re: Emailing With Yahoo

    Look at the example on this page: SMTPClient.

    Instead of 'args(0)' you'll pass smtp.yahoo.com (or whatever their smtp host is). You'll then set the client.Credentials property with your yahoo...
  13. Re: Add a delegate for AddressOf TimerModule.TimerProcess

    You could try to do Marshal.GetFunctionPointerForDelegate(AddressOf TimerModule.TimerProcess) and use that IntPtr returned for the last parameter in SetTimer instead of a Delegate object.

    "You...
  14. Re: Add a delegate for AddressOf TimerModule.TimerProcess

    I'm not sure if you need to use the old school SetTimer and KillTimer stuff or not. If not, you could use the Timer class or BackgroundWorker class to execute the TimerModule.TimerProcess...
  15. VS 2010 Re: HttpModule PostAuthenticateRequest sender.User is null.

    Ok, so what it turned out to be was that subsequent calls to a pdf document do not get an authenticaterequest event raised. That was the problem. How can I force IIS or my application to always...
  16. VS 2010 Re: HttpModule PostAuthenticateRequest sender.User is null.

    Ok so I compiled my httpmodule and it's dependencies against the 2.0 framework and set the app pool of the application to the classic. Then under classic app pool, enabled 32-bit apps. I also had...
  17. VS 2010 Re: HttpModule PostAuthenticateRequest sender.User is null.

    Also, I tried to set the application to use the classical app pool, but the application kept giving me a file or assembly not found error for 'Conversion' at the line in the web.config that I added...
  18. VS 2010 HttpModule PostAuthenticateRequest sender.User is null.

    Ok so I have my httpmodule set up like so:



    Public Class UserLogModule
    Implements IHttpModule

    Private WithEvents httpapp As HttpApplication

    Public Sub Dispose() Implements...
  19. VS 2010 Re: ASP.NET application local directory security question.

    I'm already logging file access in an httpmodule on the AuthenticateRequest event I believe. I'm storing the directory that the user has access to (hashed casenumber) I guess I could just get the...
  20. VS 2010 [RESOLVED] ASP.NET application local directory security question.

    So I have an internet application that multiple users can access (anonymous).
    I also have an intranet application that only certain domain groups/users have access to.

    I'm using the membership...
  21. Re: Listbox control not preserving selected item on button click.

    I"ll test the cases listbox with a custom class with the same property names as the db fields I'm binding to. I'll see if that has a different outcome than binding a datatable.

    I'm positive I...
  22. Re: Listbox control not preserving selected item on button click.

    Hmmm so it seems that if you bind the DataTextField and the DataValueField that the control will not maintain the selected state. That value does make it easier than have to query again based on the...
  23. Listbox control not preserving selected item on button click.

    Ok so I have two listboxes on my page one for users and another for cases. For some reason the users listbox preserves state, but the cases listbox doesn't.

    They're both set EnableViewState= true...
  24. Replies
    7
    Views
    381

    Re: Optimizing custom control question.

    But instead of just calling CustomTreeView.RefreshNodes(), I'm going to try and only call that the first load and make my adds/inserts move around the UI elements as well to avoid having to draw ALL...
  25. Replies
    7
    Views
    381

    Re: Optimizing custom control question.

    Oh yeah, I'm sorry. The control is being fed the results of the query in the form of customtreeviewnodes. The querying and creation/adding of the nodes is being done in the QueueView Form parent of...
  26. Replies
    7
    Views
    381

    Re: Optimizing custom control question.

    I think what I need to do is figure out a way to insert/append to the visual customtreeview through delegate subroutines so I don't inhibit the user's experience so much. And maybe make it a...
  27. Replies
    7
    Views
    381

    Re: Optimizing custom control question.

    The control is used in a queuing system for a court. So if queue A sends queue B a document, the number of records for queue B in the database will change. So it will update the interface. ...
  28. Replies
    7
    Views
    381

    Optimizing custom control question.

    Ok so I have a custom tree view control. It has a list of 'group' names for grouping the _datasource in root/child/.../child relationships.
    In a thread, it is looking for changes to the database...
  29. Re: I need help with creating a payroll in visual basic

    So you have your requirements done, what code have you written so far?
  30. Replies
    2
    Views
    422

    Re: including newline in string variable

    You may have to append ControlChars.Lf (Line feed?) as well. If nothing else, just put the contents in a body tag, in an html tag and just use simple <br />
  31. Replies
    9
    Views
    494

    VS 2010 Re: [RESOLVED] Question about Threads.

    > : )
  32. Replies
    9
    Views
    494

    VS 2010 Re: Question about Threads.

    Yeah, umm I was definitely being silly. Here is the basic structure of the function that runs in another thread:


    private void threadFunc(){

    while(running)
    {
    // other stuff...
    ...
  33. Replies
    9
    Views
    494

    VS 2010 Re: Question about Threads.

    I'll just let it go without joining then. I'll just keep a log for that individual process to see if any errors creep up.

    Thanks for the info.
  34. Replies
    9
    Views
    494

    VS 2010 Re: Question about Threads.

    I realize that. But I also don't want to just say 'to hell with it' and potentially leave the thread running. Join() is to wait for the thread to end (make sure it terminated successfully). The...
  35. Replies
    9
    Views
    494

    VS 2010 [RESOLVED] Question about Threads.

    Is there a way to asynchronously call a function on the main thread from another thread?
    Basically a 'fire and forget' so that the other thread will not hang up on the .Join()?

    The basic flow is:...
  36. Replies
    12
    Views
    575

    VS 2010 Re: Control webbrowser openfiledialog

    Oh I didn't realize it was a windows forms project with an embedded web browser.
  37. Replies
    4
    Views
    404

    Re: Getting Data from Excel Spreadsheet

    You can fill a DataSet. You can fill a datatable as well. You can also fill a dataset's specific datatable. There a few more overloads as well.
  38. Replies
    12
    Views
    575

    VS 2010 Re: Control webbrowser openfiledialog

    I'm not sure you can do this due to security reasons. Controlling a windows form on the client's pc (without them consenting to some sort of client installation program) is suspicious behavior.
  39. Replies
    8
    Views
    555

    Re: Need help with a loop in vb.net console

    You can look into the Do/While conditional loop. That should give you what you're wanting.
  40. Replies
    4
    Views
    404

    Re: Getting Data from Excel Spreadsheet

    Try this site: http://forums.asp.net/post/2927612.aspx

    Can you confirm your FileName object is the full path?
    Maybe using the 12.0 depending on what version of excel file you're using.
    Is...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width