all groups > dotnet framework > march 2008
Filter by week: 1 2 3 4 5
Service Installer Issue...
Posted by Lloyd Dupont at 3/31/2008 2:49:09 PM
I created a service and its installer.
However the installed service doesn't work.
Why? Windows Firewall block the port my service is listening too.
If, as an administrator, I add my application to the list of app authorized
by the firewall that's all good, however I would much prefer if the... more >>
Suggestions: Site Architecture
Posted by b_naick@yahoo.ca at 3/31/2008 12:22:45 PM
Would like some input on site architecture. We're in a situation where
we need to host/integrate multiple applications within a single site.
For example: the URL of the main site needs to be http://www.mysite.com.
The site contains 3 key features : call them feature1, feature2 and
feature3. Each... more >>
Steps to remove .NEt framework 3.0 SP1
Posted by Bill Nguyen at 3/31/2008 12:11:28 PM
I applied SP1 to .NET framework 3.0. Now I have to reverse it because
Dynamics GP 10 Business Portal doesn't recognize 3.0 SP1
What's the proper procedure to do the reversal since I have MOSS 2007
installed and configured properly with SP1 already.
Thanks
Bill
... more >>
System.OutOfMemoryException and PreRenderRecursiveInternal
Posted by Jones at 3/31/2008 10:07:36 AM
Hello,
I've been searching through a lot of posts on these subjects, but none
of them seem to pertain to what I'm seeing. I've got a C# Asp.net app
which never really pulls back a lot of rows, but I'm now getting this
out of memory exception. I'm getting all my data from a web service.
Init... more >>
C++ project on devices
Posted by Romain TAILLANDIER at 3/31/2008 9:22:10 AM
Hello group !
1) When i try to make a C++ project for device, i have an error "Echec
of the operation".
I can create all other devices project, i can create all others C++
Projects.
I can't found any help about this problem.
Have you an idea ?
2) I have a C++ Device DLL (thanks CodeProj... more >>
CodeDOM question: explicit conversion operator generation
Posted by aurawind2k@gmail.com at 3/31/2008 7:41:44 AM
I would like to generate through CodeDom an explicit conversion
operator. Is there a way of doing this?... more >>
Issue with Client side impersonation - follow up
Posted by Martin at 3/31/2008 5:44:10 AM
Following up from my previous post - Issue with Client side
impersonation - I guess what I need to discover first is:
Can a browser-based cient-side application impersonate a domain user?
If not, I'm a bit stuffed! So if anyone can give me a definitive
answer to that question, I'll at least ... more >>
Building a GUI for a service
Posted by Debbie.Croft@nospamforme.com at 3/31/2008 12:12:51 AM
I'd like to put a GUI on my (C#) service (running under Vista). Anyone have
any pointers as to the best way to do this? I'm using VS2008, if it matters.
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
dispose vs finalize
Posted by Bhuwan Bhaskar at 3/30/2008 12:24:21 PM
Hi,
I want to know, the difference between finalize and dispose? I know that
those methods release unmanaged resources. I am confused, when to use
dispose and when finalize.
Regards,
Bhuwan
... more >>
Deployment of Third-Party Assemblies to GAC
Posted by Robert E. Flaherty at 3/30/2008 11:06:00 AM
I'm in the process of converting a VB6.0 collection of programs to C# 3.5.
The new applications use Crystal Reports 2008, FarPoint spread and some
Telerilk controls.
The suite of applications are used by both my local client plus a few other
client in other parts of the country. Therefore... more >>
Extension Methods in .NET - A Comment
Posted by Axel Dahmen at 3/29/2008 11:21:53 PM
I've just read into Extension Methods in .NET and can't hold to give a =
short comment on them:
Using static classes to purely use another class's fields and methods to =
even pretend being a member of that other class without actually being a =
member of that class is very hard to understand.... more >>
Wireless 5000
Posted by TomSanta at 3/29/2008 10:04:00 PM
Can the wheel be configured 'zoom smooth' in and out for photos. It seems
to work in Adobe - but suprisingly not in Windows Photo Gallery. The $20
Logitech mouses does it on default.
thanks
tom... more >>
dot net frame work
Posted by davi at 3/29/2008 9:50:53 AM
http://programming-languages-tutorials.blogspot.com/2008/01/net-framework.html... more >>
ASCII/UNICODE Encoding
Posted by Davide Piras at 3/28/2008 5:59:35 PM
Hello,
..NET Framework 2, C#, ASP.NET web application...
I have the string "öäü" and I need the ascii rapresentation in the format:
"\u00F6" stands fo "ö" and so on...
then later I need to convert again from the string "\u00F6....." to the
original one "öäü"
tried some paths but cann... more >>
How to install toolset in visual studio 2003 (anthem.net)
Posted by darrel at 3/28/2008 11:19:25 AM
I'm maintaining a 1.1 application using VS 2003.
I'm running into a weird compiliation problem where every other compilation
gives me an error saying it can't find
Command line error BC2017 : could not find library
'c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net
files\cou... more >>
Form Sizing Grip
Posted by Tom at 3/28/2008 9:53:08 AM
Well,
This one's kind of embarrassing. I have inherited a Windows for application
in VS2008 C# that has a status bar with a sizing grip in the lower right
hand corner. However, the sizing grip doesn't work (it will not let me grab
it if I place the mouse over it). Anyway, the form is res... more >>
VB.NET 2005 Service - Settings file location
Posted by Sid Price at 3/28/2008 8:02:35 AM
I have a service I am developing for a client, it requires some
configuration parameters that are stored in the settings file; accessed
using My.Settings. The service appears to be reading the file correctly and
picking out the parameters. I also need to write a configuration
application, it det... more >>
Mailbox account
Posted by Eduardo Fonseca B. at 3/28/2008 7:59:01 AM
I'm looking for a way to create mailbox account from C#. I use the Windows
Server 2003 POP3 service. I'm not using Microsoft Exchange, nor will be using
it in a long term.
--
Eduardo Fonseca... more >>
NumberFormatInfo and Custom Numeric Format Strings
Posted by Ralf Steinstraesser at 3/28/2008 6:42:00 AM
Does anyone know how to initialize a NumberFormatInfo instance with a custom
numeric format string?
So instead of directly using the custom numeric format string
double dVal = 19.95;
string strVal = dVal .ToString("$#,##0.00");
// -> strVal is $19.95
I would like to first initialize the... more >>
How many projects in a Visual Studio Solution ?
Posted by Romain TAILLANDIER at 3/28/2008 3:02:45 AM
Hello group,
Most of my solutions have between 1 and 5 projects.
I have a solution with about 35 projects (and still growing).
How many project have you in your solutions ?
What are the problems (and solutions) you encounter with big
solutions ?
Thank you.
Romain TAILLANDIER... more >>
single quote in data
Posted by barry at 3/27/2008 8:01:12 PM
Hi
when inserting data into a Sql Database table if i have a value like
"Uncle's Kitchen"
It throws a error, someone had suggested i use Parameter, i tried to use
SqlParameter it still gives errors.
I remember getting a similar error when inserting using Dataset.
How do i insert suc... more >>
datatable select order
Posted by MarcG at 3/27/2008 6:18:01 PM
I have a datatable that I create from scratch, first adding a bunch of
columns all of datatype String. The columns are named. There are no keys or
constraints defined for the table or the columns.
I programmatically load the table, one row at a time from a tab delimited
file (I can't use th... more >>
WCF service, non-wcf client using mutual certificate authenticatio
Posted by Rick at 3/27/2008 2:52:00 PM
Hello,
I have a case where we implemented a WCF service originally using Windows
authentication. There was a Windows service that communicated with the WCF
service just fine by adding the WCF bindings and endpoints to the
WinService's app.config. Now we want to change the WCF service to use... more >>
inheritance via a reference
Posted by gadya at 3/27/2008 10:00:00 AM
Is the code below OK?
Public Class Prices
Inherits ServiceReference1.Prices
End Class
It compiles but there are problems when I try to use it. See my query "WCF -
class inherits a service reference"
... more >>
Registry reading problem vb.net 2005
Posted by Sid Price at 3/27/2008 9:03:19 AM
I am having an issue reading a string value from the registry, with the
following code I get a pair of double quotes ("") at the start and end of
the string, this causes the method that processes the string to fail. Can
anyone advise what I am doing wrong please? Note that when I use regedit t... more >>
Profiling/Debugging Real Time Security Checks
Posted by Mark Leistner at 3/27/2008 7:18:02 AM
I have a medium sized application (say 50k lines) that occasionally will
spike the % of time in RT security checks performance counter between 50 and
95%.
It can perform hundreds of thousands of code access security permission
checks in a few seconds in some cases.
I know that I can set ... more >>
How to test a VB.NET constructor?
Posted by Chris Leffer at 3/27/2008 5:34:20 AM
Hi.
I am playing with the Test Projects of the Team Developer edition of
Visual Studio. When testing some functions, all is ok. But when I try to
test a constructor written in VB.NET, the test code is created with an
instruction:
Assert.Inconclusive("A method that does not return a value ca... more >>
strategic question about frameworks
Posted by Matthias S. at 3/27/2008 5:01:37 AM
hello,
we are currently considering to port quite a huge code base from
ASP/COM to asp.net and the .net framework (websites, class libraries,
windows applications).
the question is, what version of the .net framework should we port to?
2.0? 3.0? 3.5? does anyone have a link to information, ... more >>
Executing command/instruction from a string variable
Posted by Gancy at 3/27/2008 2:22:23 AM
I need to execute the command/instruction which is stored in a
variable. ex
string str = "drRow["userid"].ToString()"
here i need execute the instruction stored in 'str' and get the value
from executing
drGalileoToday["userid"].ToString()
I have no idea as how this could be done. Ple... more >>
Possible to assign LINQ join results to original outer?
Posted by Lars-Erik at 3/27/2008 1:20:00 AM
Hi!
I've been fiddling with composing objects with partial data in two
data-stores.
I'd like to join them 1-1 and put the inner objects on a corresponding
property on the outer one.
What I can't figure out is how to do this without creating new objects of
the outer type, assigning all pr... more >>
IF formula limitations
Posted by jpmmgr at 3/26/2008 7:06:02 PM
I am using several drop downs relating to lists within a worksheet and
require formulea to return a value depending on the drop down value selected
but only seem to be able to get a maximum of 8 "IF" queries in a single
formula. Is it possible to get more or is there a more efficient method of... more >>
GZip Compression :(
Posted by Carlo Razzeto at 3/26/2008 4:51:20 PM
Hello there,
I'm having an odd issue with GZIP compression (having followed example code
found on MSDN). Basically, after running through the compression routine I
end up with a byte array several times larger than the source text file,
full of zero data. Below is the code used to do the co... more >>
How to change default printer using c#.net?
Posted by Andrew at 3/26/2008 11:58:01 AM
Hello, friends,
We need to programmatically change default printer in our c#.net 2005
application. We tried:
System.Drawing.Printing.PrinterSettings oPS = new
System.Drawing.Printing.PrinterSettings();
try
{
oPS.PrinterName = default... more >>
Remoting. what is Client IP
Posted by mttc at 3/26/2008 3:33:47 AM
When client call to remoting mathod it's no way to knoe the IP of
client?
the server look like:
interface MyInterface
function div(i as integer) as integer
end interface
Public Class KioskServer
Inherits MarshalByRefObject
Implements MyInterface
function div(i as i... more >>
Messages for drawitem
Posted by barry at 3/25/2008 3:10:35 PM
Hi
is the drawitemstate of drawitem method of comobox defferent for Windows XP
and Windows 2003, how does one solve such problems
TIA
Barry
... more >>
Beginning ActiveX - get Page Title
Posted by tucson at 3/25/2008 10:15:02 AM
Not sure if this is the right forum or not. I use vs2008 and need to develop
an activex control that can grab all of the IE windows (and their page title)
that are open on a client's machine when they click on a link.
I'm new to ActiveX (not new to web apps). Can somebody point me to some
a... more >>
Client App Fails to stop Service
Posted by RML at 3/25/2008 10:01:03 AM
Hi,
I have created a .Net 2.0 Windows Service which I would like to have
stopped/Started by a .Net 2.0 client windows app.
When logged in as Admin, the client app can start/stop the service fine. If
I am logged in as a user other than Admin, the client fails to stop/start the
service. ... more >>
ClickOnce Applications
Posted by bern11 at 3/24/2008 7:37:37 PM
I have a C# ClickOnce application I'm distributing. I've noticed that each
time it runs it creates an entry in the \user\Local Setting\Temp directory.
Does this ever get cleaned up? I can't have ClickOnce cluttering up the
drives.
Also, I noticed that the app is installed in the \Local Se... more >>
Configure Outlook Express for MSDN subscriptions?
Posted by eschneider at 3/24/2008 4:22:01 PM
Hello,
I'm try to configure outlook express for the MSDN subscription and the link
does not work on how to configure it.
Step 2: Choose and configure your Newsgroup Client
The NNTP Newsreader link does not seem to work.
Any ideas?
Thanks,
Schneider
... more >>
Profiling HttpListener app
Posted by Mark at 3/24/2008 12:37:02 PM
Hi...
I've been profiling an HttpListener-based app that takes in POSTed xml of
~150 bytes and returns xml in roughly the 400-byte range.
One of the surprises in the profiling was that the line for reading the
request stream is listed by Quantify as taking about 28% of all the
processing... more >>
Decing a POP3 email
Posted by Paul S at 3/24/2008 5:54:01 AM
Hi
I'm trying to parse and email I get from a POP3 server.
Waht do I do to get the filename out right. I believe the encoding is
quoted-printable.
Content-Type: text/xml;
name="=?ISO-8859-1?Q?Analytics_www.xxx.dk_20080224_(Bes=F8gsstatistik).xml?="
Content-Disposition: attachment;
fi... more >>
pagination in datagrid in asp.net 2.0
Posted by AVL at 3/24/2008 5:36:01 AM
Hi,
I've a requirement wherein I need to create datagrid dynamically along with
the pagiantion implementation in aspx page. I've created the grid dynamically
but i've problem with the paging event..
This dynamcially binded event isn't firing...when I click on the page number..
Any articles o... more >>
Force a Windows Form application to exit.
Posted by Andrea Valori at 3/24/2008 4:00:00 AM
Hi everyone,
I've a problem with a .NET VisualBasic 2005 Windows Form application. My app
uses the Bluetooth to sends messages to mobile devices in its BT coverage
area; for every device founded, its create a managed thread which takes care
of the communication between the mobile device and m... more >>
How retrieve Public IP?
Posted by mttc at 3/24/2008 1:24:24 AM
I have Remoting App (on tcp channel with no web server). I need to
know the Client IP(public ip). I not find any way to retrieve this
info when client call remoting procedure (singelton)?
So my Q is how can client know his public IP to send it to server?... more >>
Please help .net framework errors after auto update.
Posted by dej at 3/22/2008 5:33:31 PM
My computer claims 2 is not installed. Wont let me install it. Wont let me
uninstall any earlier version. All this occured after auto update on my xp
pro system. Any suggestions?
dej
... more >>
keyboard mapping bold italic and underline
Posted by AdrianaMex at 3/21/2008 7:58:01 PM
Hi All,
I process words all day long. Is there a way I could map toggle keys for
bold, italic and underline? I could use the / * - on the numeric pad. Those
three characters are readily available through other keys. If this is
possible *dream* would they work on any font? I hope thew keyboard... more >>
StreamReader and NULL characters
Posted by brian.gabriel@gmail.com at 3/21/2008 7:39:46 AM
I am trying to read a file that was produced on a mainframe, it is a
text output of a mainframe report. I am able to read in part of the
file, the problem is that between each "page" of the report there is a
NULL character. The streamreader will read up until it sees this
character then it sto... more >>
Anyone from Microsoft confirm this bug or explain this as feature
Posted by Aamir Mahmood at 3/20/2008 11:54:18 PM
I have posted this issue earlier on
microsoft.public.dotnet.languages.csharp, but nobody replied to that.
Consider following code:
--------------------------------------------------------------------------------
private void button1_Click(object sender, EventArgs e) {
using (System.T... more >>
Remoting Dilemma
Posted by ckkwan@my-deja.com at 3/20/2008 3:44:34 AM
I am kind of stucked.
App A -> Remoting DLL <- App B
(Server) (Client)
Application A will invoke the Remoting DLL and start it as a server.
There will have multiple Application B (clients) trying to connect.
Well, they all can connect without any... more >>
windows project n web services
Posted by Andrew at 3/20/2008 2:18:02 AM
I am writing a windows application that consumes a webservice. How do I
reference the webservice in my windows application ?
Thanks
Andrew... more >>
|