all groups > dotnet framework > march 2008 > threads for march 15 - 21, 2008
Filter by week: 1 2 3 4 5
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 >>
linq log
Posted by Padu at 3/19/2008 6:47:50 PM
I know I can do something like this:
myLinqContext.Log = Console.Out;
Obviously because Console.Out is a TextWriter. But instead of redirecting
the linq log to the console, I want to redirect it to the output window. I
couldn't find a Trace.Out, neither anything in the DefaultTraceListener... more >>
LINQ delete
Posted by Poly at 3/19/2008 1:40:25 PM
I have a problem.
I am trying to delete an object like this
try {
dataClasses1.myobjetcs.DeleteOnSubmit(obj);
dataClasses1.SubmitChanges();
}
catch {
MessageBox.Show("Ð½ÐµÐ»ÑŒÐ·Ñ ÑƒÐ´Ð°Ð»Ð¸Ñ‚ÑŒ");
}
And if delete fails, i can not work ... more >>
Question regarding AJAX Toolkit AutoCompleteExtender and URL rewriting
Posted by maflatoun@gmail.com at 3/19/2008 12:12:43 PM
Hi guys,
I'm running into an issue where my AutoCompleteExtender stops working
as soon as I make changes to my global.asax file for URL rewriting. I
just want to take a URL http://www.sample.com/file1234.aspx and pass
it to asp.net engine as http://www.sample.com/parse.aspx?id=1234 which
work... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Multi calls of same method or could Application.DoEvents messup code execution ??
Posted by Kristijan Marin at 3/19/2008 10:59:34 AM
Hi,
I have experianced same wierd behavior by one of my customers .....
Here is the thing .... We have the application for newspaper article
management. so adding end editing etc ....
After a while my customer started to complain that they have duplicate
articles in there database ....
... more >>
LINQ to SQL vs. Stored Procedures (Performance)
Posted by Mike at 3/19/2008 7:20:02 AM
Hi. I have a performance-related question about LINQ to SQL. If I have a
Stored Procedure and a LINQ to SQL command, both which perform the same
function (ie - SELECT, INSERT, etc), is the Stored Procedure innately more
efficient than the LINQ to SQL command?
From what I understand Stored ... more >>
VISTA upgrade from home to business edition
Posted by Allan Lobeck at 3/19/2008 5:45:00 AM
How do I find and complete and upgrade from Vista home to Business Edtion?
alobeck@bradmark.com
1-713-621-9346... more >>
Finding a resource leak in the background thread...
Posted by Cartoper at 3/18/2008 5:29:39 PM
I am developing on VS2005 SP1. I have a batch process that is running
in the background that is increasing the handle count of the app and
never decrements it. Here is the code that starts the thread:
ThreadStart threadDelegate = new ThreadStart(ProcessFileList);
this.webUpdateThread = new T... more >>
XMLDocument and NetworkStream (VB.NET 2005)
Posted by Sid Price at 3/18/2008 4:38:30 PM
Hello,
I have an application that needs to receive XML documents over a TCP/IP
connection. I have tried several approaches and so far have failed to find
one that I can get to work. The server is sending the XML correctly since I
can replace my XML receiver with a byte buffer and string build... more >>
Switching on Enum Problem
Posted by coconet at 3/18/2008 4:19:41 PM
Using .NET 3.5.
This does not work, how can I make it switch correctly?
Thanks.
[Flags]
public enum ColorModes
{
red = 2 ,
green = 4 ,
blue = 8
}
public class MyClass
{
public ColorModes CurrentMode{ get; set; }
public void Do()
{
ColorModes currentMode = ... more >>
Sign xml with smartcard
Posted by Yuki at 3/18/2008 1:53:04 PM
Hi all,
I'm trying to use a smartcard to sign a xml document...
//xDoc is my xml to sign
SignedXml sXml = new SignedXml(xDoc);
//cert is a X509Certificate2 from my smartcard.
sXml.SigningKey = cert.PrivateKey;
The error occurs in [sXml.SigningKey = cert.PrivateKey;].
Anybody can help me?
... more >>
File reading and possible overflow
Posted by Jason Barnett at 3/18/2008 10:14:03 AM
I'm trying to read an entire file into memory. I've read various articles
suggesting how. Regardless of the approach (File.ReadAllBytes(),
FileStream.Read(), etc.), it appears that the data is read into a byte array.
However, a file's length is of "long" data type and a byte array's capacit... more >>
Multiple Processors - or - Multi-Core Processor
Posted by Mythran at 3/18/2008 8:29:50 AM
Just as a quick note before my question, I am not creating an application
for this, or library, or anything else. Just knowledge I'd like to obtain.
Now, question is, when developing a multi-threaded application (such as a
game) is there anything special that needs to be done to make use of ... more >>
Memory usage when hosting a WPF control in a WinForms application
Posted by Anthony Meehan at 3/18/2008 7:45:01 AM
Hi,
We are using the ElementHost control to host a WPF control (which is mainly
a subclassed WPF RichTextBox control) within our WinForms application. The
WinForms application has a tab-based interface, so the user quite often has a
number of these ElementHost controls open at once, and ope... more >>
some computer langauages
Posted by davidboon28@gmail.com at 3/18/2008 6:34:22 AM
http://computer-language-tutorials.blogspot.com
http://comp-languages.blogspot.com / for adsense... more >>
NET Regular Exp patterns work in VB6?
Posted by Thiru.net at 3/17/2008 11:52:51 PM
Hi, Will .NET Regular Exp patterns work in VB6? ex: reg exp pattern
for email in .net \w+([-+.']\w+)*@\w+([-.]\w+)*\=AD.\w+([-.]\w+)* Will
this work if i use it in vb6? Anybody has idea about it. Please
comment on this. Thanks, Thiru.S... more >>
Framework Registers/Stack restoration on exceptions
Posted by Jack at 3/17/2008 6:54:01 PM
What does the framework for stack/registers restoration when an
exception is thrown ?
Is there any way to act on the stack before/after framework does it's
stack restoration ?
I currently know that .NET use the default exception handler with an
array of callback for catch blocks (at least ... more >>
Can you commend a message group of WWF (Windows Workflow)?
Posted by kaka lu at 3/17/2008 5:08:35 PM
Resource leak (handles count) in simple .NET application
Posted by Teremock at 3/17/2008 1:29:02 PM
Hi
I have a resource leak in the very simple project.
Project contains Form with one TextBox control in multiline mode.
After start this app I open Task Manager and see "Handles" count incremental
on every 1 second.
The source code is following:
public partial class Form1 : Form
{
... more >>
Is it a Copy or the acutal Object
Posted by milop at 3/17/2008 1:28:59 PM
Hello.
I'm uncertain about what Function A (below) receives from Function B, a copy
of the dataset or the actual dataset object:
Function FunctrionA () As Dataset
Dim ds as dataset = FunctionB()
'' What is "ds" at this point?
End Function
Function FunctionB() As Dataset
... more >>
Is Sub Finalize Implicity Created on Classes?
Posted by Mike at 3/17/2008 12:50:02 PM
Hi. Is Sub Finalize Implicity created at run-time by the CLR, even if you
(the programmer) don't explicity create a Sub Finalize method on the class?
Thanks... more >>
C:WINDOWS\system32\cmd.exe
Posted by harbourlites at 3/17/2008 7:14:04 AM
tHi guys,
I have a black box continously flashing on and off the screen freezing
everything
error message reads
The syntax of the command is incorrect
I know nothing about the technical side of my lap top and before I spend a
lot of money getting this fixed can anyone out there tell me ... more >>
How to show a ABOUT Form????????
Posted by Delphiscn at 3/17/2008 5:59:59 AM
How to show a ABOUT Form????????
Hello Everyone:
I use C# want to Create a Project. In my project. there are two
forms. One is main form, and another is a about form. In the about
form there are some information about my project. such as author's
information, product support and so on.
No... more >>
.net framework 2.0 installed?
Posted by dej at 3/16/2008 1:52:42 AM
After an automatic update to 3.0 the computer seems to think neither is
installed and yet won't let me reinstall or uninstall 2.0 and there is no
place for 3.0 to be uninstalled. Trying to install 3.5 tells me that 2.0a
is not installed. How can I fix this on an XP pro machine?
Thanks.
d... more >>
View options
Posted by John7276 at 3/15/2008 7:32:00 PM
I would appreciate some help. In a certain forlder I have, Windows XP keeps
insisting on giving aan ICONS view. I prefer the more compact LIST view in
the View menu. But despite repeated attempts to keep the view in LIST, every
time I open the folder I keep getting ICONS view. I saw no ava... more >>
WorkflowCompiler Error
Posted by Anderson Imes (Mary Kay, Inc.) at 3/15/2008 1:09:01 PM
I am using the WorkflowCompiler to compile xoml workflows at runtime into DLL
files. This has been working great, but lately after upgrading to .NET 3.5
(it seems - possibly this is unrelated) sporradically I get the following
error:
System.AccessViolationException: Attempted to read or wr... more >>
|