Search:

Type: Posts; User: supertotallyawesome

Page 1 of 3 1 2 3

Search: Search took 0.03 seconds.

  1. Re: how to empty textbox in a groupbox control

    foreach (Control c in groupBox1.Controls)
    if (c is TextBox) c.Text = string.Empty;
  2. Replies
    1
    Views
    532

    Re: Post Method

    You can use a WebClient object and a NameValueCollection to do this:


    // add this to the top of your class
    using System.Collections.Specialized;

    // in your button or wherever
    WebClient...
  3. Replies
    2
    Views
    519

    Re: Get Status of Software RAID5?

    It's running Windows 2000 server, which is how I am doing RAID 5. The desktop versions of Windows, starting with 2000 support software RAID 0 and 1, and the server ones support RAID 5 in addition. I...
  4. Replies
    2
    Views
    519

    Get Status of Software RAID5?

    I am using Windows 2000's software RAID 5 facility for our cheap file server. I am monitoring the file space and other miscellaneous things using Nagios, but I really need to figure out a way to get...
  5. Replies
    1
    Views
    405

    base user controls question

    I am making a control that I want to use as a base for all my other controls. It is going to have a few main things on it that all my child controls will need, along with events that occur for those...
  6. Re: how do you think this is accomplished?

    I haven't tried that. I want less features than the vista start menu application. I would like the barest of bare minimum for my start menu. Basically the "Classic" menu in XP but without the useless...
  7. how do you think this is accomplished?

    I am frustrated with the Windows 7 start menu. The Windows people have said that there will no longer be a "classic" start menu available, and to move on. I don't want to. I rather write my own start...
  8. VS 2008 Re: GridView/Datasource not letting insert, update and delete

    Thanks brucevde. After you said that I realized that was the problem. I made my userid row the primary key and it worked.
  9. VS 2008 GridView/Datasource not letting insert, update and delete

    I have a gridview object on my webform, and I am going through the wizard to add a datasource to the gridview. I chose my connection string, which is pretty basic.

    Data Source=COMPUTER;Initial...
  10. [C#] Nested master page not firing Page_Load event

    I have used the information from MSDN to create a nested master page. I want a main master page for my site, and a nested master page for my Administration panel. In the CS code for the nested...
  11. Re: Background worker, listview and flickering

    delete this post, please
  12. Re: Background worker, listview and flickering

    What is the equivalent of SyncLock in C#? I don't see a SyncLock or anything similar in my intellisense menu. I saw the "lock" keyword, but I can't find any information on how to use it, if it is...
  13. Background worker, listview and flickering

    Hello.

    I am doing some processing on a background thread so that my main thread does not hang up. However, in my progress changed event, I am creating a ListViewItem and adding it to my listview....
  14. VS 2008 Re: adding user controls programatically

    Ok, I tried adding that to the top of my Default.aspx file, but it didn't seem to make a difference. I am able to manually add the user control to my web form by dragging it from the solution...
  15. VS 2008 adding user controls programatically

    I have a very, very simple user control. It only has the word Hello on it.

    <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="SingleAlert.ascx.cs"...
  16. Re: [JavaScript] GetElementById problem in IE

    Thanks for the response. I decided to go at it a different way that works in all browsers. This is a complete example of my solution


    <html>
    <head>
    <style type="text/css">
    #tabs li { ...
  17. [JavaScript] GetElementById problem in IE

    I have the following code that works in every browser I've tested except Internet Explorer:


    function HighlightTab(tab) {
    var tabname = tab.innerHTML;
    var tabcontent =...
  18. Replies
    5
    Views
    719

    Re: VB 2005 Express question

    One more question: do you know if there is a way to pass in the current project's version number as a command line argument? For now I just wrote this C# application:


    using System;
    namespace...
  19. Replies
    5
    Views
    719

    Re: VB 2005 Express question

    Awesome, that is exactly what I was looking for. I can launch my batch file now that I wrote that runs all my scripts. Thanks! :thumb:
  20. Replies
    5
    Views
    719

    Re: VB 2005 Express question

    I don't see it in the compile tab in express, so I bet they removed it. Oh well.
  21. Replies
    5
    Views
    719

    VB 2005 Express question

    I use VB 2005 Express @ home for developing stuff. I am wondering if anyone knows how to run a script automatically after building my application. When I click build I want it to compile my InnoSetup...
  22. Re: [2008] Postbacks not firing when defining PreRender function

    I would do that, but 99.9% of the time the user is going to change the drop down on one entry in the table and that's it. I was trying to avoid having multiple clicks on the page to accomplish this....
  23. Re: [2008] Postbacks not firing when defining PreRender function

    Ok I went to try doing it this way and it's not going to work. I need to know which drop down is sending the postback. I dynamically generate up to 25 drop downs depending on the select statement...
  24. Re: [2008] Postbacks not firing when defining PreRender function

    I think that makes sense. I will try it tomorrow when I get into the office.

    Thanks
  25. Re: [2008] Postbacks not firing when defining PreRender function

    Thanks for the response, but my drop down is not bound to a database. I am not binding anything, I am doing it all manually. The drop down only has 5 items in it which are always the same (the...
  26. [2008] Postbacks not firing when defining PreRender function

    I am new to ASP.NET. I do a lot of C# desktop programming, but all my web stuff is done in PHP. Here is my problem:

    I am manually rendering a table containing my data from a database. One of my...
  27. Replies
    3
    Views
    669

    Re: GTK# Help Needed

    Pidgin is only 10MB, including the GTK runtime. Your development kit is probably quite a bit larger than the runtime that is distributed to end users.
  28. Replies
    3
    Views
    669

    Re: GTK# Help Needed

    You can probably get rid of the console window. Create a console application like normal, but then go into the properties window for the application, and change the Output Type to Windows...
  29. Replies
    11
    Views
    933

    Re: Novice VBer

    C# is not identical to C++. It has similar structure, but it is a lot easier to read through than C++. Most of the time, if you see an example in VB.NET and an example in C#, it will look almost...
  30. Re: [2.0] Drag and Drop from Internet Explorer

    d'oh. I just figured it out. I realized there is an AllowedEffects property available. I checked that, and although firefox will allow both Copy and Link, Internet Explorer will only allow Link. As...
  31. Re: [2.0] Drag and Drop from Internet Explorer

    I have also tried that. Here is the code I tried using the GetFormats method:


    foreach (string s in e.Data.GetFormats())
    {
    if...
  32. Replies
    2
    Views
    6,857

    Re: Borderless Forms with a Border

    You could also do the following to get a custom border:

    Set the FormBorderStyle = None
    Set the Padding to 1 on all sides (or however thick you want the border to be)
    Set the Background color of...
  33. Replies
    11
    Views
    933

    Re: Novice VBer

    I would say, if you are completely new to programming, jump right into C#. Although VB.NET is pretty much the same thing as C# now, it may teach you bad practices which could confuse you later when...
  34. Replies
    9
    Views
    1,012

    Re: [3.0/LINQ] Modified Tab Page

    This is probably not exactly what you are looking for, but this Flat Tab control helped me make some custom tab stuff for a project at work: http://www.codeproject.com/KB/tabs/flattabcontrol.aspx
    ...
  35. Re: C# Game Programming

    And Riemers has really cool tutorials that were fun to go through to learn the basics of XNA. http://www.riemers.net/

    Note: these are for 3d stuff, a little more advanced than Tetris.
  36. [RESOLVED] [2.0] Drag and Drop from Internet Explorer

    Does anyone know how to drag and drop links from IE into a C# application? I am able to capture data from Mozilla Firefox without problems using this code:


    private void Form1_DragDrop(object...
  37. Re: How can I login to my schools website to check my grades?

    Winsock is a very low level of socket communication. It is probably possible, but you have to learn the HTTP protocol and make a connection on port 80 and start sending HTTP POST commands. There is...
  38. Re: How can I login to my schools website to check my grades?

    this page has information about how to send HTTP post data to a web site, but it uses the web browser control. It seems like it will do what you want though.
  39. Re: [2005] Voice Recording???

    Here is a page (http://www.codeproject.com/cs/media/cswavrec.asp) on how to do it in C#. It's fairly easy to convert C# over to VB.net, there are even some online code converters available.
  40. Re: Treeview clicked event

    Private Sub TreeView1_MouseDown(ByVal sender As System.Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles TreeView1.MouseDown
    Dim tn As TreeNode
    tn =...
Results 1 to 40 of 110
Page 1 of 3 1 2 3



Click Here to Expand Forum to Full Width