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# > may 2006 > threads for friday may 5

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

¿How can I include a DLL in a Vicusl Basic V6.0 application ?
Posted by Carlos Villaseñor M. at 5/5/2006 9:52:23 PM
Hi everybody I'm new in visual studio .net, and I have developed a group of methods in C-Sharp (visual studio .Net 2003) that I need to share with another that has developed an application in Visual Basic 6.0. We first attempted to call the DLL file, but without success. I don´t know if exist ...more >>

wysiwyg html editor?
Posted by .::alex::. at 5/5/2006 8:38:13 PM
Hello, I tried to find a complete powerfull .NET wysiwyg html editor as the editor from www.pintexx.com. There is a version for windows applications but it is a kind of fake because it is web based at the root. I search a kind of DHTML editor control ... totaly dedicated to windows appl...more >>

Smart Client
Posted by jack at 5/5/2006 8:24:51 PM
HI all im have heard little of smart client and wanted to implement it .. is there any one who could help me with some example or some explanation of smart client please . Thanks for replying me. ...more >>

VS .NET IDE & C#
Posted by Scott M. at 5/5/2006 7:33:42 PM
What does it take to make the VS.NET IDE update its display of syntax errors (blue wavy underline), once the error has been corrected? In VB.NET it updates as soon as you move off the line of code. In C#, it seems to only do it when you manually build the app. ...more >>

WinForms Performance issues
Posted by mitch at 5/5/2006 7:08:01 PM
Hello, I've taken to .NET obviously for the RAD abilities. As I'm going forward and building an indepth application I am becoming more and more disappointed with the performance. Refreshing, starting up, etc, is very slow compared to software like Skype. In my installer for my program, I ev...more >>

Dynamic cast possible?
Posted by Zark3 at 5/5/2006 6:12:28 PM
Hi all, I was wondering if anybody could enlighten me on the possibility of dynamic casting. Or, well, whether or not I'm actually trying to do this the right way. What I have is a base class that several classes inherit from. From time to time I need to add new inherited types so I want so...more >>

Redirect StdIO-Problem: Console.In.Peek() hungs !
Posted by Manfred Braun at 5/5/2006 5:09:02 PM
Hi All ! I think, there is a bug in the System.Console class related to use the STDIO streams. I am doing a very simple thing in a console-based program named CS [ConsoleTest] Console.In.Peek(); and the program hungs if no parameters were provided on the commandline. If I use simple red...more >>

How to remove xmlns attribute from XML document (.net)
Posted by fzhang NO[at]SPAM calamos.com at 5/5/2006 5:06:41 PM
I am relatively new to XML and C#. So, forgive me if this question is too newbie. :-) While assuming this is an easy programming task, I couldn't find a single reference anywhere for how to do it. Here is the situation: I am given an XML file like the one below from other group in my compan...more >>



Combine functions into 1
Posted by tshad at 5/5/2006 4:42:33 PM
I have about 10 functions that are identical except for one variable name that I am using in my "for" loop: for (ktr1=1;ktr1<=nhDataBean.projectCodeList.GetUpperBound(0);ktr1++) for (ktr1=1;ktr1<=nhDataBean.shiftCodeList.GetUpperBound(0);ktr1++) for (ktr1=1;ktr1<=nhDataBean.statusCod...more >>

How Do I Pass Bindingsource to Another Winform.
Posted by Rob Dob at 5/5/2006 4:21:00 PM
Hi, I have two c# Winforms. the first form has a datagridview who's datasource is a bindingsource. when you double click on a datagridview row it then opens my second form, which has some databound controls, text boxes that are bound to another bindingsource. Both bindingsources are bound...more >>

Deserialize XML File
Posted by Sriranjan at 5/5/2006 3:15:48 PM
Hi, How do I deserialize an object based on a random XML file? I have tried using the XMLSerializer.Deserialize method but it does not set the values for the members. I need tto do this because I am trying to invooke a web service by passing this object as the input. Here is the sample ...more >>

Share Variables Among the classes
Posted by Mario-ITA at 5/5/2006 2:58:03 PM
Hi, sorry for the pretty question. i want to change this Connection String at RunTime namespace NeoBiblos.BiblosDataSetTableAdapters { .... public partial class ArgomentTableAdapter : ..... { ..... private void InitConnection() { ...more >>

ascii file viewer
Posted by Michele at 5/5/2006 2:54:49 PM
Hi, i need an ascii file viewer. How can i find the source or documentation for it? Naturally in c# Thanks and sorry for my bad english ...more >>

remoting Client runs NET2.0 , server NET1.1 framework
Posted by Sagaert Johan at 5/5/2006 2:46:50 PM
Hi I tested this and it seems to work , but i wonder if there could be some hidden issues that could bite me ... J. ...more >>

A question about the Click event for ListBox
Posted by tony at 5/5/2006 1:50:40 PM
Hello! If you drag a ListBox into a windowform and then right click on this ListBox and then chose property. When you have the properties up click on the flash symbol for seeing all the events for this ListBox. The property page where you can see all the events I call property event page. ...more >>

how can I set an enum to be null?
Posted by jamie at 5/5/2006 1:46:21 PM
I have an enumerated type public enum Measured { N, } when I create a variable of that type private Measured measuredVar; I can easily set it to be N with measuredVar = Measured.N; However sometimes I want measured to be null. Is this possible? jamie ...more >>

DataGridView, DataSource, Columns and Datatable.
Posted by George at 5/5/2006 1:39:01 PM
Hi, I have been trying to see if I can do the following: 1. Create a DataGridView 2. Create 2 columns in the DataGridView (1 textbox and the other combobox) 3. Create a DataTable containing my data. (AutoGenerateColumns is true). The data is 2 columns of System.String cell. 4. If I ass...more >>

how to make snipet ?
Posted by Jarod at 5/5/2006 1:38:58 PM
Hey I would like customize a little existing snippet in VS. Let's say there is snippet prop that works as a property. And it works pretty nice, but I would like it to automatically insert property name based on private field. So if the private field is named _id the property should be ID. I b...more >>

return data from database
Posted by Hrvoje Voda at 5/5/2006 1:05:04 PM
I'm using this store procedure to return data from sql server. SqlDataReader sqlRead = null; System.Data.SqlClient.SqlCommand ProfileBLOBSelect = new System.Data.SqlClient.SqlCommand(); ProfileBLOBSelect.CommandText = "[dbo].[ReceptiSearchNaziv]"; ProfileBLOBSelect.CommandType = System.D...more >>

Windows Forms: BindingSource - DataGridView - Multiple Changes
Posted by Felipe Roucher at 5/5/2006 12:58:29 PM
Hello, I 've a Windows Form and a "DataGridView" with the "DataSource" binding with a "BindingSource" and a "BindingNavigator", in the other hand in the same Form, there's multiples textbox's binding with the same "BindingSource". Well, only I want to know if there's any automatic way to c...more >>

NullReferenceException problem working with Dataset
Posted by eljainc at 5/5/2006 12:54:01 PM
Hello, I'm pretty new to C# programming, so be gentle with me. I have a block of code which is the following: scheduleDomainController1.ConnectionString = "data source=.\\SQLEXPRESS;"+ "database=MyDatabase;Trusted_Connection=True;"; string AccountID = "00000000-0000-0000-0000-00...more >>

Icons?
Posted by TCook at 5/5/2006 12:48:44 PM
Hey All, I was wondering if anyone knows where or how to obtain a broader selection of icons than what appears to be natively shipped with Visual Studio? For example, in SQL Server, the Query Analyzer has the datasource icons, table icons, etc. Does anyone know where these come from and...more >>

Event handler for context menu; help needed
Posted by james at 5/5/2006 12:41:16 PM
Hello, I am having a little trouble creating an event handler for a context menu toolstripmenuitem. I've seen various tutorials and so on, but I keep getting a bit stuck! So far I have a second class defining the eventargs I want to use: public class ApptEventArgs : EventArgs{ public int ...more >>

Crash without dump file
Posted by Droopy at 5/5/2006 12:27:42 PM
Hi, I am running an application on 74 PC (1 instance on each PC). This morning, 2 applications crashes. There were neither popup windows signaling it nor dump file created. I only find in the event log an entry signaling a dotnet 2.0 runtime error : Event Type: Error Event Source: .NET R...more >>

Temperature of the CPU
Posted by UJ at 5/5/2006 12:27:27 PM
Apparently you can get the temperature of the CPU and inside the computer through the bios. Does anybody know how to do that through code? TIA - Jeff. ...more >>

Logical vs. Conditional Logical Operators in C#
Posted by Jonathan at 5/5/2006 12:04:08 PM
Hi all, I'm having an argument with a co-worker about the difference between the & and && operators when applied to boolean operands in C#. His point of view is that the expression (false & expr2) might be optimised at JIT-time and the second expression will not be evaluated. In my opinion th...more >>

Essential ASP.NET With Examples in C#
Posted by nuoo NO[at]SPAM hotmail.com at 5/5/2006 11:38:07 AM
Essential ASP.NET With Examples in C# Description : The Microsoft .NET Framework is exactly what its name implies: A general system onto which a lot of application-specific technologies are stuck. Essen... Pages : 2815 http://books-download.com/Book177.aspx ...more >>

storing floating point data with using float or double
Posted by Steve at 5/5/2006 9:33:24 AM
Hi, I've developed a testing application that stores formatted results in a database. Recently it was requested that I add the ability to generate graphs from the raw, un formatted test results (100,000+ float values) I don't intend to store all of the 100,000 datapoints, but rather a sub...more >>

Date and time in Datagrids
Posted by Dan Aldean at 5/5/2006 9:31:44 AM
Hello, I have some fields in the dataset that bear date and time values. When I bind the datagrid the time part of the fields don't show. Is it possible to format the datagrid columns so that they show the whole thing? Thanks ...more >>

Asynchronous web services VS 2005 v2.0
Posted by VMI at 5/5/2006 7:55:02 AM
I posted this question several days ago, but I don't think I specified what version of .Net I was using. I'm currently using VS 2005 framework 2.0. Where can I find information on asynchronous web service calls for VS 2005? I've found some articles, but they apply to VS 2003. I wrote a web ser...more >>

Available applications in Taskmanager not Processess(in C#)
Posted by Kondapanaidu at 5/5/2006 7:08:04 AM
Hi, What are the availabale applications run in a windows task manager(not for process because it shown defaultly so many processess i dont need those process). Need Information what are the applications are currently run in my system(like msword, .NET, notepad) like that information...more >>

Word Automation Not working in Windows Service on .NET 2005
Posted by Jay at 5/5/2006 6:47:57 AM
Hi, I have been using word automation with .Net framework 1.1 and it works fine with windows services but when i use the same code on .Net framework 2.0 it is not able to destroy the component. So when it tries to destroy the document component it throws an error. Please any one can tell wh...more >>

Blank page after logging in ASP.NET web app
Posted by Gary at 5/5/2006 5:19:12 AM
I'm getting strange results with a web application I have written.. the program is ASP.NET 1.1.4322 running on IIS (2003 server). The server has two network cards, one goes out to the Internet and one feeds the private side of the network. When logging in from the private network I have no prob...more >>

Synchonised ListViews
Posted by fanny.ricour NO[at]SPAM gmail.com at 5/5/2006 3:14:58 AM
Hi, I have 2 ListViews, one above the other, and I need to keep them horizontally synchronised. I managed to hide the bottom LV scrollbar (user is not supposed to scroll it) and to scroll it when user clicks on the scollbar or scrollbar arrows. However, the scrollbar does not move when the us...more >>

Again: referencing other generated "InMemory" assembly
Posted by Jan at 5/5/2006 2:56:01 AM
Regarding my post "CSharpCodeProvider: referencing other generated "InMemory" assembly" 4/27/2006 and the blog from Greg Young http://geekswithblogs.net/gyoung/archive/2006/04/27/76533.aspx I have now implemented a fine system with code semilar to Greg's example code. I have a warning/comme...more >>

System.Uri
Posted by Sathyaish at 5/5/2006 2:33:07 AM
In the System.Uri class I do not understand the following properties very well, and I suspect that they have not been implemented because they yield static results on different input. 1. IsFile: Always returns false. 2. UserEscaped: I am not sure this property works either, or what it is su...more >>

System.Uri.UserEscaped
Posted by Sathyaish at 5/5/2006 2:13:12 AM
I need help understanding this property. It totally escapes me, pun intended. The documentation says: <DOCUMENTATION> Summary Gets a Boolean value that indicates whether the URI information used to construct the current instance was escaped before the current instance was created. Prop...more >>

Upload documents using http
Posted by eirinliby NO[at]SPAM gmail.com at 5/5/2006 1:46:51 AM
Hello. How do I upload a document using http? I see that .net has the system.web namespace but I cant find any examples on how to use it... I'm not very experienced in .net. Thank you very much for any contribution to my problem :) neoret ...more >>

Form.ShowDialog is abnormal after Application.Run
Posted by 凯仔 at 5/5/2006 1:00:02 AM
[STAThread] Main { Application.Run(new Form1()); new Form2().ShowDialog(); } Form2 can't be show. WhatZ the throuble? it seems no messageloop ...more >>

DB does not update using dbNavigator
Posted by eckseeker NO[at]SPAM gmail.com at 5/5/2006 12:45:16 AM
Hi there, Here are the steps I do to insert data into an MS Access db: 1.make new Datasource 2.Drag a table from DataSource sidebar in VS 2005 into a winForm 3.now we have a datagridview and a dbNavigator in the form 4. F5 5.enter new data into datagrid 6.Save button 7.check the mdb file--->...more >>

Multiple windows forms handling - problem
Posted by Sudha Pune at 5/5/2006 12:41:47 AM
Hi all I have 3 windows forms and I have one user control which holds a menu like below FormA | FormB | FormC This menu will displayed at top of the all the forms If i click FormB in FormA's menu i want to close the formA and i want to show the FormB In what way i can achieve this, ...more >>

ASP.NET Generic template
Posted by Celine at 5/5/2006 12:10:18 AM
I have a set of similar classes (c1, c2, ...). I would like to create a template (or a page with as much abstraction as possible) to copy/paste, and create ASPX pages to edit (add/update/...) these classes. A customised page for each class, beacause there are few differences between them O...more >>

Simple questions about interfaces
Posted by Water Cooler v2 at 5/5/2006 12:00:36 AM
Sorry! I know these are basic, stupid questions, and I already knew the answers to these, I swear, and I have used them countless times, I swear, but at the moment I am fighting a bout of amnesia and it is extremely important for me to know the answers just now. Can an interface have: 1. ...more >>

Compile time analysis?
Posted by Allan Ebdrup at 5/5/2006 12:00:00 AM
Is there any way to have some code run at compile time that analyses the code being compiled. We have som checks that run at runtime when you instantiate a class, but the could be run at compiletime if there was a easy way to do so. Kind Regards, Allan Ebdrup ...more >>

Project Structure and Typed Datasets
Posted by Ian Semmel at 5/5/2006 12:00:00 AM
If I have multiple projects, all using the same database, I put the DataSet into a library project. However, to use the DataSet Designer and to drag tables into forms, it appears that the DataSource has to be in the current project. The only way I have been able to get around this (without...more >>

User control events
Posted by Steve at 5/5/2006 12:00:00 AM
Hey guys I have created a user control to be a custom button. When the control is on the form the event 'Click' doesn't do anything. The contol is just a standard label on the control form. And I want to use the click event for the label not the underlying form/control background (wh...more >>

Create Auto Complete Textbox
Posted by Melson at 5/5/2006 12:00:00 AM
Hi Can anyone help please. How can I create a Auto complete textbox using C#. Please help. Regards Melson ...more >>


DevelopmentNow Blog