|
ms
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Visual C# .NETmicrosoft.public.dotnet.languages.csharp
Change web proxy method attribute at run time
Jeff User -
22 Oct 2005 11:23 PM - 3 messages
Here is what I have and what I would like to do: I am building a web client application. I add a web reference to some web service server to my project so that now I can call the web service. ...
formatting text in textbox as currency question
Gen -
22 Oct 2005 11:18 PM - 3 messages
I have a simple program that takes 3 values (balance, interest, desired payment) and calculates how many months to pay the balance, and each month's accrued interest, and remaining balance. However I do not know how to display the results to 2 decimal places. ...
HOWTO: Dial Phone Number and Play WAV File
Dan Sikorsky -
22 Oct 2005 10:21 PM - 3 messages
How can you dial a phone number, wait for the receiver to pick up, and play a .wav file if the call was picked up? ...
Form BindingContext object indexer problem?
D. Yates -
22 Oct 2005 9:39 PM - 2 messages
Hi, I retrieved the employee table from the Pubs database into a single dataset called, dataSet12. I dropped two textbox controls and a datagrid control onto the same form and bound the controls at design time to dataSet12's ...
function to match parenthesis '(' and ')'
Steve Kirsch -
22 Oct 2005 8:52 PM - 39 messages
I need a simple function that can match the number of beginning and ending parenthesis in an expression. Here's a sample expression: ( ( "john" ) and ( "jane" ) and ( "joe" ) ) Does .NET have something built-in that can accomplish this, or do I have to ...
Close all child forms
Bruno Rodrigues -
22 Oct 2005 7:48 PM - 3 messages
Hey, it's me again. Is there a way to, when closing a form, close also all forms opened inside this one? I'm not talking about MDI. Let's say I create and open three forms in Form1. When I close Form1, and ...
Form refresh
Bruno Rodrigues -
22 Oct 2005 7:44 PM - 4 messages
Hi all I have an application in wich you can insert a new costumer, and like in Microsoft Outlook 2003, and option "Save and New". To deal this, I have an event in the edit form, that is raised when the user ...
Do I really need onShutdown()
knf -
22 Oct 2005 7:27 PM - 8 messages
For a C# windows service, it seems like the best practice is to only implement OnStop(). Is that correct? Do I only need OnShutdown if I need to take different actions when the server is shutdown? When the server is shutdown and it first tries to stop all the processes, ...
Performance impact?
Oscar Thornell -
22 Oct 2005 4:31 PM - 5 messages
Hi! I am wondering about the cost of the following code snippet.. // GenericIdentity identity = (GenericIdentity)System.Threading.Thread.CurrentPrincipal.Identity; Thanks /Oscar ...
string routines and code libraries
zoro -
22 Oct 2005 1:58 PM - 30 messages
Hi, I am new to C#, coming from Delphi. In Delphi, I am using a 3rd party string handling library that includes some very useful string functions, in particular I'm interested in BEFORE (return substring before a pattern), AFTER (return substring after a pattern), and ...
Q: Saving collections.
Martin Arvidsson -
22 Oct 2005 1:58 PM - 4 messages
Hi! Got a question, don't know if it's the right forum, but i will give it a try. I am building a CRM system for a customer, who has special needs. On a task i want to be able to bind multiple contacts, like in outlook. ...
Rich GUI in C#
TomHL -
22 Oct 2005 10:35 AM - 8 messages
hi, how can I create a very rich gui like: "Windows XP Media Center Edition" for my application? what is the technology/ies that I need to learn (GDI+ Or DirectX Or..)? Where do I start? How developers can create this type of menu? ...
DateTimePicker..
Jacek Jurkowski -
22 Oct 2005 9:50 AM - 5 messages
.... the minimum date of DateTimePicker is 1753-01-01. How to make DateTime to do not show nothing in its text if this date is the value? I have a form with a field LastLogonDate. If user hasn't logon yet this date should ...
Querying in DataTable
Curious -
22 Oct 2005 8:55 AM - 7 messages
Hi, I have a DataTable with three columns (2 int, and 1 string). Now I would like a query that return the total number of different integers in one of the interger columns. For example Name Age Class A 12 4 ...
how to display combobox contents on MouseEnter/MouseHover events?
Arif -
22 Oct 2005 8:00 AM - 5 messages
how to display combobox contents(the same function that occurs when Mouse is pressed on a combobox but) on MouseEnter/MouseHover events? arif. ...
Replacing String Using Regular Expression
lucky -
22 Oct 2005 7:12 AM - 12 messages
hi, i got file which contains "----------------" in a line. the line only contains this data as a saperation. using regular expression i want to i detify the line contains that data and replace with spaces. if anyone has any idea,solution or link plz do share with me. ...
how to persist keyboard navigation indicators
Stefan -
22 Oct 2005 5:32 AM - 2 messages
I'd like to display the keyboard navigation indicators in my C# application without the user having to press the Alt key and regardless of the machines global setting (Hide keyboard navigation indicators until I use the ALT key)... Is there a way to programatically turn on/off keyboard navigation ...
Configuration File
poifull -
22 Oct 2005 5:30 AM - 5 messages
If I made changes to the configuration file when the executable is running, it seems like the changes are not detected. I've found the same problem with ConfigurationSettings.GetConfig and ConfigurationSettings.AppSettings. Is there any way aound it? ...
about String convert XmlReader
dongxm -
22 Oct 2005 3:24 AM - 2 messages
XslTransform xslt = new XslTransform(); xslt.Load(myXmlReader) the myXmlReader is a XmlReader,but i have String of xsl file's content... how to do,String convert XmlReader? thanks ...
how to over ride operator []?
Richard Lewis Haggard -
22 Oct 2005 2:36 AM - 6 messages
What is the syntax to over ride the array index operator '[]'? I want to derive a class from CollectionBase and have it encapsulate an array of another class I'm working with. Among other things, it needs to over ride the [] operator but I don't seem to be able to get the syntax ...
Instantiating from an Interface?
Scott Johnson -
22 Oct 2005 1:15 AM - 6 messages
I thought interfaces have no implementation so how can I create a DataReader from an IDataReader Interface and use it similarly to how I would use an OleDBDataReader? How is it that the block of code below actually functions? Does IDataReader have an implementation or not? Thanks in advance. ...
"Out of Memory" on Graphics.FromImage()
yotaxp -
22 Oct 2005 12:35 AM - 3 messages
Hello, all. This line has been pestering me, and I can't seem to figure out why the problem is occuring. I'm trying to paint a GraphicsPath onto a Bitmap, using the Graphics class, but it always seems to crash, and throw the ...
Converting String to Enum Value
Robert W. -
21 Oct 2005 11:10 PM - 3 messages
In a posting earlier this year I found a simple approach to convert a string to a particular Enum value. The one line solution looked like this: MyEnum ConvertedString = (MyEnum) Enum.Parse(typeof(MyEnum), MyString, true); This is fine if one wants to hardcode each and every Enum in an If-ElseIf or ...
Class method doesn't seem to work
tshad -
21 Oct 2005 10:37 PM - 3 messages
I have a class: ******************************************* public class DecimalType { private decimal first = 0; //original data private decimal data = 0; //current data ...
Exception Handling Question: Event Logging
ETL -
21 Oct 2005 10:01 PM - 3 messages
Hi, I think this question has an easy answer but I can't seem to find anything online that lists best practices for my problem. I have a C# app that uses an exception handling tree similar to the following. ...
vb to cs converter?
TheMadHatter -
21 Oct 2005 9:39 PM - 3 messages
does anybody know of a half decent converter????? I tried the "VBConversions VB.Net to C# Converter" with less than satisfactory results, and an unnecisary hole in the bank. ...
Trap Key Press Events
Rich -
21 Oct 2005 8:51 PM - 5 messages
Hi, I would like to setup some events tied to the function keys but I'm not sure where to start; any help would be greatly appreciated. ...
class inaccessible
tshad -
21 Oct 2005 8:17 PM - 4 messages
I am getting a message for my objects that say: testNulls.cs(13,33): error CS0122: 'FtsData.IntType.IntType()' is inaccessible due to its protection level I have a class calling objects out of another class, but same namespace. ...
How to put sorting arrow in List View header?
Dino Buljubasic -
21 Oct 2005 8:01 PM - 5 messages
A simple way to do this is VB.NET is like this: lvwIndex.Columns.Item(e.Column).Text = _ strColHeaderNOArrow & " " & ChrW(&H25B2) I tried to do the same in C# like: lvwProvinces.Columns[e.Column].Text = ...
Persisiting the call stack / heap etc.
Anders K. Jacobsen [DK] -
21 Oct 2005 7:48 PM - 6 messages
Hey. Is it possible somehow to persist the call stack, heap, program data...everything. Then at a later time load it again and continue work. The idea is actually to send it all over network in a pervasive research project, so that one program can be used on one computer and "instantly" ...
There is an error in XML document
Jeff -
21 Oct 2005 7:26 PM - 5 messages
Hello I am creating a web client in c#. I use the "Add a Web Reference" wizard to read a WSDL file, then I simply call the method for the remote service. I get the floowing error returned when I make the call.: ...
c# - Automatically displaying SubReports in New Tab Pages
Master.Shankar -
21 Oct 2005 7:16 PM - 3 messages
Hello Friends, I am working on a C# windows Application which generates a crystal report . There is a subreport embedded in the main report . I want this subreport to open automatically in a new tab when the main report is ...
Turn Caps Lock On
Mike L -
21 Oct 2005 7:10 PM - 4 messages
How do I turn Caps Lock on, when my form opens? ...
Which item did I right-click in a multiselect listview
Dave -
21 Oct 2005 6:35 PM - 3 messages
I have a multiselect listview with an associated context menu. If the user selects several items in the list and then right-clicks one of them is it possible to tell in the handler which item was right-clicked? ...
short can't arithmetic with constant?
sd -
21 Oct 2005 5:27 PM - 5 messages
short Total=11; short Index=Total-1; will occurs the following error: error CS0266: Cannot implicitly convert type 'int' to 'short'. An explicit conversion exists (are you missing a cast?) and this is correct: short Index=(short)(Total-1); A bit ugly... ...
Avoiding Identity Impersonate
John Smith -
21 Oct 2005 4:47 PM - 5 messages
Hey folks, I'm trying to use the HttpWebResponse object in an ASP application, but I get a 401 unauthorized error on this line: HttpWebResponse response = (HttpWebResponse)webRequest.GetResponse(); I have: identity impersonate = true authentication mode = windows ...
Run COM+ app from asp.net
James Geurts -
21 Oct 2005 4:45 PM - 7 messages
Hi all, I hope this is the correct group to post this to. If not, I apologize. I have an asp.net (c#) project that needs to talk to a COM object. the COM object is actually an .exe that requires elevated permissions to execute. ...
Select all the text in a textbox on enter
Mike L -
21 Oct 2005 4:10 PM - 2 messages
On enter of my Street Text box, I want all the text in the text box to be selected. At first it works, but if you click with the mouse pointer in the textbox, and then tab out of the text box, then tab back in, the cursor is ...
To Clone or Not To Clone?
Brian Keating -
21 Oct 2005 4:07 PM - 5 messages
Hi there, Consider this from MSDN *Notes to Inheritors When you derive from DataGridViewCheckBoxCell and add new properties to the derived class, be sure to override the Clone method to copy the new properties during cloning operations. You should also call the ...
How do you Pass an array of Objects from C# to VB6 (interop)
Williams.sam -
21 Oct 2005 3:07 PM - 2 messages
I am wondering if there is a way (maybe via Marshalling ) to pass an array of Objects of some C# defined class to VB. I am already launching a C# form from VB with simple call backs using a basic interface. Now what I need ...
wmf files not conveting correctly
Ian Jagger -
21 Oct 2005 2:18 PM - 4 messages
Hi, I am trying to convert a group of wmf files to gif files. Easy you'd think? I'm using the following code: Image img = Image.FromFile (this.tbxFilename.Text); string filename = this.tbxFilename.Text.Replace ("wmf", "gif"); img.Save (filename, ImageFormat.Gif); ...
FileSystemWatcher Question
Krish -
21 Oct 2005 2:16 PM - 4 messages
Hello Gurus, Pardon me for asking dumb question... I wrote small csharp program to watch a folder for any created text file... When i try to run through debugger and stop after " watcher.EnableRaisingEvents = true;", i manually drag and drop windows text ...
how to get more detail while enum the network adapters?
Ari -
21 Oct 2005 1:33 PM - 3 messages
hi all, I try to use the shell32 to enum the network adapters that installed on my computer, it works, but I want to get more details about them, such as the device's type, device's name ..., how shall I do else? ...
Custom Mouse Cursor
Tim -
21 Oct 2005 1:16 PM - 2 messages
Hi, I would like to create a custom mouse cursor for my print preview page. I want to use a bitmap of a magnifiying glass with a plus in it. Pretty standard stuff. How do I change the cursor? I found the code below but I just get the default mouse cursor dragging ...
do web.config permanent in a Setup Project
EdwinSlyfingster -
21 Oct 2005 1:07 PM - 2 messages
How can I do to web.config to be permanent(Wont be unistalled)? thanks. ...
Random No generation problems
Roy Gourgi -
21 Oct 2005 12:40 PM - 14 messages
Hi, How do I invoke the random number generator that was suggested by a few people. Ideally, what I would like to do is to instantiate the random no. generator with a seed value that does not repeat the values and that can be ...
Changing the background color of tabcontrol
Iconoclast -
21 Oct 2005 12:09 PM - 2 messages
Hello friends, I am new to Vs.net and C# development environment... I wanted to know, how to change the background color of tabcontrol (which is set bydefault to systemcolor.control).. i want to set it to something like a khaki or steel ...
Problems running a .net exe from a network drive.
Jesper -
21 Oct 2005 12:07 PM - 2 messages
Hi, I am experiencing some problems running a .net exe placed on a network drive. File IO operations and access to reg db results in access denied exceptions. If I run the same program from a location locally on my machine I ...
How to extend an enum
ssg31415926 -
21 Oct 2005 10:35 AM - 4 messages
I have an abstract base class with an enum which is passed into a method. I want my derived classes to be able to add new values to the enum without having to redefine it and I want to be able to pass them ...
OpenFileDialog: selecting more than 200 files
Olaf Baeyens -
21 Oct 2005 9:48 AM - 2 messages
In .NET v1.1 I am trying to select multiple files using OpenFileDialog like this OpenFileDialog openFileDialog=new OpenFileDialog(); openFileDialog.Multiselect=true; i f(openFileDialog.ShowDialog() == DialogResult.OK) { ... } Now I discover that there is a hardcoded limit of 200 files. ...
resize window - lock
piotrek -
21 Oct 2005 9:27 AM - 4 messages
Is there a posibility to totally lock posibility to resize window? And to force application not to display a both sided arrow that allows user to resize window? Even when i set maximum and minumum window size the arrow is still visible. ...
Checking if certain processes are running, on a certain machine
Paul Aspinall -
21 Oct 2005 8:52 AM - 4 messages
Hi I want to write a piece of code, that will check if a particular service is running on a particular machine. Can someone give me a pointer as to which classes would be useful?? Any sample code would be appreciated ...
Problems with nant
Ireneus Broncel -
21 Oct 2005 8:16 AM - 3 messages
Maybe I am wrong here, but I have a problem with nant that I don't unterstand, I'm trying to compile an example ConsoleApp Project with net-1.1, and get the errror: log4net:ERROR LogLog: Exception while reading ConfigurationSettings. ...
how cud I get the content of word document programmatically?<eom>
B Deepak -
21 Oct 2005 8:13 AM - 2 messages
...
Encription is too long - Advice please
Washington -
21 Oct 2005 7:44 AM - 6 messages
Hi, I am using MD5, SHA1, SHA256, SHA384, SHA512 and results are: I am using Encryption data with salt example ([link]) Everything works and results are: MD5 : G+bfg1UoPgaSVABFpLFZzxQ+h6WZkw== ...
Internal Server Error when creating web application
unni12 -
21 Oct 2005 7:41 AM - 2 messages
Hi When i try to create one web application project i got internal server error. How can i overcome this. Expecting your reply Thanks UK ...
Observer pattern in dotNet 2.0
Allan Ebdrup -
21 Oct 2005 7:32 AM - 4 messages
Is it possible to listen to when a constructor is called or when a property is set on a object, without having to implement changes in the observed objects class, in dotNet 2.0? It would be very effective for implementing a ...
ormapper where clause failed for datetime datatype if UI and sqlserver has different culture
virendra.chandra -
21 Oct 2005 7:21 AM - 2 messages
hi guys, this is virendra. I am in big trouble to handle date situation using where clause. i am using ormapper. if the sqlserver and application server has different date format(different culture) then i am getting a error. datetime overflow. ...
branch prediction and C#???
news.microsoft.com -
21 Oct 2005 7:02 AM - 5 messages
In my engineering class we're discussing microprocessor branch predictors. Is it possible to write a Windows application (anything whatsoever) that would allow me see how branch prediction is done in C# or if it implements some type of Branch Target Buffer? ...
Creating a crystal report from a dataset
Jo Segers -
21 Oct 2005 6:39 AM - 3 messages
Hi, How can I create a crystal report from a dataset? I tried to do it like this: this.reportDocument.Load(@"C:\CrystalReportSequenceKetting.rpt"); this.reportDocument.SetDataSource(ds); But then the sql I used to design the report is used for the reportdata. ...
FFT, I seeking source code for waveform tranformation into FFT spectrum
riscy -
21 Oct 2005 5:52 AM - 3 messages
Has anyone know good webpage or book covering C# code in transformation of real time or sampled time data into FFT spectrum display (using GDI+). I like to learn FFT processing in abc way...can anyone point me good book or student course booklet. ...
CallConvCdecl class
apm -
21 Oct 2005 5:20 AM - 4 messages
How can the CallConvCdecl class be used? MSDN says it is for compiler writers. Can a mere mortal use it? ...
How is something like the interface to itunes created?
D -
21 Oct 2005 5:14 AM - 3 messages
Was just curious if anyone knew how they created the cool interface ( I'm just talking about the stainless steel looking one with round butttons). Looks like it could be .net thing. thanks ...
getting names of all the textbox on the form
jack -
21 Oct 2005 5:08 AM - 7 messages
Hi, I m beginner. i wanted to know how to get names of all the textboxes oded on the form object Based on that i would then flash the message to the user about the particular textbox been blank. and fill in the appropriate details. ...
plse let me know good books for Design Patterns in C#<eom>
B Deepak -
21 Oct 2005 5:07 AM - 3 messages
...
Binary Reader
nick.stefanov@gmail.com -
21 Oct 2005 3:49 AM - 8 messages
Ok having another issue with binary reader. My file contains values 08 8A . When I read ReadBytes(2) what gets stored in the array is [0] = 8 and [1] = 138. How do I convert that to 2186 integer value? ...
Help with SHFILEOPSTRUCT + file deletion
Stefan -
21 Oct 2005 2:23 AM - 3 messages
Hi, I cannot get the code below to work (C#). I'm trying to send a file to the recycling bin, and I keep getting the following error: "Cannot delete file: Cannot read from the source file or disk." ...
Creating a dynamic Crytsal Report
puunda -
21 Oct 2005 12:49 AM - 4 messages
Hi, Hope I've posted to the right groups. I'm trying create a Crystal Report for the first time using C# (novice at that as well). The CR I can handel. What I want to do is to have a ...
Parameterless Constructors - Best Practices?
Robert Zurer -
21 Oct 2005 12:29 AM - 5 messages
Hello All, Is it considered a best practice to always write a parameterless constructor for any object - just in case? I'm not sure. I want my object to have all it absolutely requires to function in the world at birth. Defining a parameterless constructor allows it to be ...
Why the label.text is not showing up?
Alpha -
20 Oct 2005 11:56 PM - 2 messages
I'm working with a Window based application. I have a small form with just 1 label control which is set as Enabled and Visible. Its text is in black telling users to please wait while application is updating DB. However, the ...
Is this. needed?
Brett Romero -
20 Oct 2005 10:45 PM - 9 messages
I'd like to know when exactly the this. keyword is needed. For example: public class Combination { private long n = 0; private long k = 0; private long[] data = null; public Combination(long n, long k) ...
arithmetic overflow
tshad -
20 Oct 2005 10:34 PM - 4 messages
I have the following that works: public static void GetValueFromDbObject(object dbObjectValue, ref decimal destination) { destination = 2323; return; } This gives me an arithmetic overflow: public static void GetValueFromDbObject(object dbObjectValue, ref decimal ...
for loop
Arjen -
20 Oct 2005 10:02 PM - 16 messages
Hi, I'm using multiple times the for loop in my application. All times I start with int i = 0. VS says that I can only use the i once. So, now I'm using i, j, h and x... is there a better way?... I like to use ...
Delegate
apm -
20 Oct 2005 9:13 PM - 4 messages
All: Is it possible to replace the delegate with a function pointer that will use the cdecl calling convention? Thanks. ...
Which site is a port connected to ?
Craig Lister -
20 Oct 2005 8:58 PM - 8 messages
Is it at all possible to monitor a port, and when there is a connection made to a remote server by some other 3rd party app, my app could report that the socket is connected, and can report the IP address that the port is ...
delegate returning string how do i capture it?
Raj Chudasama -
20 Oct 2005 8:42 PM - 4 messages
i have the following public event ButtonPressedHandler InputButtonPressed; public delegate string ButtonPressedHandler(string Value); i am trying to capture that string how can i do this? i am basically trying to pass a variable from one form to another when OK ...
How to tell if your C# code is running in debug mode (debug compil
Max M. Power -
20 Oct 2005 8:37 PM - 4 messages
How can I tell if my C# code is running in debug mode? I need to execute some extra code only when my project has been compiled in debug mode. In release mode I don't want to execute this extra code. ...
Multiple Heirarchical List Datasource in DataGrid
BobforeApples -
20 Oct 2005 8:01 PM - 4 messages
Hi All, I was trying to apply databinding to a custom collection as in the MSDN Magazine article found in the August, 2005 issue. After converting the code in the article to C# and applying it to an existing set of classes, I tried ...
streaming random filetypes from .aspx
Daniel -
20 Oct 2005 7:31 PM - 2 messages
streaming random filetypes from .aspx how to stream a file from inside a .aspx? e.g. so one could go href="./foo.aspx?file=bar.mp3" or href="./foo.aspx?foo.dat" etc. preferabley i would like all file types to open with "save as" when href clicked ...
Community Code Offering: Singular/Plural Phrase Constructor
Robert W. -
20 Oct 2005 7:27 PM - 3 messages
In my current work I noticed that I have several circumstances where I need to create little if/else constructs to handle the phrasing of a message. This typically involves a ternary situation like this example illustrates: 0 files were downloaded (or No files were downloaded) ...
detecting sort order
melanieab -
20 Oct 2005 7:27 PM - 2 messages
Hi, I'm not working with anything web-related, all that I have is a datagrid, a dataset, and a datatable. I programatically sort whichever column when I need to. Now I'd like to be able to detect the order in which a column is ...
ArrayList blues...
Tim -
20 Oct 2005 6:19 PM - 6 messages
Hi, I am creating a printing engine and I am cycling though my recordset. Each item gets added to an ArrayList. Once there are more items that will fit on the page I add the item ArrayList to a pages ArrayList. Seems pretty simple ...
Comparison question
tshad -
20 Oct 2005 5:43 PM - 22 messages
I tried to do this: public static void GetValueFromDbObject(object dbObjectValue, ref decimal destination) { destination = dbObjectValue == DBNull.Value || "" ? decimal.MaxValue : (decimal)dbObjectValue; } Where I am just trying to say if dbObjectValue is either equal to a ...
How do i exit a C#?
Random Task -
20 Oct 2005 5:32 PM - 5 messages
I am looking for a call equivalent to: exit (111); What do i use in c#? Jim ...
What's the best way/control to use for this data problem?
vbMark -
20 Oct 2005 5:09 PM - 2 messages
Greetings, I have text files that have: - one record per row. - no header. - no delimiters. Columns are know by the number of characters per field. For example: 3388br445bob smith 122332324 ...
Asp.net and Frames
smilly -
20 Oct 2005 5:09 PM - 4 messages
how can I reference frame objects to a .net object meaning how can I search for the frame and do things to that frame object ...
initializing array of Array objects
Steve -
20 Oct 2005 4:46 PM - 11 messages
this code: private Array[] m_arrays = new Array[3]; results in an array of 3 null Array objects. What am I missing? ...
try-catch - but a catch which catches everything
Benny -
20 Oct 2005 4:42 PM - 14 messages
Hi, I have something like this: try { // some code } catch // note - i am catching everything now { // do something ...
Extracting DataTypes for propeties from a class
Curious -
20 Oct 2005 4:29 PM - 5 messages
Hi, I have a class with properties and each property has specific datatypes. Is it possible to extract the datatypes of each property found in a class? I would like to extract these datatypes so that I can build a dataset ...
Finding Most Recently Modified File
mosdef_underground -
20 Oct 2005 4:24 PM - 4 messages
How can I use C# to find the most recently modified file in a folder? As you can probably guess, I am just a beginner, so any help would be appreciated. Thanks! ...
Outlook-Like Calendar
Renzo -
20 Oct 2005 3:48 PM - 2 messages
Anybody knows if there's an already-made control which looks like Outlook's Calendar ? I mean that vertical control which has the hours at the left (9 Am, 10 Am, 11 Am). I've been told to work on a Scheduling System and have ...
Attribute to mark variable as tooltip during debug?
William Sullivan -
20 Oct 2005 3:47 PM - 2 messages
I was wondering... Are there attributes you can use to mark accessors/variables that will identify them as to be shown when hovering over an instance of the containing object during debugging? As in, if you have a class with lots of different instance variables, but you are interested in ...
calling a form from a form
Renzo -
20 Oct 2005 3:42 PM - 3 messages
hi ! i've recently begun developing in c# and i'd like to know what's the best way of calling a form from an already instanced form ? I have done a "Login" form which I run in the Main() using "Application.Run(...)", now when ...
API call back error from deferent Thread
[Yosi] -
20 Oct 2005 3:33 PM - 2 messages
I have an API, with a call back error definition. API receive reference to C# output message function (write to text box using Invoke since I use thread). Every thing is working fine API can write a message to my GUI textbox, but ...
Timezone and time API problem (.net bug!?)
Raj Chudasama -
20 Oct 2005 3:31 PM - 2 messages
I have the following code for a clock in my gui. Everything works fine EXCEPT the following line when the TimeZone is changed in the windows. string tz = TimeZone.CurrentTimeZone.StandardName; It will not pick the changed timezone but it does pick up time change due to timezone change. ...
VS2003: Issue with Bound, Sorted ComboBox
pagates -
20 Oct 2005 3:29 PM - 2 messages
Hello All, I seem to have found a problem using a ComboBox. If you bind a ComboBox to an ArrayList of classes, setting the DisplayMember to one field in the class and the ValueMember to another, and the ComboBox is sorted, then the bounded ...
Read Text File and split them to individual text file
Krish -
20 Oct 2005 3:25 PM - 4 messages
I have requirement, that i get one big chunk of text file. This text file will have has information, that on finding "****End of Information****", i have to split them individual text file with our naming standard (unique id) and create them designated folder. ...
Control.BeginInvoke vs. delegate.BeginInvoke
Valerie Hough -
20 Oct 2005 3:10 PM - 7 messages
I'm not entirely sure what the difference is between these two approaches. In order to avoid reentrant code, I was using Control.BeginInvoke in my UI to cause an asynchronous activity to be done on the UI's message loop. I ...
Create access database at runtime with C#
cql90 -
20 Oct 2005 2:27 PM - 5 messages
Hi all PRO, I don't know how to create the MSAccess database in the runtime with C#, Are there any body know how to do this? I am pretty sure that all of you know how to do it, except me :( . Thanks you so much in advance, I am deeply ...
retrieve console application path
Jan -
20 Oct 2005 1:26 PM - 2 messages
Hi, What is the easiest way to retrieve the path from a console application? Right now I am using: - System.Reflection.Assembly.GetEntryAssembly().Location to extract the path and filename - path.getfullpath to split path and filename I am almost sure there is an easier way...!? ...
Closing event in a MID Child form I don't know if the child form is closing or the main form is clos
Next »
|
|||||||||||||||||||||||