all groups > dotnet general > october 2006
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
Log4net vs Enterprise Library - Logging Application Block 2.0
Posted by sreedharv NO[at]SPAM gmail.com at 10/31/2006 5:56:01 PM
Log4Net vs Enterprise Library - Logging Application Block
Please list or point to the comparison.
My requirements are:
- 50 to 70 web servers
- Track Machine name
- Extract class / method name irrespective of the info type - debug,
trace, exception and more
- Incoming bad links
- Session... more >>
Connection from asp.net application to SQL Server 2000 blocked by firewall
Posted by Schalley Ben at 10/31/2006 5:16:42 PM
Hi
First of all, this is my first post on a newsgroup so don't shoot me if
I ask this in the wrong place.
Here is the situation. I'm developing an asp.net application with access
to a SQL Server 2000 on the companies network. On my development machine
I have Bitdefender Internet Security... more >>
Change directory in Visual Studio .NET Command Prompt
Posted by Can at 10/31/2006 10:13:02 AM
I was trying to do this
http://support.microsoft.com/?kbid=316163
but I can't seem to change the current folder
I tried cd <folder name> and it didn't work.
Thanks,
Can... more >>
DLL problems / .NET solutions (?)
Posted by douglass_davis NO[at]SPAM earthlink.net at 10/31/2006 9:23:59 AM
Hello,
I keep reading about "DLL hell" and how it used to make sure that the
correct DLL is used, especially when installing a new program and
attempting to install the DLL that comes packaged with that program.
Then I read about how .NET makes DLLs easier and less error prone. I
really ... more >>
Converting .Net1.1 app to .Net2.0 app resulted in loss of CLR 2.0 and more
Posted by Marcus at 10/31/2006 6:29:43 AM
Hi,
I converted my .Net1.1 application (written in VS2003) to a .Net2.0
application. I let VS2005 do the job as it suggested when trying to
load my VS2003 project in VS2005.
I then included the output exe from this project into my VS2005 setup
project. I used it as a custom action.
I then ... more >>
good .net 1.1 to .net 2.0 book
Posted by fallenidol at 10/31/2006 2:17:01 AM
if i wonder if anyone could suggest a good book which will describe in detail
the changes and new features in .net 2.0. i have in depth knowledge of .net
1.1 and want to learn about .net 2.0.
--
"If ignorance is bliss, then wipe the smile from my face."... more >>
computer name
Posted by James NO[at]SPAM earthlink.com at 10/31/2006 12:00:00 AM
Is there a way to get the name of a computer on the local network if
you know its Ip address and or its Mac address?... more >>
issue with #include
Posted by --== Alain ==-- at 10/31/2006 12:00:00 AM
Hi,
Under VC++.NET, i have a stupid issue with #include statement.
Usually when we include some *.h file, we need to declare them before
any #using <> or #using namespace... to avoid issue at compilation time.
However, when i write #include "commctrl.h" as below in my *.h file :
#pragma ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
key board problem
Posted by Pennington at 10/30/2006 9:53:02 PM
I have no idea how the question thing works but if any one reads this my
problem is on my key pad certain letters our doing this when typed:
e- re, er
r- er, re
d- fd, df
f- df, fd
c- vc,cv
v- cv, vc
and etc.....!!??!!
HELP
--
Pennington... more >>
Known File-types Previewer
Posted by Andrea Anastasescu at 10/30/2006 4:52:49 PM
Hi there,
I have to integrate a previewer into a desktop application, that retains
some links to resources (local files, internet-links, personal mails - this
is not of certain concern).
This window should be able to give a preview of the document: be it an
office (word, excel), an image f... more >>
menu on a tree view node
Posted by Ron M. Newman at 10/30/2006 4:21:57 PM
Hi:
I have a treeview
The treeview has a node
the node has a contextMenuStrip
The contextMenuStrip.Items has a few items.
Goal: I want one of those items to have a submenu.
Is this possible?
Ron
... more >>
what is best way to talk to https webpages within .net? any good librarys for talking to https websites?
Posted by Daniel at 10/30/2006 3:45:57 PM
what is best way to talk to https webpages within .net? any good librarys
for talking to https websites?
... more >>
ContextMenuStrip and submenus - virtual impossibility??? huh?
Posted by Ron M. Newman at 10/30/2006 2:04:28 PM
I have a context menu strip. I can Add elements to its "Items", but there is
nothing in there to add a sub context menu strip.
Menu
Item 1
Item 2
Sub Item 1 <-- impossible to add!
How do I achieve that? There seems no API's to do that and the internet is
simply "empty"... more >>
Build dynamic context menus for trees
Posted by Ron M. Newman at 10/30/2006 1:15:19 PM
Hi,
Just need a little advice. Id like to build *dynamic* context menus for tree
nodes. I'm pretty versed in building context menus and attaching them to
tree nodes.
My question is, what event to I "capture" in order to build the tree node
menu in real time? right click on a tree node? o... more >>
How do you Manage Production and Development Versions of Applications
Posted by bay_dar NO[at]SPAM yahoo.com at 10/30/2006 11:26:48 AM
We are wondering what is the best way to go about managing production
and development versions of our ASP.NET applications. We often publish
a production version of a .NET application but then we may need to make
longer term upgrades to the application that may take several weeks. Of
course in t... more >>
PrintDocument speed is slow
Posted by chankey NO[at]SPAM aegonusa.com at 10/30/2006 11:21:43 AM
I have code that is able to print using the PrintDocument class,
PrintPage event and the Graphics.DrawString method. It is on the slow
side though. Does anyone have an ideas on how to speed up the printing
process? I did read one suggestion that said I should use the Win32
API's for printing,... more >>
Problem with Process.GetCurrentProcess() when starting a service
Posted by Benzi Eilon at 10/30/2006 12:24:01 AM
I have written a C# application which should run as a Windows
Service. I must avoid having multiple instances of the application
on one machine so I inserted the following code at the beginning
of the Main() function:
// if this is not the first instance of this application, exit
// immediate... more >>
'ResourcePool' is not supported on the current platform
Posted by Jason Huang at 10/30/2006 12:00:00 AM
Hi,
In my C# windows form project application, I tried to deploy it on a Windows
2000 Pro client.
However, it gave me an error: 'ResourcePool' is not supported on the current
platform.
I searched the Google, but most cases are for the web form project, not
mine.
Would someone tell me how... more >>
differnece b/w Throw; and Throw ex ; where ex is Expection Object
Posted by deepak at 10/29/2006 9:34:19 PM
the code goes some thing like this
try
{
some statements;
}
catch(Exception ex)
{
throw;
}
try
{
some statements;
}
catch(Exception ex)
{
throw ex;
}
... more >>
Scalability questions....
Posted by smerf at 10/29/2006 6:54:41 PM
For the sake of argument, let's say I wrote an application that made
extensive use of web services. And, again for the sake of argument, let's
assume that the app became very popular and millions around the globe used
it daily.
I know how to write a webservice attached to a backend databas... more >>
How to run a Background Job ?
Posted by vivekian at 10/29/2006 5:55:33 PM
Hi,
Need to run a background job which will run everyday and check if any
of the members in the web application have their membership expiration
date approaching and send them a remainder accordingly. How can this
thread / method be scheduled to run background at sometime during the
day.
T... more >>
Best approach for Custom ListView
Posted by --== Alain ==-- at 10/29/2006 5:53:31 PM
Hi,
I'm currently working under VC++.NET 2005 and i'm deriving my custom
control from ListView.
I need your feedback to know in which direction should i develop this
control.
I've seen on internet a lot of similar controls, however i would like to
understand a little bit more how to... more >>
.NET Installer error
Posted by alex NO[at]SPAM kiss.la at 10/29/2006 3:49:29 PM
Hi guys,
I have built a custom Installaion project for one of my programs. I
have included in it some code that registers the product. This
registration code is in a seperate DLL file which gets executed. The
DLL has got a window form interface with a few options ("Demo",
"Activate", "Exit").... more >>
Update SQL Table Data using DataGrid
Posted by Sharon at 10/29/2006 2:16:21 PM
Hello All,
Is it possible to update Sql Table through DataGrid. I have a DataGrid
which is being populated through a stored procedure, all i wanted to do
is to update one field (FieldName-Authorised) which has a datatype bit
through DataGrid but not sure how to go about it. Any Ideas Guys on
... more >>
Use dll created in dotnet using them from vb6
Posted by Raul at 10/29/2006 1:35:56 PM
Dll created from dotnet, like the calls can be made from VB 6.
Greetings and thank you
... more >>
Blank Hard drive - How to install Operating System?
Posted by No Experience at 10/29/2006 8:04:02 AM
Hello,
Really need some advice here. I bought a Dell computer from a local
wholesaler last week and the hard drive was completely erased. I didn't
think it would be difficult to load software, but I'm finding out that I have
no idea how to load anything on here. I only have access to th... more >>
Title bar
Posted by Wagon NO[at]SPAM aol.com at 10/29/2006 7:09:43 AM
Is there a way to creat an application that will put a control in the
title bar of every other running application?... more >>
Resize Window
Posted by James NO[at]SPAM earthlink.com at 10/29/2006 7:08:44 AM
Is there a way to get a vb.net program to control the size of other
application windows?... more >>
Dynamic form control properties
Posted by codeslinger73 NO[at]SPAM gmail.com at 10/29/2006 6:20:51 AM
I ran into sort of a timing issue. I want to hold some default
properties for form controls (font, borderstyle, etc) in the registry
or a config file and then update these things after init but before the
paint. The problem is that the form's InitializeComponent() calls the
control's construct... more >>
Are DateTime datatypes worth the aggravation?
Posted by Tony Van at 10/28/2006 5:04:45 PM
They're driving me nuts, especially with the Datareader.
There are times when I want to pass a null date on
to a date variable and I have to cast the null as a
date!!!???
I'm wondering if I should just forget it and dates and times
as a string in the database table.
Anyone wrestle with ... more >>
Graph control
Posted by Esha at 10/28/2006 12:21:58 PM
I was asked by my boss to create representation of data by Graphs in VB 6
application.
I checked the features of VB6 Graph control as well as Excel graphs. They
are not good enough.
I tried to find any third party ocx and all I found do not look good enough
either.
I found several .NET cont... more >>
Passing a keyboard event to an other control
Posted by spamfilteraccount NO[at]SPAM gmail.com at 10/28/2006 11:18:15 AM
Hi,
I have a textbox and a listbox and I handle keydown events in the
textbox. I'd like to pass page up/down events to the listbox if the
focus is on the textbox, so that the default handler of the listbox
handles them.
That is I want to be able to scroll the listbox from the keyboard even
... more >>
Accessing a singleton class from a windows service
Posted by mma at 10/28/2006 12:56:35 AM
hello everyone,
i have a solution that contains the following project types:
1. Class library
contains a singleton class that handles the data access (sql
server 2005).
2. Windows service.
uses the Class library's singleton class to manipulate data in
the data base server.
3.... more >>
Need help populating crystal report with data from dataset
Posted by mike11d11 at 10/27/2006 10:33:47 PM
For some reason I'm getting no data populating in my crystal report. I
built my crystal report off my dataset in my project, and I fill the
dataset when opening the main form, and count the records just to make
sure there is data in the dataset, and then open the form containing my
reportviewer... more >>
Printform issues
Posted by Mark at 10/27/2006 9:14:01 PM
How do I programatically change the setting from portrait to landscape?... more >>
form design question
Posted by --== Alain ==-- at 10/27/2006 9:11:18 PM
Hi,
I've created a Form just for testing purposes.
on this form i have a custom control that i created.
Every time that i update my custom control (dll file), my test form
displays the following message :
"One or more errors encountered while loading the designer. The errors
are listed... more >>
Invoke and assembly references/folders
Posted by Kopiad NO[at]SPAM hotmail.com at 10/27/2006 2:47:24 PM
I have two assemblys A and B in folder 1. Assembly A references
assembly B.
In another folder 2, I have a program C that do a
Assmebly.LoadFile(<absolute path to assembly A) and creates an instance
of a class in A. When invoking a method (from the program C) in
assembly A that creates an instan... more >>
get 800401f3 if pinvoke, but not in C call on xp only
Posted by Roy at 10/27/2006 1:55:02 PM
Have a dll that calls a com object. Can call dll from C program fine, can
call dll from C# program in compact framework (i.e. CE/PPC devices), no
problem.
On XP devices when I pinvoke it gets into the dll, but when the dll calls
the COM interface get that error.
Don't get the error if ca... more >>
Create a windows-like Service in CF using C#?
Posted by Roby2222 at 10/27/2006 11:50:02 AM
I'm trying to figure out how to mimic the functionality of a Windows Service
on the .NET Compact Framework 2.0. I need this application to always run in
the background. I've researched quite a bit, but all I was able to find was
articles related to building such an application in C++, or oth... more >>
Receive Error: Unable to Read Data From The Transport Connection
Posted by Terrance at 10/27/2006 10:14:01 AM
I'm trying to create a small messenger program that uses the tcpclient and
tcplistenter objects. When I start the application and run the thread that
fires the tcplistener; once the client sends data then closes the stream and
the connection I receive the message Unable to read data from the t... more >>
Get current logged-in user
Posted by Lattis at 10/27/2006 8:31:01 AM
I have the following problem:
User A is logged in to a windows 2000 terminal. He runs an application which
runs under the credentials of a different user. If I try to see the current
user throught the application I can only see the user that started the
thread. How can I see the user that i... more >>
is C++ a dot net language
Posted by steven scaife at 10/27/2006 8:18:02 AM
Sorry for this but to settle an argument
Is C++ a dot net language, I say that it isn't and it has interoprability
with dot net through extensions and what not, plus it been around longer than
dot net, it allows multiple inheritance where as c# and vb.net don't you
inherit from one object a... more >>
A question of style
Posted by Barny at 10/27/2006 1:42:01 AM
Recently I noticed something that seems strange to me in .NET source that I
wasn't originally involved in producing.
I was wondering if this was a preferred .NET style (or indeed general
style). I believe not as the code also uses Hungarian notation.
In summary I had always used, for exam... more >>
the find in a dataview???
Posted by Raul at 10/26/2006 9:01:47 PM
My problem is the following one it is in a datagridview I am showing some
data and I would like to locate me in a certain line.
Ex. Locate me in a line that has the telephone 999 and this orderly one for
name
ID - NAME - TELEPHONE
1 - AAA - 111
2 - BBB - 444
3 - CCC - 555
4 - DDD - 666... more >>
Merging two VB.NET projects
Posted by Daniel Manes at 10/26/2006 5:12:59 PM
Working w/ someone in my company. We've both developed a project in
VB.NET, and now we want to merge them into a single project/solution so
they can communicate with each other. The communication is fairly
simple stuff (e.g., if user selects a row in a DataGridView in one
form, it selects a corr... more >>
incident tracking software
Posted by M.Siler at 10/26/2006 3:52:30 PM
If we didn't want to track bugs via email or paper forms is there an
incident tracking type product that would permit us to track the following:
The probelm the tested found
Which version of the code it was in
The ability to attach a screen shoot of the error
The ability to assing a priority... more >>
Hover effects, IMessageFilter not working as expected
Posted by ThunderMusic at 10/26/2006 3:18:33 PM
Hi,
I'm developping a form that renders differently when hovered and trigger
some processing when not hovered (leaved). The thing is, when I leave my
form and another form from my application is underneath, it works fine, but
if I leave my form and anything that is not from my application is ... more >>
Reading a checkbox in a Gridview TemplateField.
Posted by mercercreek at 10/26/2006 2:09:47 PM
This one should be easy. Hope someone has a clue.
Simple Scenario: Gridview with mulitple rows, each row with a checkbox.
The user checks boxes of her choice. Clicks a button on the form (not
in the grid). Desired aciton is then taken in response to the
button_onclick event relevant to the r... more >>
Finding memory leaks in VB.Net
Posted by Dennis K. at 10/26/2006 1:42:03 PM
I have a VB.Net application that does a lot of recursion. Task Manager
shows about 19,400K in Mem Usage when the main process starts and about
31,600K when it ends. I have GC.Collect in the relevant code. Subsequent
invocations of the process just add to the Mem Usage. I am pretty sure I
am allo... more >>
questions: .NET on other platforms?
Posted by douglass_davis NO[at]SPAM earthlink.net at 10/26/2006 9:19:06 AM
Just curious about this. All .NET programs are compiled to IL.
I was just wondering, how many .NET programs are actually used on other
platforms? For example, non-Windows, or non-Intel.
I've seen it used for robotics.
Using .NET for web applications on, say, a Linux machine seems doabl... more >>
|