Search:
Type: Posts; User: supertotallyawesome
Search:
Search took 0.03 seconds.
-
foreach (Control c in groupBox1.Controls)
if (c is TextBox) c.Text = string.Empty;
-
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...
-
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...
-
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...
-
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...
-
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...
-
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...
-
Thanks brucevde. After you said that I realized that was the problem. I made my userid row the primary key and it worked.
-
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...
-
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...
-
-
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...
-
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....
-
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...
-
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"...
-
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 { ...
-
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 =...
-
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...
-
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:
-
I don't see it in the compile tab in express, so I bet they removed it. Oh well.
-
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...
-
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....
-
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...
-
I think that makes sense. I will try it tomorrow when I get into the office.
Thanks
-
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...
-
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...
-
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.
-
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...
-
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...
-
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...
-
I have also tried that. Here is the code I tried using the GetFormats method:
foreach (string s in e.Data.GetFormats())
{
if...
-
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...
-
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...
-
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
...
-
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.
-
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...
-
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...
-
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.
-
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.
-
Private Sub TreeView1_MouseDown(ByVal sender As System.Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles TreeView1.MouseDown
Dim tn As TreeNode
tn =...
|
Click Here to Expand Forum to Full Width
|