|
ms
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Visual C# .NETmicrosoft.public.dotnet.languages.csharp
Which file type to use to save data...
alexia.bee -
16 Dec 2006 8:27 PM - 7 messages
Hi all, I am new to C# so please bear me :). I have an app which uses datagridview. it has 8 columns. I also have struct which has 8 members(the same as the datagridview). when I add row to the gridview, i add the same data to this staruct and ...
read lock needed?
Ryan Liu -
16 Dec 2006 5:55 PM - 18 messages
Hi, If I have many threads write to a variable(e.g. var++) and another thread read it on an interval base. For those writing thread, I know I need lock, or its value could be lower ( even I think it is mostly not going to happen for ++ operation since it is ...
complicated math package?
fAnSKyer/C# newbie -
16 Dec 2006 5:34 PM - 3 messages
I want use C# or even C++, C to do some complicated math works, like calculaus~~ I wander if C# provide any complicated math package, like MATLAB Thanks a lot Cheers fAnS ...
Problems with Properties.Settings.Default and and user.config
logicnet.dk -
16 Dec 2006 5:00 PM - 2 messages
Is it possible to decide where user.config is stored by Properties.Settings.Default.Save? The default location seems to be "C:\Documents and Settings\[User]\Local settings\Application Data\[AppName]\[Executable name_Url_some random key]\[Version number]" and there are several ...
Printing with Dot Matrix Printer by C#?
Adam Right -
16 Dec 2006 4:28 PM - 4 messages
Hi, Anyone knows how to print with dot matrix printer ? I want to print text with some formatting such as bold, underlined font, and landscape document etc... How can i do this with C#? Thanks... ...
Making Imagelist Global
Sagaert Johan -
16 Dec 2006 2:27 PM - 2 messages
Hi In my topform i have an imagelist with icons used through the whole application.(main project + control libs) Can i make this imagelist global so i do not have to pass the imagelist object through all class layers used in my app? ...
String "+" operator conversion
Elena -
16 Dec 2006 11:28 AM - 11 messages
I am surprised to discover that c# automatically converts an integer to a string when concatenating with the "+" operator. I thought c# was supposed to be very strict about types. Doesn't it seem like c# is breaking its own ...
Out of memory with 2-dimensional float/double matrix
Martin Pöpping -
16 Dec 2006 11:13 AM - 22 messages
Hello, I´m using a very large 2-dimensional double matrix (45.000x45.000) in my program. At the initialization of the matrix: double[,] matrix = new double[45000,45000] I am getting an out of memory error. The program is running on a Windows 2003 Server with 8 GB Ram ...
How to send Lotus Notes Email Via C#
navyliu -
16 Dec 2006 11:07 AM - 5 messages
I want send Lotus Notes Email automatic in my Application.I googled this topic but I can't find the solution. Does anyone have ever use this function?Can you give me some advice? Thanks a lot! ...
Help getting information from a non managed programme.
garyusenet -
16 Dec 2006 10:20 AM - 9 messages
Program is witten in C++ and runs on my windows xp computer. It is a game, but I have been struggling with this project for weeks now so would appreciate some help - although I understand what i'm trying to ...
System.Data.DataColumn' does not contain a definition for 'Windows' ??
mfunkmann -
16 Dec 2006 8:49 AM - 2 messages
Hi, I recently got an error and I don't know how to fix it: Error 1 'System.Data.DataColumn' does not contain a definition for 'Windows' C:\c#\CsharpPRO\Form1.Designer.cs 304 77 CsharpPRO ...
Truncate table
Sala -
16 Dec 2006 7:58 AM - 15 messages
Hi I want to truncate all data in database ... pls help me how i ll truncate? ...
making a splash screen?
giddy -
16 Dec 2006 7:48 AM - 8 messages
hi , like my subject says . . i wanna make a splash screen , i have the picture i want to use. I wanna do it the right way , in VB i'd seen source that used a FORM! without borders and a picbox on it with the picture! =S ...
Classifying ips
Alakhim Mohamad -
16 Dec 2006 5:11 AM - 3 messages
Is there any way I can classifying ip addresses connected to my server, i.e regions, class or any specific ones I want to mention in some property ? Thanks in advance ...
send msg
Alakhim Mohamad -
16 Dec 2006 5:07 AM - 3 messages
I'd like to send a message from server to client via socket with the following code ...........server......... string s="message"; Byte[] b=new Byte[1024]; b=ASCII.GetBytes(s); socket.Send(b); ............................. ...........client........... NetworkStream ns=client.getstream(); Byte[] b=new Byte[1024]; ...
C# analog's of Java classes
TomC -
16 Dec 2006 3:55 AM - 10 messages
Is there any resource where someone who is familiar with Java might find which .NET classes are similar to classes they are familiar with in Java? For example, I have a project that I'd like to tackle as a ...
reverse order in string writer
Doug -
16 Dec 2006 3:05 AM - 2 messages
Hi I have a datagrid view that I have enabled a use to copy data from. However the copy seems to work in reverse. This results in the last value selected being the first copied to the clipboard, but I require the data copied to be in the order in the ...
row counter
Doug -
16 Dec 2006 2:05 AM - 5 messages
Hi I have a data grid view that returns values from a sql lookup. At the bottom of the area that displys the datagridview, I have a label called rowCount that displays the number of rows returned, but when ther ...
Anyone using lotus notes automation classes
Joe -
15 Dec 2006 10:26 PM - 2 messages
HI Has anyone been able to work with lotus notes automation classes??? Can you post sample code of how to use these classes. I have setup in VB but I am not able to port to C# This is what I have so far - I cannot create a session and not sure ...
ThreadException and RunworkerCompletedEventArgs Error property
Mesan -
15 Dec 2006 10:23 PM - 2 messages
Has anyone else noticed that even though you handle an exception that happens within the background worker that the UnhandledException event still fires? For example, here's my ThreadException hookup and code : Application.ThreadException += new ThreadExceptionEventHandler(Application_ThreadException); void Application_ThreadException(object sender, ...
Close button
Alex Castillo -
15 Dec 2006 10:22 PM - 4 messages
Is there a way to create a form which has no close button? Thanks. ...
How to traverse an object properties?
visor7 -
15 Dec 2006 9:57 PM - 4 messages
Hi, i've been trying to investigate how to traverse through an object instance properties or fields with no success. I have read about IEnumerable interface but that seems to apply only to collection of objects. What i want to do actually is to traverse through each ...
How determinate if there no symbol in a string.
ad -
15 Dec 2006 9:14 PM - 14 messages
I want to determinate if there no symbol in a string? for example "12ab34", "123a5bc", "a123c4" is ok, but "23#45", 2a,35" is not ok. ...
Array random re-created mantains the same values
Pao -
15 Dec 2006 7:57 PM - 8 messages
My code works in this way: I declared a static array in a class (public static int[] GVetRandom = new int[3];) that in a for cycle I fill with random numbers. The array gets cleared (clear method) and refilled at each turn of ...
Question on WebClient methods
Frank Rizzo -
15 Dec 2006 7:49 PM - 2 messages
My app utilizes the WebClient class to get files via FTP and to interrogate pages via HTTP. However, some sites that the software is being deployed to does not have always on connections. So I am being asked to support dial-up and VPN connections. The problem is that I ...
execute key down
Alex K. -
15 Dec 2006 6:27 PM - 5 messages
Hi all How to raise a control's KeyDown event programmatically? In other words, how to send a key to a control, say, combobox? The control's internal / protected methods are out of my reach, because I get it as a parameter. I need something like: ...
BinaryWriter - Dynamic cast
jfbaro -
15 Dec 2006 6:09 PM - 2 messages
Hi, I am new to C# and I don't know how to cast dynamically an object to a specific type . I have the object and its type (as a Type object). For example, I read some data from a query (which has been created ...
System.Globalization.CompareInfo.Compare stack overflow exception
Tommaso Caldarola -
15 Dec 2006 4:44 PM - 6 messages
Randomly I got the following exception: 00000050 push dword ptr [esp+10h] 00000054 mov edx,edi 00000056 mov ecx,ebx ...
Remoting Tutorial?
Rich -
15 Dec 2006 4:20 PM - 5 messages
Can anyone suggest a good (current) tutorial on how to do basic remoting with C# (2005 express edition)? ...
Application to create ERD for Win2K Server
Steve Harp -
15 Dec 2006 4:16 PM - 2 messages
Hi All, I've just been severely bitten by not having a current Emergency Recovery Disk for one of my Windows 2000 Servers. I know that I can use the Windows Backup utility to create an ERD. However, I'd like to ...
[Delegates and Events]
Johnny E Jensen -
15 Dec 2006 3:48 PM - 5 messages
Hi Using C#, VS2005 .NET2 I have a custom usercontrol. Here i have a picturebox (Close) and a CheckedListBox A public delegate void for CloseControlHandler();, and event for that CloseControlEvent; A public delegate void for AddFieldToListHandler(string tablename, object item); and event for that AddFieldToListEvent; ...
Encoding in Textboxes
Ferdinand Zaubzer -
15 Dec 2006 3:42 PM - 2 messages
Hello, What character encoding is usually used in Textboxes in the .Net Framework? Regards, Ferdinand Zaubzer ...
Loaded module list.
Fabio Z -
15 Dec 2006 3:02 PM - 3 messages
Hi all! I'd like to get the list of loaded modules by my assembly, like VS does at debug time in the loaded modules window. I load some assembly via Assembly.LoadFile() and I'd like to retrieve these ...
Late Binding a Method to a Timer
Ronin -
15 Dec 2006 2:58 PM - 6 messages
I need a little help trying to figure out the last piece of this puzzle. I've got a form with an associated toolbox that will allow a user to drag a control off the toolbox and drop it onto the form. The form ...
How to serialize a custom collection at design time
Mark Collard -
15 Dec 2006 2:44 PM - 2 messages
I've noticed that you can add TreeNode's to a TreeView control at design. When you do, it serializes the TreeNode's in the InitializeComponent procedure using the AddRange method on the TreeNodeCollection class. E.g. this.treeView1.Nodes.AddRange(new System.Windows.Forms.TreeNode[] { ...
c# to query hardware and installed software with serial number or
freddy -
15 Dec 2006 2:20 PM - 5 messages
I know this can be done in vbscript but I would like to build an c# app and saving the data to sql express. by the way this is c# express. I need to query every mach on the domain for hardware and software. ...
KeyedCollection serialization with SoapFormatter
Wiebe Tijsma -
15 Dec 2006 12:59 PM - 4 messages
Hi, I'm trying to serialize a KeyedCollection with the SoapFormatter, however I'm getting the exception: System.Runtime.Serialization.SerializationException: Soap Serializer does not support serializing Generic Types : System.Collections.Generic.GenericEqualityComparer`1[System.String] I didn't expose any generic types however, so it's internal to the Keyed ...
[C#] Java type "DataHandler" in C#
delirman49 -
15 Dec 2006 10:03 AM - 4 messages
Hello, Sorry for my english. This is my problem : I must create for a great french company a webmethod with 2 "in" parameters. The first is an object, no problem. The second must be a "DataHandler". The company have a java client which send to my webmethod this 2 ...
Debug Settings VS2005 - "Break on All Errors"
iKiLL -
15 Dec 2006 9:48 AM - 8 messages
Hi all I am still pretty new to .Net and C#. I have come from a VB6 Background. I am using VS2005 to develop an C# Windows mobile 5.0 application. What I am looking for is the setting that is equivalent to the VB6 "Break on ...
Interlocked.Increment bug?
Ryan Liu -
15 Dec 2006 9:32 AM - 16 messages
Hi, Is there any known bug related to Interlocked.Increment(ref var)? My client report var's value going up and down in the client/server multile-thread application. There are about 80 clients connect to one server though TCP client. ...
Programmaticaly checking a shortcuts properties?
garyusenet -
15 Dec 2006 9:29 AM - 5 messages
I want to write a quick and simple programme to update a shortcut on about 20 peoples workstations. They will all have the same shortcut, so I thought the simplest way would be to create the shortcut on one computer and just copy it to their desktops. ...
Sending StandardInput.WriteLine to a C++ Console Application
nautonnier -
15 Dec 2006 7:52 AM - 3 messages
Hello, I have a C# app that spawns several processes each containing a console app written by another developer in C++. The console app was written first to be just like a console app: it starts, you type a command it ...
Mailmerging to a pre-defined template
Matt -
15 Dec 2006 7:14 AM - 2 messages
Morning all, I'm putting together an App that reads data from a database and then, depending on the users decision, outputs the data to a mailmerge document for either an address label or an envelope. I've found the article at [link] ...
ANN: VS2005 SP1
Thomas Scheidegger [MVP] -
15 Dec 2006 7:00 AM - 59 messages
Final: Visual Studio 2005 Service Pack 1 (SP1). [link] Standard, Professional, and Team...: [link] ...
PropertyGrid - how to display a string array as dropdown property
Steve -
15 Dec 2006 5:38 AM - 5 messages
I am using a property grid to display a classes properties, all is OK for single value properties but i need to display a list of strings for the user to select from and update the property value based on the selection. ...
How to convert .xls file into text file.
pappu -
15 Dec 2006 5:35 AM - 9 messages
Hello friends, I want to convert .xls file into text file.So can anybody pls help me out. Thxxxxxx, Sachin. ...
How to get the color of the specified pixel in the screen?
Hooyoo -
15 Dec 2006 3:52 AM - 7 messages
I want to get the color of the specified pixel in the screen. Firstly I get the position of the cursor: //Get the position of cursor. Point position = Cursor.Position; Next I want to get the color using the position of the cursor. ...
Left or Right Tab Alignment missing text
SteveT -
15 Dec 2006 3:32 AM - 6 messages
I want to create tabs in the TabControl that are aligned on either the right or left side, but no text shows when doing this. Is there an issue here or a work around. Text for tabs on top or bottom are just fine. I'm using VS ...
Working with FindAll() and predicates.
DagoFlores -
15 Dec 2006 3:16 AM - 4 messages
Hi, let's take a look to this code that we already know.: List<string> dinosaurs = new List<string>(); dinosaurs.Add("Compsognathus"); dinosaurs.Add("Amargasaurus"); ...
When to use the GAC?
David Veeneman -
15 Dec 2006 12:29 AM - 4 messages
I am preparing to deploy a couple of custom controls. Should I deploy the control dll files to the GAC? Some third party controls deploy there, but other packages deploy to the Program Files folder. How do I decide which of ...
Crystal Reports for VS.Net 2003 (Export Margin Problem)
Whaylon Coleman -
14 Dec 2006 11:12 PM - 2 messages
I’m using the Microsoft VS.Net 2003-version of Crystal Reports in a web application. I have a standard report I’m displaying in a Web Browser and I’m exporting the output as a PDF document. The problem is for every Text ...
Automate ClickOnce settings, publishings?
Ronald S. Cook -
14 Dec 2006 10:59 PM - 2 messages
We have a Win app that we publish via built-in ClickOnce. However, we have 10 different locations to which we deploy the app. Each time we have a new build to publish, we have to change the IP in a setting and also in the URL ...
Data access layer generator?
Ronald S. Cook -
14 Dec 2006 10:56 PM - 5 messages
Does anyone know the top few 3rd party products for data access layer generation? We're looking into DeKlarit but don't know if they're the most popular/common out there for VS2005 integration. Thanks, Ron ...
sending msg to message loop of background thread
mtsweep -
14 Dec 2006 10:28 PM - 9 messages
Hi, I started a background thread to preform some time intensive tasks for a GUI frontend. This background thread uses a C++ object which requires a windows message loop so I started one in it by calling Application.Run(). Now I can see that messages from the C++ libraries ...
csharp skipping lines of code after a call...?
Alex -
14 Dec 2006 10:17 PM - 5 messages
Hi - I have some code that looks like this: widget_DragDrop(object sender, DragEventArgs e) { //1. some business logic dataobject_changedbvalues() //2. some more business logic ...
how to cast an int to a string?
Rich -
14 Dec 2006 10:12 PM - 10 messages
Hello, I created a simple winform app in C# 2005 that contains one button that I just want to do a console.writeline... .... namespace testCshap1 { public partial class Form1 : Form { public Form1() {InitializeComponent();} ...
Stopping Automation
bjm -
14 Dec 2006 9:58 PM - 5 messages
I am writing a program that will automate a series of application installations. I want to give the user the option of stopping the program's execution in between installations (for example, give the user the chance to stop the program after the second installation ...
Knowing when my assembly is loaded
GoogleNewsReaderMan -
14 Dec 2006 9:56 PM - 2 messages
Is there a way for me to know from within a given assembly when it gets loaded? If so, how can this be done? Thanks in advance! ...
IMAP4 Client
pagates -
14 Dec 2006 9:40 PM - 2 messages
Hi All, Anybody have a link to an example of a "simple" IMAP4 client (either ASP.Net or Desktop App) with source code? I have been Googling and can't find anything that really shows me what I want, and I don't really have time to ...
ArrayList of arrays
Zenon -
14 Dec 2006 8:48 PM - 4 messages
I have a function which returns array of structs. I need to create a collection of those arrays and thought that an ArrayList would be a good way to do this since the count is variable. The problem I am ...
How can I find the name of the process that has a certain file in use?
Marcel Brekelmans -
14 Dec 2006 8:42 PM - 2 messages
Hi, Is there a way to find the name of the process that has a file open? I know of tools, like Unlocker, that can do it, so I assume there are some systemcalls that can help me out. Thanks. ...
Payroll model.
John Sitka -
14 Dec 2006 8:32 PM - 9 messages
Hi, There are four pay types standard shiftpremium doubletime doubletimepremium each hour a person books can be one of these types Now when the payroll is calculated once a week the system needs additional to be spoon fed to know which hours are overtime ...
connect to sql database
j-in-uk -
14 Dec 2006 8:25 PM - 2 messages
Does anyone have a windows forms app that allows a user to connect to a sql express database? User must be able to enter sql credentials & then get a list of the databases.......to select from ...
Making a beep
Jesper, Denmark -
14 Dec 2006 7:41 PM - 13 messages
What is the easiet way to make a beep in c#. When code passes a certain point i would like a beep in a windows application. Regards. Jesper. ...
Performance of switch{} block.
Smithers -
14 Dec 2006 6:21 PM - 14 messages
Just wondering if the sequence of the case(s) in the switch block might impact performance. Suppose I switch on an int, and I have 4 expected cases. Lets say I expect case 3 to happen 95% of the time. Would the switch block ...
@ parameter
randy1200 -
14 Dec 2006 6:11 PM - 2 messages
I found the following function declaration in a C# application (VisualStudio2005): public void FindComplainsAsync(byte[] @in) What does the @ mean? I've only seen ref and out for parameter qualifiers in C#. Thanks ...
Thread.Suspend and Thread.Resume in Framework 2.0
Buddy Home -
14 Dec 2006 6:05 PM - 10 messages
Hello, I want to understand whats the best way to write code to replace Thread.Suspend, Thread.Resume and Thread.Abort. I have lots of code calling these existing methods and want to minimize the risk of changing the code everywhere so here is what I think I could do, ...
Threads
csharpula csharp -
14 Dec 2006 5:53 PM - 5 messages
Hello,I have a references list which is part of singletone members. Another class calls the sigletone.method(refList) and passes a list of one reference while inside the method (if i print) i see already 2 references in this list. ...
Enumerator question
csharpula csharp -
14 Dec 2006 5:46 PM - 8 messages
Hello, I have methods which refer to some class enumerator .Should I make it pulic or encapsulate it? *** Sent via Developersdex [link] *** ...
What does the "out" keyword do in this function call?
Rich -
14 Dec 2006 5:18 PM - 10 messages
Greetings, Here is a function call to a user-defined function which uses the out keywork. The function definition resided in a dll class which is used by an external app. Could someone explain what the "out" keyword does in this ...
Creating my own object , with sub objects
Greg Larsen -
14 Dec 2006 5:03 PM - 3 messages
I want to create my own object X that has the following properties Name Count ItemCount Item(x) Item is also an object that has the following properties: ItemName ItemType ItemID How would I code and class to create and populate the above object, and then ...
How To Use ResourceManger for String management
groovyjman21 -
14 Dec 2006 4:43 PM - 4 messages
Hi all, Can someone just give me a dead-simple example of how to find, read, and use resource files from C# using the VS2005 IDE? I need to call some strings from a resource file and am having a ...
Conditional compilation Constant for CLR version
RC -
14 Dec 2006 4:42 PM - 2 messages
Is there a built-in constant that I can use in a #if statement to conditonally compile a line of code based on the CLR/Compiler version e.g. something like: #if (CLRV2) string Foo = System.Configuration.ConfigurationManager.AppSettings(".. ...
Sorting in LinkedList<>
martin-g -
14 Dec 2006 4:40 PM - 21 messages
Hi. Mostly I program in C++, and I'm not fluent in C# and .NET. In my last project I began to use LinkedList<> and suddenly noticed that can't find a way to sort it. Does it mean I must implement sorting for ...
accelerators not working on nested controls
Brian -
14 Dec 2006 4:39 PM - 2 messages
This is easy to reproduce. If you have a form with a container control on it and then add a button control to the container control and label it something like My&Button so that when you hit ctrl-B you would expect it to do a button ...
Embedded Resources
Code Monkey -
14 Dec 2006 4:20 PM - 2 messages
I've recently developed a reporting function which uses a third party component. The component has a license file (.lic) which must remain in a directory. I was wondering if it was possible to embed the contents of the file (which is just straight forward xml) into a resource file. ...
C# and MDB
Eran.Yasso -
14 Dec 2006 3:22 PM - 7 messages
Hi all, I need to write app which using MDB files. Can any one help me with that? 1. Can C# create MDB File(with or without ADOX)? or do i have to create it manually? 2. How do i set ADOX? ...
Proggramatically delete cookies
kendera -
14 Dec 2006 3:19 PM - 5 messages
Is it possible to programmatically delete cookies? Can anyone help me with this... ...
Strange string.Format exception
Remi THOMAS -
14 Dec 2006 3:17 PM - 2 messages
Hi, When you execute this line of code string script = string.Format("foreach (GroupDoc gdoc in {0}.SetGroup(\"{1}\") {\r\n", "p1", "p2"); You get System.FormatException was unhandled Message="Input string was not in a correct format." Source="mscorlib" ...
[winforms]swiching focus with ENTER key
peter -
14 Dec 2006 3:14 PM - 2 messages
Hi! I have a many forms with many controls and users are used to use ENTER key to move/circle through controls on a form. How do i do that without refferencig all controls on a form to a function? ...
How to pass and input control into a function
pbearne -
14 Dec 2006 2:50 PM - 6 messages
Hi guys I am trying to this function below I have a web form with a load of inputs text boxs etc and i need to disable them So I have tried to write a function I can call and get the function to ...
Network Issues
salman -
14 Dec 2006 2:09 PM - 3 messages
we are developing new office, and now we are at stage to build office network, please kindly any help on the following issue to understand. - Components of a corporate network (Hardware Firewall, Cisco Pix501, Intrusion Detection System, etc.), - Design Issues in a corporate network, ...
Opening a Word document from an app
gazza67 -
14 Dec 2006 2:01 PM - 9 messages
Hi, I want to do something that I thought would be simple but i cant seem to work it out, perhaps someone out there could help me. I want to browse for a file (it will be a word document), save the file ...
Proper inheritance
David Colliver -
14 Dec 2006 1:53 PM - 7 messages
Hi all, I am stuggling to get my head around all of this. I have taken it upon myself to write a large .net project, which is proving to be a tremendous learning exercise. I am using ASP.NET and C# 1.1 ...
Problems with Session.IsNewSession - Please help...
rsouza -
14 Dec 2006 1:05 PM - 6 messages
Hi. Recently here in my work we added the following code in the Global.asax file to handled the session expired and redirect users to the home of the site explaining them the occurred (some thing like "Your session has expired, please restart your navigation."). ...
Derive exceptions from ApplicationException or not in .NET 2.0?
A1b2c3d4@community.nospam -
14 Dec 2006 12:26 PM - 2 messages
Hi, In the code analysis rules engine for .NET 2.0, rule CA1058 states that application-specific exceptions should no longer be derived from System.ApplicationException. No reason is given. (See on-line help for CA1058). The documentation for System.ApplicationException still states that ...
Looking for a freeware 2D plotting chart package for C# or C++ under visual studio
ptek -
14 Dec 2006 11:26 AM - 7 messages
Hello all, I'm looking for a free libray for plotting 2D charts that can be integrable on C# or C++ projects under visual studio (.NET ou VS6.0). I searched using google and yahoo but I didn't find any free package. I ...
A Lot DropDownList Problems
badfox -
14 Dec 2006 11:23 AM - 2 messages
Hi ! A have three DropDownList and when set set value of one, the 3 DDL set the some value ! Why ? See the code: ddlFlavio.SelectedValue = oProduto.GradeId1.ToString(); // Value = 1 ddlAndreza.SelectedValue = oProduto.GradeId2.ToString(); // Value = 2 ddlArthur.SelectedValue = oProduto.GradeId3.ToString(); // Value = 3 ...
Multiple Client Simulation
Chacko -
14 Dec 2006 10:51 AM - 8 messages
Hi could anyone tell me how to simulate multiple clients for a windows form without actually me having to copy paste the code. Cause its a real pain.... The thing is i am working on remoting which u guys must have guessed by ...
how to extract excel file data into text file.
pappu -
14 Dec 2006 9:10 AM - 2 messages
Hi friends, I m just stuck with extracting excel file data into text file. So can any body please help me out. thx, Sachin. ...
StreamWriter couldn't append data in file
Kevien Lee -
14 Dec 2006 8:46 AM - 3 messages
Hi , I had a strang problam ,when i use StreamWriter to append to a file,i found that if i don't close the StreamReader it couldn't write the data into file,the code as folllow that: class Program ...
Can I use typeof() to make new objects?
Einar Værnes -
14 Dec 2006 8:41 AM - 12 messages
Hi. I am trying to programatically decide which type a new object should have, but the typeof-function is apparently not the answer, as the following code will not compile. class AbstractClass:Object { } class DerivedClass1 : AbstractClass { } ...
What's wrong with my SqlCommand?
Jason Huang -
14 Dec 2006 3:50 AM - 3 messages
Hi, In my codes: ======================================= myConn.Open(); SqlTransaction MyTrans= myConn.BeginTransaction(); SqlCommand myCommand = new SqlCommand("ZZZ15UserLog",myConn); myCommand.CommandType= CommandType.StoredProcedure; SqlDataReader myReader; myCommand.Transaction=MyTrans; try ...
ExecuteReader and ExecuteNonQuery
Jason Huang -
14 Dec 2006 3:10 AM - 3 messages
Hi, I am not clear about the difference between the SqlCommand's ExecuteReader and ExecuteNonQuery. Would somebody show me an example to demonstrate the difference? Thanks for help. Jason ...
insert a movie file as a binary data in an xml
Chazam -
14 Dec 2006 2:44 AM - 4 messages
Did somene know how to insert a video file as binary data in a xml file using C# ...
Problem with application trying to read data from a network stream when the socket is closed
White Spirit -
14 Dec 2006 2:24 AM - 3 messages
I have a function within an application where a client connected to a server continuously sends data. The code on the server side is of the following form: Socket socket = receiveSocket; NetworkStream networkStream = new NetworkStream (socket); ...
win DLL called by Web Application
Masita -
14 Dec 2006 1:52 AM - 3 messages
hi all, I am new in dot net development. Can windows dll called by any Web Application ? if i developing web application, can i just called my existing windows dll ? hope anyone can post some advice. ...
Static Linking C# .net
ashesman -
14 Dec 2006 1:34 AM - 3 messages
OK, I have written an application in MS Visual C# using .net. Is it posibble to static link into one self contained .exe file? This would certainly make distribution of a small accessory file much easier. And ...
timer...
Lakefront -
14 Dec 2006 1:20 AM - 4 messages
Hello: I am having some issues with a form timer. here's what i'm doing: In the main app i create a custom userControl object and call it's Init method. Now, within the Init method, i do some work and Start a form ...
HttpRepsone.OutputStream & HttpWebResponse.GetResponseStream()
Joe -
14 Dec 2006 1:09 AM - 3 messages
The example in the msdn shows how to write an image to the OutputStream and the example for GetResponseStream() shows how to read the stream and write it to the console. Unfortunately there is no example on how to distinguish ...
|
|||||||||||||||||||||||