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 > dotnet general > october 2004 > threads for thursday october 14

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

From name cant be changed
Posted by CSX at 10/14/2004 10:49:29 PM
Hi I am new to VB.NET (1.1) whenever i change the forms (name) from the difault "form1" I get a compile error when i run it. Any ideas ? Strange CSX ...more >>


How Can i Develop .net Application in VB
Posted by Johnny at 10/14/2004 9:55:02 PM

Newbie: Connecting to a sql database
Posted by Mike Walker at 10/14/2004 7:53:33 PM
Hi, Im using the asp.net for dummies and im trying to connect to a sql database. Here is my code:- <%@Page Explicit="True" Language="VB" Debug="True" %> <%@ Import Namespace="System.Data" %> <%@ Import Namespace="System.Data.SqlClient" %> <html> <head></head> <script runat="server"> Dim ...more >>

in C# is there a managed code example to set ACLs on a folder
Posted by Daniel Cayouette at 10/14/2004 7:53:03 PM
in C# is there a managed code example to set ACLs on a folder. We're currently using the win32api and would like to migrate this functionality to managed code in C#...more >>

LogonUser failed error
Posted by Nimi at 10/14/2004 6:20:40 PM
When I run my application , the LogonUser method fails the exception is "LogonUser failed with error code :1314". I know the error is because of some privileges . I am using Windows 2000 sp4. I have not enabled the SE_TCB_NAME previlege. Do we need to enable this ? I enabled privileges usi...more >>

Searching for a small byte array in a large binary file (Quickly!)
Posted by Skwerl at 10/14/2004 5:19:02 PM
I'm trying to quickly grab the dimensions out of the headers of JPEG files. I need to look for the hex string FFC0001108 in a file that will be from 1-40 megs in size. If someone has experience doing a similar type of search, what is the most efficient method you have found for doing this? I...more >>

scientific notation
Posted by masoud bayan at 10/14/2004 2:45:28 PM
I have some values in type of double such 0.00009 , 0.0000007, when I want to show them in a text box and convert them to string they are changed to scientific notation while I want to show them as they are. I tried to use tostring("f") but it needs to have a precision number after *f* which w...more >>

Working out the number of hours between two dates?
Posted by Wayne Taylor at 10/14/2004 2:33:09 PM
I want to work out how many hours there is between a start time and a finish time. For example Start Time: 10:00 am Finish Time: 11:00 am Is 1 hour? How can this be achieved using VB.NET? -- Wayne Taylor www.kryptos.co.uk/blog ...more >>



panel on panel question
Posted by Dayne at 10/14/2004 1:51:38 PM
Why a panel on another panel (Win. Forms) doesn't display immediately, yet it will once u minimize then reopen the form? I have notice this. I have one panel ( color blue) on top of another panel (color red) .. the blue panel will not show up when I run the program..only after I minimize the reop...more >>

Simple Installer question. How to add custom code in installer project??
Posted by hyper_x_43 NO[at]SPAM yahoo.com at 10/14/2004 1:41:34 PM
Hey guys, How can I see the code of the installer class? I know that I have to right click on my object class, -> Add Item -> Code -> installer class... The actual question is, I cannot see "Code" in my "Add Item" Menu. In order to see this 'Add Installer code'... Do I need to install any...more >>

any workaround for NameValueCollection serialization?
Posted by Julia at 10/14/2004 1:25:16 PM
Hi, I am trying to serialize Request.Params in a webform page and I understand that .NET cannot serialize this kind of object Yet is there any workaround? Thanks. ...more >>

Visual Studio .NET 2003 Installation problem
Posted by Erin Hayes at 10/14/2004 12:34:03 PM
I am trying to install VS 2003 on a Dell Server. The installation consist of 3 cds. One of which is a Prerequisit cd. I start off by putting in Disc 1 which has the autorun for the setup. The menu comes up and I start going through the steps. Step one is the Prerequisites so when I click 1 ...more >>

Can I prevent the debugger from stepping into a method?
Posted by Chance at 10/14/2004 12:21:03 PM
Is there any way to do something like this... Main() { foo(); bar(); } [Debugger.StepOver()] foo() { // do something that has been debugged } bar() { // do something that has not been debugged }...more >>

Visual Studio .NET 2003 Installation problem
Posted by Erin Hayes at 10/14/2004 12:03:33 PM
*** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!...more >>

VB.NET and Outlook styled calendar
Posted by ThunderMusic at 10/14/2004 11:05:58 AM
Hi, I'm building an enormous application and would like to incorporate something to take appointments. I'd make it look like the calendar in Outlook, but I don't know how exactly. Is there a control to make it easier or will I have to make my own? Thanks ThunderMusic ...more >>

groupbox , panel comparison for windows form
Posted by Dayne at 10/14/2004 10:50:07 AM
Can someone explain to me the differences/similarities between the Panel and Groupbox control...They seeem to be the same to me. Dayne ...more >>

Changing report grouping programmatically
Posted by amber at 10/14/2004 10:47:04 AM
Hello, I have a report in VB.NET/Crystal Reports. I have a criteria form that users select between 2 different types of grouping (group by category or group by year). Can I programmatically change the grouping of a single report, based on the user's selection? Or do I have to create another ...more >>

Question about interfaces
Posted by Geoff Pennington at 10/14/2004 10:46:54 AM
Is there an easy way to find out what classes implement a given interface? For example, it might be useful to know what classes implement ICollectible. Much obliged, Geoff. ...more >>

Basic namespace question
Posted by Geoff Pennington at 10/14/2004 10:37:02 AM
If I am using a class I haven't used before, how do I figure out what namespace to import? Much obliged, Geoff. ...more >>

persisting font info
Posted by Derrick at 10/14/2004 10:35:21 AM
Can anyone tell me how to persist and retrieve the font characteristics that a user chooses to have displayed in a personalized label field on the front of their application? I wanted to be able to give the user this ability so that they could place a company logo, motto, or simply a message ...more >>

Does dataview.find support wildcards?
Posted by Vitor Silva at 10/14/2004 10:03:05 AM
I'm trying to find the first record based on a string with wildcards. Ex: nº Name 0 John 1 Mary 2 Mariah 3 Mike dataview.sort="name" dataview.find("M*") The above code do not work. Is there any way to do what I pretend to? -- Best Regards, Vitor Silva...more >>

why do i get unhandled exception in system.drawing.dll in vb.exe ?
Posted by Lee Holsenbeck at 10/14/2004 9:55:02 AM
Hi, I get this error in a vb.net windows application in the .exe: "An unhandled exception of type 'System.argumentException' occurred in system.drawing.dll" This occurs only on 1 user's pc, who has VS.net loaded on the pc. I do not use the system.drawing class in the application. This o...more >>

Easy? Newbie Question - best way to do a long comparison?
Posted by Patrick at 10/14/2004 9:36:45 AM
Pretty new to .NET, but there is probably an easy way of doing this that I'm missing, other than If..then..else. I have about 6 different "do this" type statements. I know how to do it the long, long, long way, but I know I'll have to do this a lot. If Xcode = 64 Or 160 Or 168 Or 176 Or 184 Or...more >>

add record to datagrid
Posted by Joanne at 10/14/2004 9:23:08 AM
I have a form with a datagrid in it. I have two btns, add record, update record. I am not sure how to add a record to the datagrid and then update it?...more >>

Hide Method for TabPage object
Posted by TMB333 at 10/14/2004 8:49:07 AM
I've researched as much as I can on the issue, but I've not found any clearly defined statement that acknowledges that the Hide method for a TabPage object just doesn't do what it's supposed to do. This appears to be a bug, or maybe I'm using it incorrectly? TabPage.Hide should hide the ref...more >>

how to convert TextBox to RichTextBox?
Posted by s-galit at 10/14/2004 8:31:07 AM
how to convert TextBox to RichTextBox? thanks in advanced...more >>

Mutex - Singleton Help
Posted by Rocky at 10/14/2004 8:30:32 AM
I am using the following piece of code to ensure that my application only runs once, however I have a few questions about it. static Mutex m_Mutex; << in c# I assume that when the methods are static, so are the private members public static void Run(Form mainForm) { ...more >>

IDE Font
Posted by IDE Font at 10/14/2004 8:29:08 AM
A co-worker has a wired font in the ide. Only on the solution exploers, property, class explorer, etc. The menu at the top font is ok. Any ideals......more >>

Command Window Stopped Working
Posted by hleewood at 10/14/2004 8:19:06 AM
I'm using VS 2003, VB.Net. For no apparent reason the Command Window no longer functions. It doesn't auto-complete and doesn't recognize any syntax....more >>

.NET background threads
Posted by patty NO[at]SPAM gd at 10/14/2004 5:29:09 AM
I have created a simple C# application which instantiates an object of a class I defined and calls a single method on the class. When I run the application in the debugger, I see there are 3 threads, one of which is my application. I am unable to determine what the other 2 threads are becaus...more >>

Error parsing C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\config\machine.config Parser returned error 0x80070003.
Posted by rubaljain NO[at]SPAM yahoo.com at 10/14/2004 4:19:21 AM
Hello - While installing ASP.Net on Windows 2003 I am getting the followin error : Error parsing C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\config\machine.config Parser returned error 0x80070003. I find it its not creating the CONFIG folder and related files under it. Any idea how t...more >>

creating a simple form in C#
Posted by ET at 10/14/2004 2:31:03 AM
Hello everyone I just started learning C# and i want to create a form. I started an empty project and wrote the folloing code: using System; using Application; using System.Windows.Forms.Form; namespace MyForm { public class MainClass { public static void main() { Form ...more >>

Hardware for .Net Development?
Posted by Clas at 10/14/2004 12:11:02 AM
Does it help to have multiple cpu's to speed up build process? Thanks in advance! ...more >>


DevelopmentNow Blog