C# is a multi-paradigm programming language encompassing strong typing, imperative, declarative, functional, generic, object-oriented (class-based), and component-oriented programming disciplines.

learn more… | top users | synonyms (5) | c# jobs

0
votes
0answers
5 views

WPF View screen offset in Web Browser C#

I can move to certain location of the page by using: HTMLDocument doc2 = (HTMLDocument)webBrowser1.Document; int offSetTop = 1000; doc2.parentWindow.scrollTo(0, offSetTop ); The screen ...
0
votes
0answers
8 views

Passing a token to WCF service

I really need to know how i can pass a token to WCF service without adding an extra parameter to all my contracts, some value like a number so that i can use it later on my services.
0
votes
0answers
8 views

Am I able to make an addin that includes a set of macros that it will use?

Before I talk about what I am trying to get done, here are all my details on what I have done: I have made a Macro Project named "XSMacros" Here is what I'd like to do: I want to make a VS Add-In have ...
0
votes
0answers
14 views

PixelFormat convertation trouble

this is my code: BitmapData bmpData = bitmap.LockBits(new Rectangle(0, 0, bitmap.Width, bitmap.Height), ImageLockMode.ReadWrite, PixelFormat.Format24bppRgb); UnmanagedImage img = new ...
0
votes
1answer
14 views

C# WPF ComboBox Auto switch number

How can i manage auto switch number in ComboBox in short simple way?
0
votes
0answers
7 views

Add HttpCookie after OutputStream EndWrite

i want to add HttpCookie after this code : zipFile.Save(context.Response.OutputStream); how can i do this? any idea?
1
vote
1answer
17 views

How can we return the name of the button on which the user clicks in a webBrowser control?

I thought we should raise an event This is what I have found: event OnButtonClicked ()EventArgs; HTMLButtonClickEventArgs:EventArgs { String ButtonNmae; } I am doing a web Browser control and ...
0
votes
0answers
6 views

C# Projects in CMake-Made VS2010 Solution Must Be Unloaded/Reloaded to Avoid Being Skipped

I'm using CMake to generate a VS2010 solution with both C/C++ projects: native console app, static libs and native DLL; and C# projects: managed console app and managed DLL. I'm using CMake with the ...
0
votes
0answers
9 views

WCF Contract In Separate Assembly - How to Use it as an Endpoint Contract?

I've searched and wasted all day trying everything I can think of or find to resolve this issue: I built my first WCF service and thought it would be cool to host it in IIS. It's a long-running ...
0
votes
0answers
18 views

Entity Framework 5 - Enum based Discriminator for derived classes

I have the following (abbreviated for clarity) - an enum, a base class with that enum, and two derived classes that set the enum to a specific value. public enum MyEnum { Value1, Value2 } ...
0
votes
0answers
5 views

Retrieve data from Oracle Apex-C# gridview

Suggest me links to retrieve data (Integer and Varchar) from Oracle Apex database to Asp.net page in Gridview using C#.
1
vote
2answers
13 views

Handling page Sessions in helper class

I have an MVC4 web page that I want to show page generation times in milliseconds. To help with code re-use, I have created a PageHelper static class, which I want a 'StartTimer' method, and an ...
0
votes
0answers
16 views

maintaining state in a c# CLR UDF application multithreading

I have some code that does fuzzy matching on strings. I converted it from c to c# and it works for the most part. The code is destined for a SQL Server CLR User Defined Function(UDF). This part also ...
1
vote
2answers
13 views

Function for setting default values of controls in web browser control

I wanted to define a public function by which I can set default values of some controls in a web browser control. The web browser shows an HTML file. Here is what I have come up with so ...
1
vote
1answer
20 views

.Net Regex Replace - Multiline while searching for filepaths

I am looking to sanitize a string that contains file paths, to remove the parent path for more secure logging. It needs to: be case insensitive. support unlimited capture replaces. work in .net ...

1 2 3 4 5 29489
15 30 50 per page