Home All Groups Group Topic Archive Search About

Visual C# .NET

microsoft.public.dotnet.languages.csharp
Score MarqueeControl: MSDN Walkthrough question
John D'oh - 25 Nov 2006 11:57 PM - 8 messages
Hello, I have been going through the MSDN Walkthrough: Creating a Windows Forms Control That Takes Advantage of Visual Studio Design-Time Features. Everything was going fine and I was able to create and compile the MarqueeControlLibrary project.  And I think I even understood most of ...
Score Important method in setter.
kruskal - 25 Nov 2006 10:56 PM - 7 messages
Hi, if i have: private a; public T A {     get {         return a;}     set {         important_method(a, value);         a =3D value;} ...
Score design a webform
SemSem - 25 Nov 2006 9:33 PM - 3 messages
how to make a well design web pages and web form  in ,net as all form ido is very simple iwant to improve it . if there some tools to used in .net or some techneque iheard about css  or ...
Score How-to find if we're in Debug or Release mode
Saber - 25 Nov 2006 9:25 PM - 7 messages
Is there a way to find out in which mode we are? What can I write instead of "ItIsDebugMode" in this condition? if (ItIsDebugMode) { //write something in somefile } ...
Score How to save user options and settings to a file, like we used to do with INI files?
Richard Lewis Haggard - 25 Nov 2006 6:45 PM - 5 messages
I have an application that can't use the registry to save various user options and application settings. My first thought was to simply use an application configuration file but this approach seems flawed. The app config file appears to be updated with values while the application is ...
Score Suggestions for studying for Brainbench test
Siegfried Heintze - 25 Nov 2006 5:22 PM - 4 messages
I'm going to be taking the brain bench test soon. Does anyone have any helpful hints? I asked the recruiter if it was on C# 2005 or C# 1.0 and she did not know. She thought it was on C# 1.0. ...
Score c# out of memory question
pberent - 25 Nov 2006 4:16 PM - 5 messages
I am trying to run a c# program which loads very large arrays (total of about 1.2GB). I have 2GB of RAM on my machine and looking at task manager it doesnt look like it has all been used. I have set virtual ...
Score outcome of: int i = new System.Int32(); ???
Jeff - 25 Nov 2006 4:02 PM - 3 messages
Hey I'm wondering what the outcome of this is C# code really is: int i = new System.Int32(); Which one of these scenarios below describe what the outcome is: #1: A new reference type instance of i set to zero ...
Score Converting #ifdef and #ifndef to C#
canoewhiteh2o - 25 Nov 2006 2:41 PM - 7 messages
I am converting a couple of C header files to C#. It is mainly just a bunch C structs but I am not sure how to handle the #ifdef and #ifndef in C#. For example: #ifndef DATE_TIME #define DATE_TIME  unsigned long ...
Score IDisposable und COM
Matthias Pieroth - 25 Nov 2006 1:38 PM - 3 messages
Hallo NG, ich habe mal eine Frage zum IDisposable-Pattern und COM. Wir haben eine MFC-Anwendung in die wir .NET integrieren (COM Interop, .NET 1.1). Es gibt eine API in COM, von der wir aus der TypeLib den .NET Wrapper (RCW) ...
Score Make Well Design Forms
SemSem - 25 Nov 2006 11:58 AM - 2 messages
iwant to know if there any way to make awell design forms as  ithink .net can offered to me good design tools ineed to kow how idsign an asp well design site and if there techneques are used in designing ...
Score Process handle
Lin - 25 Nov 2006 11:16 AM - 6 messages
Hello, I am new to c#, please help. I am writing an application, which will be able to send email automatically, for a very large organisation. The application I am writing should be on the central server, anyone within the organisation ...
Score any C# GUI samples/tutorials for .Net Compact Framework on WinCE
George - 25 Nov 2006 10:05 AM - 5 messages
Hello everyone, I have some experience of C# development on Windows desktop. Now I am learning how to develop GUI application using C# on WinCE device, based on ..NET Compact Framework. Are there any samples/tutorials to make reference for a beginner? ...
Score Importing C++ DLL in C# .NET
abdul - 25 Nov 2006 7:24 AM - 4 messages
I have imported C++ dll in C#. But i am getting this error. "An unhandled exception of type 'System.EntryPointNotFoundException' occurred in ConsoleApplication.exe Additional information: Unable to find an entry point named getInitializedCount in DLL Common.dll. " Code which i have written ...
Score RegEx for newbie
Praveen - 25 Nov 2006 7:16 AM - 3 messages
Im new to C# regEx. I want to do a validation in array of integers and alphanumeric,  to know each item is a  number between 250 and 350 using regEx. string[] Arr= new string[] {"191", "677", "31", "901", "250", "100", "313", ...
Score temporarily disable focus changing
Jon Slaughter - 25 Nov 2006 6:16 AM - 5 messages
Is there any method to temporarily disable focus changing?(I assume only method is tab or mouse?) This problem has been tieing me up for a while and nothing seems to work. The only thing that I *know* will work is to disable ...
Score Problem passing dataset between worker and UI thread
Carl Heller - 25 Nov 2006 6:02 AM - 3 messages
Working in VS2003, .Net 1.1 I'm working on a project where I compare data between two databases.  This is a lengthy process, and very data intensive, so I decided to create a class, and thread out the work. ...
Score Which url is best for learning xml xsl
Sala - 25 Nov 2006 5:02 AM - 2 messages
Hi experts!        Pls tell me the url name.. which one is best for xml and xsl ...
Score Learn : Ajax
Sala - 25 Nov 2006 4:59 AM - 4 messages
Hi experts!      I will learn Ajax.. Pls guide me ...
Score Application value null
Sala - 25 Nov 2006 4:55 AM - 8 messages
Hi experts!        If system time 12:00 am my application variable value will be null.. I am trying to get null value of application but that time i'll make some actions to that page.. So pls tell me how i'll make null ...
Score Which event can help me trap when datagridview column size changes?
DBC User - 25 Nov 2006 1:48 AM - 2 messages
I would like to trap an event, when someone changes the column width on a datagridview. I tried all the (almost) event with width in it and none of them are firing when I change the column width. Could some one ...
Score How to use a service to start a regular windows application
illegal.prime - 24 Nov 2006 11:31 PM - 4 messages
Hi all, I have a service that needs to start a regular windows application. I'm running the service as ServiceAccount.LocalSystem. But, when it starts the process (using Process.Start) the GUI for the application doesn't appear - however, I can see the process in the ...
Score Programmer mood and their performance
Programmer mood - 24 Nov 2006 9:17 PM - 4 messages
Please take a test on programmer's mood and their perforamance. The url is [link] . I declare taht this test has nothing related with financial gains. If you want to know about me here ...
Score Tab Key as Entry Key
John L - 24 Nov 2006 7:51 PM - 5 messages
I posted this request a few weeks ago and since then I lost all the replies. Please bear with me and re-post replies to this request again. I want to know if its relatively easy to have the Entry key act as the Tab ...
Score Inserting Xml Node and maintaining the prefix
GR - 24 Nov 2006 5:29 PM - 2 messages
Hi, I have something like the following: (Please note this not actual code and it's very rough) string source = "<abc:Root xmlns:abc="http://mynamespace.com><abc:Record/></abc:Root>" XmlDocument doc = new XmlDocument(); ...
Score How do i count the number of occurences of a phrase within a string?
garyusenet - 24 Nov 2006 5:28 PM - 2 messages
Thankyou ...
Score DataGridView performance
John Brown - 24 Nov 2006 4:05 PM - 10 messages
Hi there, Has anyone had any serious performance problems with this class. A couple of hundred rows of data with 4 columns (everything loaded on-the-fly with no DB involved, all simple strings, 90% under 10 characters, the rest as high as ...
Score [NEWBIE] DLLImport
Jeff - 24 Nov 2006 3:56 PM - 2 messages
Hey I'm trying to call function BOOL PtInRect(const RECT *lprc, POINT pt) from C#: This is my C# code I have problem with: [DLLImport("user32")] public static extern bool PtInRect(ref Rect, Point p); I haven't imported the user32.dll into the project, must I import the .dll ...
Score Multi-lingual Web applications
Dylan Parry - 24 Nov 2006 3:54 PM - 4 messages
Hi folks, I was wondering if anyone here has experience of making Web applications that are multi-lingual? The solution that I have in my head is to have several "language" files as resources so that there are no hard-coded ...
Score Managed C# to unmanaged DLL
nachiketamishra - 24 Nov 2006 3:49 PM - 12 messages
Hi, I have a to pass a char* from C# to a library in C++. I have tried passing string and doing [MarshaAs(UnmanagedType.LPStr)]string myVal and it didn't work . I also tried to pass an unsafe call by declaring ...
Score Developing gadgets for Windows Vista
Joachim - 24 Nov 2006 3:05 PM - 7 messages
Can I develop my own gadgets for Windows Vista? Where can I find more information about this? ...
Score Expanding Arrays
Chris - 24 Nov 2006 2:51 PM - 6 messages
All Can someone tell me why the following is considered bad coding practice, please? int n = 0; int m = 1; ArrayList list = new ArrayList(); list.Add(n); list.Add(m); Many thanks in advance! ...
Score Access to DataList
Taptu¶ - 24 Nov 2006 2:34 PM - 2 messages
Hi, I have a problem: how can I retrieve data from specific location in datalist ? ex. row no. 5 col no. 3 ? i populate datalist with SQL function without using dataset and datatable source of datalist is a Collection best regards ...
Score Chartfx vs. Dundas Charts
Dan Reber - 24 Nov 2006 2:20 PM - 7 messages
I am about to purchase a chart control for my application but I am not sure which one to go with.  Does anyone have any pros/cons for either component? I have already tried both and they seem very similar but there is only so ...
Score How to Update Disconnected Dataset through Stored Procedure
chandu - 24 Nov 2006 2:04 PM - 3 messages
Hi Guys, i am beginer in the worls of Asp.net and C#.net I have one problem that         I have stored my changes of data into dataset using disconnected dataset and after completion of all changes i want to ...
Score checking if TcpClient received data
Nikola Skoric - 24 Nov 2006 1:26 PM - 2 messages
Is there an event which could notify me when a TcpClient has something to read? Or do I just have to do while (!networkStream.DataAvailable) Thread.Sleep(50); ...
Score Need Help on String.Format() method
Lucky - 24 Nov 2006 12:33 PM - 9 messages
hi guys! back again with another query. the problem is like this. i want to print a line like this: "---------------------------------------------" the easiest way is to simply assign it to string and print it. but i want to use the String.Format() method if possible to do it. ...
Score How to stop Symbols being converted
jumblesale - 24 Nov 2006 11:50 AM - 5 messages
Hello, I have a console app that converts fields from a database into xml files and am having problems with 'Greater Than' and 'Less Than' symbols being converted into their html equivalents (&lt;/ &gt;) automatically. I need them to stay as < > so that HTML controls render ...
Score Problem in LoadPlugins in Application
chandu - 24 Nov 2006 11:39 AM - 4 messages
Hai all, i am developing an applciation which loads all configuation plugins in MainForm when clicks on corresponding plugin button. let me explain : SomePlugin is a class library projects  which contains 3 UserControls.Every user control has its own functionality like save,clear,edit....etc. ...
Score Variable Property/field scope confusion
garyusenet - 24 Nov 2006 11:35 AM - 10 messages
Hello I'm trying to get to grips with variable scope. I have a very basic programme i'm working on - and am once again being confused by scope of variables. I am just trying to write a new method which will read a file into a ...
Score Send Message(string) c# exe to vc++ exe(unmanaged) using WindowsSendMessage
Mayur - 24 Nov 2006 11:27 AM - 3 messages
I tried followinf but working fine fo int but how to do it for string using user custome message in c# [DllImport("User32.dll")] public static extern int FindWindow(string strClassName,string strWindowName); [DllImport("User32.dll")] public static extern Int32 SendMessage( ...
Score My Blog
itarunachalam@gmail.com - 24 Nov 2006 11:26 AM - 3 messages
Take a look at this link... [link] ...
Score Easy one about supressing validation
cashdeskmac - 24 Nov 2006 11:24 AM - 3 messages
This is regarding VS 2003 Windows forms. I have TextBoxes which use the Validating event when the user shifts focus.  When the user closes down the form using the red cross in the top left corner, validation still takes place if a TextBox has focus. ...
Score [NEWBIE] datatype byte and &
Jeff - 24 Nov 2006 11:13 AM - 7 messages
Hey Below are some c# code, the c variable gets the value 122. I know that the datatype byte can hold a numeric value up to 255. I don't understand how (a & b) becomes 122... byte a, b, c; ...
Score Q: Yes its another interface question for a dummy like me.
Martin Arvidsson (Visual Systems AB) - 24 Nov 2006 11:01 AM - 4 messages
Hi! I realy dont get the point of interfaces If i have this code Public class MyClass {     Public MyClass()     {     }     Public string Text     {         Get { return xxx;} ...
Score How to trim a text string?
garyusenet - 24 Nov 2006 10:51 AM - 7 messages
Hi i would like to trim a text string. I have a text string called filename I want to display just the file in my label, and not the path. Can someone tell me how I get everything AFTER, the LAST, BACKSLASH in ...
Score Can Strongly Typed DataSet contains Stored Procedure Wrappers?
Jon B - 24 Nov 2006 10:51 AM - 4 messages
Hi There! I'm looking into Strongly Typed DataSets in the .NET Framework. I know it can generated strongly typed tables as objects and column names as properties. However, one thing that I would like to know is if it wraps database Stored ...
Score datagrid
kalaivanan - 24 Nov 2006 10:16 AM - 3 messages
hi, i am  going to use ajax for datagrid paging events. may i know how paging in datagrid works. i.e., how does the records are displayed for the corresponding page choosed. kalaivanan ...
Score DataGridView Background
Diogo Alves - Software Developer - 24 Nov 2006 10:11 AM - 2 messages
Greetings, I've been trying to put an image on the background of a datagrid, I used the overriten property BackgroundImage, but it was useless (maybe I'm missing something). Could someone help me with this... I want to put a gradient on the ...
Score Transactions in a Windows Service
jez123456 - 24 Nov 2006 10:06 AM - 5 messages
Hi Experts I've written a c# windows service which runs another program at certain intervals. The other program may take upto 20 minutes to complete it's tasks. My question is what happens to the other program if a user decides to ...
Score Two inheritance trees
wojtas - 24 Nov 2006 9:56 AM - 7 messages
Hello I'm trying to create application with as much as possible methods derived from base class. I use two base classes "Document" and "DocumentItem", each document has collection of documentItems. When I cast object of Document class on one of its subclasses collection of ...
Score Is my code correct and propper?
garyusenet - 24 Nov 2006 9:42 AM - 8 messages
Hi I have finally made progresss with my use of the open file dialog box! I have now made my own method that opens the dialog box and returns the file selected. Can you please have a quick look at the following code and tell me if ...
Score receiving XML content - ISO-8859-1
Piotrekk - 24 Nov 2006 9:34 AM - 2 messages
Hi. I receive XMLcontent codded in ISO-8859-1. XML file contains Polish character set so that i need to notice somehow when they are coming. My program cuts this characters and replaces them with "". I have english copy of windows. ...
Score Playsound loop not working
tamarindm - 24 Nov 2006 9:13 AM - 5 messages
I need to play a .wav file over and over again. I am using the following code. [DllImport("winmm.dll")] private static extern bool PlaySound( string lpszName, int hModule, int dwFlags ); public int SND_ASYNC     = 0x0001; // play asynchronously ...
Score Enterprise Library Data Configuration
dirk.dircksen - 24 Nov 2006 8:26 AM - 2 messages
Hi I'm busy migrating code from the June 2005 Enterprise Library edition to the January 2006 edition. One of the cool things about the June 2005 edition (for me, in any case) was the fact that I could specify a location for a single ...
Score C# n .net framework bugs ...
Abubakar - 24 Nov 2006 7:44 AM - 3 messages
Hi, I wanna know is there a site maintained by microsoft where all the C# compiler and .net framework (bcl, vm, etc) related bugs are listed? Regards, -ab. ...
Score is it possible to use out and ref keyword together???
selva - 24 Nov 2006 6:23 AM - 7 messages
hi, currently iam working on c# i need to pass a parameter inside a function which is a OUT parameter and i need to pass it as a reference how to do this? please help me regarding this issue........ regards ...
Score How to wait
Alan T - 24 Nov 2006 5:03 AM - 7 messages
How do I tell my application to wait for 2 seconds? ...
Score MultiCast Delegates
GVN - 24 Nov 2006 4:20 AM - 6 messages
Hi All, I recently worked on delegates. But I have a question regarding Multicast delegates. The scenario is as follows: I have a delegate myDelegate with object dlgt, and two methods myMethod1(), and myMethod2(). Using multicast delegates definition I can write as follows to add the ...
Score Hooking events post deserialisation
nick.fletcher - 24 Nov 2006 4:13 AM - 8 messages
I have a custom collection which derives from Collection<> which stores a number of objects. Before each item is added to the collection - an event which it exposes is hooked by the collection and the re-fired to ...
Score C# Class that contains a socket
tcomer - 24 Nov 2006 4:03 AM - 7 messages
Hello - I'm working on a simple instant messenger application, and I have it working but in order to achieve the results I want I need to make a few changes. The problem is that I have a class that contains a ...
Score Current Time in C#
iwdu15 - 24 Nov 2006 2:25 AM - 5 messages
Hi, in VB i could use the keyword Now to get the current DateTime, but C# doesnt have that. How can i get the current time? thanks ...
Score Open MS Acess with password protected in c#
-xx- - 24 Nov 2006 12:10 AM - 4 messages
Hi, I am new to c# and just trying out c# with ms access.  First problem i encountered is how do i open up ms access that has password. Here is my current codes which working fine if there is no password on ms ...
Score Aray and pointer
Le Minh - 23 Nov 2006 10:50 PM - 2 messages
In Visual C++ we use double  **m_domimage[4]; for 3dimension array which has one fix length. How do we use this method in C#? thanks ...
Score File drag and drop with Windows Vista
Andrea - 23 Nov 2006 9:21 PM - 6 messages
How can I drag and drop files from Explorer to my .NET application in Vista? It looks like the DataFormats.FileDrop doesn't work anymore in Vista. An example would be greatly appreciated. Thanks. Andrea ...
Score Q: Tip and advice on DataBase related question.
Martin Arvidsson - 23 Nov 2006 8:10 PM - 3 messages
Hi! I am going to build my firs Windows Application that involves a Database. Now this database and its tables are quite large so i got a couple of quizes regarding performance etc just to get me started... One of the tables includes over a milion customers. This is not a great idea ...
Score byte[] to string conversion ...
Jamie Risk - 23 Nov 2006 7:31 PM - 6 messages
This is the code snippet that I've come up to convert a byte[] to string.  Is there a best practiced method for such a conversion? - Jamie public static string ByteArrayToString(byte[] array) {    if (null == array || 0 == array.Length) ...
Score search in AD
sgr - 23 Nov 2006 5:18 PM - 5 messages
How Can I do for search a computer in my Active Directory with c# and .net framework 1.1? Thanks ...
Score Memory Leak
Trev - 23 Nov 2006 4:59 PM - 3 messages
Is the file "Microsoft Visual Studio .NET 2003\VC7\INCLUDE\crtdbg.h" (specifically, the new operators) used in any way, shape or form in C# ? I am involved in writing an app that uses managed C++ and C# and I'd ...
Score Intercept crash of an external exe
lookaround - 23 Nov 2006 4:16 PM - 4 messages
Hi everyone,   I need some help... I call an external exe (a command-line tool) with Process.Start through this code:            try             { ...
Score Regular Expression ( [TAG-I] TEXT [TAG-F] )
Eduardo Luiz - 23 Nov 2006 3:58 PM - 5 messages
Hi.. need help.. Sample text: [NF-I] nnn nnn nnn nnn nnn [NF-F] [BB-I] nnn [BB-F] [BB-I] nnn [BB-F] [BB-I] nnn [BB-F] need get groups.... select return 4 groups.. like = \[(?<InitialTag>.*)](?<Text>.*)\[(?<FinalTag>.*)] ...
Score Regex and Hashtable
oshaer - 23 Nov 2006 3:51 PM - 2 messages
Shalom. I need to go over a file, and check for each line if it matches a Regex from a list of expressions. (If it matches ANY of the expressions, this is good enough). I have put the Regex's in an array, but it seems to take  too long  to ...
Score Something about using
hangaround - 23 Nov 2006 3:38 PM - 6 messages
I wonder how would the CSharp avoid repeative include Assembly repeatively,  because we coud using same Assembly in on just one Assembly twice or more. ...
Score Addition of two values
ggeshev - 23 Nov 2006 3:13 PM - 6 messages
Hello! I've got a method : public static Object _Add(Object val1, Object val2); {} val1 and val2 are among of these types : - sbyte - byte - short - ushort - int - uint - long - ulong - float - double - decimal Types of val1 and val2 do not necessarily match (i.e. val1 may be int and ...
Score Is NET 2.0 installed?
WRH - 23 Nov 2006 1:44 PM - 5 messages
Hello Is there a simple way for a newbie PC user to determine if NET 2.0 is installed? ...
Score Serialization of dataGridview?
datawaregrid - 23 Nov 2006 1:44 PM - 2 messages
Hi, how can I serialize a dataGridview Object? I didn't find any method with name serialize(). I know it sound wired, but I want to encrypt the data afterwards... Regards Tino ...
Score UserControls
hula - 23 Nov 2006 12:49 PM - 4 messages
Hello can someone tell me whats the best way to place user controls on a form? I have to place a dynamic numer of usercontrols inside a form and of course the form needs to show up scrollbars. I thought of building a container-control (derived from UserControl) ...
Score marshaling a structure by value from managed to unmanaged
Aston Martin - 23 Nov 2006 12:39 PM - 7 messages
Hi All, ********************** My Situation ********************** I am working on project that involves passing a structure to unmanaged code from .Net world (well using C#). Perhaps an example will prove useful. structure MyStruct {             // this is a complicated struct declaration in the sense ...
Score Can someone please check my understanding here and suggest fix
garyusenet - 23 Nov 2006 11:55 AM - 5 messages
The following code was supplied by a kind poster as a solution to a problem i was having. But it's not quite working. I have commented the code myself below. Can you please read my comments to make sure what ...
Score How access other project classes
Sala - 23 Nov 2006 11:47 AM - 12 messages
Hi experts!        I have two projects ... so First project cs code like this, using System; using System.Collections; using System.Configuration; using System.ComponentModel; using System.Data; using System.Data.SqlClient; using System.Drawing; ...
Score 1>>x behaviour
Vivien Parlat - 23 Nov 2006 11:20 AM - 11 messages
Hello, I have a little question about operator >> between integers: does anyone know why, when I write: "1 >> x", the returned value is 1 for all values multiple of 32 and 0 else (this does not hurt me, 1 does). ...
Score List<T> inheritance
Fabio Z - 23 Nov 2006 11:20 AM - 23 messages
Hi all, I have a classic problem: List<T> and List<X> where X is a class X : T. Ok, I know the problem: I cannot cast List<T> on List<X> because also if X ...
Score Invokation added at runtime?
Ympostor - 23 Nov 2006 11:08 AM - 3 messages
I have an abstract class with a bool property: class Abstract {    protected bool throwException;    protected void ThrowException{      if (this.throwException){        throw new MyException();      } ...
Score Please advise of basic problem in my code (using opendialog)
garyusenet - 23 Nov 2006 10:52 AM - 8 messages
This is the first time i've worked with openfile dialog. I'm getting a couple of errors with my very basic code. Can someone point out the errors in what i've done please. ========================================== using System; using System.Collections.Generic; ...
Score Isolated Storage - Problem with GetMachineStoreForAssembly
C#Coder - 23 Nov 2006 10:18 AM - 2 messages
I need to place a file in Isolated Storage with machine level scope i.e independent of the user. I have used the 'GetMachineStoreForAssembly' method of the IsolatedStorage file class to try to achieve this. I can successfully create a file and read content back from ...
Score F# programming language
Jon Harrop - 23 Nov 2006 10:13 AM - 45 messages
Microsoft Research are developing a functional programming language called F# for .NET and I've been playing with it recently. I've uploaded some demos here:   [link] I'm keen to see what Windows developers think of this language as we're ...
Score String builder question
simonZ - 23 Nov 2006 10:11 AM - 4 messages
I read some articles about stringBuilder vs string. I'm using the loop, so I must use string builder. My example: String s1; String s2; String s3; StringBuilder webLines=new StringBuilder(10000); for (int i = 0; i < 10000; i++) ...
Score question about string
greenrob - 23 Nov 2006 8:00 AM - 5 messages
hello, I am just wondering what is the different by putting an extra "@" sign in front of string delcaration ? Specifically : string test = "hahaha"; string test1 = @"huhuuh"; What is the difference between test and test1 above ? Thanks a bunch. rgds Rob ...
Score Path.InvalidPathChars question
schaf - 23 Nov 2006 7:17 AM - 4 messages
Hi ! I have determined, that Path.InvalidPathChars does not return an array with all  invalid path characters. For instance the question mark (?) does not appear in the array, but it is not possible to create a folder with a question mark (?). ...
Score Code insert values into database
Sirisha - 23 Nov 2006 6:11 AM - 3 messages
Hello,          I am New to the C#.Net, i want code for insert values into the database.(in C3#.net) Regards, A.Sireesha. ...
Score Error installing CAB
Joachim - 23 Nov 2006 5:29 AM - 3 messages
When trying to install the Composite Ui Application Block software I get the following error message "An unexpected error occurred generating the Visual Studio Solution files. You may have to manually create solution files for the projects you have installed." ...
Score Resizing Frame
wardemon - 23 Nov 2006 4:11 AM - 4 messages
Hi All,   I would like to ask how can one resize a frame in a website w/o postback?   My scenario is the following   I have a left frame, a top frame, and a "contents" frame.   I placed an imagebutton in the top frame that once clicked, it will ...
Score Cross-thread operation not valid ???
Le Minh - 23 Nov 2006 3:11 AM - 4 messages
I receive this message: "System.InvalidOperationException: Cross-thread operation not valid: Control [your_control_name_here] accessed from a thread other than the thread it was created on" .... this is a exception. Can fix it? ...
Score NetworkStream Read/Write operations - # bytes read/written.
Charles - 23 Nov 2006 1:54 AM - 2 messages
Hi, Is there a way to find out how many bytes NetworkStream Read/Write actually read/wrote when there is an exception (i.e. socket read/write timeout).  Or, can I assume that if there is an exception that no bytes are read/written. ...
Score Strange Label behavior
SLIMSHIM - 23 Nov 2006 1:15 AM - 11 messages
Can someone explain this one to me ...? Add one Label and one Button to form . Set RightToLeft  of Label to True. try this Label1.Text="12345."; on display you will see ..12345 the decimal jumped to the wrong side ...
Score How do I use HTML textbox in C#?
Dan Aldean - 23 Nov 2006 12:56 AM - 7 messages
I need to use a HTML textbox in C# code. Any hints, please? Thanks ...
Score A threading problem
nick.fletcher - 23 Nov 2006 12:53 AM - 3 messages
This concerns controlling access to methods in different classes. The meat of it is as follows: public class CommsControl {     private InputBuffer ib = new InputBuffer();     private OutputBuffer ob = new OutputBuffer();     ib.StartComms(); ...
Score Jpeg Image and Picture Box
ZS - 22 Nov 2006 11:20 PM - 2 messages
Hi, How can I display a jpeg image on a Picture box or Panel and be able to set scrollbars to it. Thanks -zs ...
Score An instance of a form in another
Dan Aldean - 22 Nov 2006 10:53 PM - 9 messages
Hi, 2 web pages, One of them has properties that I need to read in a second form: First Form public class FirstForm : System.Web.UI.Page {     private void submitButton_Click(......)     {         Server.Transfer("SecondForm.aspx") ...
Score Get error messages back from a Remote machine
Jason - 22 Nov 2006 9:15 PM - 2 messages
I've a c# app that I execute on a remote machine, which works as I expect it to, but when I encounter an error on the remote machine how do I know what's going on, since it's a remote app? ...
Next »