all groups > dotnet general > december 2005 > threads for thursday december 8
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
.NET: Encoding.Convert(...Encoding.Unicode...)
Posted by Ma³y Piotruœ at 12/8/2005 9:35:55 PM
Hello,
Could you help me please with encoding transformations in .NET? I am
beginner.
I have some code that nearly works - but I have problem with
converting from fileEncoding to Unicode (Strings are in Unicode).
Dim fe As Encoding 'fileEncoding
Dim ue As Encoding = Encoding.Unicode
Dim fb... more >>
Question about design
Posted by Gabriel Lozano-Morán at 12/8/2005 8:24:14 PM
Assume that you have a Document class that you want to persist. Which
solution would be better and what are the advantages/disadvantages of each
approach?
Document doc = new Document();
1)
doc.Persist(PersistType.CsvDelimited);
2)
CsvPersister persister = new CsvPersister(Document);
... more >>
Re-Use ByteArray? is that possible? How?
Posted by Michael Barrido at 12/8/2005 7:20:52 PM
Greetings I have the following code:
Dim binary_data As Byte() = {&HAA, &HD0, &H15, &HB, &H10, &H0, &H0,
&H0, &H0, &H0, &H0, &H0, &H0, &H0, &H0, &H56}
objPort.Write(SerialNET.Port.ByteArrayToString(binary_data))
Now i want to re-use the bytearray variable "binary_data" to st... more >>
exception inside lock before lock body
Posted by Daniel at 12/8/2005 5:12:32 PM
exception inside lock before lock body
lock(foo()){bar();} what will happen if foo() throws an exception? will
there be a lock on the exception?
... more >>
A way to mapping or redirect file call? thanks
Posted by davidw at 12/8/2005 5:03:47 PM
I have some files, which don't have suffix, but they are csv or txt file.
I want to open them in SQL by using openrowset, but it requires those files
with suffix. How can I overcome that? I am thinking a virtual folder, but I
havn't found a simple sample yet.
Any suggestion?
thanks!
... more >>
C# and vb
Posted by Stanley at 12/8/2005 2:13:01 PM
I have been using vb in visual studiio (windows programming), but now I am
looking at asp. I notice that most of the books I look at use C#. I know
booth languages are very similar execept for syntax, but I am more
confortable with VB. My questions are: 1) Is it just a matter of preference
a... more >>
Getting debugger to jump to supporting .dll
Posted by John A. Bailo at 12/8/2005 2:08:13 PM
I have two projects in a solution: an exe and a supporting dll
I want the debugger to jump to the supportin dll when the code calls a
method there...but it doesn't
What should I configure to make sure it does?
... more >>
Dynamic Arrays in ASP.NET?
Posted by tjonsek NO[at]SPAM phenom-biz.com at 12/8/2005 1:36:42 PM
I am converting an ASP page to asp.net. In this application, a user can
enter a list of numbers, separated by commas. The relationship involved
is 1 to M and I never know how many different numbers the user will
enter.
I am getting a 'specified cast not valid' error. While I'm not 100% it
is th... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Please help
Posted by Chris at 12/8/2005 1:16:04 PM
Hi,
I created asp.net webservice (hosted on a windows 2000 server box with .net
framework 1.1 with sp1.1 installed). The ws runs perfect on the server. On my
laptop (XP with sp2) when I try to add a web reference to the webservice I
get the error
The underlying connection was closed: The... more >>
Uninstall .Net Windows Form Application
Posted by Henry Seymour at 12/8/2005 12:28:45 PM
I've developed a .Net Windows Form application and used the Click-Once
Deployment.
In that application I would like to allow the user a click-once method of
uninstalling it.
I do not find an uninstall folder for this application.
How can I programmatically uninstall the application? Per... more >>
App.Config change doesn't affect My.Settings?
Posted by Pieter at 12/8/2005 11:47:19 AM
Hi,
I'm using the Settings.settings of VB.NET to define a Connectionstring
(Scope = application). When I deploy the Solution, and change this Setting
in the app.config-file, it seems that itdoesn't affect the Application at
all! It still uses the old value. Are the Settings.Setting hardcode... more >>
Debugging DLLs skips breakpoints
Posted by Brian Bischof at 12/8/2005 11:39:20 AM
I'm having troubles getting the debugging process to work consistenly for
external classes. I got it to work once and then I turned it off. But now I
can't get re-enabled. Here is what I'm doing. If someone could tell me what
I'm missing that would be great.
1. Create an external class and cal... more >>
ADO.NET Is this current technology?
Posted by Mike C at 12/8/2005 11:25:03 AM
I'm sorry if this is a retarded question. I have a book on "Database Access
with Visual Basic.NET" that I was going to use to build web pages using
visual studio that will communicate with my sql server. I'm just wondering,
is ADO the best way to write the code behind to execute my sprocs etc?... more >>
Invalid cast
Posted by JackO at 12/8/2005 9:18:02 AM
I have a check box on a Web form that I have named “chkBackedUpâ€. When I run
the application, I receive the following error:
Exception Details: System.InvalidCastException: Invalid cast from
System.Boolean to System.Byte[].
The code which defines the parameter and assigns the value of... more >>
double buffer in C#
Posted by Rain at 12/8/2005 7:50:03 AM
Hello Gurus!
I really need this one to finish a module in my thesis. PLease please help
me. I need a double buffer class in C# so i can call it and use it anytime i
want,
the problem is everything ive tried as a class doesnt work.. please please
help. I only need the double buffering of c... more >>
Using team foundation server w/other versions of VS2005
Posted by Mesan at 12/8/2005 6:26:15 AM
Does anyone know if it's possible to use team foundation server as a
SCM backend with non-team system editions of visual studio? For
example, we're planning on getting a copy of Visual Studio 2005 Tools
for Office and I'd really love to use team foundation server for source
control instead of s... more >>
General MSMQ and C# question
Posted by Claudia at 12/8/2005 4:55:20 AM
Hi all...
I'm working on a project that uses MSMQ as its core for inter-process
communication. At the moment there is a single process that listens for
inbound TCP-based messages on a socket, and when something is received it
gets packaged up and sent to an MSMQ queue for further processing.
... more >>
URGENT!! NetworkStream "null reference" problem.
Posted by mulham.haffar NO[at]SPAM gmail.com at 12/8/2005 12:16:48 AM
Hi, im writing an application that uses tcpclient to connect.
I have a class which makes the whole network stuff.. As below:
Public Class Connections
Private Client as tcpclient
Private Stream as network stream
Public Sub Connect()
Client.Connect(..)
Stream = Client.GetStream()
End Sub... more >>
|