all groups > c# > december 2007 > threads for friday december 21
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
Windows Service
Posted by Kuldeep at 12/21/2007 6:03:40 PM
Framework: Visual Studio 2005
Language: C#.NET
Hi All,
I would llike to write a Windows Service which does the follwing steps:
1. Look for any PDF files from a location
2. Collect all the PDF files and move them to another location.
This service will run in a location where our web appli... more >>
best way to display categories on a .aspx page
Posted by DotNetNewbie at 12/21/2007 1:28:45 PM
Hello,
I need to display a list of categories on the left side of a page, and
I am confused how I would do this using a List Control (as appose to
weaving my own HTML on the server side).
My HTML should look like:
<ul>
<li><a href="">Category</a>
<ul>
<li><a href="... more >>
legal to copy MS's code?
Posted by not_a_commie at 12/21/2007 12:14:03 PM
So is it legal to copy stuff out of the .NET framework and mix it into
your own code? I assume so, since I could call their function directly
if I didn't want to avoid the UI library reference in my server code.
Do I need to reference it?... more >>
An unhandled exception of type 'System.NullReferenceException' occurred in my_deepot_common.dll
Posted by Pedro Dinis at 12/21/2007 11:31:18 AM
i have this class library that connects to the database(see appconfig below)
compiling 0 errors but when its running i amhaving this error
An unhandled exception of type 'System.NullReferenceException' occurred in
my_deepot_common.dll Object reference not set to an instance of an obj
in... more >>
how to stop a serivice
Posted by Analizer1 at 12/21/2007 10:57:50 AM
hi
How can i Stop a Service from within the service
for instance....
A Error Occures before the Service gets the business logic part started....
this error is caught in a Try/Catch block
What is the Call to Stop the Service
Thanks
... more >>
Is there a standard editor control that can handle...
Posted by Tony at 12/21/2007 10:11:02 AM
I am not familiar with the various editor controls that comes with .NET, can
someone tell me is there one which can handle by default, or with minor
customization, the following features:
* auto indenting based on rules (open/close brace)
* collapse/expand of sections (with plus sign on the ... more >>
RichText Box Help pls...
Posted by Soulless at 12/21/2007 9:38:05 AM
I have added a RTB to my form and found some code online:
rtb1.Rtf = @"{\rtf1\ansi \b Conversion Report\b0.}";
I want to be able to add lines to this box, with different fonts,
sizes, alignment, etc. But I am not sure what I can do with Rtf.
Obviously /b is for bold, but what else is ther... more >>
Combobox not display selected item
Posted by Mark Boettcher at 12/21/2007 9:38:00 AM
I am writing a Windows Form app in c# and I've populated a combobox with
values.
I click on the down arrow to display the list and the list of values
displays correctly. Once I select a value, the list disappears and the
selected value does NOT display as the selected item. If I click the d... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
how to grab a handle to existing IE document?
Posted by Michael Bray at 12/21/2007 9:21:37 AM
I have an application in which I want to call a javascript function inside
a microsoft IE window. I know how to do this using an embedded browser as
well as a full browser that I spawn. In both cases, it is easy to get the
handle to the IHTMLDocument object. However, it appears that the web... more >>
Dynamic dll loading
Posted by Analizer1 at 12/21/2007 8:40:20 AM
hello,
i have some services that use a class library our company developed all code
is c#
I dont want to have multiple copies of this common library with each
service....
how can i tell the services where to bind to this common library....
suedo example:
d:\services\service1\service1.exe... more >>
Setting DataColumn.Expression in the Properties window
Posted by Cartoper at 12/21/2007 8:06:53 AM
I would like to set the Expression on the full_name column of my
dataset in the Properties window to be:
fname + " " + lname
I am getting an error, I tried escaping the quote but still there is
an error. How do I add this expression correctly?
Cartoper... more >>
Passing Class to Dialog
Posted by mcmalburg at 12/21/2007 5:44:41 AM
I have a dialog box (form) that configures items in a class. I'm
wanting make sure that I handle OK and Cancel properly and that I also
manage memory (I hate the fact the C# supposedly does this for me).
Nonetheless, my question is regarding cloning. I'm assuming that I
have to clone my object... more >>
Problem with connecting udp socket
Posted by ElvisRS@gmail.com at 12/21/2007 5:28:54 AM
Hi,
I'm writing a simple udp client using sockets. My code looks like
this:
initServer2 = new Socket(AddressFamily.InterNetwork, SocketType.Dgram,
ProtocolType.Udp);
initServer2.Connect(IPAddress.Parse(Properties.Settings.Default.InitServerAddress),
Properties.Settings.Default.InitServerPo... more >>
how to generate unique Hash Code for string
Posted by Ashish Khandelwal at 12/21/2007 4:47:32 AM
As MSDN is not giving us guarantee upon uniqueness of Hash Code, so
could any one suggest me that how to generate a unique Hash Code for
same string always, and generate different-2 Hash Code Different-2
string.
... more >>
Read Cookie domain from a Winform
Posted by foolsbar at 12/21/2007 4:37:12 AM
Hi there,
Is it possible to read a cookie's domain from the actual .txt file? I
want to be able to iterate through all of the cookie files on the
local file system, and find out which domain the cookie belongs to.
I don't need to know any other information from the cookie, just the
domain.
... more >>
Winddow form: Hide a tab in a TabControl?
Posted by Ben at 12/21/2007 4:21:01 AM
Is it possible to hide a tab in a Tab Control? Say, there are 3 tabs: tab 1,
tab 2 and tab 3. I want to hide tab 2 depending on the login user access.
Thanks,
Ben... more >>
binding source poisiton event executed too many times
Posted by GS at 12/21/2007 2:32:49 AM
the windows form application works but the eventhandler for binding source
postionChanged got executed too many times: 12 times from saveitemclicked
for the data navigator
many time from additem
here is the code snippet:
I have a datagridview and a detailView
in form load:
... more >>
Webcam Capture
Posted by Kevin at 12/21/2007 2:00:35 AM
Hi!
Which is the best way to webcam video capture with C# 2.0 and vs 2005?
DirectX? VFW Windows Api ?
Thanks
... more >>
|