Hello, I have .NET 3.5 application wrote in C# using NHibernate.
Before I has OracleClientDriver in connection.driver_class property, that say that I use System.Data.Oracle and all works fine, but for some reasons now I need using ODP, so I changed this property to: NHibernate.Driver.OracleDataClientDriver.
When I run my code I get follo...
I want to provide license to the simple console application.
I used RSACrypttoServiceProvider class to encrypt and decrypt.
I also want to use LicFileLicenseProvider class to grant license for my application.
how to inherit LicFileLicenseProvider class and use it?
Namespase.classname.lic file contains text - "Namespase.classname is a lic...
I have a DataGridView with two columns defined like:
Dim col As New DataGridViewColumn
col.DefaultCellStyle.BackColor = Color.FromArgb(&HFFAAAAAA)
col.Name = "Description"
col.MinimumWidth = 80
col.DataPropertyName = "Description"
col.ValueType = GetType(String)
col.ReadOnly = True
col.CellTemplate = New DataGridViewTextBoxCell
S0Grid.C...
Hi,
I have a panel and in it are a couple of text boxes, I want to decide if to enable a button (also inside the panel) by the values of the the text boxes.
Is there a predefined event the panel is registered to that captures the inner text-boxes onTextChange event?
Thanks,
Shuky
...
Add next changes:
Emily::oSeMac^ Terminal;
Emily::AsyncSocketController^ _socketManager;
delegate void DataArrival(String^, array<unsigned char, 1>^, System::Net::IPEndPoint^);
void _socketManager_onDataArrival(String^ SocketID, array<unsigned char, 1>^ SocketData, System::Net::IPEndPoint^ RemoteIP)
{
System::Ob...
How to "overwrite existing log file" ??? I have tried to set attribute property <appendToFile value="false" />. but still log file is not getting overwrite.
My config file setting is as follow:
<log4net>
<root>
<level value="DEBUG" />
<appender-ref ref="LogFileAppender" />
</root>
<appender name="LogFileAppend...
We've recently moved our company website to a new host.
It is an ASP.NET site with C# code behind, connecting to MS SQL server.
Since moving the site to the new server, the site is exceeding the connection pool limit (which is not set explicitly, so I believe is at the default size of 100).
Inspection of the open processes via SQL Serv...
First of all, i'm a Graphic designer so please ignore if this programming question seems stupid ... I know this question could've been split into two or three smaller questions but since I'm really new to coding VB.NET it would've killed me trying to put together the stuff ...
Directory Structure:
I have a directory structure as follows...
Hi,
Can some body provide me the list of Utilities and Tools available in .Net with there uses. Please guide me about this.
...
I’m writing a client that receives messages from an external Websphere MQ Queue and puts them on an internal MSMQ Queue. The client will use MQ Client or, preferably, be purely managed (MQC.TRANSPORT_MQSERIES_MANAGED).
Based on an example from IBM, I have a version up and running that can do a simple IBM.WMQ.MQQueue.Get(…). How can this...
I have a Javascript. I want to call only at page load. I dont want to call at postbacks.. (Asp.net 3,5)
...
Hey Guys,
I have the same problem. But the differences is that my empty rows are in the middle and I have over 50 columns. The user wants to see the duplicated rows, so that means I cannot use SELECT DISTINCT * FROM [excel]
The empty rows could be anywhere. The largest excel I faced with so far have over 100,000 rows.
Is there a m...
Hi all
I've created a branch to handle some new developments I don't want impacting on the trunk until they're complete.
Initially I simply created a copy of the trunk. I then created working copies of both the trunk and the branch.
In the working copy of the trunk, I modified a couple of files and added a new one. I then committed my...
I'm just starting to learn F#. I wrote this F#/ADO.NET code last night.
In what ways would you improve the syntax - make it feel like idiomatic F#?
let cn = new OleDbConnection(cnstr)
let sql = "SELECT * FROM People"
let da = new OleDbDataAdapter(new OleDbCommand(sql, cn))
let ds = new DataSet()
cn.Open()
let i =...
I am trying to (more or less) uniquely identify a system for licensing purposes. I have chosen the computer's on-board network adapter's MAC address for this task, since I can be sure that every cmputer running this software actually has one, and this avoids re-activation when changing e.g. the harddrive.
I am having troubles reliably i...
I have a .Net app deployed via click-once. The app icon shows fine on the start menu, task bar etc., but not in Add / Remove Programs in the control panel. What do I need to do to fix this?
TIA
...
Hi,
I got a serious problem with MS Expression Blend 4 (MSEXB4):
I made a prototype for an application. When I start the project by hitting F5 MSEXB4 crashes.
When I remove the sketchflow-map it works, but no screen is loaded. But I want to have a sketchflowmap to show some screens -.-
I started debugging in VS2010:
The error:
{"Una...
Hi everyone,
I have the following code which invokes a .net webservice. The code connects to the service fine, but the paramter(deviceid) does not appear to get passed. The method simply returns the passed deviceid which is always null.
This is telling me the deviceid parameter is not being passed. I thought I saw someone recommend a p...
I am in the planning phases for an enterprise level web application that will likely be highly transactional in nature with a SQL Server back end database. Most of my development in the past few years has been implementation of Content Management Systems. However this will be an app that is built from scratch. It seems silly not to us...
i need your help to remove null and empty values in DataTable. My Excel table 4678 rows but returning rows more than 1000000 i need to remove empty or null ... Also MY COLUMNS COUNT 60!!! :( please help me
foreach (var sheet in Sheets)
{
dbCommand = new OleDbCommand("select * From[" + sheet + "$]", excelConn...