|
ms
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Visual C# .NETmicrosoft.public.dotnet.languages.csharp
Question about files and String
Gidi -
15 Oct 2005 7:58 PM - 2 messages
Hi, i have a dataSet which i take customers details and write them to a file. the details contain numbers ,hebrew and english letters. i need the details to be written in a specific way, now i have a problem that when i enter ...
System.OutOfMemory Exception
Tobias Matzat -
15 Oct 2005 6:14 PM - 2 messages
Hello! I'm writing an application that immitates ie behavior to save html-pages. Well fecht the files in the webpage and change the paths in the href/src attributes. Well, I#m doing this with the help of the RegEx ...
how to implement an XX day evalutation period
Benny Raymond -
15 Oct 2005 4:26 PM - 5 messages
Does anyone know what is normally checked when writing evaluation software and implementing that evaluation to expire after 30 days? I thought about adding a registry key, but that seems too easy to find. I also thought about checking the date of the executable, but then an ...
socket problemswhos
Rene Sørensen -
15 Oct 2005 2:57 PM - 3 messages
We are 4 students working on a assignment, that our teacher gave use, normally we do this is C++, but the 4 of us, use C# more often that C++ so… We made a small games called reversi, now our job is to make a server, ...
String Operation in C#
Rhonda Tipton -
15 Oct 2005 2:21 PM - 5 messages
Hello. I am trying to do a substring or something like that to extract the middle portion of a string. 12345 TEST FACILITY 1_Letter 1A 12346 TEST FACILITY 2_Letter 1A I would like to be able to extract the part after the number and before the ...
How to use EMAB in n tier Application
Danech -
15 Oct 2005 1:53 PM - 3 messages
Hi I am developing a ASP.Net application. My application have 5 layers. (1) Web Layer (2) Business Logic Layer (3) Data Access Layer (4) Business Entity (5) System Framework. I want to put Exception Management Application Block (EMAB) in ...
MSWord -> Html
Josema -
15 Oct 2005 1:53 PM - 4 messages
Hi, Im making a html converter from word, and i have some difficulties in the algorithm that parses the bolds, italics, and underlines... if in a word document i have with some bolds, italic and underlined formats (for instance, i have this paragraph) : ...
FileNotFoundException question
Nick -
15 Oct 2005 12:57 PM - 4 messages
Hello, Let me explain my situation. There is an application in C++ (that I didn't write) that needs to call a C# DLL. One option, I believe, would be to compile the app with the clr switch. Rather than do that first the other ...
what static fuction mean in c#
SemSem -
15 Oct 2005 11:19 AM - 6 messages
when i was usong c++ idont have to put static before tha function that i want to acces but in c# i have to but it . ex ihave a function called add(int x,int y) i have to put ...
SQLServer or Access?
Roy Gourgi -
15 Oct 2005 10:36 AM - 15 messages
Hi, I need to store and retrieve information from a database. It looks as though there is a lot more support for SQLServer than there is for Access, correct me if I am wrong. What do I have to do to get SQLServer and which version should I be using. ...
Re: SQL updates on MS Access Database: error: Operation must use an updateable query.
Yoyo Chang -
15 Oct 2005 10:06 AM - 2 messages
*** Sent via Developersdex [link] *** ...
Window Form Skin
Raed Sawalha -
15 Oct 2005 8:14 AM - 3 messages
How can I apply a skin to a windows form? ...
Probability Distribution Library
Curious -
15 Oct 2005 7:29 AM - 2 messages
Hi, I require a library to generate random values from distribution functions like Poisson, Binomial, Bernoulli, etc. Is there such a libarary available in .Net or can someone give me some help how I can implement them. Thanks in Advance ...
How do you draw an icon in grayscale?
Benny Raymond -
15 Oct 2005 6:53 AM - 4 messages
I've written a class that inherits from MenuItem which displays icons next to the items in a menu... The only problem I'm having is that I have no clue how to turn these icons greyscale if they're item is ...
Time function
nick.stefanov@gmail.com -
15 Oct 2005 6:08 AM - 6 messages
Is there a time fuction in C# similar to ctime in C that can convert to a calendar date and time from seconds from January 1, 1970. Thanks. Nick ...
Declaring an array of char and reading char from Binary Stream
nick.stefanov@gmail.com -
15 Oct 2005 3:32 AM - 6 messages
Hello, I am trying to read a binary file generated from Ethereal. I need a structure to hold my frame and one of my variables which stores source/destination address has to be of type char[6]. In my structure ...
Marshaling Delegates as Struct/Class Members
Bob -
15 Oct 2005 3:00 AM - 5 messages
I understand delegates do not need to be pinned, but its the class object itself I need pinned. Take this code: [StructLayout(LayoutKind.Sequential)] public class TestObject { [MarshalAs(UnmanagedType.FunctionPtr)] ...
Sniffing Network Data
Nuno Magalhaes -
15 Oct 2005 2:39 AM - 6 messages
Is it possible using .NET (or any other language) to sniff/analyze data that travels between other computers in the network? If it is possible how it is done? Because I have some VoIP Phones linked to a switch that have it's own IP and how do I analyze the data ...
Search Engine
Nirosh -
15 Oct 2005 2:00 AM - 2 messages
Hi All, I want to write a Search Engine (Full text) for a content repository that has content in XML | HTML format. My plan is to use SQL full text seach, how is the perfomance here, if I have 1000 book, each have 10 MB of text data? ...
problems with arrays
hledman -
15 Oct 2005 12:35 AM - 3 messages
Hello, Beginner here reading through murach's c# book and come to a point where the book doesn't give a good example of what they want you to do in the exercise. I've created an array with 5 elements that all start with their default ...
how to change sql database dynamicly
Hasan O. Zavalsiz -
15 Oct 2005 12:16 AM - 4 messages
Hi , in my application connection string is in the INI file. How I can database via program and write it to INI thanks in advance ...
I want to create a database and store and retrieve information
Roy Gourgi -
15 Oct 2005 12:11 AM - 6 messages
Hi, I am used to working in Visual FoxPro and I would like to be able to create a database and store and retrieve information from it. What is the simplest way to do it and what should I be using as there are many choices to choose ...
limiting access to files with asp.net
Daniel -
14 Oct 2005 11:57 PM - 2 messages
limiting access to files with asp.net is there any way i can make a file only accessible to certain users of my website? my files are to large to copy to a temp directory and they are of many types, .exe .xsl .xml etc. i want an href to each file but only allow ...
C# Windows App - SSH
Jesse Charbneau -
14 Oct 2005 10:39 PM - 6 messages
Hi Everyone, If I'm posting to the wrong group, please let me know. I have an application that I am writing to communicate from a Windows host to a UNIX server via SSH. What I would like to do, is send one command at a time, but without ...
How do I get my combox listing to display in sorted order by DataM
Alpha -
14 Oct 2005 10:26 PM - 5 messages
This is a Window based application. How do I get my combox listing to display in sorted order by DataMember? I inserted a blank row to the dataset table which is the datasrouce for the comboBox with valuemember wet to -1. ...
PInvoke problem with int by reference
nicolasr -
14 Oct 2005 9:34 PM - 6 messages
Hi, I have the following PInvoke problem: I want to call the Win32 API SystemParametersInfo() which has the following signature: BOOL SystemParametersInfo( UINT uiAction, UINT uiParam, PVOID pvParam, UINT fWinIni ); the pinvoke.net site suggests the following declaration: ...
MSDN Question
jack -
14 Oct 2005 9:18 PM - 2 messages
Should I buy the MSDN Professional Subscription for Visual Studio 2005 from microsft or can I buy a 7.0 subscription and transfer it? I want to get Profession Premium subscription and Microsoft wants $2499. What 7.0 ...
\n in C#?
James -
14 Oct 2005 9:10 PM - 15 messages
Hi all, Probably the first thing most of you learn, but I don't know the newline character for C#. Thanks, James ...
Keys enumeration
C Glenn -
14 Oct 2005 8:45 PM - 6 messages
I'm writing some code in a KeyUp handler and can't find the Keys enumeration member for the semicolon ';'. I found Keys.OemSemicolon, but that doesn't get what I'm after. Anyone out there know how to trap it? ...
Split stringbuilder in array
Arjen -
14 Oct 2005 8:31 PM - 4 messages
Hi, How can I split a stringbuilder into arrays? Let's say I have a stringbuilder with this value "test1234567". Now I want an array with size 6. The value of the array have to be on index 0 "234567" and on index 1 "test1". ...
Asynchronous Delegates
Tobias Matzat -
14 Oct 2005 8:09 PM - 2 messages
Hi! Is it possible to wait for the callback method to finish? When using a WaitHandle only the call of EndInvoke is awaited. I would like to do some calculations in the callback-method. But I don't know how to inform ...
Application consumes close to 100% of CPU, how to profile and determine the cause
LordHog -
14 Oct 2005 7:30 PM - 12 messages
Hello, I recently wrote an application that is used for testing units in a burn-in chamber. It uses two external library that require the use of P\Invoke in order to work with them. There is a primary thread and a ...
Performance issue with loading image from url
Raj Chudasama -
14 Oct 2005 7:17 PM - 2 messages
i have a need to load image from URL. the image is really small (gif) and i use the following code. but the code is too slow any1 have any alternative way(S)? here is the url [link] ...
Strong Typed Collections
farseer -
14 Oct 2005 7:10 PM - 11 messages
I'd like my collections to contain specific types of objects. Most of the topics i read on this involves creating a custom collection class that extends DictionaryBase or IEnumerable. But this means for every object type i care about, i must create a custom collection class for. ...
Outlook send email
Max -
14 Oct 2005 6:54 PM - 4 messages
When you send an email programatically throgh Microsoft Outlook it goes into the Outbox and stays there. I have an application that opens the email window and allows the user to type a message and then hit the Send button. After that the window closes but ...
Why SqlDataAdapter doesn't save the changes I made in a cell to DB
Alpha -
14 Oct 2005 6:41 PM - 8 messages
The string test = 'Exp'. I verified in Debug mode that test has 'Exp' in the first line and the 2nd line of code. Showing that dsVehicle.Tables["VehDetail"].Rows[prevRow]["Model"] has the proper changed text from null string to 'Exp'. However, the numOfRows shows 0 after ...
visual studio 2003 trashes my code. fix?
Dica -
14 Oct 2005 6:17 PM - 3 messages
this is related to an earlier question i had. i'm trying to figure out visual studio 2003 and c#. i started a simple app to try to learn the basics and used many of the wizards to set up things like my database ...
"Versioning" a .MDB file
Jeffery Tyree -
14 Oct 2005 6:01 PM - 12 messages
A friend is developing a Access 2003 database. I am developing a simple installer package using C#Net. We are looking for best methods, suggestions and definately code examples for: 1. Setting a 'version number' type property of the Access .MDB/.MDE file ...
Generate fixed length unique number
David Dvali -
14 Oct 2005 5:48 PM - 5 messages
Hello. How can I generate some fixed length unique number (for example 6 character) based on some number like 1, 2, .. 45, 46, 47 (Generally I will use unique ID of the database record as base number)? Thank you. ...
Equivilent of VB's DatePart
Ryan Ternier -
14 Oct 2005 5:39 PM - 2 messages
I'm trying to find an equivilent function to VB's DatePart function. I have a Year, Month, the Day of week (Sunday, monday etc.) and the week (week 1, week 2) and I need to find the date of that month. ...
Library events
Max -
14 Oct 2005 5:39 PM - 2 messages
I would like to load a library at runtime to do some work for the main application that calls it. I would also like the main application to be notified when the library is done the work. Is this possible? What kind of events should I look into. A link to some sample code or a site would ...
scope issues
Chris -
14 Oct 2005 5:39 PM - 4 messages
Hi, I am learning object oriented programming. I am always running into scope issues in my C# ASP.NET applications. example: a public void methods: My intellisense does not does up for all lot of methods for instance. and I believe (not positive) that it gets even worse inside try blocks, if ...
Assembly files
Max -
14 Oct 2005 5:36 PM - 3 messages
Is an assembly file a dll file or can it also be an executable file? ...
Getting multiple SELECTED values from stored procedure into an array?
Amy -
14 Oct 2005 5:25 PM - 5 messages
Hello, I've been struggling to learn C#.NET for a while now. I've made some progress, but I'm easily stumped. :( What's stumping me today is this: I've got a stored procedure (SQL) that returns one row from a table, ...
Importing non-COM dll
Steve -
14 Oct 2005 5:03 PM - 6 messages
First attempt at importing a DLL Here is my class <code> public class TIGangProg { public TIGangProg(){} [DllImport("GANG430.dll")] public static extern int InitCom(string lpszComPort, int IBaudRate); } </code> When I attempt to make a call to InitCom I get a DLLNotFound exception. I ...
problem using IEnumerable<T>
jcc -
14 Oct 2005 4:49 PM - 11 messages
Hi guys, I'm a newbie to C#. My Visual Studio 2005 failed to compile the following code with error as 'HelloWorld.A' does not implement interface member 'System.Collections.IEnumerable.GetEnumerator()'. 'HelloWorld.A.GetEnumerator()' is either static, not public, or has the ...
Working with assemblies
Max -
14 Oct 2005 4:18 PM - 6 messages
I made a class library which I want to load when something happens. How can I load this library and then pass in a paramter? I tried: Assembly asm = Assembly.Load("mylibrary"); Type t = asm.GetType("MyClass"); Object obj = Activator.CreateInstance(t, new object[] {myargument}); ...
getting " Object type cannot be converted to target type." with dataAdapter using storedProc
Dica -
14 Oct 2005 4:17 PM - 2 messages
i'm getting an error when trying set my dataAdapter's selectCommand. the sqlStatement is a storedProc which takes parameters, so it's constructed as: sqlSelectCommand1.CommandText = "[uspProjectListUser]"; sqlSelectCommand1.CommandType = System.Data.CommandType.StoredProcedure; sqlSelectCommand1.Connection = sqlConnection1; sqlSelectCommand1.Parameters.Add(new ...
Static methods
CodeRazor -
14 Oct 2005 4:03 PM - 5 messages
Hi, How is a static method different from a normal method (apart from the obvious -- ie. you don't need to initialise the class to call the method). thank you, coderazor ...
AppDomain.CreateDomain pb!
wavemill -
14 Oct 2005 3:40 PM - 7 messages
Hello! I have a serializationEception. Impossible to deserialize the object. I have try with app.AssemblyResolve but i have not found the solution. My purpose is to launch my program directly from the memory. // Bhe bytes in the assembly. byte[] byteload = null; ...
Apparent ViewState Problem
Bill -
14 Oct 2005 3:32 PM - 2 messages
I've been chasing this problem around for a few days now and its driving me nuts. We keep getting these errors in our web application intermittently. I can't cause the problem myself to attempt to reproduce. From the reading ...
C# 2.0 language grammar
Magius -
14 Oct 2005 3:17 PM - 15 messages
Hello, I have a question about the correctness of the language grammar for the C# 2.0 specification. I am working with the grammar specified in the June 2005 ECMA-334 standard. Basically, a using-namespace-directive is defined as follows: ...
How to dynamically build font...?
Tim -
14 Oct 2005 2:58 PM - 7 messages
Hi Guys, I want to build a font like so: headerFont = new Font("Times New Roman", 10, FontStyle.Underline | FontStyle.Bold); It is going to be built dynamically from the DB. How do I build the styles dynamically. In the above example it has underline and bold, it could also ...
Lost Control.
John F -
14 Oct 2005 2:15 PM - 2 messages
Hello, Ok, don't laugh, but I have a panel control on a form and it has lots of other controls on it. I can't find it in the designer in VS.NET! I can go to the properties window and select it. All the controls it houses are there ...
C# application seen as a Windows user....
Pete Wittig -
14 Oct 2005 2:11 PM - 9 messages
Hello, I am wondering if it is possible to create a networked application with C# that is seen as a windows user. For example, if Bob logged onto windows and then started the application, any access to the network made through the ...
where to find system.windows assembly
Dica -
14 Oct 2005 2:09 PM - 6 messages
i need to create a clock object which is apparently in the clock class under System.Windows.Media.Animation. i've tried adding a reference to this assembly, but the closest thing i can find is System.Windows.Forms. where can i find/install this assembly? ...
Intercepting system calls in .NET
Peter Olcott -
14 Oct 2005 12:59 PM - 9 messages
Is there any way to intercept system calls to windows such as TextOut and DrawText? what kinds of system calls can be intercepted, and what is the mechanism to accomplish this? ...
Installing C-Sharp services in Windows
Jeevan -
14 Oct 2005 12:51 PM - 2 messages
Hi, I am creating a Window Service in C-Sharp. The Window Service has a reference to an OCX file created in VC++. In OnStart method I have created an instance of the class, of the OCX file, and called a method of the class. ...
Question about files
Gidi -
14 Oct 2005 12:11 PM - 4 messages
Hi, I want to create a file and write into it. how can i set that the files will be created where the program i'm creating was installed in a folder named files? for example if i installed me program in d:\program i want to save my ...
Newbie Question
S Shulman -
14 Oct 2005 11:47 AM - 6 messages
I added the following declaration withing a namespace but not within a class [DllImport("user32.dll", EntryPoint="SendMessage", CharSet=CharSet.Auto )] public static extern int SendCharFmtMsg( IntPtr hWnd, int Msg, int wParam, ref CHARFORMAT2 cf2 ); And UI get the following compiler error ...
Internet Explorer Extension (COM)
Milos -
14 Oct 2005 11:46 AM - 2 messages
Hello, I need to create a IE Extension in C#. I want to add a button to IE standard toolbar and then make IE call the DLL when button is clicked. I have started with the following code -------------------------------- code -------------------------------- [StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode)] ...
Hosting Forms + events question
Darren Guy -
14 Oct 2005 11:29 AM - 2 messages
Hello I have a main form that has a tab control. Each tab will host a form So after creating each child form, I run the following code to attach it to a tab frm.Owner = this; frm.TopLevel = false; ...
How to make a "Modal Object" ?
Steph. -
14 Oct 2005 10:46 AM - 3 messages
How can I make a "ModalObject" that will react like a ModalForm ? I mean an object that will run in it's own message loop and return a value (a string value) when closed. Example : private void SomeFunction() ...
using VB.NET created class in C# program
Stanley -
14 Oct 2005 10:30 AM - 10 messages
I have a class "clsABC" which is created by VB.NET. I am trying use it in the C# program. Although I can add it in the project reference, I can't browse the methods and properties in the coding. ...
Error...
sonu -
14 Oct 2005 10:02 AM - 6 messages
I i am calling a window apllcation by making that window application Control Dll. i have used list box in side that control when i tried to populated that listbox i got this error.... ///// The application attempted to perform an operation not allowed by the ...
Arrrrgggg IBindingList!
Maxus -
14 Oct 2005 9:44 AM - 5 messages
Hi People, I'm implementing one of those typed collection thing that we all love so much :) anyhows.. Problem is this I want make it use generics. So I implement ICollection<T>, IList<T> and I think "hell yeah thats the ...
Use of NotifyParentPropertyAttribute
Polo -
14 Oct 2005 8:55 AM - 2 messages
Hi, Somebody can exlpain me how to use the attribute [NotifyParentPropertyAttribute(true)] At the moment I use [RefreshPropertiesAttribute(RefreshProperties.Repaint)] to ensure that the parent of this property is redrawed. Thank's in advance Polo ...
Windows Service does not start
mpriem -
14 Oct 2005 8:50 AM - 4 messages
Hi, I am developing my very first Windows Service. I want to query AD every 5 minutes to generate a Report which I will use in a website. I use the following testcode, but the service won't start in a timely ...
A first chance exception of type 'System.InvalidOperationException
Juanjo -
14 Oct 2005 8:35 AM - 3 messages
Hi all I get the following error: 'A first chance exception of type 'System.InvalidOperationException' occurred in system.dll Additional information: The requested Performance Counter is not a custom counter, it has to be initialized as ReadOnly.' My code c#: ...
DateTime
Curious -
14 Oct 2005 7:37 AM - 5 messages
Hi, I have a class that has some fields. One of the fields is of type DateTime. From the constructor of the class, I am passing DateTime.Now; The value being stored is the following: 01/01/0001 ...
How do update data more convient?
Jason Huang -
14 Oct 2005 5:00 AM - 10 messages
Hi, I need to update my data based on the textboxes input on my windows form. But I feel the following sql requery is to long and cumbersome. Is there some more convient way to do the Update thing? Thanks for help. ...
Loading datarows into datagrid?
Prince -
14 Oct 2005 4:48 AM - 4 messages
hi all, I need to insert a datarows collection from a datatable into a datagrid?can anyone tell me how to do??? Thanx in advance.. ...
Dump variable contents similar to PHP var_dump() or print_r() function?
ChuckDemon -
14 Oct 2005 4:07 AM - 2 messages
Is there a .NET class or function to dump the contents of a variable/array/object/whatever to the console? Console.WriteLine( dump_variable( my_var ) ); Thanks. ...
MD5 hash in C# vs. others
Adrian Grigorof -
14 Oct 2005 3:28 AM - 3 messages
Hi all, I am trying to generate an MD5 hash for a string (ABC) but I am getting a different hash when I use the C# program below vs. a script I wrote in Perl or other MD5 programs. Here is the relevant C# code: ...
session disconnected
Stanley Cheung -
14 Oct 2005 3:19 AM - 3 messages
Hi all, I hava a strange problem. After the system perform "DirectoryInfo.MoveTo", all the session and viewstate has reseted.. it make my application auto logout.... is it a known bug in .net framework1.1? anyone can help? Thanks in advanced. ...
DateTime.ToString() lies
vooose -
14 Oct 2005 2:59 AM - 9 messages
Consider... Console.WriteLine("date=" + DateTime.Now.ToString("d/MM/yyyy")); On XP I see what you'd expect but on Windows 2003 I see 14-10-2005! Anyone know what is going on? ...
When upgrading my app, it shows up twice in add/remove programs dialog?I figure
Benny Raymond -
14 Oct 2005 2:54 AM - 6 messages
I must be doing something wrong, since this is the first time i've created an installer... What's happening is this: I want to release a new version of my app. I go into AssemblyInfo.cs and change the version number. Then I change the version number in my ...
question about this code
John Salerno -
14 Oct 2005 1:45 AM - 6 messages
Here's the code: // created on 12/21/2002 at 1:42 PM using System; public class Account { private double balance; public Account(double startingBalance) { balance=startingBalance; } public override bool Equals(object obj) ...
load variable
Eduardo Arévalo -
14 Oct 2005 12:59 AM - 3 messages
Like load a value of a one variable in actual form of other form.?. thank's Eduardo ...
Reading structures from binary streams
Usenet User -
14 Oct 2005 12:52 AM - 4 messages
I am trying to read (and then save) a binary file which has certain data structures in it. (The file is in propritetary format produced by a 3rd party MFC application.) I know that those data structures would correspond to the structures ...
cross-platform programs
John Salerno -
14 Oct 2005 12:33 AM - 15 messages
Bear with me, but I've been reading a lot about how the .NET languages are platform independent, and I assume this means a program written in C# can be run on a Unix or Mac machine. If this assumption is wrong, ...
InvalidCastException question
MounilK -
13 Oct 2005 11:59 PM - 8 messages
Hi all, I have a form which has a TabControl and a Button. At runtime, on the TabControl, I create a TabPage with a TextBoxes. Now, when I click the button after entering some text in the textbox, I want to show the text in a ...
Designer and Timers
vooose -
13 Oct 2005 11:46 PM - 4 messages
Consider a class that extends System.Timers.Timer. The Visual Studio designer thinks this is a class that can be designed. Is there a way, say an attribute on the class, that tells the IDE that it can't be ...
why do structs not allow default constructors?
Peter Rilling -
13 Oct 2005 11:31 PM - 5 messages
Hi. Two of my biggest complaints about structure in c# is that 1) You cannot implement a default constructor and 2) You cannot initialize fields on the declaration line. I would like to know why this is. Is there some technical reason why C# ...
SelectedIndexChanged not firing on mouse click
Evan Stone -
13 Oct 2005 10:19 PM - 4 messages
I'm running into a strange problem (or at least it seems strange to me). I have a standard list box (System.Windows.Form.ListBox) on a form and I'm trying to trap for activity on the SelectedIndexChanged event. It works fine ...
Visual Studio 2005 Tools for Office Edition Beta 2
Michael Rodriguez -
13 Oct 2005 10:13 PM - 3 messages
Is this compatible with the latest VS 2005 RC? If not, which VSTO should I use? TIA, Mike Rodriguez ...
design question about the use of constants and resource files
gabriel -
13 Oct 2005 9:13 PM - 5 messages
Greetings, I am working on a project and cannot choose the best way to achieve this : I got a method which returns an error code like this : DISK_FULL or PERMISSION_DENIED. Those are constants defined in a class named "Constants" : public static byte DISK_FULL = 1; ...
Maximize Form Issue
Brandon -
13 Oct 2005 8:05 PM - 2 messages
Hello there. I'm currently working on a moderately complex Visual C# windows application that I have run into a bit of a problem on. To start things off, the application has normally been run under Windows XP with the theme mode set to ...
How to remove CR LF from a multiline text box
le_mo_mo -
13 Oct 2005 8:04 PM - 5 messages
Hi, How do you remove the CRLF from a multiline textbox entry? Does anybody have an example? Thanks, MO ...
Textbox Control in a Repeater in ASP.Net
Andy -
13 Oct 2005 6:40 PM - 5 messages
I am attempting to print out a table using a repeater in which one field is updatable. Basically you would have a table of x number of rows and y number of columns. However: only one field in each row will be updatable. My ...
Register assembly
Max -
13 Oct 2005 5:50 PM - 4 messages
Is there a way to register an assembly programatically? ...
Using C# to launch apps
Christopher C -
13 Oct 2005 5:46 PM - 9 messages
I am using a C# winform to launch some apps for our students. Basically the user hits a button the form hides and the app is launched. When the app exits, the form is unhidden. I have a question on two things. From what I ...
Design patterns..
farseer -
13 Oct 2005 5:45 PM - 5 messages
i'm looking for the right solution to my problem. i have an app that uses certain core set of data object that it knows about and operates on. The source of the actually data however may come from various sources, including webservices, that return that data ...
WinForms Application Deployment
Mythran -
13 Oct 2005 5:31 PM - 4 messages
All library assemblies get installed into {cf}\CompanyName\Assemblies All executable assemblies get installed into {cf}\CompanyName\Products\ProductName What do I need to do so that the executable assemblies can see the configuration files that are in the ProductName directory and use the class ...
Remoting
perspolis -
13 Oct 2005 5:26 PM - 12 messages
Hi I want to send some info from my C# windows application to a website that hosetd in Linux. Can I use Remoting to transfer information between them? thanks in advance ...
Exception or showing erros
perspolis -
13 Oct 2005 5:15 PM - 7 messages
Hi I have a question about using exceptions or showing error messages .I say this by an example first way: if(n<0 and w<0) MessageBox.Show("please enter positive") else if (n=0 or w>0) ...
How can I write to a shared drive on another server
Ruepen -
13 Oct 2005 5:07 PM - 4 messages
I need to write to a file on a shared drive on another server using user credentials. I can't have this permanently mapped either due to application server restrictions that my app is running on. Can this be done using C# classes only? ...
Form in DLL
Jassim Rahma -
13 Oct 2005 4:31 PM - 2 messages
Hi, Can you please check this site.... [link] stratingvisualinheritance.asp I want to know how can write codes in the DLL library so that it will be compiled with it because in that article I can just insert the form but ...
Predicate as functions composition
Marco Segurini -
13 Oct 2005 3:59 PM - 3 messages
Hi, I have written the following code: // start code using System; using System.Collections.Generic; using System.Text; namespace MyPredicates { static class MyPredicate { public static bool Zero(int val) ...
|
|||||||||||||||||||||||