Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008


all groups > c# > march 2005 > threads for saturday march 19

Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

!IsPostBack problem
Posted by patrick_a at 3/19/2005 11:31:05 PM
Hi, I'm having trouble with using !IsPostBack. I want to create a linkbutton within a table when the page loads the first time and then have the page redirect based on the LinkButton.CommandArgument string when the LinkButton is clicked. If I use if(!IsPostBack) as in the following code, ...more >>

switch off secure policy
Posted by Wilfried Mestdagh at 3/19/2005 11:15:02 PM
Hi, If I try to execute or debug over a network I get security errors on the most wierd places (for example assigning an url to webbrowser component).. I heve checked in help but it is even more worse than an licence agreement :( How to switch all these silly things off ? -- rgds, Wil...more >>

Out of memory when creating TextureBrush
Posted by CroDude at 3/19/2005 11:00:21 PM
Heya all! I have a weird problem when creating a texture brush in a Paint event. When program gets to the line where I'm creating a new TextureBrush object, it crashes with OutOfMemory exception. Here's the code: private void pnl_DrawSurface_Paint(object sender, System.Windows.Forms.Pain...more >>

.Net control for non-.net application
Posted by pei_world at 3/19/2005 10:51:24 PM
Does anyone know how to create a control work as ActiveX(OCX) control or OLE control that can be used in other non-.net application development? any other ways can do! please help! urgent! ...more >>

event handlers
Posted by David Sobey at 3/19/2005 9:54:59 PM
I've been fiddling with my own inheritances of UserControl lately, and have come to an interesting problem. What is the difference between VS generating this code for me: this.MouseLeave += new System.EventHandler(this.EventControl_MouseLeave); private void Control_MouseLeave(object sender, ...more >>

.Net Component Control
Posted by pei_world at 3/19/2005 9:54:39 PM
I have create a .net component control. I want to use it in my PowerBuilder application which is not .net based. Does anyone know how to do this? or have anyone tried to build a .net component control for non-.net application? any code snippet will be really helpful. great thanks! ...more >>

Using HttpWebRequest to send POST data
Posted by prelugejunk NO[at]SPAM hotmail-dot-com.no-spam.invalid at 3/19/2005 9:35:58 PM
Hello, I am trying to use HttpWebRequest to simulate sending some POST data from a form to a PHP script. I have accomplished this using: HttpWebRequest req = (HttpWebRequest) WebRequest.Create("http://mysite.com/index.php"); req.Method = "POST"; req.ContentType = "application/x-www-form-ur...more >>

Protection of you software
Posted by jaime at 3/19/2005 8:31:46 PM
I have a project to create and manage a key for our new software. The idea is to have a web service that generates a key that then the user can install on ane machine only. The key the the software generates on the client's machine will have a unique id given by the machine maybe mac addre...more >>



Size and position of a PrintPreviewDialog
Posted by Michael A. Covington at 3/19/2005 7:29:04 PM
By default, my PrintPreviewDialog is coming out too small. What is the best way to control its size and position? Ideally, I'd just like to maximize it. Thanks! ...more >>

Process question
Posted by web1110 at 3/19/2005 4:27:19 PM
Given a Process, is there a way to get the full path name of the executable? ...more >>

Keyboard Global Hook
Posted by Arnold at 3/19/2005 4:11:15 PM
Hola, hace unos meses pregunte sobre hacer un hook global al teclado y me dieron varios articulos, uno de ellos estaba en VB .net y era el unico que atrapaba los accesos directos (CTRL + ESC, CTRL + Q, ALT + F, etc). No encuentro el articulo, alguien lo tiene a mano o sabe como controlar si e...more >>

Text encodings
Posted by Andy Burchill at 3/19/2005 3:13:28 PM
I am using the StreamReader to read in some text from a plain txt file and then display it in a text box. When I look at the text file in notepad and my program the text looks all messed up, when I look at it in wordpad the spacing is correct and there are no funny charcters. How can I m...more >>

Setup
Posted by web1110 at 3/19/2005 1:57:27 PM
I haven't had to do this in awhile. What actions are necessary on a new PC to enable execution of .net programs? As I recall, I had to load something before I could use VS. Just thought of it and couldn't recall what I did. Thanx, Bill ...more >>

C#/J# Integration
Posted by Steve Cornett at 3/19/2005 1:33:02 PM
I'm trying to integrate two pieces of code, one written in J# and the other in C#. Although there is a single entry point for the program (in the J# code), objects in each need to be able to instantiate and call methods on objects in the other. I'm having trouble finding a way to compile this ...more >>

GroupBox border thickness?
Posted by MikeY at 3/19/2005 1:22:39 PM
I'm trying to find a way for changing the thickness of the groupbox borders. I've searched on this site but can't seem to find anything of this subject. Does anyone have a suggestion. Thanks in advance MikeY ...more >>

Task list
Posted by web1110 at 3/19/2005 11:32:26 AM
Hi, Just for fun, I'd like to write a program to monitor the list of all tasks running on the system. How do I retrieve a list of tasks executing on the system? Thanx, Bill ...more >>

Database Question
Posted by JRB at 3/19/2005 11:19:03 AM
I'm going to develop a single user program written in C# that will connect to a database on the local machine only. I'm thinking about using Microsoft Access for the database. My question is does each individual machine that I deploy the program on need to have Micrsoft Access actually install...more >>

Remove Task bar Windows
Posted by Manoj Nair at 3/19/2005 10:38:41 AM
Hi, In my windows form application I want the form to appear maximized while running Even hide the task bar.Normal form size maximized displays the task bar. Later after the form closes the task bar should come back need some help on this thanks in advance Manoj ...more >>

CreateObject - how to ???
Posted by Jarod at 3/19/2005 9:55:02 AM
Hey I have something like this in VB6: Dim objApp As Object Set objApp = CreateObject("Geomedia.Application") objApp.Visible = True I need to do this in C#. I have referenced appropriate library so I have access to GeoMedia.Application. But the VS 2003 shows me it's not a class it's an ...more >>

How to create a task item programatically
Posted by Ramón at 3/19/2005 9:47:02 AM
why am I not allowed to intanstiate a new task item? TaskItem task_DC = new TaskItemClass(); This is the erro I get when building: error CS0122: 'Microsoft.Office.Interop.Outlook.TaskItemClass.TaskItemClass()' is inaccessible due to its protection level ...more >>

There are some function in vb but not in c#
Posted by ad at 3/19/2005 9:00:34 AM
Why there are some function about strings in vb.net but not in c#. Like right, InStr... Can we use the VB.NET function in C# ...more >>

Richtextbox using EM_SETZOOM to set a zoom factor vs GDI and GDI+
Posted by Just Me at 3/19/2005 8:39:24 AM
Using a Richtextbox I use EM_SETZOOM to set a zoom factor. If I set it to 2 the image on the screen increase but not exactly by 2. I've coded a ruler above the Richtextbox which does scale by the correct amount. Could it be that the Richtextbox uses GDI while Dotnet uses GDI+ ? Can an...more >>

TreeView node and multiple inheritance challenge
Posted by Hazz at 3/19/2005 8:11:37 AM
I am just beginning to design a Treeview display (winforms) for wine regions. Problem. Some wine growing regions belong to two counties. Eg. Carneros is in both Napa and Sonoma Counties. Although most nodes will have only one parent, a few will have two parents. The Treeview which seems to me ...more >>

Is there any difference about namespace between VB.NET and C#.
Posted by ad at 3/19/2005 6:56:31 AM
Is there any difference about namespace between VB.NET and C#. All functions in c# must include in a namespace. Why I can't find namespace in the files .vb . How VB.NET implement the concept of namespace ...more >>

getting application name and version from out of an assembly
Posted by Wilfried Mestdagh at 3/19/2005 6:23:02 AM
Hi, I try to make an about form and put it in my own namespace/class. It works but if I want to display eg application name, it does not. It display name of the calss where the aboutbox is in (not the calling application). What do I wrong ? This is what I call: AppName.Text =...more >>


DevelopmentNow Blog