all groups > dotnet general > may 2004 > threads for tuesday may 25
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
Formatting a number into a time
Posted by suresh at 5/25/2004 9:20:45 PM
Hi,
I have a textbox that a user inputs a time that I then insert into SQL
server. In the code behind I add a date to the existing content. When I try
to insert into the database (field is smalldatetime) I receive and error.
The error occurs because the value does contain a colon.
How would ... more >>
Memory could not be read errors
Posted by Sean at 5/25/2004 7:46:03 PM
I have an application developed in VB.NET. We have automation testing taking place on two separate machines. On one machine the automation suite completes 100% of the time. The other machine is a beefier dual proc machine. On this machine the program sponaneously quits, throws memory could not b... more >>
Passing parameter to a current running process.
Posted by wesley at 5/25/2004 7:18:43 PM
Hello,
How do I pass object to the current running process? For example my assembly
is called program.exe. Once program.exe is running sometime I want to call
it again ie:
program.exe /m do_stuff
Now how do I pass that "do_stuff" to the currently running instance?
At the moment I use t... more >>
Help Pls: Bizarre TrackBar Behaviour With Large Values
Posted by Pls Help at 5/25/2004 7:09:42 PM
Hi,
I've encountered a weird TrackBar issue, it seems to hang completely when
the TrackBar.Maximum is set to certain large values.. what's going on? Have
tried this on a few different 2000/XP environments and it seems the
behaviour is universal.
Btw, before attempting the test below it's a ... more >>
GC with lots of small ones
Posted by AlexS at 5/25/2004 6:42:37 PM
Hi,
I wonder if anybody can comment if what I see is normal in FW 1.1 and how to
avoid this.
I have .Net assembly, which creates literally thousands of temporary strings
and other objects when running. Usually it is something like
{
string s=some value;
some local processing here
... more >>
Currency Formatting
Posted by Vlad at 5/25/2004 5:26:34 PM
Hi,
I am trying to display a currency value formated according to the current
culture in ASP.NET:
decimal x = 125345.54M;
string currencyString = String.Format("{0:c}",x);
what gets retured is 125,345.54 without the currency symbol of $
I checked and re-checked my regional settings and tri... more >>
flushing user events
Posted by julio at 5/25/2004 3:44:41 PM
Is there a way to flush the events generated by user?
IE, having a user clicking like a fool, trap the first click, handle it
on some way and then at the end of the processing flush away all the
queued clicks netween the first click and the now.
hope this was clear,
Giulio
... more >>
Help! How do I get MS Access Field Properties using VB.NET?
Posted by dtemlak at 5/25/2004 3:41:03 PM
Hi there
I am a bit new to vb.net. I have figured out how to use a data reader to get column and row information from my MS Access database using OLEDB. The problem is that while I can easily get the column names, I can NOT seem to get any properties associated with a given col
For example, I h... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Character encoding problem?
Posted by CMan at 5/25/2004 1:45:49 PM
Hi,
I am reading a text file using a StreamReader in C# but the reader is unable
to handle some of the characheters.
Using the default encoding the program cannot handle accented characters. I
tried opening the file using other encodings e.g. UTF7.
UTF7 fixed the accents but cannot hadle th... more >>
Generating HTML from an aspx page.....
Posted by Jane at 5/25/2004 1:35:21 PM
Hi
I have an .aspx page thats part of a site, its usually called by a user in a
browser with an ID in the querystring from where it does lots of exciting
things and database reads to produce the page - nothing too different or
exciting there.
However, what I'd like to be able to do is to ha... more >>
dynamic classes
Posted by Kieran at 5/25/2004 12:46:06 PM
Hi
I have 2 classes, layout1 and layout2, both return different table layouts
In my controlling program I create one of these tables using
Table myTable = new layout1
I need to parameterise the 'layout1' part of this statement, so I can choose a different layout at runtime. Is this possible ... more >>
Custom File Format & Serialization
Posted by Phil Price at 5/25/2004 12:44:33 PM
Hi there,
I'm developing a shape recognition application for the tablet PC for a)
fun b) university project. Currently I'm working on the learning stage
using neural networks, and have to store a load of learning data (a 25
by 25 matrix) each shape group has a number of user drawn shapes, t... more >>
Interop and not passing optional out params
Posted by spammy at 5/25/2004 12:32:08 PM
Hi all,
Im attempting to use a COM class in C# via .NET interop. The class has two
modes - synhrounous and asynchronous. The mode is determined by the use (or
not) of an optional out parameter:
COMClass test = new COMClass();
object results = null;
test.DoWork(arg1, arg2, out results);... more >>
Track changes in a text field like Word does?
Posted by jeffluppens NO[at]SPAM earthlink-dot-com.no-spam.invalid at 5/25/2004 12:20:35 PM
Does anyone know if there
is a way to track changes in a text field like word does? I am using
a SQL2000 database and can use either VB.Net or Access. The field is
either ntext or Varchar. I would like to show users the changes
other users have made to a text field using a other font or font... more >>
Waiting on a Thread - Revisited
Posted by Charles Law at 5/25/2004 11:18:57 AM
Hi guys. I'm back on the threading gig again.
It's the age-old question about waiting for something to happen without
wasting time doing it.
Take two threads: the main thread and a worker thread. The worker thread is
reading the serial port, waiting for something to happen (a service
reques... more >>
How to efficiently chunk long string
Posted by Anony at 5/25/2004 10:27:05 AM
Hi All,
I'm trying to chunk a long string SourceString into lines of LineLength
using this code:
Dim sReturn As String = ""
Dim iPos As Integer = 0
Do Until iPos >= SourceString.Length - LineLength
sReturn += SourceString.Substring(iPos, LineLength) + vbCr... more >>
Extracting Imgae from database and displaying in picture box in vb.net
Posted by PS at 5/25/2004 9:26:07 AM
I want to extract an image from sqlserver 2000 table and display it in picture box in vb.net form using ado.net and vb.net
The image in the sql server 2000 table is stored in 'image' datatype.
Can anyone help me how to do this
Thanks in advance
PS... more >>
Extracting Image from database & displaying in picture box
Posted by PS at 5/25/2004 9:11:07 AM
I want to display the image from database to picture box through ado.net and vb.net
I have some images present in a sql server 2000 table stored under 'image' datatype. I want to extract and display them in a picture box present in a vb.net form
I appreciate any help on this
Thanks
PS... more >>
Read Command Line Output
Posted by google NO[at]SPAM valleyboy.net at 5/25/2004 8:03:09 AM
How can I read the output from a command line utility such as ping,
nslookup, etc, from within my app??? I know that it is possible to
output the results to a text file using the > function in a command
window and then read the file, but doing this for 1000+ files will
cause a lot of unnecessary... more >>
Using other instead of aspnet account for trusted connection
Posted by Wilson at 5/25/2004 7:38:13 AM
Hi,
How to set the web form to use others account instead of aspnet under =
trusted connection for SQL server ?
Thanks in advance
Wilson... more >>
Creating a nested menu from DB
Posted by yigitozgul NO[at]SPAM yahoo.co.uk at 5/25/2004 7:29:56 AM
Hi,
I have a database where i keep 4 tables.
the modules table:
mdlID
mdlName
mdlstatus
the submodules table:
subID
subname
mdlID
subparentID (I put this because there can be more nests)
subStatus
the events Table:
eventID
eventNAme
subID
eventStatus
the m... more >>
IIS on WIN XP Home?
Posted by Stefan Richter at 5/25/2004 4:24:11 AM
Is it possible to install IIS on WIN XP Home?
If not, which other server could I use instead to be able to develop ASP.Net
stuff with Visual Studio.Net???
I tried to install IIS, and on the Visual Studio CD I found the following
instruction:
---------------
To install Internet Information Se... more >>
VB.net Escaping
Posted by Stefan Richter at 5/25/2004 2:56:08 AM
How do I encode double quotes and quotes and in a string in VB.NET?
It also has to be save for MS SQL Server...
Stefan
... more >>
Detect users on shared folders
Posted by Dennis v/d Stelt at 5/25/2004 12:01:55 AM
Hi there,
I know in .NET you can watch files and/or directories for
changes. I forgot the namespace that does this.
What I want, is to detect when a user is in a shared
folder, know which one and what files it accesses.
Anybody any clue on how to implement this?
Thanks in advance,
D... more >>
|