Home All Groups Group Topic Archive Search About

Visual C# .NET

microsoft.public.dotnet.languages.csharp
Score Help in Object oriented design?
Elhanan - 18 Mar 2006 9:11 PM - 3 messages
hi... i'm keep trying to grasp OO (as many others) i know the basics of inheritence, polymorphic, etc.. i'm trying to design a solution for an application that will do the following (i have something in mind allready, just wanted to run it ...
Score Generics and casting
Alexander van Doormalen - 18 Mar 2006 7:31 PM - 12 messages
I have a xml file with data from various sources. For example: <root>   <Account>     <Id>1</Id>     <Name>Somename</Name>     <City>Somecity</City> ...
Score Studio versions & development
Jeff - 18 Mar 2006 5:41 PM - 2 messages
No response in the vstudio.general group so... I currently have Visual Studio 6 Enterprise and Visual Studio .NET 2003 Enterprise Architect installed.  I am about to install Visual Studio 2005 Professional. Is Visual Studio 2005 an upgrade/replacement for one or both of these ...
Score Connection pooling problem
PH - 18 Mar 2006 4:54 PM - 3 messages
Hi; I got an application written in ASP.NET (VB.NET and C#) that uses connection pooling. The Max connections defined in the connection command are 50, and there are no more than 3 or 4 user using the application (intranet). ...
Score testing internet connectin
Rick - 18 Mar 2006 2:57 PM - 5 messages
Thanks, Rick ...
Score Visual studio guide ?
Jarod - 18 Mar 2006 1:23 PM - 2 messages
Hey I am using VS everyday but I feel that I don't use even 30% of its power because of lack knowledge. What's a good book about VS ? I don't need book about C# I need book about IDE, how to configure it, shortcuts, macros, ...
Score authorization problem
sonu - 18 Mar 2006 8:48 AM - 2 messages
Mark is creating a website using ASP.NET. He is using Forms authentication for authenticating and authorizing users. He has the following layout of files and directories in his website: Root ....File Manager/ ....Files Employee/ ...Files He wants to configure Forms authentication in such a way that the ...
Score How properly return XML from an ASPX page?
Ronald S. Cook - 18 Mar 2006 4:32 AM - 7 messages
I have an ASPX page that returns XML to the calling client.  While the code below works, I don't think it's proper because it's not encoded as XML. I.e. special characters might screw things up. ...
Score AppDomains and Exceptions
Michael Bray - 18 Mar 2006 3:54 AM - 11 messages
I'm writing a library to provide plugin capability to my applications.  It does this by loading DLL's into a new AppDomain for each plugin that is loaded.  Now obviously when I write a plugin, I can make sure that my ...
Score Why can't my delegate be public?
relient - 18 Mar 2006 3:34 AM - 4 messages
Title says it all. Here's code to show what I'm trying to say:     public class ClassA     {         public delegate void MyDelegate( );     }     public class MainClass ...
Score String concatenation -- not the typical question
Justin M. Keyes - 18 Mar 2006 2:41 AM - 10 messages
Hi, Please read carefully before assuming that this is the same old question about string concatenation in C#! It is well-known that the following concatenation produces multiple immutable String objects for each statement: String a = "a"; a += "b"; a += "c"; ...
Score Adding Files to EXE
Zagor - 18 Mar 2006 1:13 AM - 2 messages
Hi All, I have a small exe app ( basic a dialog box) that when lauched needs to "copy" some files in a directory chosen by the user (within the dialog). I cannot use an installation package because there are some particular tasks ...
Score how to set proxy programmatically
Hasan O. - 17 Mar 2006 10:41 PM - 2 messages
Hi, I am trying to write a program that sets proxy and dns settings permanently. How i can do that ? Thanks in advance ...
Score Scope and values of Object
AbeR - 17 Mar 2006 10:07 PM - 2 messages
I'm trying to set a level of abstraction in an ASP.NET app. I've created an object with properties and methods that I instansiate just after the class declaration. As I'm debugging this code I find that on postback the object is ...
Score XML Schmell !!!
Tony Clark - 17 Mar 2006 10:02 PM - 2 messages
Hi, I have an app that write out form deatils to an xml file (e.g. its caption, size ect).  Heres the xml output;- --------------------------------------------------------- <?xml version="1.0" encoding="utf-8"?> <forms>   <form> ...
Score Converting a float to a string
eric.goforth - 17 Mar 2006 9:43 PM - 6 messages
Hello, float.parse(MyString) seems to work to convert a string to a float, but how do I change it back? e.g. (string) (Myfloat1 -  Myfloat2) doesn't seem to work. ...
Score How to detect a null value
keithb - 17 Mar 2006 8:58 PM - 5 messages
What is the correct syntax to detect whether a DataTable Row.ItemArray element is a null value? using: if (row.ItemArray[i] == null ) does not seem to work. Thanks, Keith ...
Score cannot implicitly convert type string to bool
eric.goforth - 17 Mar 2006 8:41 PM - 7 messages
What's wrong with this? if (bool)(UserIDs[i] == ThisUserId) {    return true; } ...
Score How to tell when a form is minimizing or closing!
Tony Clark - 17 Mar 2006 8:41 PM - 5 messages
Hi, How can i tell when a form is minimizing or closing by use of the button in the top right of the form? thanks in advance ...
Score DataView.Sort NaN
gilly3 - 17 Mar 2006 6:38 PM - 4 messages
I have a column in a DataView that contains NaN.  When I attempt to Sort on this column, I get: MESSAGE: Index was outside the bounds of the array. SOURCE: System.Data STACKTRACE:    at System.Data.Index.Sort(Int32 left, Int32 right) ...
Score Parsing e pyparsing
Qbert - 17 Mar 2006 6:21 PM - 3 messages
Hi, I read something about pyparsing, lex and yacc. What are they? Is there some example for C#? I'm interested in data parsing but don't know how to approach this issue. Thx ...
Score creating instances of generic types
Scott Walters - 17 Mar 2006 6:06 PM - 2 messages
What I want to do is this...      public class c1 <T1, T2> where T1 : new()      {          private T1 at1;          private T2 at2; ...
Score Getting ready for Vista
DBC User - 17 Mar 2006 5:16 PM - 6 messages
Hi All, I am developing a program in VS 2005. Does anyone know what are the things I need to lookout for to make this program compatible with upcoming Vista? Thanks. ...
Score C# newby
maria - 17 Mar 2006 5:06 PM - 7 messages
Hi all I used to work with VB, and now I am trying C# and can't get it start for example in VB Dim Items() as tItems dim  NumberOfitems as long obj.GetAllItems(NumberOfitems, Items()) for i=0 to NumberOfitems ...
Score Generic ICloneable
Nathan - 17 Mar 2006 3:53 PM - 3 messages
I'm working with Clone() for the first time, and noticed that you have to unbox the Clone of an object that implements ICloneable: MyObject var1 = new MyObject();     // Where MyObject implements ICloneable MyObject va3 = (MyObject)var1.Clone(); ...
Score Creating a Shared Lock
Bob Bins - 17 Mar 2006 3:33 PM - 6 messages
Is there a way to create a shared lock using the Monitor class or any other synchronization class in .NET? So I have one resource that may have multiple threads using it at once but a second thread that when called must have exclusive access and cause the ...
Score How does Media Player do that resolution trick?
garyusenet - 17 Mar 2006 3:03 PM - 4 messages
I've noticed that the media player window takes up the same percentage of the screen regardless of the screen resolution, it's dimensions aren't fixed in pixels but it takes up a set proportion of the screen. This is exactly what i'm looking for in my simple form project i'm ...
Score New to windows services, can't get installer to work
vtxr1300 - 17 Mar 2006 1:43 PM - 9 messages
I've followed 2 very similar tutorials on creating a windows service and an installer.  But, after successfully compiling it, I try to do the InstallUtil command, but I get a badimageformatexception.  I tried to do some searching on that exception, but all I could find was a ...
Score Size and location change
PiotrKolodziej - 17 Mar 2006 1:35 PM - 5 messages
Hi This is my simple code: public Form1() { this.Size = configFile.getSize(); this.Location = configFile.getLocation(this.Size.Width); this.Closing += new System.ComponentModel.CancelEventHandler(this.Form1_Closing); InitializeComponent(); } When the size and location is set, everything is ok. But after InitializeComponent() they are set to the default values - ones ...
Score configuration for single computer development
David - 17 Mar 2006 1:00 PM - 2 messages
How can ISS/ASP.NET best be configured for development only. In other words what settings can be used to make the computer the development is done on as secure as possible but still able to serve webservices and webapplications ...
Score Problems in FTPing Windows Xp
Jay - 17 Mar 2006 12:13 PM - 3 messages
Hi, I have created FTP class file in c#.net. When i try to access FTP server (on Windows XP) through command line or browser, i am easily able to access it. but when i try it through my code, i log in but am not able to make ...
Score blob
Hrvoje Voda - 17 Mar 2006 9:53 AM - 2 messages
I'm using this code to get a blob from sql database, and put it into picturebox, but I don't know how to load it into picturebox. Code: sqlConnection.Open(); System.Data.SqlClient.SqlCommand LogoBLOBSelect = new System.Data.SqlClient.SqlCommand(); ...
Score .NET Framework Question
garyusenet - 17 Mar 2006 9:30 AM - 7 messages
I'm reading up on Visual C# and chapter 14 is introducing me to the ..net framework... I'm a little curios it says that one of the function of the CLR is to protect users from malicious code... Q. How does it do that? ...
Score Trouble connecting to oracle!
jens Jensen - 17 Mar 2006 8:52 AM - 4 messages
exception: "System.Data.OracleClient requires Oracle client software version 8.1.7 or greater." fails at connection.Open(); (connection is  System.Data.OracleClient.OracleConnection) What i'm i missing? many thanks in advance JJ ...
Score How to convert normal date to Julian date upto milliseconds precision
Rajat - 17 Mar 2006 7:30 AM - 3 messages
Hi, I have to draw a real time chart in which I have several entries at the same second (i.e. HH:MM:SS:Milleconds) The charting component only takes julian date for drawing the dates. I am not able to convert the normal C# DateTime to juliandate which takes ...
Score net mono
Bhagat Gurtu - 17 Mar 2006 7:00 AM - 11 messages
Thanking you in prior order to receipt of advises but anyway it so is. By way of my most important task, my employer has asked me to see it makes a database with C#. According to some it whereupons that .NET has a ...
Score Error while running asp.net
sha2kk3 - 17 Mar 2006 6:57 AM - 4 messages
While running this code "Invalid token 'try' in class, struct, or interface member declaration" error is comming. Please advice me...... I am new to asp.net. try     {         string connString = "Server=server04;Database=Northwind;Integrated ...
Score What are vTables?
Rene - 17 Mar 2006 6:44 AM - 2 messages
I keep reading about this vTables and it's killing me because I am not sure what they are. I have a feeling that vTables are used when you override virtual methods or properties but I really have no idea. Below is an ...
Score can help me with message box in C#.net
yefei - 17 Mar 2006 6:42 AM - 7 messages
i want to display a message box when the user click the submit buttone, but some fields are not filled(those fields are which can not be validated using available validators) i know in C#.net, the asp doesnot support messagebox class ...
Score How to cast in c# (Just kidding). But I do have a non-trival casting question.
the.duckman - 17 Mar 2006 6:19 AM - 10 messages
G'Day. Anybodey got an idea on this problem. Say I have a function object  doCast(object obj, Type t); It's job is to cast the obect (obj)  to a new type (t) and return it. Sounds so simple, but I cant seem to find a way to do it without some ...
Score How to prepare setup file to a C# application
Kondapanaidu - 17 Mar 2006 5:39 AM - 3 messages
Hi, I am using .NET 1.1 with professional 2000. What are the steps we have to follow to make set up to C# console application. My application is having one dll. Example: Application Name is : tc200 (This is console application) ...
Score Copying to clipboard
Arun - 17 Mar 2006 5:09 AM - 4 messages
hi all, I would like to copy the contents of a text file to clipboard using C#. The program should do the job of Ctrl+A & Ctrl + C. How do i go about? Arun ...
Score long, not too long
Ryan Liu - 17 Mar 2006 4:18 AM - 12 messages
In Visual Studio 2003, when i debug a C# program, I found: 300L * 10000000l -1294967296 int 210L * 10000000L 2100000000 int How come? a long type can not handle  300L * 10000000l, the result is too big for long type? Thanks! ...
Score Trouble getting the date time format I need
MJ - 17 Mar 2006 3:46 AM - 5 messages
I need to get some data into "perfmon" format. I'm using DateTime.Now(). How do I convert "3/16/2006 10:43:29 PM" to "03/16/2006 22:43:239.123" Thanks in advance! -mj ...
Score Create new drive in a System using C#
Kondapanaidu - 17 Mar 2006 3:35 AM - 4 messages
Hi, I am using .NET 1.1 along with 2K Professional Operating System. How to create a new drive in a system which is not available in my system. Example: My System is having the A,B,C,D,E these drives.. ...
Score Help understand type casting
keithb - 17 Mar 2006 1:04 AM - 3 messages
I'm trying to understand C# type casting. The following code will not compile unless I Cast item to a String. private static String myData; foreach (DataRow row in MyTable.Rows) {   foreach (Object item in row.ItemArray)     { ...
Score From ASPX page, can't access file on another PC on network
Ronald S. Cook - 16 Mar 2006 11:59 PM - 8 messages
In my .aspx page, I am trying to read file that is on a different on the company network. When I map a drive to it and call from within my .aspx page, I get this error: Could not find a part of the path 'Z:\Events.nss'. ...
Score ASPX code can't access mapped drive
Ronald S. Cook - 16 Mar 2006 11:43 PM - 2 messages
Hi, My ASPX code is trying to read a file on a mapped drive.  But I get the error below.  Any help would be greatly appreciated. Could not find a part of the path 'Z:\Events.nss'. Description: An unhandled exception occurred during the execution of the ...
Score Best practice for n-tier data access in .NET 2.0 .
Paul Aspinall - 16 Mar 2006 11:41 PM - 2 messages
Hi I've previously constucted my .NET 1.1 data access, via a Data Access Layer (DAL), that was all in code. Now that I have access to the DataSet control in .NET 2.0, I'm looking for opinions or pointers into how to implement a DAL under .NET 2.0. Is it best ...
Score Reference for database handling in windows forms using C#.Net
juventusaurabh - 16 Mar 2006 11:40 PM - 3 messages
Hello,           Can anyone please give me any referencese or links related to database handling in windows forms using C#.Net. ...
Score STL and DLL linkage (VC71/ VS2003) - Warning C4251
Bart Simpson - 16 Mar 2006 11:17 PM - 7 messages
I am writing a shared object (Dll in Windows) and I am making extensive use of the STL. I am getting lots of warnings like this: ClassA.h(139): warning C4251: 'ClassA::indexarray' : class 'std::vector<_Ty>' needs to have dll-interface to be used by clients of ...
Score PInvoke Custom Marshaling a Value type (Boxing)
Bill Medland - 16 Mar 2006 11:07 PM - 2 messages
I am trying to do some P/Invoke custom marshaling and am looking for a little help on custom marshaling a value type. I am working based on Kate Gregory's "Arranging Custom Marshaling With P/Invoke", which is unfortunately in C++ with managed extensions; I am ...
Score asp.net 2.0 control on a masterpage
Netmonster - 16 Mar 2006 10:59 PM - 2 messages
Hello, Can someone please explain the load order of different .net document types? Situation, I have a masterpage that has a few usercontrols on it, and an aspx page that uses the masterpage. I have noticed that the contenPlaceHolder on the aspx page runs before ...
Score Best practice for n-tier data access in .NET 2.0
Paul Aspinall - 16 Mar 2006 10:42 PM - 5 messages
Hi I've previously constucted my .NET 1.1 data access, via a Data Access Layer (DAL), that was all in code. Now that I have access to the DataSet control in .NET 2.0, I'm looking for opinions or pointers into how to implement a DAL under .NET 2.0. Is it best ...
Score Window SERVICE AND DISPLAY NAME
James - 16 Mar 2006 9:26 PM - 2 messages
Is it possible that I can have a c# window service run under different display name? ...
Score Custom business objects issue
Sean - 16 Mar 2006 9:08 PM - 2 messages
I have several classes that are Ienumerable and we use them to populate datagrids and Listboxes. Now however I need the actual column (ie property name) thus in pesdo-code For each Property in myObject   dynamicallycreatedCheckbox.text = property.tostring ...
Score real & transparent proxy
Sharon - 16 Mar 2006 8:19 PM - 5 messages
Hi all, Can any one explain the relationship between real & transparent proxy? I couldn't fully understand it from the explanation at MSDN. Thanks, Sharon. ...
Score XMLWriter Anyway to produce Doc with no encoding Info>
Bob - 16 Mar 2006 8:03 PM - 5 messages
Hi Need to produce a Doc with no encoding info. Is there anyway of doing this? Thanks Bob i.e. <?xml version=\"1.0\" ?> ...
Score OT: US job market
Dan Randers - 16 Mar 2006 7:42 PM - 27 messages
I've been programming as a hobbyist for well over 20 years and I've finally decided to go back to school and get certified (MCPD). But what are my chances of finding employment? Are all the good programming jobs going to India? ...
Score command line interface programming question
djc - 16 Mar 2006 7:14 PM - 9 messages
I'm new to this and was wondering what the options are for interpreting the command line using a CLI program. Specifically methods for interpreting the parameters passed to the program on the command line. I noticed that visual studio adds the following for you when creating a new ...
Score The 'Interface' Type - Unique to .NET?
Jordan - 16 Mar 2006 6:09 PM - 12 messages
In OOP literature we read frequently about "interface" - a term which is apparently used to mean different things depending on context and possibly language. ..NET however provides for the Interface type - as a specific and unique type (amongst the class, struct, enum, etc types). There is no ambiguity about ...
Score C code passing a pointer to a function to a C# .Net object?
TN - 16 Mar 2006 5:48 PM - 3 messages
I have a bit of C code, that creates an instance of a .Net class that has been built as a type library.  Everything is working as expected, I can pass strings to methods in the object.  What I would like to also do ...
Score How can I play "standard system sounds" in C# ?
Steph. - 16 Mar 2006 5:30 PM - 7 messages
Hi !   How can I play "standard system sounds" in C#  ? (  "standard system sounds" = The kind of sound you hear when you use MessageBox.Show() )   Thanks ! steph. ...
Score New form
PiotrKolodziej - 16 Mar 2006 5:18 PM - 4 messages
Hi. I have a window app. After clicking a button i need to display another window ( Options window ) in such a way that  "getting back" to previous one is blocked, unless "OK" is pressed. How to do this? Thanks PK ...
Score Nested objects and INotifyPropertyChanged
Betina - 16 Mar 2006 5:07 PM - 5 messages
Hi, I've created a Person-Object which implemts INotifyPropertyChanged. This Person-Object contains an Address-Object which implements INotifyPropertyChanged too. Then I create a BindingList<Person> which is the DataSource for my BindingSource. I created some TextBoxes bound to this BindingSource like this: ...
Score Serialization of a Queue
pwalessi1 - 16 Mar 2006 5:03 PM - 3 messages
Hi. I have a Queue<T> that I need to serialize, but when I try, I get the error: "You must implement a default accessor on System.Collections.Generic.Queue" It is my understanding that the default accessor has the form, ...
Score how to do this mapping "const struct outputinfor ** b" using p/invoke
geri.gan - 16 Mar 2006 4:42 PM - 2 messages
I have C API just like this: enum void getinfor(const struct inputinfor *a, const struct outputinfor ** b) i use p/invok to translate it to [DllImport("fmd_access.dll", CallingConvention = CallingConvention.StdCall)]         internal static extern void getinfor(ref inputinfor a, ...
Score How to get user under W98 without WMI
Dave - 16 Mar 2006 4:38 PM - 3 messages
Can anyone tell me either a) how to find the user of a process or, failing that b) how to find the currently logged in user with .NET1.1 under Windows 98 without WMI. ...
Score .NET installer tips needed
sklett - 16 Mar 2006 4:19 PM - 5 messages
I'm having a very frustrating time with the .NET installer project.  I can't make it uninstall a previous installation succsessfully.  I also need to create an uninstall icon in the program group and can't figure out how to do ...
Score XmlDeserialization error - Input string was not in a correct format
RJN - 16 Mar 2006 4:01 PM - 2 messages
Hi I'm getting an error while deserializing an xml into object. [FormatException: Input string was not in a correct format.]    System.Number.ParseDouble(String s, NumberStyles style, NumberFormatInfo info) +0    System.Double.Parse(String s, NumberStyles style, IFormatProvider ...
Score newbie question: Can I use odbc and connect to Firebird SQL database?
Robert Johnson - 16 Mar 2006 4:00 PM - 5 messages
Thanks Robert ...
Score Copying FIles Error
Jim Heavey - 16 Mar 2006 3:55 PM - 7 messages
I have written a little application which copies files from one location to another location. Before it copies the file, it ensure the directory for both the from and to locations is valid.  It also ensures that the from file exists. ...
Score VB6 Module in C# 2003
Mark Jerde - 16 Mar 2006 3:44 PM - 4 messages
This is probably a simple FAQ I missed in my reading & googling.  I've been using C# for over a year but I don't know the best way to handle a simple class that will be called many times from many objects.  The class doesn't ...
Score ASP.NET 2.0 Project: How to Turn on "Allow unsafe code" mode?
Ben - 16 Mar 2006 3:39 PM - 2 messages
I need to use some pointer-based "unsafe" code, I'm not sure if this option is still available. I selected "Always show solution" after I read Peter Bromberg's tips, but I don't see the option to "Allow unsafe code" from the ...
Score Is it allowed to edit InitializeComponent()
tony - 16 Mar 2006 3:11 PM - 2 messages
Hello! I use VS 2003. I have a control for example System.Windows.Forms.TextBox(); I drag this System.Windows.Forms.TextBox() control into a form. Now assume I want to add more functionality to this System.Windows.Forms.TextBox() which mean ...
Score TypeConverter question
Matthias Heise - 16 Mar 2006 3:06 PM - 2 messages
Hello everybody, I have a problem towards the following topic. There is a class like MyColor and a class like MyRectangle that has a property called FillColor which is of type MyColor. Now it should be able to say MyRectangle rect1  = new MyRectangle(); ...
Score .NET 1.1 version of Datagrid available within VS 2005?
Greg - 16 Mar 2006 2:16 PM - 4 messages
Am porting a program from .net 1.1 to 2 in which I've done some pretty painful work in order to customise a datagrid. On installing Visual Studio 2005, I can't seem to find the old data grid, only the new data grid view. I understand that this can be quite ...
Score reading add/remove programs? or help making distribution package
Kristopher Wragg - 16 Mar 2006 2:08 PM - 3 messages
hi I'm wondering whether there is a way in C# to be able to see whether a program has been installed or not? I want to create a distributional executeable that will have a few components and show which has been installed already and if it hasn't ...
Score ASP.NET 2.0 : where are the project files ???
Chris Peeters - 16 Mar 2006 1:34 PM - 6 messages
Hi, When creating an ASP.NET project in VS2005 : where are the project files (.csproj, .sln, ...) ? The only files I can find are the aspx and .code behind-files. thanks Chris *** Sent via Developersdex [link] *** ...
Score Folder permissions in dot 1.1 Version
Kondapanaidu - 16 Mar 2006 1:08 PM - 2 messages
This Library is not Importing.. ADsSecurity 2.5 Type Library *** Sent via Developersdex [link] *** ...
Score Autogenerate classes from xml schema .xsd file (not from dos prompt)
SunYour - 16 Mar 2006 12:51 PM - 4 messages
Hi, Does anyone know how to generate class structures from my xml schema from Visual Studio, not by typing "xsd /c <xmlschema.xsd>" in the command prompt Is the "Custom Tool" property the way to go? I have tried to create an external tool entry and set the Custom Tool ...
Score How to get the data before IE
C# - 16 Mar 2006 12:43 PM - 5 messages
normally, the IE gets data from Website. then IE deal with the data and show it to user. now, I want to get the data before the web site transmits data to IE. exactly, I wanna intercept data before IE show it to user. ...
Score How to generate the .Net project file ".*proj" dynamically in .Net 2.0 ???
Anubhav Jain - 16 Mar 2006 12:36 PM - 9 messages
Hi, I am having few .net source files(.cs or .vb) and I want to dynamically generate the corresponding .net project file(.csproj or .vbproj)  for them without using visual studio.So that I could be able to generate and compile the project on the enviroments where Visual Studio.Net is not installed. ...
Score RangeValidaor throwing exception
Anup - 16 Mar 2006 12:25 PM - 3 messages
Hi Group, In my application I am using "Range Validator", validator is set for a textbox with range 1900 - 9999. and I am also using "Validation Summary" problem is when I run the application i get a run-time exception ...
Score How to add odp.net in my code?
jens Jensen - 16 Mar 2006 12:20 PM - 2 messages
I want to connec to oracle database via  ado.net 2.0. the statement OracleConnection ocn = new OracleConnection(); throws an exception: The type initializer for 'System.Data.OracleClient.OracleConnection' threw a.... It seems that i need ODP.NET , How to move forward? ...
Score Folder permissions in dot new 1.1 Version
Kondapanaidu Gottipati - 16 Mar 2006 12:03 PM - 2 messages
Hi, How to set File or folder permissons to all users while I am creating the File in administrator. Once I restatt my machine I login into the normal user. There I dont have the permissions to write a content On that file. ...
Score Holding a class in the Session
Steven Blair - 16 Mar 2006 11:28 AM - 6 messages
I have the following code:     Session["CurrentUser"] = new CurrentUser("TEST"); When I postback to the server, the Session["CurrentUser"] is null. My guess is a only the refence to my actual class is stored, rather than the class. ...
Score Folder permissions
Kondapanaidu Gottipati - 16 Mar 2006 11:28 AM - 3 messages
Hi, How to set File or folder permissons to all users while I am creating the File in administrator. Once I restatt my machine I login into the normal user. There I dont have the permissions to write a content On that file. ...
Score How to pass a reference itself
Rich S. - 16 Mar 2006 11:26 AM - 6 messages
I want to pass an object to a dialog box, and have the dialog box work on the object, so that when the dialog box closes, my program now sees the altered object. This turns out to be not as simple as passing a pointer in a native program. ...
Score Default Path and Cursor files.
JohnSouth - 16 Mar 2006 11:23 AM - 2 messages
Hi I've been setting the location of a cursor file like this: this.Cursor= new Cursor("HandCur.cur"); I've just found out (the hard way) that if, elsewhere in the application, the user browses for a file using the openFileDialog then ...
Score Binding a TextBox to a particular cell of an Access database table
nvx - 16 Mar 2006 11:00 AM - 4 messages
Hello everyone... Just for the record, I'm a newbie to this data binding thing... In my C# application I need to bind a cell of an Access database table to a multiline TextBox. How should I do it? I've tried to bind the TextBox using the VS IDE (which ended up in ...
Score what class can seize http request in .NET framework?
C# - 16 Mar 2006 11:00 AM - 5 messages
hi what class can seize http request in .NET framework or c#? thinks!! ...
Score Encrypt/Decrypt serialized data
SunYour - 16 Mar 2006 10:13 AM - 5 messages
Does anyone have some nice code samples? I need to put some data (confidantial  data in a small "database"). I plan to use a xml schema to define the structure and serialize/deserialize to read/store data with the XmlSerializer class. ...
Score how to convert a char array(byte[]) to a string variable?
David - 16 Mar 2006 10:06 AM - 4 messages
Hi, how to convert a char array(byte[]) to a string variable? byte[] buffer; string strTest; /*the blow codes all get type of 'buffer': System.Byte[]! strTest = buffer.ToString() strTest = System.Convert.ToString(buffer) */ Thanks. ...
Score Webrequest Remove encoding from header
Bob - 16 Mar 2006 9:46 AM - 2 messages
Hi, I have created a webrequest that is failing at the server because it has Encoding =UTF-16  in the header. The server people want me to remove the entry altogether. I can't see where I have control over that with the WebRequest class. ...
Score VisualStudio : start application directly without build ???
Chris Peeters - 16 Mar 2006 9:16 AM - 3 messages
Hi, is there a way in Visual Studio.NET 2005 to start an application without VS to first start the build-process ? Even when the previous compile didn't result in errors or warnings, or the source code hasn't change, he nevertheless executes the build-steps ...
Score reading and writing to binary files
Robert Reijntjes - 16 Mar 2006 9:11 AM - 3 messages
Hi, I need to read/write data from/to binary files that have an already defined. This means I can't define classes with the [Serializable] attribute. The files also have arrays with variable length. This means I can't use ...
Score Http in C# Windows Form
Jason Huang - 16 Mar 2006 9:02 AM - 2 messages
Hi, In my C# Windows Form application, I would like to simulate clicking a hyper link and go to a particular Http://... How do I make that in my C# program? Thanks for help. Jason ...
Score Late binding with unmanaged code
Entwickler - 16 Mar 2006 8:42 AM - 8 messages
hello, i have the following problem. i want to write a code that enables the user to call functions from a unmanaged code .dll at running time . so i have to use the late binding . i tried the following code but it doesn't walk : ...
Score coding in c-sharp to convert a pdf file to html file
raj - 16 Mar 2006 7:56 AM - 2 messages
hi, I want to C# code to perform conversion of a vpdf file to html file ...
Next »