473,788 Members | 2,897 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C# / C Sharp Forum

1
3,285
thread by: Atif | last post Jun 27 '08 by: Ignacio Machin ( .NET/ C# MVP )
Hi, I want to read the spool file's contents not pages but Text Data. Can any body plz help me in this regards Thanks in advance Best Regards Atif
8
4,129
thread by: Peted | last post Jun 27 '08 by: Ben Voigt [C++ MVP]
I have an amazing problem which i think i have no hope of solving Im working with a c# dot net module that is hosted by and runs under a delphi form envrioment. Dont ask me how this insanity has prevailed it just is :) My problem is this im trying to validate the contents of a textbox (it has to be a normal textbox) and on a c#...
2
1,017
thread by: =?Utf-8?B?cm9kY2hhcg==?= | last post Jun 27 '08 by: =?Utf-8?B?cm9kY2hhcg==?=
hey all, public myconstructor():this(object) what is the colon and everything to the right of it for? thanks, rodchar
2
4,043
thread by: Robert Bravery | last post Jun 27 '08 by: Alberto Poblacion
HI All, I have an Ifame on my page. I have retrieved a page response from a server like: string response = Encoding.UTF8.GetString(responseBytes); HtmlControl frame1 = (HtmlControl)this.FindControl("iframe1"); I need to put the resultant page into the iframe as the src, But cant figure out how to do it. Obviously the response, as a...
0
904
thread by: colin | last post Jun 27 '08 by: colin
Hi, I have many suitable structures wich I need to handle in a binary fashion, I can take the address of a struct inside unsafe and fixed block and this works when the struct is pased as a ref parameter, however if I use a template this breaks, despite restraining it to struct. public void Copy(ref datahead_struct src) {
1
2,054
thread by: Jon Skeet [C# MVP] | last post Jun 27 '08 by: Raja
On Apr 30, 3:56 pm, Raja <rajesh.mad...@gmail.comwrote: Well, in fact it's *not* working fine - it's not behaving the same on SQL server as it would be in normal code. String.Contains is case- sensitive. My guess is that your database is set to be case- insensitive, hence why it's behaving how you want it to. To get a case-insensitive...
4
2,335
thread by: christery | last post Jun 27 '08 by: christery
Is there a way (without buying a component) to accomplish something like in a hotel overwiev if a room is for the moment free/booked/ occupied/checked out/cleaned/back to free or out of service/reserved for repairs or something. Charts can be done (maybe that was with excel reference, dont remember) bur easy gantt (maybe installing a MS...
2
1,238
thread by: Kerem Gümrükcü | last post Jun 27 '08 by: Willy Denoyette [MVP]
Hi all, sorry for Crossposting, but i dont know whether someone can help me here. If i remember right, there was a Class or a Member function in the .NET Framework that could do mostly the same as CreateFile can do for me, but i cant remember its Name. By saying the "same" i mean i was able to use it to open Handles to Devices and anything...
0
1,843
thread by: =?Utf-8?B?Q29kZVJhem9y?= | last post Jun 27 '08 by: =?Utf-8?B?Q29kZVJhem9y?=
Hi, Is it possible to access an htc file from the windows webbrowser control? I am receiving the following error: "An error has occurred in the script on this page." "Error: Access is denied to " "Url: about:blank" I am able to access the htc file when i run the host web page as a normal
2
1,713
thread by: Hiten | last post Jun 27 '08 by: Hiten
Our application is created in C#, ASP.Net 2.0, SQL 2005; the session is managed in SQL server with ASPState. We often file below exception Error Details : Exception of type 'System.Web.HttpException' was thrown. Source : System.Web Stack Information : at System.Web.HttpAsyncResult.End() at
6
3,407
thread by: BA | last post Jun 27 '08 by: Chris Shepherd
Hi Everyone, I have an application that sits behind a server farm, the application needs to pass its NLB IP address in the message that it sends to another service. From C# code, how can I determine the IP address of the network load balanced machine that the message is generated from? So, in essence, I have server1, server2 and server3...
4
3,276
thread by: Hoi Wong | last post Jun 27 '08 by: Hoi Wong
In new versions of MATLAB, I can do dynamic field like userdata.('username').electrocardiogram = 4, where 'username' can be replaced by any string variable. This made my software design much neater. Does anybody know if C# support that? If so, what's the syntax? Thanks in advance.
1
3,806
thread by: pnd1234 | last post Jun 27 '08 by: pnd1234
Hi, to everyone.I am doing a maill program that analyses eml file for its attachments. I have to parse those files and extract all the information and even files that are attached with the eml file.I tried to google it but there was no progress. The problem i am facing is that i cant buy any external libraries or so. Plz help me with...
2
994
thread by: Tim Sprout | last post Jun 27 '08 by: Tim Sprout
I am a hobbiest C# programer. I wrote and published a database image browser in Visual Studio express 2005 using DotNet 2.0. I made a minor change and then re-published using Visual Studio Express 2008. Now installations on user machines puke, requiring users to install DotNet 3.5. How do I publish a program from VSE 2008 that only...
3
1,750
thread by: Marco Pais | last post Jun 27 '08 by: =?ISO-8859-1?Q?Arne_Vajh=F8j?=
Hi there. I am developing a client-server application using C# and SQL Server 2005. Right now, I am using web services to access database, but I'm wondering if this is the best way. The purpose of using web services is to reuse them with a web application, for instance. However, I think I could use stored procedures, and when I need to...
1
1,218
thread by: =?Utf-8?B?UGV0ZXI=?= | last post Jun 27 '08 by: =?Utf-8?B?UGV0ZXI=?=
I am getting a memory fault exception that I've traced to a TreeView nodes clear method. I am not using unsafe mode and am not doing anything outside normal application programming. treeview.Nodes.Clear(); Error - "Attempted to read/write protected memory. This is often an indication that memory is corrupt." When I comment the...
2
6,008
thread by: samueltilden | last post Jun 27 '08 by: Peter Duniho
I know the answer is simple ... as soon as I find it. I have a Windows Application in which I want to display a different User Control in the bottom part of the form depending on the functionality chosen by the user. I have made several User Controls and they now show up in my toolbox. How do I put them all on the bottom part of the...
0
824
thread by: Rowan | last post Jun 27 '08 by: Rowan
Hi there, I just started working with Linq and am having trouble with adding and removing items from a dropdownlist. The dropdownlist is bound to a LinqDataSource. On the form is a gridview that lists some statistics for a product and a value for each stat line. There is also an Add statistic line in the template footer with a...
8
2,034
thread by: Clarks Computing | last post Jun 27 '08 by: Clarks Computing
Hi all, Question regarding the settings feature in Visual C# 2008. Let's say I create a user setting called TextEditor in the settings designer. I realize that I can type a string value such as NOTEPAD.EXE in the Value column. However, what if I want to make the default value something like the following: ...
0
1,109
thread by: icanhelp33 | last post Jun 27 '08 by: icanhelp33
I am using a method to group data in Gridview. I am able to compare one sortexpression with the gridview field. I would also like to compare sortexpression2 with another gridviewfield. How is that possible. For example: GridView has FirstName,LastName,City I would like to compare "FirstName" & "LastName" then set flag only when both...
1
1,099
thread by: =?Utf-8?B?bWVuZGljYW50?= | last post Jun 27 '08 by: =?Utf-8?B?UGV0ZXIgUml0Y2hpZSBbQyMgTVZQXQ==?=
First off, I'd like to apologize if this is in the wrong place, if it is let me know and I will move it. I am experiencing a weird error with a winforms app that I have built. In a nutshell, two dates are entered and then a button is clicked which performs some actions. In pseudocode, it looks like this: private void...
2
2,326
thread by: DaveL | last post Jun 27 '08 by: DaveL
Hello all, Im inserting 100 rows into the database i need the Identity column back. Im not sure how to accomplish this... Using SqlDataAdapter Ive Tried samples that i found..but can't get them to work except for 1 Row...Multiple rows identity column has 0 value
6
2,539
thread by: Jon Harrop | last post Jun 27 '08 by: Ben Voigt [C++ MVP]
I would like to embed a high-performance native-code BLAS implementation in a .NET DLL. What is the recommended way of doing this? -- Dr Jon D Harrop, Flying Frog Consultancy http://www.ffconsultancy.com/products/?u
0
999
thread by: =?Utf-8?B?cmFuZHkxMjAw?= | last post Jun 27 '08 by: =?Utf-8?B?cmFuZHkxMjAw?=
C# WinForm Project, VS2005: I'm writing code in CAB Module. I need to be able to identify the screen location of the Shell for the project at runtime. I don't have direct access to the Shell, so myShell.Location doesn't seem like an option. I've tried using reflection (GetEntryAssembly()), but I'm not coming up with the right combination of...
1
2,111
thread by: Looch | last post Jun 27 '08 by: Looch
All, I'm getting a 'There was an error generating the XML document' when using the following code: //list is ArrayList with 20 UsageLogEntry objects - each consisting of 50 string properties object log = (object)list.ToArray(typeof(UsageLogEntry));

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.