I'm trying to obtain the Oracle package name used for a Crystal report data source using .NET code.
I have obtained the procedure name, but for some reason I can not find the package name.
Dim rpt as new ReportDocument
rpt.Load(filename)
Dim procedureName As String = rpt.Database.Tables.Item(0).Location
Dim DataSou...
please tell me the use of parameter e as System.EventArgs in CheckChanged event of CheckBox
...
I've recently made another question about connecting to MS-ACCESS database with .NET in C# or VB.NET. It worked just as intended with MDB, but with accdb it caused an exception in
conn.Open();
which follows:
Is there another way to do this? My original intention (like stated in the original question) is gathering some (actually, a ...
C:\Program Files\Microsoft SDKs\Windows\v#.#\Samples\multimedia\directshow\baseclasses\wxdebug.gpp line 890:
/* If this fires you have a mixed DEBUG/RETAIL build */
ASSERT(!!szObjectName ^ !!wszObjectName);
What does it mean and how can I fix it?
If it matters: I've written a managed media player library that wraps DirectShow, and I...
Hello all
How i can represent the following hierarchical data ?
What control should be used , if possible example will help.
-node
-----node1 - -data--data --data
-------------node111 -- data -- data
-------------node112 -- data -- data
-------------node113 -- data -- data
-----node2 - -data--data --data
-------------node1121 -- data...
Hopefully this is a simple. I just getting started with mocking frameworks and have decided to use MOQ. I'm having trouble with one of my test after setup of my mock object so i decided to step through the code. When i hit F10 after the following line:
Dim Mock = New Mock(Of IMyInterface) <----Error When on this line and hit F10
Wi...
According to an article on Codebetter, there is an optimisation by the CLR when separating assemblies so that code that is expensive but rarely used is only called once.
Is there any proof or any details on the extent of the optimisation?
...
In vb.net I have control named checkbox1 that I can see at dropdown menu in properties tab.
but in designer I am not able to locate it...
Also when I am selecting CheckBox1 from properties' dropdown menu, no checkbox in designer gets highlighted....
How to find that control in designer?
pls help me....
...
I have seen some developers use the return statement in a catch block. Why/when would this be a useful technique to employ?
EDIT: I actually just saw the return keyword being used.
Thanks
...
I have defined the following Interface
[ServiceContract]
public interface IHealthProducts
{
[OperationContract()]
ResponseClass OrderSelfSignedHealthCertificate();
}
Which returns the following type
[MessageContract]
public class ResponseClass
{
[MessageBodyMember]
public string AnimalSpeciesCode
{
get;
...
If I have the value 0.0042 returned and I pass this to:
string.Format("{0:C}",....);
It displays $0 as the results when I want it to actually display:
$0.0042
...
I am doing stock market prediction using ANNs in c#.net. I am using NeuronDotNet for the neural part. I have to give eight inputs to the network, with a hidden layer consisting 8 nodes and a single node output layer. Can anybody please give me some coding ideas for this????
...
I'd like to read an MSI file into a MemoryStream (or something similar), and modify it. What's the easiest way to do this, without corrupting the MSI?
All I need to be able to do is modify the value of one of the properties in the MSI. I'd prefer something in .Net, but I'm open to other platforms.
Update:
Here's my working code, using...
I am building an MSI for a windows service application that has a set of satellite assemblies with localized resource data in them.
I can manually include the Localized content from the projects but since my application contains several projects with localized data, do i need to manually include them in the VS2008 msi file system view o...
I wish to write a reusable library for querying against AD with LDAP. I'm using both ActiveDs COM objects and System.DirectoryServices.
Greatly inspired by Bart de Smet LINQ to AD, I have written a SchemaAttribute and an DirectoryAttributeAttribute classes to use with a DirectorySource(Of T) class (Yes, it's VBNET, but any C# code will ...
i want to know when account logout without logout button click.
actually i want to manage dashboard. with some events like login, logout with it's activity date and time.
so if any user login so i will entry for login.
and if any user direct close browser so how can i manage logout entry in database.
...
I have a .NET app that must send data to a Zabbix server. How to do that?
...
In a plain vanilla WinForms app (C++/CLI, set to /clr), I have the following template function, flagged as "unmanaged":
#pragma managed(push, off)
#include <string>
template< class c >
const c& test_alloc()
{
static c test_alloc;
return test_alloc;
}
#pragma managed(pop)
Then in main, I use it before Application::Run():
test_al...
In C++ world there is a variety of ways to make an exploitable vulnerability: buffer overflow, unsafe sting handling, various arithmetic tricks, printf issues, strings not ending with '\0' and many more. Despite most of these problems were solved in java, there are some things to talk about.
But is there any list of typical C#-specific c...
Hello,
For example:
public enum Unit{
KW,
kV,
V,
Hz,
%V
}
In this case % is a special character. So, how can I put this char in a enum?
...