Search:

Type: Posts; User: conipto

Page 1 of 13 1 2 3 4

Search: Search took 0.04 seconds.

  1. Re: What to do with rectangle variable to dispose it?

    It's essentially 4 integers. Let the GC handle it. If this is causing memory leaks for you, you might want to reevaluate your logic a bit.
  2. Replies
    2
    Views
    676

    Re: Why can't I return this value?

    There's a few things I see wrong off the top of my head. First, you should start by passing in the type of the parameter as a string (I would assume string), then, you need to rethink your split...
  3. Thread: textbox events

    by conipto
    Replies
    4
    Views
    745

    Re: textbox events

    Are they dynamically generated, or static on your form? If the first, you can dynamically add the event handler when creating the controls, if the second, select them all in the designer, go to the...
  4. [2008] IIS issue with web site pointing to another web site

    So, let's say I have sites.sitegenerator.com which is the root application of a .net based CMS system. I have several other websites pointing to the same server with different url's (site343.com,...
  5. Re: [2008] Rich text validation

    http://www.codinghorror.com/blog/archives/001016.html

    That was a decent discussion on sanitizing HTML inputs. Doesn't really give a "here's how to do it" but some good food for thought -...
  6. Thread: Registrar API?

    by conipto
    Replies
    3
    Views
    1,115

    Re: Registrar API?

    http://www.webservicex.net/whois.asmx

    That was the first hit on google for whois web service.. any reason it won't work for you?
  7. Replies
    7
    Views
    920

    Re: Too hard for a hiring test?

    An hour. Also, the machine is set up with VS 03, VS 05, SSMS 05, pre-installed database, etc.. all IIS config done already, etc.
  8. Replies
    7
    Views
    920

    Too hard for a hiring test?

    I'm trying to find some entry-mid level .net developers with some SQL experience. I have given them this practical test as a screener, but my HR person thinks it might be too hard. For an entry-mid...
  9. Re: RenderControl and DropDownList and "must be placed inside a form tag"

    You shouldn't be using response to generate asp.net controls. Let the framework do it for you with the controls collection of the page.

    http://support.microsoft.com/kb/317515

    if you need them...
  10. Thread: Ms Access

    by conipto
    Replies
    2
    Views
    525

    Re: update & insert operation, asp, vbscript, Ms Access

    I think you're building your SQL string wrong

    try changing:



    sql=sql & "MM_tableValues='" & MM_dbValues & "',"


    to
  11. Replies
    3
    Views
    706

    Re: [2005] Viewstate and datasets

    Well, that would work, except I need the user to be able to undo deletions. Say for instance on load I read a set of records for this user from the database. The user can edit them and delete, but...
  12. Replies
    3
    Views
    706

    [2005] Viewstate and datasets

    I am having trouble wrapping my head around the viewstate usage. Let's say I have a dataset I need to keep between various postbacks, why would this not work?

    Assuming a gridview set up as such:...
  13. Replies
    3
    Views
    947

    Re: BackColor with RGB

    Just do something like..

    Me.BackGroundColor = Color.FromARGB(255,255,255,255)

    Bill
  14. Re: [2.0] Give a combobox focus on selecting a tabpage

    Ah. Makes sense enough. It's ok that the keyboard doesn't work, since it's for a touchscreen app anyway. I dunno why I wasn't looking at the TabControl itself... I got rusty ;)

    Bill
  15. [2.0] Give a combobox focus on selecting a tabpage

    Hi,

    I'm wondering if anyone can give me some suggestions on how to immediately give focus to a combobox on display of a tabpage. I tried setting it in the TabPage.Enter event, but it appears that...
  16. Replies
    6
    Views
    4,628

    Re: Simple Difference query

    The union all and the sum worked out well. Seems a bit wasteful to have to use two queries and so much "fake" zero data, but this app will never feel it, so thanks, that'll do :)

    Bill
  17. Replies
    6
    Views
    4,628

    Re: Simple Difference query

    I am using Access, unfortunately, which means it won't allow me to use a Full Join. And though it doesn't support derived tables, I can just query a query and get the same result, I suppose. I'll...
  18. Replies
    6
    Views
    4,628

    Simple Difference query

    Hey guys,
    Suppose I have two tables with the same schema, and using one field of each, can I easily get the difference from both tables with a single query?

    Something like


    'Table A
    ID qty...
  19. Replies
    2
    Views
    733

    Re: WindowsXP On-Screen Keyboard

    Isn't the OSK a little small for a touch screen?

    Bill
  20. Replies
    1
    Views
    534

    Re: [2005]validate username and password

    Does your database code work correctly? If so, then validating the input is easy. before you do anything else in the sub, just use the length property of the textboxes Text property before you do...
  21. Replies
    5
    Views
    692

    Re: Rich Text Box Find Help

    Using that overload will only work if you want to specify a point to search. In this case, if nothing is currently hilighted, the value will be the cursor. If you use


    Private Sub...
  22. Replies
    2
    Views
    625

    Re: [2005] Suppressing links to the program?

    Check out the Navigating event of the WebBrowserControl. It fires before a page is loaded.

    Bill
  23. Replies
    7
    Views
    2,257

    Re: run command from c#.net windows application

    Also, you can use the /C switch of cmd.exe to exit upon completion..



    Process.Start("cmd", "/C " + "your command here");


    Bill
  24. Thread: controls

    by conipto
    Replies
    4
    Views
    663

    Re: controls

    You can handle the KeyDown event of the form and test for the A character like this..


    Private Sub Form1_KeyDown(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyEventArgs)...
  25. Replies
    14
    Views
    1,283

    Re: removing duplicate items

    I really HATE that Option Strict is off by default. I just reinstalled a few days ago.

    Bill
  26. Replies
    14
    Views
    1,283

    Re: removing duplicate items

    Dim I As Integer = 0
    While I < ListBox1.Items.Count
    For j As Integer = ListBox1.Items.Count - 1 To 0 Step -1
    If ListBox1.Items(j) = ListBox1.Items(I) AndAlso I...
  27. Replies
    3
    Views
    560

    Re: [2005] Save checkbox

    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vboriintroductiontoapplicationsettingstorage.asp

    Here is an article on using Dynamic Properties. It should do what you...
  28. Replies
    2
    Views
    594

    Re: Raising events in various places

    Unless I'm totally misunderstanding you, you would just add event handlers for the events you want to handle after you instantiate the classes. For example, you might create a TCP received event (I'm...
  29. Re: Partial Clases and default Constructors in C# 2

    Are you sure you didn't make that up ;)

    Bill
  30. Replies
    5
    Views
    816

    Re: Sub auto open() in .net

    What version are you using? In 2003 you could modify the Main() method like Kleinma says, but in 2005, they seem to object to even overloading the constructor because of the "my" namespace..

    Bill
  31. Replies
    2
    Views
    612

    Re: [2005] form based on buttons

    http://www.vbforums.com/showthread.php?t=399477&highlight=Wizard

    Some of the discussion in that thread might be relevant. Essentially you would just use panels or some other type of containers...
  32. Replies
    24
    Views
    4,193

    Re: Memory Leak Question

    First off, look at the post times, I was typing mine while you replied ;)

    Secondly, I think "using" is a matter of personal preference. It causes more execution and the extra declaration of a...
  33. Replies
    24
    Views
    4,193

    Re: Memory Leak Question

    I'm not sure what the point of having them in classes is, since nothing there really needs to be instantiated. I can tell you that ReadToEnd() creates a StringBuilder as it reads the file, and I...
  34. Replies
    24
    Views
    4,193

    Re: Memory Leak Question

    I think your memory leak comes from this:

    fileArrayList.CopyTo(outputArray);

    Because arralists can also contain reference types, it's possible the compiler doesn't know to destory that...
  35. Replies
    17
    Views
    1,226

    Re: [2005] My head hurts!!!....

    This is going to be an inherant problem with any method you use when copying the screen. Some users may even have some type of Top-most app running like Office toolbar or something and that would...
  36. Replies
    9
    Views
    1,024

    Re: Grab sent messages/text

    Protected Overrides Sub WndProc(ByRef m As System.Windows.Forms.Message)
    Console.WriteLine(m.ToString)
    MyBase.WndProc(m)
    End Sub



    Would dump all the windows messages to...
  37. Replies
    4
    Views
    814

    Re: [2.0] Print index cards

    Don't forget, when you set Landscape on that printer setting, your zero position may be off the paper. I assume like most printers, your small index card is centered when you print.. THe printer...
  38. Re: [2.0] How would I read a RTB in another app 1 line at a time, like Spy++?

    I don't believe any event is raised when a new line is added, however, there is a Lines() array in the RichTextBox control, so perhaps you could keep track of the number of lines and check it every...
  39. Replies
    17
    Views
    1,226

    Re: [2005] My head hurts!!!....

    Sparrow, I think it's bad practice to replace the users clipboard data..

    Bill
  40. Thread: [2005] Listbox

    by conipto
    Replies
    19
    Views
    1,293

    Re: [2005] Listbox

    I looked at your project, and none of your problem is with the listbox code or the refresh code. It's simply that in your second form that adds the entry, you create a new form1 object, do all your...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width