473,809 Members | 2,633 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C# / C Sharp Forum

0
972
thread by: Hemlata Shah | last post Nov 15 '05 by: Hemlata Shah
Hi All I am facing a problem . please help me out by identifying which datastructure wud suffice my problem: I have a table which has 5 columns:comp,state,numb,CRB,environ now from the front end i get 2 vaues comp and sates code.. on the basis of this i have to retrieve the rest 3 but mind it tht comp code and state code r not unique..how...
5
15,135
thread by: Alien | last post Nov 15 '05 by: Alien
I have a hex editor-type class that extends UserControl and paints its data to a PictureBox. Basically the problem is that repainting it takes usually between 60 and 80ms, which may seem pretty fast but is not good enough when you have to repaint very frequently. For example, when you scroll the control or select blocks of text quickly. I...
4
21,627
thread by: Frank Rizzo | last post Nov 15 '05 by: Frank Rizzo
Ok, I've heard all about reflection. How do I print out the results for all the properties on this object: System.Reflection.Assembly.GetExecutingAssembly().GetName() I don't want a list of properties, but a list of values for the properties. Thanks -- Frank
1
3,379
thread by: ±èÀçȲ | last post Nov 15 '05 by: Jon Davis
what's the mean this article..please null == ldnull(MSIL) /* Rationale: It might be thought that ldnull is redundant: why not use ldc.i4.0 or ldc.i8.0 instead? The answer is that ldnull provides a size-agnostic null -analogous to a ldc.i instruction, which does not exist. However, even if CIL were to include a ldc.i instruction it would...
0
514
thread by: Jon Davis | last post Nov 15 '05 by: Jon Davis
If I have a class with a virtual method, and a child class that overrides the virtual method, and then I create an instance of the child class AS A base class... BaseClass bc = new ChildClass(); .... and then call the virtual method, why is it that the base class's method is called instead of the overridden method? How do I fix this if I...
3
3,169
thread by: Dunster | last post Nov 15 '05 by: Dunster
Hi, Is it possible to get an EventHandler to be called outside of the class where a control is instantiated? For example, I would like to create a button at runtime and have it call a function in another class if it is clicked. Any hints would be greatly appreciated
5
6,617
thread by: Chris | last post Nov 15 '05 by: Jonathan Schafer
i am looking for the fastest way to insert several 1000 trx int oracle. is there a faster way, then using a DataAdapter? is there a possibilty to execute a bulk load (or batchwise insert with transactionsize)? any suggestions? thanks a lot!! chris
3
12,134
thread by: Ramona van Riet | last post Nov 15 '05 by: Ramona van Riet
In Delphi, I would use timeGetTime to measure the time something takes. But how can I do that in C#? -- Ramona
8
31,017
thread by: Patrik Malmström | last post Nov 15 '05 by: Henrik Dahl
How do I read, write a file binary? I want to open, say, file.exe read it in to the program, then write it out to file2.exe. Like file copy, anyone have a code sample?
1
9,312
thread by: Ron Liu | last post Nov 15 '05 by: Jay B. Harlow [MVP - Outlook]
Hi all, How to hide methods of interface? All the MSDN said it is not possible. I also did lots of tests, and got the same answer. However, I found there are some classes in .net framework did hide some properties of their interface. Look at the StringCollection for example. The StringCollection implement the IList interface. The IList...
6
25,203
thread by: Dmitri Shvetsov | last post Nov 15 '05 by: Mark Pearce
Hi All, Did somebody see the situation when the VS refuses to debug the Web Service at all? I can't catch why, the initially created Web Service can be debugged very easy but after some changes in a source code, maybe the source code becomes bigger that some hidden threshold, the debugger can't enter into this code anymore. I can use this...
1
5,809
thread by: Ricardo Trujillo | last post Nov 15 '05 by: Miha Markic
I need to do this in C#. How can I do it? Private Sub TestLocalEventHandler() Dim m_olApp As New Outlook.Application() AddHandler m_olApp.NewMail, AddressOf _ Me.EventHandlerNewMail RemoveHandler m_olApp.NewMail, AddressOf Me.EventHandlerNewMail End Sub
2
2,309
thread by: Tom Bean | last post Nov 15 '05 by: Tom Bean
Can someone confirm if member object variable are set directly they are stored as copys of the object but if they are set using a property they are stored as references? For example, in the code below: Does the statement "textBox1 = textBox0;" make a copy of textBox0 and assign it to textBox0? Does the statement "TextBoxProperty =...
0
1,699
thread by: Maks Skinder | last post Nov 15 '05 by: Maks Skinder
Hello, There is anybody who can tell me how to update a dataset through a webservice. I'm starting to program in c# but sincerely it is not very ease, there are a lot of books about stupid things but nothing complete and really serious. c# samples please Regards Maks Skinder
0
1,306
thread by: Daniel | last post Nov 15 '05 by: Daniel
Hi! I'm writing a small application where i monitor a webpage that changes dynamically. I've been able to get the information out of the page that i want by accessing the DOM, but now i wan't to be able to update my app when the contents of the page change. I've tried listening to the DocumentComplete event and the NavigateComplete2 event...
7
6,622
thread by: memememe | last post Nov 15 '05 by: memememe
I need to be able to parse both of these dates with the same method, and return them as a DateTime object. Is there any methods that would do this blindly or do I need to provide the format? Feb 25 23:11 Dec 1 2002
6
4,756
thread by: JMe9ka | last post Nov 15 '05 by: Jay B. Harlow [MVP - Outlook]
I've been gnawing at this problem for the past two days with little progress. My intent is to create a table or grid that looks and functions like the Properties window in Visual Studio.NET. I'm not sure if anyone has been able to accomplish this in a relatively non-trivial manner, but if someone has, please let me know. My deadline is...
0
1,752
thread by: Rutger Hemrika | last post Nov 15 '05 by: Rutger Hemrika
Hello, I am developing a program which functions as a WYSIWYG for a special printer. This is an non-pcl printer which has it's own language. I already tapped into the winspool.drv to acces it directly an it worked. But nog I am having problem with GDI+. This can only use TrueType fonts and I only did manage to get my hands on the softfonts...
1
5,659
thread by: Jeff Gerber | last post Nov 15 '05 by: Jon Skeet
/* This test program will give a "Value cannot be null" error. If the lock in this code is removed (or Monitor.Enter()) the program will run as expected. I have found no explaination in lock() or Monitor.Enter() documentation as to why this occurs. I suspect that it is by design of the behind-the-scenes process that lock uses and is...
0
946
thread by: styko | last post Nov 15 '05 by: styko
Hello, I have a DataTable in DataSet, this table contains columns of several types (including binary and image). I need to know how many data this table contains (in bytes). How should I compute it using ADO.NET?
4
4,277
thread by: Bill | last post Nov 15 '05 by: Jon Skeet
I would like to create a static array of classes (or structs) to be used in populating name/value pairs in various WebForm drop down list boxes, but am not quite sure of the construct (or rather to use structs instead of classes in the array insofar as structs vs. classes appears to be controversial in C# -- with some recommending avoiding...
0
1,307
thread by: Austin Ehlers | last post Nov 15 '05 by: Austin Ehlers
Hey, does anybody have a C# implementation of BEncoding? Or any langauge (besides php)? Thanks, Austin Ehlers
1
1,448
thread by: Pete Miller | last post Nov 15 '05 by: Pete Miller
All of a sudden, I received this error the first time I went to my VS.net C# projects. It appears in the tasks box. Now Visual Studio won't let me see the properties of most web control items - the same error comes up in a message box. Most of my programs aren't that complex, and this error type isn't related to any logic I use! The only...
0
946
thread by: Anand Ganesh | last post Nov 15 '05 by: Anand Ganesh
Hi All, I have a VC# project and there are many classess, methods etc etc I want to get a complete documentation of How many classess I have, which functions are called where. In other words I want to document the complete Workflow of my project. Is there any easy way or tool that will do that task for me?
0
1,271
thread by: Hasani | last post Nov 15 '05 by: Hasani
how do u XML comment a namespace?

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.