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

Home Posts Topics Members FAQ

C# / C Sharp Forum

2
4,514
thread by: CJ | last post Jun 27 '08 by: CJ
I came across the ThreadStatic attribute today, but I'm a bit confused by it. I understand that it makes a variable static to a particular thread, so each thread will have it's own value for it (unlike a regular static variable). But then what makes it different to just an ordinary class level variable? In other words, what's the...
1
1,770
thread by: Meels Lilbok | last post Jun 27 '08 by: Meels Lilbok
Hi Im usin a WebBrowser control on my C#/WinForm application. There are 2 options for user, 1) Print output to PDFPrinter or 2) Print output to default system printer. In code i change default printer and then call theWebBrowser.Print() method. All works fine but... browsercontrol "remebers" only first printer change.
0
819
thread by: =?Utf-8?B?QWxleGFuZGVyIFdlaHJsaQ==?= | last post Jun 27 '08 by: =?Utf-8?B?QWxleGFuZGVyIFdlaHJsaQ==?=
Hi I'm having trouble embedding a winforms usercontrol (.net 2.0) in my asp.net intranet webapplication. Everytime I open the mentioned page, I get the blank area with a red cross in the top left cornere (like picture not found). The assembly is signed and I have set a code group with FullTrust on the base of this strong name. IE Host log...
10
8,797
thread by: Benny | last post Jun 27 '08 by: =?Utf-8?B?YWFybWVudGE=?=
I am wondering if anyone has a simple approach to detecting the location of boxes and/or lines on an image. For example, if I have an image of a form, and want to find out where all of the boxes and/or lines the form contains for input, how would one find the location of them? I have seen many more complicated examples such as detecting...
4
1,285
thread by: AAAAA | last post Jun 27 '08 by: Mr. Arnold
Hi friends! What is the best architecture based in Net remoting? is valid get data with datareaders put this data in Generic list and pass it through of n tier? are generic list serializable? is best get data with dataset or datatable and pass it through of n tier? I am working with Framework 2.0. ASP.NET and C#.
13
1,393
thread by: =?Utf-8?B?Smlt?= | last post Jun 27 '08 by: MichaelC
In a C# project I have an array of PictureBoxes. I form an event handler for each picturebox as it is created using i as an index. PictureBox1.Click += new System.EventHandler(ClickHandler); In the event handler I would like to determine the index of the clicked box. The code below does not return the index. public void...
3
1,841
thread by: almurph | last post Jun 27 '08 by: Robson Felix
Hi everyone, Hope you can help me with this one. We are doing a batch process on both a local server and remote. By local I mean the db server is on the same box and by remote I mean the db server is on another computer (but in the same room, so not too far away). The db is: Microsoft SQL Server 2005 - 9.00.3042.00
2
1,495
thread by: sunny | last post Jun 27 '08 by: Robson Felix
I need to find my server over the network!!! so my installer installs client on one machine and server on other machine on the same network. How can i do that??? How can my client know where my server is??? please help sunny a newbee!!!!
3
8,973
thread by: IGD | last post Jun 27 '08 by: IGD
I don't know if this is the right place to post this or not. If not, could someone direct me elsewhere where I would find more information on how to solve my problem? Thanks! My problem is this: I am writing an application for work. This application sends a basic html email via SMTP to a group. In this group are individual people's emails,...
7
1,831
thread by: Pixel.to.life | last post Jun 27 '08 by: Pixel.to.life
Gurus, Another question on one of the coveted Microsoft products: JIT debugger with VS2005. I have a managed app that builds great on one machine (Vista Home basic, VS2005, JIT enabled for managed/unmanaged code). I can also debug it on this machine with breakpoints and all. Now I move the same code on another machine (XP Pro, VS2005,...
3
2,426
thread by: Pixel.to.life | last post Jun 27 '08 by: Pixel.to.life
All, A question on JIT debugging with VS2005. I have a managed app that builds great on one machine (Vista Home basic, VS2005, JIT enabled for managed/unmanaged code). I can also debug it on this machine with breakpoints and all.
10
1,256
thread by: Andrew Ducker | last post Jun 27 '08 by: Marcin Hoppe
I have an application, and I'd like it to be able to generate "log" messages. Other applications can then attach to it and listen to these messages, but the main application shouldn't have to worry about how many other apps are listening in, what they do with the messages, etc. Can I do this with Remoting? Cheers,
3
2,067
thread by: Chazam | last post Jun 27 '08 by: Nathan
I am a C# programmer. I'm looking for a good book about .NET MOBILE development any advice. Thanks in advanced. I already post this on the mobile group like a week a go I think that group is dead. no one answer
2
1,541
thread by: Frank Rizzo | last post Jun 27 '08 by: Nathan
I am looking for an implementation of a button control that has the functionality of a button on a toolbar control. In another words, the background needs to be transparent, the borders gone (or optional), but still act as a button. I can't seem to find anything out there. Any pointers?
3
2,904
thread by: Leo Seccia | last post Jun 27 '08 by: Leo Seccia
Hello everyone, I have a c# project with a sql server database. I have a number of lookup tables in my database which I successfully managed to import into my LINQ dataclasses. eg. Table: tlkpColor (PK) tlkpColorID
1
1,782
thread by: Robert | last post Jun 27 '08 by: Ignacio Machin ( .NET/ C# MVP )
Hi! I need to scroll horizontal only an integer column, not per pixel. I thougt it would be best to override the onscroll method, but the standard behavior doesn't change even if I do nothing in onScroll *** Sent via Developersdex http://www.developersdex.com ***
1
2,641
thread by: =?Utf-8?B?VmljdG9y?= | last post Jun 27 '08 by: =?Utf-8?B?VmljdG9y?=
Hi, How to get a list of ListViewItems that are currently shown in a Windows Form ListView control when that that control is in a virtual mode?
1
1,418
thread by: Mehrdad | last post Jun 27 '08 by: Peter Duniho
Hi all, How can I find that the size of my userControl is changed (at design time)? when a user changes the size of the user control at design time, I do need to make some correction on the changed size when the AutoSize property is true. Any help would be appreciated. Thanks,
7
1,730
thread by: Charles Law | last post Jun 27 '08 by: Charles Law
This is a very basic question, but I can' turn up a statement on the subject: In C#, if I have If (x == 1 && y == 2) { .... }
0
1,599
thread by: srinivas srinivas | last post Jun 27 '08 by: srinivas srinivas
Hi, I am developing simple peer-peer RTC application for monitoring the SDP packets and i need to set the TLS security for the transport. But iam struggling to achieving this. Iam using IP addresses as SIP URI for communication. I am using IRTCClientProvisioning::GetProfile() IRTCClientProfile::EnablePrsenceEx()...
0
921
thread by: zacks | last post Jun 27 '08 by: zacks
Let's say I have a .NET application that uses an XML file to define various configuration settings. So that I don't have to create the file the first time the code runs, I create a "stub" of the file and include it in a standard Setup package. But what if I have been using the application for a while, and I add some features to the...
8
3,004
thread by: alexcsharp2 | last post Jun 27 '08 by: alexis.meilland
Hello. I created a designer in c#. Everything is working excepted the property grid. I want to show only the properties I added. So I created a class which inherits of a button. And I added properties. But I want to filter the base properties. So to do this, I inherit my class from ICustomTypeDescriptor.
1
6,445
thread by: Paul Schwann | last post Jun 27 '08 by: Robert
Hi Group, I am using C# with .NET 2.0 and Visual Studio 2005. I have a GUI with a DataGridView (DGV) and a BindingSource for the data. The data are added programmatically, up to 5 rows per second. My question are: How do I disable the automatic scrolling of the DGV? It seams that each time I add a new data record, DGV scrolls to the...
2
130
thread by: Cdude | last post Jun 27 '08 by: Marc Gravell
What is the easiest way to make a dataset and all the data inside viewable from multiple forms. The problem i experience is when i add data in one form i cannot view that data i added to the dataset in another form. Please help. Thanks
8
1,197
thread by: K Viltersten | last post Jun 27 '08 by: K Viltersten
If i go as follows: <asp:FileUpload ID="dirTemp" runat="server" Width="400px" /><br /> The element i create is requiring me to select a file. Can i use this control to point out a directory? Is there another one? -- Konrad Viltersten

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.