all groups > dotnet general > october 2005 > threads for thursday october 20
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
Session expired and click on back button
Posted by softysachin at 10/20/2005 11:49:04 PM
hi
I am working on asp.net application. after login i am viewing Page 1 . Page
2 Page 3 and click on logout. That means my session is expired but when i
am clicked on browser back button it will show me page 3...2...1.
I want solution for this case as when user is log out and he try to clic... more >>
date problem
Posted by bafidi at 10/20/2005 11:03:01 PM
i have a table:
RECORDS1
fields:
DATE1,NAME1
data is
21,10,2005 10:24:34 ANDY
21,10,2005 15:24:45 DAVID
i search date with this sql
select * from RECORDS1 where DATE1='21,10,2005'
nothing found its empty
i try this also
SELECT *
FROM RECORDS1
WHERE (D... more >>
License problems with unmanaged code
Posted by Lucia at 10/20/2005 10:43:06 PM
I'm working at .NET project to implement a COM
interface for a .NET control.
The .NET assembly is built with the correct license for the control.
Some unmanaged code is creating an instance of the control,
inside an MFC dialog.
When the control is used inside a WinForm dialog, the license
... more >>
Creating a dynamic Crytsal Report
Posted by puunda NO[at]SPAM gmail.com at 10/20/2005 5:49:30 PM
Hi,
Hope I've posted to the right groups.
I'm trying create a Crystal Report for the first time using C# (novice
at that as well). The CR I can handel. What I want to do is to have a
whole bunch of fields in my application (winforms) which the user can
select to include in the report or not... more >>
invald cast System.Byte to System.Byte[]
Posted by u022318 NO[at]SPAM daimi.au.dk at 10/20/2005 5:14:07 PM
I am writing a program with MS Visual Studio .Net 2003, which reads
data from a MS SQL DB. Reading the data is fine, but when I push
update, so it writes the data, it get the error message invald cast
System.Byte to System.Byte[] ? It'll happen even if I just add/change 1
character in a field al... more >>
Converting From Julian to Gregorian DateTime
Posted by sunny076 NO[at]SPAM yahoo.com at 10/20/2005 4:20:23 PM
Hi,
I am trying to convert from Julian to Gregorian data in C#. I was
exploring teh JulianCalendar and Gregorian calendar classes but still
not sure how I can do it. For example, the Julian date is 100033 and I
know that it is 2/2/2000 in Gregorian.
I would appreciate if anyone can help p... more >>
Am I running from a development environment?
Posted by Turtle at 10/20/2005 3:47:55 PM
I'm developing a Windows Forms application, where I would like to handle
errors differently depending on whether I'm running from a development
environment or directly from a .EXE file.
Any ideas how I can determine this?
- Turtle
... more >>
Remote Installation Program
Posted by Peter Avalos at 10/20/2005 2:51:20 PM
My goal is to create a remote installation program to rollout program
installs and updates. We're a small company with about 60 workstations, so
it's not worth the investment in SMS. I have the first part working which
used the directory services namespace to enumerate the workstations in a ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Client-Side Caching...
Posted by clintonG at 10/20/2005 2:30:11 PM
I should know this but so goes the grey matter...
When the following is placed into the head I've forgotten if the .js file
gets downloaded from from the server on each PostBack or if there is there
some mechanism that knows the file already exists in the browser's cache?
<script src=”...e... more >>
VSA scripting in .Net
Posted by torque at 10/20/2005 1:28:03 PM
I am looking for some examples of adding the scripting engine to Winforms
application. I have to implment an equation/math processing engine and this
is the route that was selected.
--
Thanks in Advance... more >>
streaming random filetypes from .aspx
Posted by Daniel at 10/20/2005 12:31:39 PM
streaming random filetypes from .aspx
how to stream a file from inside a .aspx? e.g. so one could go
href="./foo.aspx?file=bar.mp3" or href="./foo.aspx?foo.dat" etc. preferabley
i would like all file types to open with "save as" when href clicked
... more >>
Treeview questions...
Posted by Ferrari, Eduardo at 10/20/2005 12:01:03 PM
Hi Everybody
I have a string that contains part of a directory structure that will be
created in the future. I want to display this future tree on a treeview for
the user see and then approve it.
I was able to populate the first level of the tree, but I'll need some
information to how po... more >>
Subreports in crystal reports
Posted by Stig at 10/20/2005 11:52:08 AM
I'm having two tables with no relation and I want to list them both in one
report. How can I do this. I have tried to use sub report, but cant get it to
work? can someone please help me.
If I just create an subreport with one static text object it will not even
then show at runetime.... more >>
About Virtual CPUs
Posted by AWHK at 10/20/2005 10:08:08 AM
I got 4 virtual CPUs on my computer (xeon processor) and I got this .NET
application that runs a lengthy processor intensive task.
I have noticed when I start two instances of the application (each one
running its lengthy processor intensive task) they use one virtual CPU each.
How can I imp... more >>
Generics Question
Posted by Steve Drake at 10/20/2005 10:07:14 AM
Hello,
I may be mis understanding some of the uses of generics so this example may
not be valid, but here goes.
I have a method that I wont to be able to return a string or byte array, it
declared as :
public T Decrypt<T>(byte[] cipherText, byte[] optionalEntropy)
how do I know what ... more >>
HTML Input File, default folder
Posted by Dave at 10/20/2005 10:02:11 AM
Hi,
I'm using an HTML Input File control on a .Net page and when the Browse
button is clicked the file dialog opens at the end user's hard drive. They
want this to default to a server share. Is there any way to control where
the file dialog opens?
Thanks!... more >>
Hash/encrypt a string
Posted by Mark at 10/20/2005 8:48:08 AM
Using .NET, what would be the easiest way to encrypt or hash a string? I have
two integer ID numbers stored in a database that I need to "hide" and append
to an URL. The primary constraint is that there cannot be any modifications
to the database, and that the code should be able to input a ha... more >>
Parameters on an Executable
Posted by Jason Givens at 10/20/2005 8:44:03 AM
Using VB.NET, I need to create an executable that will accept parameters.
This app will not have any user interface, I just want it called from another
app but I need to send some parameters in.
Can someone tell me how to do this?
Thanks!... more >>
Simulating keyboard input
Posted by jen2276 at 10/20/2005 7:50:03 AM
Hi! I'm trying to write a background app that receives input from an external
device (through the comm port) and then sends that data to the active
foreground window that has focus. So far I have gotten this working using
the "keybd_event" function to send the data to the foreground window, b... more >>
Looping Problem
Posted by CanoeGuy at 10/20/2005 7:28:08 AM
I have an array that I am populating from a database. I am looping through
the array to write the values to a datagrid. At this point, I'm stuck. I
can't figure out how to read the first four values from the array, then go on
to the next four values, then go on to the to the next, etc.
T... more >>
XML problem
Posted by Oldhandandy at 10/20/2005 2:11:01 AM
I have a problem with an XML file which is e-mailed to a company which
converts it into invoices for our customers. I have sent them various test
files over the past few months and upto last week they converted them with no
problems. With the most recent files, they are getting errors with the... more >>
|