-
- DataSet.AcceptChanges
by Tryin2Bgood
- 8 Replies
- Last post
by Curly_233
- If i have a dataset binded to a datagird and i make some changes on those columns on that datagrid and when i click a buttons my dataset calles its AcceptChanges method will that update those changes in my dataset so that when i open my form again those changes are still there within that column of the row that i changed in my datagrid
-
- Can XMLSerializer do this?
by G Holden
- 12 Replies
- Last post
by G Holden
- I am trying to generate specific xml from a class. I have generated the class using the XSDObjectGen Add-In for Visual Studio. I started with this xml, snippet in figure 1 below, and generated a schema.xsd from this. When serialized I get the xml in figure 2. The differences I am trying to correct: First, the desired xml has every element prefixed with pidx: (by the way, what is prefix this call
-
- How To Install .net Framework On other Partiotion like d:\
by Windows Administrator
- 2 Replies
- Last post
by Aaron Stebner
- by default .net Framework will install on %systemroot%\program files\..... and there is no way to change destination of installing by setup program , by important reason i want to install .net framework on drive (for example) d ,
i thought that maybe if i change the windows variables and change the programfiles location i can change the .net framework installition location , but i am not sure t
-
- COM+ in 2005 and WCF
by Ehab_Hosny
- 5 Replies
- Last post
by Axel Andrejs - MSFT
- hi everybody,
i have a project that was developed under visual studio .net 2003 and i need to migrate to visual studio 2005 but the projct is 3 layers and the first one is COM+ layer and after i converted it to vs 2005 and built successfully i couldn't start it and it threw some errors in event logs
i need to know if there is any problems with COM+ in 2005
and do i have to change COM+ to
-
- Errors installing .Net F..work 3.0
by andrew17
- 4 Replies
- Last post
by Mel
- While trying to install >NET Framework 3.0 I got several errors: 1) NGEN.exe -- Entry
point could not be found: "The procedure entry point CorGetSvc could
not be located in the dynamic link library mscoree.dll"
2) Microsoft Visual C++ Runtime Library: "Programs: C:\Documents
a... This application has requested the runtime to terminate it in
an unusual way. Please contac
-
- 'renewing' a table inside a dataset
by RubenPieters
- 4 Replies
- Last post
by RubenPieters
- so I have a table inside my dataset, but it misses some columns, so I changed the table inside the database, but it wasnt changed inside my dataset so I deleted the old table and put in the new one(and 'renewed' the querys), but I get an error that it can't find some bindingsources(the ones from the querys with the table).
Any ideas on how to fix it :/ or how to 'renew' a table without getting
-
- serial baud rate; 1200 when sending and 9600 when receiving
by leblancmeneses
- 1 Replies
- Last post
by nobugz
- here is my pseudo code: 1) set sci for 1200 baud rate 2) send the command of what i am requesting 3) set sci for 9600 baud rate 4) receive the response when i have the baud rate set to 1200 for both sending a receive it works as expected. As soon as i change different baud rates the framework seems to use the last value i set to baudrate. It feels as though it stores the chars into a buffer and
-
- Text search and replacement in RTF file
by Philly10407
- 4 Replies
- Last post
by Philly
- Hi
I am working on a component that would do the string search and replacement using C# and I would very appreciated if anyone could point me to some easy solution to accomplish this. I was trying to do this the old fashion way - string manupilation etc.. but ran into problem with the escape sequences, when I save the file after replace the string, C#, replace all of my single backslash ("
-
- Problems with IndexOf
by Luisfe
- 14 Replies
- Last post
by Friendly Dog
- I have problems with IndexOf in C#. It doesn't work properly.
This is the code:
string i = " public MceaString getCHORA()";
int a = i.IndexOf("getC");
The value of int a after executing the code is -1.
Anybody knows why this happen Could you help me
-
- A few simpel questions.
by Timo Willemsen
- 6 Replies
- Last post
by Robert Rossney
- EDIT: I just realized this could be in the wrong section of the forum. And I also just saw the forum, where I could ask where I should post this question. My sincere apologizes. Hello everyone, Recently I decided to learn a bit C# for fun. Only my problem with practicing is, is the fact that I never know what programs to make. So by brother said, "why don't you make a web spider ". I th
-
- Code access Security- when to use and when not to
by TA123
- 3 Replies
- Last post
by Nicole Calinoiu
- Hi All,
Can somebody please explain as in what types of application do we use Code access security and How CAS is generally used e.g do we add RequestRefuse for registry in every internet application.
I want this classification for 4 types of applications broadly:
1. stand alone application
2. enterprise application
3. B2C application
4. B2B application
I am new to architectur
-
- Debug.Write will not write to the console
by NEExt
- 4 Replies
- Last post
by nobugz
- I've been trying to figure out why for about 2 hours now. Console.write works fine, Debug.Assert works fine... Debug.Write, Trace.Write, Debug.Print... nothing writes to the console. I am running in debug mode and have created a couple of different projects, scoured options... can't figure it out. Please can anyone assist
-
- Custom soap faults
by kawano1h
- 6 Replies
- Last post
by kawano1h
- Hello. I'm really new to ASP.NET. I've been working with WCF projects for a while now. My question is, how can I create a custom soap faults in asp.net web services I heared a rumor that microsoft didn't support custome soap fault before WCF. Is that true Thanks for your time.
-
- multiple threads
by Maksim
- 1 Replies
- Last post
by Dhawal B Kapadia
- Hi,
I have the main thread start 1 new threads (newThread1). NewThread1 starts newThread2. If I do something like NewThread1.abort will newThread2 also stop
-Max
-
- I don't have the permissions to write to my XML file
by bluedash
- 2 Replies
- Last post
by Sinan Ussakli - MSFT
- I've got an XML based content management system. All works well on XP. I decided I'd try my app on a Windows Vista machine. The app works perfectly but for one thing...
I can't write changes to my XML files. It is complaining, saying I don't have the correct permissions to write to the files.
In Windows XP, I'd give permission to the ASPNET user and it would work. But, under Vista, there i
-
- Connect 2 clients
by NoSTaBoNN
- 9 Replies
- Last post
by RizwanSharp
- Hi,
Is it possible to connect 2 clientapplication to each other, without connecting to their ip's, so the server connects the 2 clients and then shuts down the connection with them. Example:
Client 1 <-------------> Server <--------------> Client 2
now the server breaks up the connection, but the 2 clients keep connected to each other. Client 1 <--------------> Cli
-
- Transactions are never closed
by ermy1819
- 12 Replies
- Last post
by Caddre
- We are using a .NET 3.0 application to access a SQL Server 2005 database. We run all write operations in transactions by using TransactionScope. We create all TransactionScope variables in using blocks and sets the transaction timeout to one minute. This works fine most of the time, but sometimes a transaction gets stuck. From the activity monitor, we can see that the last batch was completed a lo
-
- Checking empty string.
by &#126;rabin
- 11 Replies
- Last post
by lior is
- As far as I know we can check whether a string is empty or not in various ways. Can someone please elaborate the differences among the techniques I mean performance wise, memory consumption wise etc. string str1="";
if(str1 == "")
if(str1 == string.Empty)
if(str1.Length == 0)
if(String.IsNullOrEmpty(str1)) Thanks.
-
- Catching the Oracle constraint exception in C#.NET
by Sarmak
- 7 Replies
- Last post
by Citizen on the earth
- I am using 2 catch block to catch constraint exception and normal database errors with Oracle database when a new row is added or changed, like this:
try
{
//Code
}
catch ( DbException dbExp)
{
//Log the error
}
catch ( ConstraintException cnExp)
{
//Log the error
}
But when it violates the constraints also it catches in the D
-
- sample custom performance counter using entlib
by Dmitry_M
- 14 Replies
- Last post
by Ricardo Jesus
- Has anyone ever tried instrumenting a component using InstrumentationListener and InstrumentationProvider from the latest Enterprise Library
I am following a sample code from the documentation but it fails during run-time when I try to raise OnDbConnect event from the code below. The error that I get is "Object reference not set to an instance of an object". I am sure it is an easy f
-
- Help Needed to access the rows of the DataTable
by sweet_salt
- 2 Replies
- Last post
by sweet_salt
- hi,
I just want to know a sample code to access the rows and columns of a data table.
Waiting for your reply.
Sweety
-
- BigProblem with Async and Forms
by 446
- 5 Replies
- Last post
by Jan Romell
- Hello to anyone, I've this big problem, when I try to dispose my forms in the events of updateasync and checkupdate async I've no errors but the form never dispose. Why This is my code: Imports System.Threading Imports Lipsia.Tools Imports Lipsia.Tools.Utility Imports System.Deployment.Application Public Class Update Private Downloader As New Lipsia.Controls.Downloader Private Intro As New Li
-
- Commenting out lines in XML
by Spintz
- 5 Replies
- Last post
by Dimitre_Novatchev - MSFT
- How can I allow for "-" or "--" to be allowed inside a comment block
I have attributes in my elemnts that contain a string identifier. That string identifier may be "G*X*-----**T" as an example. If I want to comment out a "node", and put - `<!--` before the line that contains the above mentioned attribute, and `-->` after the line, I get an exce
-
- prob with asp.net 1.1
by Jay_Vora_b4843e
- 3 Replies
- Last post
by JohnDan
- hey all.
when i strt my .net dev.t environmnt ,it shows me tht its not in internet zone...
wht may b the prob
m in LAN. using 1.1.0.4322 verion.
thx in advance
-
- xmlnodelist and xpath
by Majka
- 6 Replies
- Last post
by Majka
- hello,
myproblem is, when I put the data received through xpath into the xmlNodeList
Dim xd As New XmlDocument xd.Load(filePath)
Dim _XPath As String = "/descendant::locations"
Dim myNodes As System.Xml.XmlNodeList myNodes = xd.SelectNodes(_XPath)
I cannot get the items from myNodes after; it has them because when I do xmlNodeList.count it giv