473,800 Members | 2,418 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C# / C Sharp Forum

0
851
thread by: Yanela Somdaka | last post Jun 27 '08 by: Yanela Somdaka
Hi Ben Did you finally manage to get this error fixed? It's happened all the time for me now even when using asedatareader.....HELP
0
684
thread by: yingyu1107 | last post Jun 27 '08 by: yingyu1107
In the midst of three days of national mourning for victims, aftershocks continue to shake Sichuan Province — including a 6.0 magnitude earthquake early Sunday morning, the latest in a series of several thousand tremors in less than a week — causing landslides, disrupting telecommunications and blocking roads in already-devastated areas. ...
5
6,124
thread by: sklett | last post Jun 27 '08 by: =?Utf-8?B?TW9ydGVuIFdlbm5ldmlrIFtDIyBNVlBd?=
I know that Panel (and most of it's derivitives) don't raise keyboard events. I *really* need to catch keyboard events though so I've been googling the topic and have found quite a few suggestions. The one suggestion I've found that makes the most sense isn't working for me and after this most recent failure I'm really at a loss! ;0) I'm...
0
1,009
thread by: akshay b | last post Jun 27 '08 by: akshay b
Hi, I am creating a custom form designer. In this I am taking a windows form at runtime on which I am droping controls like label, textbox etc. But I am not able to drag these controls anywhere on the form. They ar not getting selected in single click, I have to double click them for selecting. But after doble clicking also they not...
3
133
thread by: =?ISO-8859-1?Q?Arne_Vajh=F8j?= | last post Jun 27 '08 by: Scott M.
Scott M. wrote: Hmm. If we use /2.0 and not /2 as discussed in several posts, then: what is 160/2.0 and 100/2.0 ? Arne
1
1,271
thread by: ABCL | last post Jun 27 '08 by: =?ISO-8859-1?Q?Arne_Vajh=F8j?=
HI all we are consuming third party java webservice in the .net client. The third party is changing webservice's interface continuosly if thwy want to add new method in the wenservice, They are also changing the existng methods, Becuse of that we have to change everything in our .net client. How can we write our code so we have to not cahnge...
0
789
thread by: jehugaleahsa | last post Jun 27 '08 by: jehugaleahsa
Hello: We have a pretty common situation where I work. We want to test a class that is dependent on its "parent" class. The parent class essentially holds a primary key, which we use to generate the child class. This goes on for many more generations. How can we effectively and (somewhat) easily unit test these classes? How about when...
1
1,219
thread by: Q. John Chen | last post Jun 27 '08 by: Usenet User
All, I am using VS2005. I have a dataset MyDataSet with several DataTableAdapters defined (say CompanyDataTable, DepartmentDataTable) After I modified the data in the data tables of the dataset, I want to put the change back to the database. So, I am doing the following: MyDataSetTableAdapters.CompanyTableAdapter adapter = new .....
6
1,300
thread by: David C | last post Jun 27 '08 by: David C
In my business layer, I have Person, and Patient which derives from Person. //base class for all single classes public class BaseItem{} public class Person:BaseItem{} public class Patient:Persons{}
8
2,984
thread by: Brad Walton | last post Jun 27 '08 by: Peter Duniho
Hello. First post, but been doing a bit of reading here. I am working on a project in Java, but decided to switch over to C# after seeing some of the additional features I can get from C#. One of the big changes I want to make is event-driven code (rather than the linear flow I had in Java). I have spent a week or so searching Google, talking...
1
1,095
thread by: DomoChan | last post Jun 27 '08 by: DomoChan
I have some methods which I would like to be validated at the web service level. for instance, if I have a function IsNumberFive( int value ); I want it to be embedded in the wsdl file to check for value=5. I dont want to do this programatically. I heard there was a validation mechinism for wsdl but I dont know what it is or how to use...
10
2,054
thread by: =?Utf-8?B?YXVsZGg=?= | last post Jun 27 '08 by: =?Utf-8?B?YXVsZGg=?=
am having a hard time wrapping my head around "backgroundworker" class and updates to the window form that calls it. i have some questions about how to update windows form controls. i have multiple labels and i'm using a text box for status updates. the labels change when a task completes. the text box report what task is running. so 1)...
1
2,211
thread by: GG | last post Jun 27 '08 by: Jeroen Mostert
This works (from s1 in seq1 where s1.Field<string>("EmployeeName")=="Ahmed" select s1).Single().SetField<string>("EmployeeName","Hema"); but this does not work (from s1 in seq1 where s1.Field<string>("EmployeeName")=="Ahmed" select s1).SetField<string>("EmployeeName","Hema");
0
1,302
thread by: rpriyams | last post Jun 27 '08 by: rpriyams
Hi all, Currently we are using redemption library to access outlook mailboxes. i am facing a problem while logging into exchange mailserver using LogonExchangeMailbox method of RDOSession. This is the error that i received from the above method. Error in ADsGetObject: 0x8007203A.
2
1,634
thread by: =?Utf-8?B?QWxwaGFwYWdl?= | last post Jun 27 '08 by: Peter Duniho
Hello, I have a class MyWorker. Each time I create a new instance of MyWorker, I queue it to the ThreadPool. So, 1 MyWorker object is pooled and belongs to its thread (there can't have 2 MyWorker in 1 thread from the ThreadPool). When MyWorker is initialized or instanciate, I use an asynchronous delegate to execute a long running process ...
3
2,689
thread by: Ryan Liu | last post Jun 27 '08 by: Peter Duniho
Will TcpClient.GetStream().Read()/ReadByte() block until at least one byte of data can be read? In a Client/Server application, what does it mean at the end of stream/no more data available? Client could send data once few seconds of minutes. Is there an "end" at all? In a C/S application, if server side call BeginginRead() again in...
1
20,647
thread by: Ryan Liu | last post Jun 27 '08 by: Ryan Liu
Hi, I have a 100 clients/ one server application, use ugly one thread pre client approach. And both side user sync I/O. I frequently see the error on server side(client side code is same, but I don't see the error): "System.IO.IOException: Unable to read data from the transport connection:A blocking operation was interrupted by a call...
6
1,457
thread by: satyanarayan sahoo | last post Jun 27 '08 by: Jon Skeet [C# MVP]
What’s the role of Partial keyword which is bydefault written for a class in 2.0 ? public partial class Form1 : Form
5
1,286
thread by: Neil | last post Jun 27 '08 by: Neil.Young
Hi group, is there a special C# LINQ group available? Regards
3
3,579
thread by: Ryan Liu | last post Jun 27 '08 by: Peter Duniho
Hi, Is Async I/O (e.g. NetworkStream.Begin/End Read/Write) always better than synchronous I/O? At least as good? When I don't concern about easy or difficult to write code, should I always use Async I/O?
0
911
thread by: Michael A. Covington | last post Jun 27 '08 by: Michael A. Covington
I need software components and/or maybe a developer to help me with a project which I can't disclose entirely here... It's a C# program and uses DirectShowNet (from SourceForge) to arrange and display some video clips. We also need to make video DVDs of the chosen set of clips, preferably with control over the menu structure. If...
3
3,491
thread by: kooka koo | last post Jun 27 '08 by: kimiraikkonen
Hi, I have the similar question? I can upload the file on root but i can't under the folder(FTP_TEST). For example; It works string uri = "ftp://" + ftpServerIP + "//" + "TQ.bmp"; But it throws the error when i wanted to upload file in sub directory(FTP_TEST).
2
1,990
thread by: =?Utf-8?B?SmVmZiBGaXNjaG1hbg==?= | last post Jun 27 '08 by: =?Utf-8?B?SmVmZiBGaXNjaG1hbg==?=
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication1 { class Program { static void Main(string args)
0
3,012
thread by: Jeova Almeida | last post Jun 27 '08 by: Jeova Almeida
Hello, I created a simple web service for testing purpose in Visual Studio 2005: <%@ WebService Language="C#" CodeBehind="~/App_Code/Service.cs" Class="WSTest" %> using System;
6
10,207
thread by: CSharper | last post Jun 27 '08 by: CSharper
I need to set an atribute to an xml element, I know how to do it with XElement.SetAttributeValue method. But What I am trying to do is, I need to add a attribute with a namespace like the following test:name="tester" When I try to add, it fails with : not a valid character in attribute. So my question is How do I go about adding the new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.