all groups > dotnet framework > march 2008 > threads for march 22 - 28, 2008
Filter by week: 1 2 3 4 5
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 >>
Don't see what you're looking for? Search DevelopmentNow.com.
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 >>
|