|
ms
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Visual C# .NETmicrosoft.public.dotnet.languages.csharp
Regular Expression help
Zach -
27 May 2006 11:55 PM - 4 messages
Hello, Please forgive if this is not the most appropriate newsgroup for this question. Unfortunately I didn't find a newsgroup specific to regular expressions. I have the following regular expression. ^(.+?) uses (?!a spoon)\.$ I know something is wrong with this, but essentially what I want to do ...
How to call functions of a DLL in Excel and in a .net project
Dartish -
27 May 2006 10:09 PM - 2 messages
Hi all, Thanks in advance for the help I have a DLL that which has several functions that I can call in Excel. I am thinking of how to call these functions in a .net project (authored in C#). I guess I need to describe how I used the DLL in Excel to motive this ...
Decimal d1 = Decimal.Parse("0.1"); // = 1?!?
leej -
27 May 2006 7:54 PM - 5 messages
Im hoping someone can help me to work out where/what Im missing here. Ive a line in a moderately sized program decimal d1 = Decimal.Parse("0.1"); When I check the result in Visual Studio or perform any math using d1, ...
Generics & Dictionary
riftimes -
27 May 2006 7:05 PM - 19 messages
Hello, would you help me to find totorials with examples about generics and Dictionary thank you. ...
What do i have to link...
Jacek Jurkowski -
27 May 2006 5:31 PM - 2 messages
.... to my application setup project to run Crystal Reports correctly? It runs on my computer but not on clients. I probably have to add some Crystal Merge Module? ...
image icon things
mensuur -
27 May 2006 4:58 PM - 2 messages
hi. i was looking at the microsoft homepage and noticed that when i hovered over the large images in the centre only the tooltip came up. normally when i hover over large images, a little toolbar appears in the top left corner of ...
Ho to ...
Jacek Jurkowski -
27 May 2006 2:17 PM - 5 messages
.... Clear all delegates assigned to an Event? F.e. lets consider the button. Button.Click += new EventHandler(...); Button.Click += new EventHandler(...); How to free that event now? ...
Slow TcpClient
Mantorok -
27 May 2006 11:01 AM - 4 messages
Hi all I'm writing a newsgroup reader in C# and I've found the TcpClient to be extremely slow, when downloading a list of newsgroups for example it runs at about 8Kb/sec over a 2Mb/sec connection. Any ideas? Is this just the way it is?? ...
ASCII and beyond, backup binary data to text file
Ryan Liu -
27 May 2006 7:19 AM - 8 messages
Hi, I want to backup database to a text file. There are binary columns. I read byte[] from the column and use ASCII encoding convert it to string and write to a text file. But there are bytes large than 7F, and I lost 80Hex, e.g. 91Hex will be ...
Active directory
Mr. Bean -
27 May 2006 6:11 AM - 9 messages
Hello, I'm trying to retrieve the user's properties from Active Directory. I was able to retrieve all the user properties, however, I wassnt able to get the manager's user name. What I got was the path of the user ...
Converting C# to VB
Bob Roy -
27 May 2006 5:52 AM - 5 messages
Could someone help me translating the following C# code to VB? Is there a different newsgroup where it would be better to post this? [ListBindable(false)] public class CategoriesInfo : CollectionBase { static CategoriesInfo instance; // create the static instance of the class ...
Setting Color Depth of a Jpeg Image
Onwuka Emeka -
26 May 2006 11:13 PM - 2 messages
is there a way to reduce or modify the color depth of a jpeg image, i currently need to programatically change the color depth of a jpeg image from 24bits to 8bits. any help would be appreciated ...
Commercial Application Development
Ron -
26 May 2006 10:00 PM - 5 messages
Is there a forum/newsgroups for developers to talk about commercial application development? Until now my experience has been in custom software for clients but I have an application idea that I will want to sell commercially and am looking for tips/tricks/pitfalls (commercial application ...
Bug in exception handling?
ben -
26 May 2006 9:09 PM - 4 messages
I have a custom exception class MyException: System.Runtime.InteropServices.COMException { ..... } and code like this try { ..... } catch(MyException ex) { //Some code } catch(Exception ex) { // Other code } I put a break point in the MyException catch block, and another one in ...
Storing Hash Codes
Brian -
26 May 2006 8:45 PM - 4 messages
I know this is the wrong way to do it, but maybe someone can tell me the right way to do it... I have two different databases that I need to synchronize. The database doesn't have keys exactly, but it does provide a rowid function. ...
Important question about .NET 2.0 datasets...
Dave -
26 May 2006 7:45 PM - 4 messages
We've created a robust client server application over the past 3 years on the .NET framework version 1.1 using c#. We layed all of our marbles in creating strongly typed datasets and for the most part we ...
Separating WinForm from Logic
randy1200 -
26 May 2006 7:17 PM - 5 messages
I have a WinForm class that has accumulated a tremendous amount of logic code. Can anyone point me toward a good article on factoring logic code out of a WinForm class? Thanks, ...
Problem with Threading in Win Forms
bilosta -
26 May 2006 7:03 PM - 4 messages
Hello to everybody I'm new in win apllications and C#. I have a problem with Threading. Here is my problem: I have a form with button named: BupisiStudente, when I click on it a call next method: private void BUpisiStudente_Click(object sender, EventArgs e) ...
Drawing in design mode ?
Billy Bob -
26 May 2006 6:39 PM - 5 messages
Hi, Is it possible like Visual Basic that when you are in Design mode so you can add controls etc to a windows form that you can draw on it? like draw a line or a shape? Bob *** Sent via Developersdex [link] *** ...
ADO objects different in C# vs VB?
Tina -
26 May 2006 6:32 PM - 2 messages
Again, I'm manually converting a large vb.net project to C# in order to learn C# and I have another difference I don't understand. I'm using Framework 1.1. I have a strongly typed dataset that was generated from a design time Data ...
Cant find a windowscontrol
Patrick F -
26 May 2006 6:27 PM - 4 messages
Hi, i am trying to find a windows control, just cant figure out what it is called. (Open a folder with files, right-click and press View->Details, this is the control i want. Like a listbox but with columns. ...
Viewing Calendar in a different culture is not working
Mike9900 -
26 May 2006 6:21 PM - 7 messages
Hello, I want to view the calendar in another culture, for example let it show in Arabic. I use this code in the Main, but the calendar is still in the same culture: CultureInfo sa = new CultureInfo("ar-SA", false); ...
convert HEX string into integer
:) -
26 May 2006 5:58 PM - 4 messages
Hi all: I have a HEX string such as 0x0010026AB0, I can I convert it into an integer in C#. Does it have some build-in function. Thanks in advance. ...
Seeking simple security example
Dave -
26 May 2006 5:31 PM - 4 messages
I am trying to create a couple of event and a memory mapped file for interprocess communication that have security settings such that they can be used between any two users. I have found some horribly complicated code on the web and have got totally bogged down in scals and dacls. Can someone ...
console or forms
RobcPettit@yahoo.co.uk -
26 May 2006 5:30 PM - 3 messages
Hi, This is probably a mute point, but id like to know when to choose a console application to a windows application. What i meen is this. Most coding in books is with the console application. I think this is ...
Implementing a DataGridView numeric only column
Greg -
26 May 2006 5:22 PM - 3 messages
I'm new to the datagridview control, and am left wondering how one goes about restricting input to numeric only. Is it possible to trap key presses at the cell level, and in the relevant columns, ignore them if non-numeric? ...
Runtime expression engine
walter -
26 May 2006 4:37 PM - 6 messages
Hi there, I figured that there must be someone knew this-- I'm looking for a runtime expression evaluation engine for our business rule engine. A typical case is passing in a expression at runtime and engine return a bool/ ...
ToPascalCase() ?
sloan -
26 May 2006 4:01 PM - 4 messages
Ok, maybe thats not the best name for a method, but I'm looking for something along the lines of ToUpper() or ToLower() If I have an input like john smith or johN smitH ... Is there a way to cleanly make it ...
Using OracleType.Raw with C#
john.gillespie -
26 May 2006 3:58 PM - 3 messages
I am trying to insert a byte array into an Oracle DB. The type of the column in the DB is Raw The C# type I have is a 16 byte byte[] array. Whenever I try to do this I get the following error message: ...
Seeking Advice for Inter-Application Communication (VB6 to C#)
Joseph Geretz -
26 May 2006 3:57 PM - 6 messages
I need to communicate between two applications. The legacy application is in VB6. New development is in C#. Here's the scenario: The VB6 app will be pumping document files into a folder. We'll be writing a new (C#) class for this new feature. ...
Regex - Combining statements
Dave -
26 May 2006 3:21 PM - 2 messages
I am trying to create one RegEx pattern, something like, \s*(?<typename>\S*){1}\s*(?<varname>\S*){1}\s*[;|=]{1}\s*(?<varvalue>.*)[;]* out of the following 2 expressions and am not having much luck. ...
I have problem with word.dll
live -
26 May 2006 3:09 PM - 2 messages
Hi, when i try to open document word for reading and writing with C#, the program stop on this line [ Word.ApplicationClass WordApp = new Word.ApplicationClass(); ] And the program give me this error : 'DefaultDomain' : chargé 'c:\windows\microsoft.net\framework\v1.1.4322\mscorlib.dll', aucun symbole ...
Crystal Reports C#
JimD -
26 May 2006 3:04 PM - 2 messages
Does anyone have any feedback on the version of crystal reports that comes with VS 2005? I have always just rolled my own reports. However, one app I am working on has a little more complexity to the reports than normal and needs to ...
Regular Expression
Kevin -
26 May 2006 3:03 PM - 2 messages
Hi! I need to check for a correct syntax of a code that will be executed in the DB. I think thaht the regex is the best way. The code is like this: COUNTIF (([minmeasure] - [avgpreasure]) >= 300 and ([minmeasure] - ...
shouldn't if (this!=null) generate a warning?
cody -
26 May 2006 2:54 PM - 17 messages
Shouldn't if (this!=null) generate a compiler warning? in fact, it does not. ...
How to marshall an an array of strings between C# and a C++ dll?
Rajesh -
26 May 2006 2:36 PM - 2 messages
Hi All, I'm having problems marshalling an array of strings between C# and C++ C# [DllImport"ABC.dll", EntryPoint = "Func",ExactSpelling = false)] static extern void Func(out IntPtr num, ref IntPtr str); IntPtr strPtr = IntPtr.Zero; IntPtr num = IntPtr.Zero; ...
Debugging C# in Excel Add-In
pagates -
26 May 2006 2:35 PM - 2 messages
Hello All, [ This was originally posted in the microsoft.public.excel.programming newsgroup, but did not receive any replies ] We have developed a control in C# that is used in an Excel Add-In. It appears to work correctly, and the Add-In continues to function after using ...
Converting Between byte[] and String?
Matt F -
26 May 2006 2:20 PM - 10 messages
How does one convert between byte[] and string? MF ...
combobox datasource
Alejandro González -
26 May 2006 1:56 PM - 2 messages
Hi I have a combobox binded to a Datatable something like combo.DataSource = dt.DefaultView; combo.DisplayMember = "descField"; combo.ValueMember = "valueField"; it works fine. Now if I update the datatable I want the combo to reflect those changes. I'm trying to rebind the combo doing the same 3 lines but it doesn't work, ...
Is it possible to make empty datagridview rows visible?
Greg -
26 May 2006 1:22 PM - 3 messages
I have a datagridview that will not always have all its rows populated with data, but they all need to be visible. Currently, the grid is only showing rows with data. Is there a way to override this behaviour? Greg. ...
rename "Main Report" in Crystal Report Viewer
Dentharg -
26 May 2006 12:40 PM - 2 messages
Hi! How can I rename this tab in Crystal Report Viewer from "Main Report" to something else? Thanks! ...
Need help adding reference to Microsoft.Office.Core
Michael Russell -
26 May 2006 12:40 PM - 6 messages
Hi all, Using C#, I've created a simple wrapper class for using Excel. I have Office Pro 2003 installed on my devel machine. The wrapper class works great, reading and writing to/from Excel. To do this, I created a ...
Language improvement: Add scope to class member fields
WXS -
26 May 2006 12:07 PM - 8 messages
Vote for this idea if you like it here:
[link] ----------------------------------------------------------------------------- This is a consortium of ideas from another thread on topic ----------------------------------------------------------------------------- One of the big issues of organizing items within a class, is there are many ...
How to change disable color for Checkbox???
Matrixreloadedth -
26 May 2006 11:35 AM - 5 messages
How to change disable color of Checkbox??? I have a checkbox with forecolor in red but when i disable by set Enable properties to false forecolor is changed to gray color but i don't want it. how to make ...
Arrays of classes or structs, which is best
Macca -
26 May 2006 10:29 AM - 6 messages
Hi, I have a number of queue structures. I want to have multiple instances of these, i.e Instance 1 Instance 2 Instance 3 ... ...
DllImport and error handling
Torben Laursen -
26 May 2006 10:15 AM - 2 messages
I am calling a c++ dll using DllImport and is loading a number of functions. I all work fine but I need the code to be able to react to a case where the dll is missing or some of the functions are missing. ...
beginner: Windows form Q
scroopy -
26 May 2006 9:34 AM - 4 messages
I've created a form, MyForm, which Program creates an instance of in Main() like this: Application.Run(new MyForm()); but how do i get access to the instance of MyForm the app is using so i can use its methods? ...
How to limit just one C# application on windows xp?
Jason Huang -
26 May 2006 9:12 AM - 4 messages
Hi, In my C# windows form application project, I built MyApp.exe and installed on client's Windows XP. Is it possilbe to limit just one MyApp.exe runnig on client's PC? And how? Thanks for help. Jason ...
Insert an Image to a dataGridView column
Marc Solé -
26 May 2006 9:01 AM - 3 messages
Hello, I want to insert an image to a specific column of a dataGridWiew. I explain what I'm doing: - I define the ColumnType as a DataGridViewImageColumn. - I select the image (an icon of open folder). When I accept, in the design form, appears in the ImageColumn the typical ...
ASP.NET Generic template
Celine -
26 May 2006 8:52 AM - 2 messages
I still failed to pass DataTypes as parameters, as in the following 3 examples: this.mainObject = (mType)Session[mName]; this.mainObjectDt.AddMainObjectRow(this.DataSet_GUIDs_C1Row); mainObject.UpdateMainObject(ref DataSet_GUIDs_C1DataTable) ...
How to delete a file at a remote web location.
JohnSouth -
26 May 2006 7:17 AM - 4 messages
Hi I've a C# windows application that scans for XML files at a remote URL address and downloads them to the local machine when they arrive. I can do that OK with HttpWebRequest or WebClient. After they've been downloaded I want to delete them from the remote ...
Refreshing / requerying GridView control when page is submitted?
planetthoughtful -
26 May 2006 6:36 AM - 2 messages
Hi All, I have an ASP.NET page that is used to insert records into an SQL Server table (see previous post). I also have a GridView on the same page that displays the results of a query on the same table the records ...
Radio button and Dropdownlist in Datagrid Edit
jc -
26 May 2006 5:26 AM - 5 messages
I am using Datagrad template, while user click on Edit, one column will show radion buttons (Yes/No), the other column will show a Dropdownlist which should show different contents depend on the user selection on Radio button. How do I do that? I am stuck.. ...
Copying Files from Network to Local
Jerad Rose -
26 May 2006 3:47 AM - 3 messages
I have a fairly simple C# console app which copies files from a network folder to a local folder. When the app resides on my local C: drive, it runs just fine. However, when the app resides on a network drive, copying ...
Convert Type.
Anibal -
26 May 2006 2:38 AM - 5 messages
How do i convert an object variable to a Button one. I have the following code in VB wich works fine: Sub Button1Click(sender As Object, e As System.EventArgs) Dim btn as Button = Convert.ChangeType(sender,GetType(Button)) ...
Short Strings - Data Encryption/Decryption
Mythran -
25 May 2006 11:27 PM - 4 messages
I have googled and tested and tried and still I can't seem to implement a simple encryption/decryption console application. My goal is to create two methods. public byte[] Encrypt(string DataToEncrypt, string Key) { ... } public byte[] Decrypt(byte[] DataToDecrypt, string Key) ...
getting data through serial port
Padu -
25 May 2006 10:55 PM - 3 messages
Hi, I know that the System.IO.Ports.Serial port event for receiving data (DataReceived) happens on a secondary thread, and that if there will be any interaction of that data with the UI, it should be done through invoke. ...
Help with framework hell
Frank Rizzo -
25 May 2006 10:25 PM - 6 messages
I have a customer with my winform app that was written .net 1.1. It has worked fine till now. He has just installed .net framework 2.0 and all of a sudden the application is having all kinds of problems. ...
How can I add a referenced assemblie after compiling it?
Scythen -
25 May 2006 10:06 PM - 2 messages
I'm using the CSharpCodeProvider and I would like to compile one .cs file and then compile another cs file that references the first one. I know how to add registered assemblies to the compilerParameters but will that work for things that I compile? ...
calender control
Jessica Weiner -
25 May 2006 10:00 PM - 2 messages
I have an ASP .NET web application and I am using the calender control to display the month view and some events that are scheduled to happen during the month. Whenever the user selects a month, the page re-loads to show the ...
Cannot Create C# WebForm
james.curran@gmail.com -
25 May 2006 9:18 PM - 2 messages
I know this is a bit off-topic here, but I wasn't getting any help on the Visual Studio newsgroup. I've recently created a new VS2005 Web Project, by reading in an existing website (mostly ASP with some C# ASP.NET v1.1). I've seemed ...
TAPI
Steven Moschidis -
25 May 2006 8:57 PM - 5 messages
Hello there, I am a complete novice when it comes to TAPI. I have been asked to write a simple application that gets an incoming call and reads some of the information that comes with it (specifically the number being called). I don't need to answer the call or anything ...
Site to learn C#
Sh -
25 May 2006 8:31 PM - 7 messages
Hi All, Can someone tell me what would be a good site to start learning C#. It should be able to explain me bit by bit clearly. Thank you, Sh ...
Shell
fernando.a.gomez.f@gmail.com -
25 May 2006 8:20 PM - 3 messages
Hi, how can I execute another program from my C# app? Like ShellExecute... Thanks in advance. Regards, Fernando. ...
nant question?
Me -
25 May 2006 8:15 PM - 4 messages
I have a simple solution file which I am looking to build using Nant However this is written in .net 2.0 and when I try building this .net 2.0, I get an error message saying "Microsoft Visual Studio.NET 2005 ...
Link for C interrupts
Srinivas Reddy Thamma -
25 May 2006 7:47 PM - 2 messages
Hi, I would like to know few links that would be helpful for me to learn Interrupt programming in C language..... Thanks in advance. Srinivas ...
Need direction to write certification in C#
Raj -
25 May 2006 7:24 PM - 4 messages
Hi All, Currently, i'm working in VC++. We are having a migration project in ..net. I'm very much interested to work in C# and planning to write certification program in web applications. I'm not clear to select ...
Win Form - Data Grid Question.
DBC User -
25 May 2006 6:38 PM - 4 messages
I have a dataset and I want to add this to a datagrid and then I want to add 3 more columns to the data grid, based on values from existing dataset. How can I do this in WinForm?? I see all the examples are for ...
Assembly.GetReferencedAssemblies
Mythran -
25 May 2006 6:26 PM - 4 messages
The Assembly.GetReferencedAssemblies method doesn't return all assemblies referenced by a project. I assume this is because of optimizations made at compile time that only include the reference to those assemblies that are actually used in the output assembly, and excludes referenced assemblies ...
Selecting data from a DataTable into a new table in a DB
Stropher -
25 May 2006 6:07 PM - 4 messages
If I have a table (t1) in a database of SQL-Server and I want to select some rows into a new table (t2), I do the following: select co1, col2, col3 into t2 from t1 //t2 wird be created automatically with the three ...
Multiple projects, Single source file?
Paul Cheetham -
25 May 2006 6:04 PM - 14 messages
Hi, I have two projects where I want to use the same source file in each project. If I add the file to each project, then a local copy is made. I want to be able to have a single source file used by both projects so ...
BeginInvoke vs QueueUserWorkItem
RWF -
25 May 2006 5:48 PM - 4 messages
I have a windows form of which I will be saving the user's selections from DropDownBoxes, CheckBoxes, and RadioButtons. Once the choices are collected, I really will have no use for any of the controls. Is there a benefit of ...
Possible to prevent direct navigation to a page?
Ben -
25 May 2006 5:05 PM - 4 messages
Hello I am in the final stages of developing my asp.net app and have a question. The app im creating has two frames, one being a menu and the other showing the detail. I would like to prevent the user for typing in direct addresses without ...
Printer message
dave -
25 May 2006 4:48 PM - 5 messages
When we using printer it always display message box with caption: "Printing" and text in the box: "Page 1 of the document" Is there way to get rid of this message box ? ...
Step into debugger at next line
MichaelCombs -
25 May 2006 4:21 PM - 5 messages
I'm looking for a way to step into code at the next line of execution in the debugger. Back in the day you could do this in VB by doing something like Ctrl-Break to pause te debugger and then hit F8 (step ...
Form based security using main web page with Frames
Andres Romero -
25 May 2006 4:19 PM - 2 messages
I'm using the form-based authentication in my asp.net project, all works fine. My logon page only has the user and password controls and some images, when the user is loged in the page, is redirected to my main application web ...
Formatting a datetime
Eric Stott -
25 May 2006 3:53 PM - 4 messages
I need to take System.DateTime.Now and have the resulting text be in the following format: yyyyMMddhh24mmsss I am using System.Convert.ToString(System.DateTime.Now), but I need to format it correctly, what is the easiest way to accomplish this? ...
C# stl
Harold Howe -
25 May 2006 3:23 PM - 14 messages
Having developed in C++ prior to learning C#, I have always felt like ..NET was missing something. Specifically, something that fills the role of the STL. With that in mind, I have launched an open source project to create an ...
On reboot of machine, something is crashing .Net.
UJ -
25 May 2006 3:12 PM - 5 messages
I've got 5 programs that I wrote that are all in the startup group. When you reboot the machine, you get an error saying Common Language Runtime Debugging Services Application has generated an exception that could not ...
Wrapper class
Dave Moran -
25 May 2006 3:09 PM - 15 messages
This may be a trivial question, but it's stumping me. public class A { } public class B : A { B(A a) { // I want this class to reference 'a' and not copy it. ...
datagridview question
DBC User -
25 May 2006 3:02 PM - 3 messages
Couple of questions 1. I have a dataset with 10 columns, I want to display only 5 columns from this dataset in the datagridview. How can I do this? 2. I want to change the caption of each of the 5 columns. ...
enumerations
scroopy -
25 May 2006 2:25 PM - 3 messages
Hi, I'm an experienced C++ programmer but I'm new to C#. Why can't I use enumerations like the following? class CMyClass { private enum dimension:int{eWidth = 0, eHeight=1} public int getWidth() { int[,] array = new int[5,5]; ...
get_Range function throws an exception
Mikil -
25 May 2006 2:09 PM - 6 messages
I am communicating with Excel Interop dll using c#. The get_Range function throws an exception if the parameters are invalid. For e.g. get_Range("Mikil", Type.Missing); will crash if the "Mikil" named range is not present. Why the does the function crash instead of returning "null"? ...
minimizing console window on startup
Scott -
25 May 2006 2:06 PM - 6 messages
Hi everyone, I have a c# console app that when run through an autorun.inf file, launches a web page from the CD. It works just fine but I would like the console window minimized on startup. Currently, the console window displays briefly, ...
C# equivalent interface mapping
Gavin Sullivan -
25 May 2006 1:28 PM - 3 messages
How would you (if you can?) code the following VB.Net in C#? public interface IDummy sub SomeMethod() end interface public class Dummy implements IDummy public sub DifferentName() implements IDummy.SomeMethod ...
Cast string to DateTime
mgonzales3 -
25 May 2006 1:17 PM - 4 messages
I have an object string property that is a string. I want to convert to a DateTime. Any ideas? DateTime eventDt = ((DateTime)mEvent.EventDt).Date; Error 1 Cannot convert type 'string' to 'System.DateTime' ...
Internal representation of hashcode
archana -
25 May 2006 11:39 AM - 10 messages
Hi all, I have one question regarding hashing in .net I have two string containing same data. When i see hashcode by calling gethascode, i am getting same value. I want to know how internally strings are storing using hasing. ...
Unzip problem with images
sham -
25 May 2006 11:36 AM - 2 messages
Hi to all, I am using ICSharpCode.SharpZipLib.Zip. My zip file contains a number of images which when they get unzipped only contain a partial image. The filesize looks correct. The unziping is done below it is not clear where the problem is. For int ...
Dynamic connectionstring with Dataset Wizards ? (VS2005)
Sagaert Johan -
25 May 2006 11:19 AM - 3 messages
Hi The Dataset wizard in VS2005 generates a setting entry for the connectionstring. The connectionstring is in the settings file. Setting the property to a dynamic value by writing to the settings does not work since it is read only.. ...
Dynamically Load User Control
dauphian@gmail.com -
25 May 2006 10:58 AM - 4 messages
Greetings, I have a user control, that I will need to display on a specific page based on the number of records in database: I have to query a site table to get the number of entries as well as a ...
ado.net unbound totals column
Greg -
25 May 2006 10:40 AM - 3 messages
I was wondering if there is a simple way to present a totals column in a bound datagrid where the totals aren't actually persisted (in my case to an xml file). Ideally, when I populate the datagrid using the ...
Tracking user activity
Jesper -
25 May 2006 10:13 AM - 3 messages
Hi, How do you detect if there is (or not) user activity on a computer. Probably the same technique as used in the screen saver. Can I subscribe to some OS event. Regards Jesper, Denmark. ...
Enums and IEquatable<T>
Marc Gravell -
25 May 2006 9:48 AM - 12 messages
This one stumped me while refactoring some code to use generics... Suppose I declare an enum MyEnum {...} Is there a good reason why MyEnum doesn't implement IEquatable<MyEnum> ? Of course, I can cast a MyEnum instance down to the int / short whatever ...
datagridview
Frank -
25 May 2006 9:20 AM - 3 messages
Hello, in a dgview I don't want the row selector column visible, how can I do that? I mean the column before the first datacolumn. Thanks Frank *** Posted via a free Usenet account from [link] *** ...
_–_automatically.
Niron kag -
25 May 2006 8:29 AM - 2 messages
Hello! I want to run a specific program every day or month - in specific time automatically. Can you tell me please what is the best way to do it? Thank U! ...
How to view the directory information of the neighbor computer
zeeway -
25 May 2006 8:21 AM - 11 messages
hi,everyone I have a question about viewing the directory information of the remote computer in the local network. I used the C# class: OpenFileDialog which can not browse other computer's directory information. How can I view the whole ...
Number of Open Database Connections
Asim Qazi -
25 May 2006 7:14 AM - 2 messages
Hi i want to get the number of open databse connections in my application, its an asp.net application, is there any workaround for it ? any help would be appriciateable Regards, aSIM. ...
DBNull issue
DG -
25 May 2006 7:12 AM - 4 messages
I have my object containing datarow and exposing properties: e.g.: public int Price { get{ return _myRow.Price; } set{ ...
Example of basic data output using C# in ASP.NET?
planetthoughtful -
25 May 2006 6:37 AM - 4 messages
Hi All, I'm curious to know if anyone can point me to some basic but complete examples of C# ASP.NET code that retrieves and displays records from an SQL Server table? I've been experimenting with Visual Web Developer 2005 Express, and I ...
ASP.NET GridView
Jessica Weiner -
25 May 2006 5:19 AM - 2 messages
I have a web calendar application which retrieves events from a SQL database. These events are real-life events (group meetings and workshops etc). I want the ability to create an automatic 5x7 table representing a month (regular calendar format). Fields associated with the table ...
Is it possible to use regular expressions inside of an xpath statement executed by System.Xml.XmlDoc
Next »
|
|||||||||||||||||||||||