-
- Difference between performance counters of Asp.net and Asp.net Application performance objects?
by Code Right
- 2 Replies
- Last post
by Fredrikjonsson
- Hi, I'm using PERFMON utility to measure performance of an asp.net application with Asp.Net and Asp.Net Applications performance objects (attribute group) of Perfmon Utility. I've deployed 2 same Asp.Net application on my machine, the only difference is one is developed using Asp.Net 1.1 and the other is developed using Asp.Net 2.0. Through observation I've noticed one thing that's Asp.Net and A
-
- How can I implement XML database
by charlesmf
- 3 Replies
- Last post
by Dessus
- Dear Sirs
I used DataSet to create several tables and record every production information, but the system has no any database like SQL Server etc.. So I want to save these tables as XML file. Because I care the real time production information missing if the AP or PC crash, so I save data to XML file every new record to produce. The questions are: 1. Is this concept correct 2.Is saving Load
-
- Getting protected controls using reflection
by Chals.esp
- 4 Replies
- Last post
by Chals.esp
- Hi, I am inspecting an assembly that has a form, and this form has some controls that are inherited from a BaseForm class. Using GetFields I get to know its controls. However, the inherited controls do not show. I have set BindingFlags as follows: BindingFlags flags = BindingFlags.Instance | BindingFlags.NonPublic; Am I missing something, any ideas Thanks in advance.
-
- how to insert a DataRow into a DataSet?
by viva_unix
- 1 Replies
- Last post
by viva_unix
- Hello!
I have next data in my xml file:
<myData> <node> <first>one</first> <second> <myInt0>34</myInt0> <myInt1>24</myInt1> <myInt2>27</myInt2> </second> <third>three</third> </node> </myData>
I need to insert one more "node". I ha
-
- Inheriting from DataRow
by RWF
- 6 Replies
- Last post
by Mikey Likes It
- Is it possible How do i create my own class which will be inheriting all the features of DataRow so I can expand it to have a Tag property
-
- RegisterActivatedClientType after first local instance
by Andy Lippitt
- 4 Replies
- Last post
by Andy Lippitt
- If an instance of a type is created locally via new, then that type is subsequently the target of a RegisterActivatedClientType, later new instances avoid the channel. What's going on here Is there some sort of caching taking place when the first instance is created that makes subsequent instances not check if the type is remoted Can I clear this cache or otherwise get this to work the way I wan
-
- Detecting blank cd in drive
by Salte1
- 1 Replies
- Last post
by Inbar Gazit - MSFT
- I have a DriveInfo object for my cd and dvd reader/writer. This object has a IsReady property which should indicate if the drive is ready for reading/writing (in other words if there is a cd/dvd inserted). When I insert a "normal" cd/dvd it works fine, and property is changed to true, but if I insert a blank cd (untouched, straigt from the store) then the property does not change, so in
-
- Limitation in synchronizing DataSet with XMLDataDocument?
by mccaskey
- 4 Replies
- Last post
by mccaskey
- I want to load XML like this <book bookID="A23"> <title>Good book</title> <publisher>Penguin</price> <author gender="male">John Smith</author> </book> into an XMLDataDocument and bind it to a grid with columns bookID, title, publisher, and author. I can't get the XMLDataDocument.DataSet to come out right. N
-
- vs2005/sql2005 tableadapter.fill times out occasionally
by zzzdog
- 1 Replies
- Last post
by Guang-Ming Bian - MSFT
- We use the table adapter wizard to generate the ta using an existing sp in a sql2005 db. Occasionally the .fill method will return a time out. This does not happen all the time and executing the sp in a query window always works!! Here is what we know:
* Never experienced problem when vs2005 was connected to Sql2k.
* VS2005 is in DEBUG and we step through code.
* Cannot find a definit
-
- window.showModelessDialog...I want to enable the maximize and minimize Buttons?
by Essmat
- 5 Replies
- Last post
by Essmat
- is there a way to enable in the window opened with (window.showModelessDialog | window.showModalDialog)
to have the maximize button & the minimize...
my scenario:
that i implements the mdi in the web page...openinig child windows and handling the mdi navigation...
plz help...
if there is a work-around plz notify me...
thanx.
-
- Share static data between remoteable objects?
by Stawrogin
- 4 Replies
- Last post
by Stawrogin
- Hello, I want to build a remoting server that is hosted in a Windows service. The service, when started, pulls a huge amounts of data from a database. That data should be kept in memory for being queried by remotable objects. Where do i store those data and how can i make sure that remoteable objects can access those data Two conditions should be met: 1. Those static data dare not be visible to t
-
- Pull records in BULK
by sarika
- 5 Replies
- Last post
by VMazur
- I want to pull 90 lacs records from access and store it into SQL using C#.
I tried usng dataadapter/DataReader but it is failing inbetween.
-
- vb.net short datatype on 64 bit?
by hazz
- 4 Replies
- Last post
by hazz
- Is the 'Short' 16 bit (2-byte) data type ok to use on a 64 bit machine
Thanks,
Greg
-
- Managed Spy -Problem with VS2003
by mohandasgandhi
- 4 Replies
- Last post
by mohandasgandhi
- Hi, Managed Spy is a wonderful tool and really it helped me lot . It is working fine with VS2005. But I am facing some probelm with VS2003. I have used your examples and try to access GetComponentType (Name Filed). But I am always getting Null. When I use the same routine for VS2005, it is working fine.
ControlProxy proxy = ControlProxy.FromHandle(WindowHandle); if (proxy.GetComponentName
-
- FtpWebRequest?
by Ifahad
- 3 Replies
- Last post
by sirjis
- I just downloaded a simple demo app for file upload. I am using .Net Framework 1.1. I am getting error The type or namespace could not be found FtpWebRequest Is it because of .Net framework 1.1 I need upgrade to 2.0 is it
-
- Checking my access database for existing data
by Vanilla8
- 2 Replies
- Last post
by Vanilla8
- Hi all,
I have inherited a Visual Studio project from a previous work colleague, which is basically a program that enables our department to 'book in' all our jobs, and assign staff to them, etc. As well as handle all our leave,etc.
The program uses visual studio, connected to a ms access database
From what i can see the connections have been set up using the 'tableadapter confiqu
-
- Lagg when I run a network Application.
by Jeremy6996
- 3 Replies
- Last post
by Jeremy6996
- Err I had another problem. This is my code in my button 1, I lagg at line
Code Block
Dim Host As String = InputBox( "Please Input a valid IP Address To Connect WithL2 :(Server"_ "Or Host Your Own)" , "Connect Detail" , "xxx.xxx.x.xxx" , , )
Dim Port As Integer = InputBox( "Please Input a valid Port To Connect With
-
- Profiler adding a new type field via IMetaDataEmit::DefineField results in "_CorExeMain failed"
by p.b.a
- 3 Replies
- Last post
by David Broman - MSFT
- m trying to add two new fields (one of type bool and one of type string) to System.String and System.Text.StringBuilder; I'm targeting .NET 1.1 and this is what' I'm doing :
1. in ICorProfilerCallback::AssemblyLoadFinished if the assembly name is mscorlib get main module
2. locate the types using IMetaDataImport::FindTypeDefByName
3. for each type call IMetaDataEmit::DefineField with the
-
- Drawing on web pages
by VSChallenged
- 10 Replies
- Last post
by Martin Honnen
- After way too much research and study, I have not been able to determine how to draw on web pages (not forms). Is it possible If not, how do I launch a seperate form, and can I draw on that (as the client)
Thanks in advance.
-
- Windows Application to read and write data to a database ?
by aboutera247
- 14 Replies
- Last post
by ahmedilyas
- Hi Im a newbie Im starting to experince the C# more but I cant do a Windows application program to read and write to a database can anyone help me please note : please start from scratch dont assume that i know thank you so much
-
- Assembly version information attributes
by Big Max
- 2 Replies
- Last post
by Mattias Sjogren
- I would like to add my custom version information attribute that can appear on the Windows Properties page of the assembly. Is there any way to do that exists except of using the /win32res compiler option to specify my own Win32 resource file
Thank you in advance!
-
- Help please confused on certain things in .net c#
by rbreault
- 2 Replies
- Last post
by rbreault
- I am new to programming and I need some direction. I have went through tons of simple examples using c# to write a web service. My question is if someone could create a simple example on how I would perform the following action. I have a client that needs to submit a xml / soap payload to my server How do I recieve that file I want them to send the payload then I would like to validate the xml
-
- What is the scope of the ReaderWriterLock class?
by dferraro
- 13 Replies
- Last post
by Peter Ritchie
- Hello,
I am doing some basic multi-threading in a WCF Service. I am trying to use the ReaderWriterLock class to handle the 'critical sections' so to say....
My question is simple: what is the scope of the ReaderWriteLock class Do I make just a single global instance of this class for all thread locking Can I dim a new ReaderWriteLock class each time I want to lock or poll a thread Or
-
- No connection could be made because the target machine actively refused it.
by Linda2
- 3 Replies
- Last post
by ranamauro
- Hi all,
creating a very simple remoting application within one solution renders the above message. It's in fact an example from O'reilly's C# book by Jesse Liberty, chapter 19. (calculator example)
-I switched off Mcafee virusscanner and Windows firewall. -Both client and server reference port number 65100
The problem happens when calling a remote method: double sum = calc.Add(3.0,
-
- How can we integrate Microsoft BI Tools into ASP.Net applications
by VSB
- 1 Replies
- Last post
by Nathan Anderson - MSFT
- How can we integrate Microsoft BI Tools into ASP.Net applications.
I want end-user can able to create reports using SSRS, that means at the run time end user create reports