all groups > dotnet general > april 2004
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
Help - Best approach using Shared Classes ?
Posted by Paul at 4/30/2004 5:09:39 PM
Hi.
Just trying to find out the best approach as I beleive it might give me
problems later on down the road.
I have an ASP.NET application which references a shared database class which
contains methods for serialising and de-serialising objects to the database
storage. I put this as a shar... more >>
Justification of using C# over VB.NET
Posted by Jack at 4/30/2004 2:46:36 PM
Hi,
I'm starting on a new project to develop Windows application run on
the .NET Frame work. Would you please give me some justifications to
present to management on why we should use C# over Visual Basic .NET.
Right now we don't have any code written for the .NET yet and this
would be ... more >>
APSX Code Behind Form
Posted by Eric at 4/30/2004 2:26:02 PM
Problem: I want a table row appear to flash.
How might i do this? I tried a do loop with a delay, but of course it is running on the server and the page does not get refreshed. Is there a way to do this without having to go back to the server
In the exe world i would just have a thread that s... more >>
Stuck with retrieving values from a listbox
Posted by Alex A via .NET 247 at 4/30/2004 1:28:04 PM
Hello all=2E I'm new to =2ENET and I am stuck and I just cannot get=
this to work (even after much searching)=2E
I have a listbox populated by data from an Access Database=2E The=
manner in which I fill the listbox is as follows:
\\\\\\\\
dsClosedPos=2EClear()
dbAdapt... more >>
.Net in XP
Posted by Rasmus at 4/30/2004 12:46:05 PM
I want to develop a application for Windows XP, without any framework installed, so what framework is pre-installed on XP and were can i get a compiler for it(dosen't care if it is Command line).... more >>
Network access from c# code (called from ASP.Net)
Posted by Joseph at 4/30/2004 12:06:03 PM
Hello
We have a web application written in ASP.Net that calls an external C# program (.exe). This C# program needs to access data from a different server and is not able to do so. We use impersonate in the web config for the ASP code to be able to access the network and it is working fine. Bu... more >>
RichTextBox Edit Mode
Posted by DMD at 4/30/2004 10:41:04 AM
How do I determine the current edit mode within a RichTextBox control?
The user may toggle the [Insert] key to turn off/on insert, how do I quer
the RichTextBox control to get this information
Another related question; how do I change the carat to reflect insert/typeover
Any help would be gre... more >>
reflection
Posted by kilian koltari at 4/30/2004 10:32:55 AM
I need to determine what method called a current method. I believe i need to
use reflection to retrieve the calling methods name but can't find info on
it.
any pointers?
Details of what i am doing.
I have a base class and will have several classes inheriting from it in the
future.I need to i... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Error message when binding a listbox
Posted by JR at 4/30/2004 9:51:03 AM
I am attempting to display two list boxes. In the first list box is a listing of all entities. When a entity is selected and it has a subentity the second list box displays with a list of the subentities. The code works but I get an error at the following two steps: (Code is VB.Net on a form
'set ... more >>
Security
Posted by Normski at 4/30/2004 9:49:57 AM
I'm trying to develop an application (Windows Form Based). The application
will be reside on a shared network drive in a Windows 2003 Domain. The user
(Domain User) will access the application from his/hers PC.
Now everything works fine if the User is a member of "Domain Admins" but if
the rem... more >>
Intermittent compiler error
Posted by Chris Peacock at 4/30/2004 8:11:03 AM
Using Visual Studio .NET 2003, I'm intermittently getting the VB.NET error BC30002 ("Type ... is not defined.") when I build a particular assembly that I have written. This error does not occur every time the assembly is built, and seems more likely to occur when a change has been made in the assemb... more >>
Why can't I browse my servers in the IDE?
Posted by Jason James at 4/30/2004 7:39:59 AM
Hi all,
I have asked this question already, but this
time I will ask it a different way.
My MSDE service is running fine. However,
when I try and browse my list of servers
I get two exceptions thrown. One for
system.net.dns
and one for
sytem.net.sockets.socket
The servers icon... more >>
Copy of object
Posted by Heinz at 4/30/2004 5:36:06 AM
Hi all,
How can I create a method that returns a copy of an object, not a reference to the object itself.
Thanks !
Heinz ... more >>
how to column size of datagrid control
Posted by user at 4/30/2004 4:56:01 AM
hi all
I want to fix column size of datagrid fixed. How to do that
Please help.... more >>
Can Someone Change My Mind About .NET?
Posted by Mike P. at 4/30/2004 12:26:02 AM
Hello
I come from the world of C++ programming, and I'm used to writing programs that are actually executed by the CPU, and that run with some semblance of performance. I have taken the time to explore this .NET thing, and found that not only do .NET applications run extremely s-l-o-w-l-y, b... more >>
Sourcecode format
Posted by kuya789 NO[at]SPAM yahoo.com at 4/29/2004 8:23:20 PM
I would like to display my sourcecode(plain text) in a html page.
I found this website that does exactly that.
http://www.manoli.net/csharpformat/
Does anyone know where I can download the script? or teach me how to write one.
Thanks in advance... more >>
Global variable
Posted by Yan at 4/29/2004 7:06:02 PM
Hi
I am a new comer of ASP.NET. I want to know how and where to set global variables in a project, such that these variable could be accessed in all aspx in the project? Please kindly advise
Yan... more >>
Thread.Abort()
Posted by Jeff at 4/29/2004 5:51:04 PM
I am running a worker thread that manipulates some hardware setting every so often. My problem is that the hardware manipulation cannot be interrupted once it has started
How can I ensure that the entire operation will run to completion even when the ThreadAbortException is thrown
Thanks
Jeff... more >>
installing manually to the downloaded assembly cache...
Posted by jaha NO[at]SPAM [REMOVE]jahamusic.com at 4/29/2004 4:07:26 PM
Is there any way to manually install to the downloaded assembly cache?
I'd like to write winform controls that run in IE but it'd be a better
customer experience to use a plugin installer that puts the assemblies
in the downloaded assembly cache rather than having to wait a long
time the first t... more >>
Cancelling an ADO query with Oracle
Posted by Sandra at 4/29/2004 3:54:50 PM
Hi All,
I am running a VB.NET application which is using ADO to connect to an Oracle
9i database. I have a form which runs a query which can take a considerable
time to run depending on the criteria that is entered. This query is run on
a seperate thread as I wish to return control to the app... more >>
Could not find installable ISAM.
Posted by Brent at 4/29/2004 3:30:38 PM
Hi, my asp.net c# app is trying to connect to an Access database with a
password and am I getting the error.. Could not find installable ISAM. . If
I connect to one without a password it works fine. I've looked at Q209805
but I don't think that helped. Oledb connection. Here is the one that works... more >>
.NET 2 release date
Posted by Mark Janssen at 4/29/2004 2:59:34 PM
Does anyone have any information about the .NET Framework v2 release date?... more >>
Keeping user session info across multiple domains
Posted by Le at 4/29/2004 2:46:02 PM
Hello
I was wondering if there was a way to keep a user's session info across multple domains
For example, company A owns website www.a.com and www.b.com. A user logs into www.a.co
and later visits www.b.com. I would like to have it where the user doesn't have to login again.
Thank
Le ... more >>
MSDN and paper towels
Posted by David Sworder at 4/29/2004 2:28:24 PM
It's the oddest thing... I bought some paper towels at Vons today and
accidentally slid my MSDN card through the reader instead of my Vons card.
It gave me a discount on paper towels. I'm going to try using the MSDN card
to buy gas tomorrow. I'll let you know what happens (although I think I
... more >>
Same XML/XSLT doesn't transform the same - IE6 parser vs. .NET framework parser
Posted by Peter Row at 4/29/2004 1:12:14 PM
Hi,
I have 2 XML files and 1 XSLT file.
The second XML file has the following declarative 1st line:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
....the 1st one (the one to be transformed) doesn't.
In the transform file I load the 2nd XML file which contains
a load of la... more >>
VS.NET "dead" window
Posted by Brandon Potter at 4/29/2004 1:07:55 PM
Forgive me if this has already been covered...
I use dual displays and have 2 - 3 Visual Studio .NET 2003's open at the
same time, however, without fail, at some point during my session, the title
bar and border of one of the VS.NET's copies 1/2 of its height and 1/2 of
its width, so I end up ... more >>
How to use #If (Conditional Compilation) for framework versions?
Posted by Zarko Gajic at 4/29/2004 12:04:39 PM
Hi,
Is there a way to include an #If ... directive in my code to enable
conditional compilation based on the framework version?
The idea is to be able to compile the "same" code for both the 1.0 framework
and the 1.1 framework, something like
#If "Framework 1.0 etected" then
DO NOT U... more >>
Determining RichTextBox Current Column Location
Posted by DMD at 4/29/2004 10:51:06 AM
How do I determine the column associated with the current edit location within a RichTextBox? The following code allow
me to determine the current line
txtLineNumber.Text = FormatNumber(RichTextBox1.GetLineFromCharIndex(RichTextBox1.SelectionStart())+1,0
How do I determine the column loca... more >>
Events and delegates...
Posted by bredal Jensen at 4/29/2004 10:31:22 AM
Hello,
I have populated an a web form with dynamically created radiobuutons in
a table. I wnat some of the radio buttons to fire events when their
..CheckChanged property has changed.
I understand and was told this can be done with events and delegates. But my
code would
not compile. Here i... more >>
Disabling controls without changing their appearance
Posted by Don at 4/29/2004 8:56:08 AM
is there any way to disable the controls on a form without changing their appearance? i would like to make it impossible for a user to click buttons and edit text boxes while the controls retain their normal appearance. When disabled, the text in text boxes becomes difficult to read
also, is the... more >>
VB.Net + MYSQL or ODBC
Posted by Stefan Richter at 4/29/2004 8:43:48 AM
Hi, I am trying to access a MySQL Database using VB,
with / or without ODBC, whatever is easier...
Any ideas?
Stefan
... more >>
HttpCompileException
Posted by Michael Albanese at 4/29/2004 7:46:06 AM
When I left last night my ASP.Net app was working fine. This morning I had to re-boot the server and then now all i get is the following error message from my custom error handler
There has been an error in the Budget_DeptInput application. =====================================================
Er... more >>
Insert images to MySQL with C#
Posted by (shridhar_km NO[at]SPAM yahoo.com) at 4/29/2004 3:47:40 AM
Hi all,
I am using OleDbConnection for connecting with MySQL.Using INSERT query for inserting images to MySQL db with C# code.
The code is given below :
string strConn="PROVIDER=MySQLProv;SERVER=192.168.1.8;DB=test;UID=test;PWD=;PORT=;";
OleDbConnecti... more >>
Competitors of .Net
Posted by Sheetal Peter via .NET 247 at 4/29/2004 3:05:33 AM
HI All,
As we all know, Microsoft is the market leader in the IT Industry. If we were to identify the competitiors for .Net, who could be the competitors ?
Regards
Sheetal
-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)
<Id>aV7WAL5Z3UOKeEjfaPKk0Q==</... more >>
.Net Technology
Posted by Sheetal Peter via .NET 247 at 4/29/2004 3:00:25 AM
Greetings!!! What is the possibility of global usage of .Net Framework over any other technology?
Regards
Sheetal
-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)
<Id>rfj5yic1AEOmBD9AT5NnoA==</Id>... more >>
Problems with CPU usage
Posted by Falnes at 4/29/2004 2:31:02 AM
We are developing applications in VB.Net which might be very CPU intensive. Our problem is that other applications running on the same machine is barely getting any processor resources at all. This is especially problematic when running our application on a terminal server. Other users running other... more >>
VB.Net month and year of current systemdate
Posted by Stefan Richter at 4/29/2004 1:50:12 AM
Hi, I just started working with MS Visual.Net VB and
I would like to use the current Month and current Year as a default in
a textbox.
Any ideas how that could be done?
Thanks,
Stefan
... more >>
how to register COM objects
Posted by Rajkumari at 4/28/2004 9:26:01 PM
Hi!
I'm migrating ASP to ASP.NET.
I've migrated using the 'ASP to ASP.NET Migration Assistant' tool.
On debugging the migrated aspx code,the got an error saying," The 'itrackappln.itrackuser' object is not registered in the migration machine".
Fot hris,I'v to register all the COM objects b... more >>
File signing??
Posted by google NO[at]SPAM mcgiv.com at 4/28/2004 9:02:49 PM
Hi,
not too sure if signing is the correct term but I want to extract a
signature from a file that will allow me to virify that the file
hasn't changed.
something that will allow me to do the following:
generate and store the signature
after a while
compare file and signature to dete... more >>
Please help old vb programmer with custom validation control
Posted by Sarah Katon at 4/28/2004 9:02:08 PM
Hi all.
I'm fairly new to VB.net, and I have very little experience with Javascript.
I'm trying to get a Client Side Custom Validator to work for many
interrelated controls. I'd like to check several fields and update the
Error Message on the fly, and then have at least one error message sho... more >>
Free Copy Of ASPProtect Lite
Posted by CJ at 4/28/2004 7:44:41 PM
Please visit the brand new discussion forums at PowerASP.com.
http://www.powerasp.com/forum/
The forums need new users as they are brand new.
For a limited time anyone that joins the forums will be able to download a
Free copy of ASPProtect Lite from www.ASPProtect.com.
It's a cool little... more >>
Current Login to another machine
Posted by Stephen Yip via .NET 247 at 4/28/2004 7:09:44 PM
Dear All,
I would like to perform a simple task by program (VB.Net or VC#.Net).
When a user logins the windows and try to run my program, how can I use his login information (username and password) to authenicate against another PC, e.g. using DirectoryEntry object?
I have these lines of c... more >>
Protect application data from the administrator i.e. such as a licensed flag
Posted by Chris at 4/28/2004 6:40:02 PM
I am trying to create licensing functionality in a .NET application.
When the software is licensed then I want it to store this fact somewhere on
the user's computer, this way the next time the program is run it will know
it is licensed. Does windows provide a secure store for applications... more >>
How to determine if you are debugging at runtime
Posted by Le at 4/28/2004 3:36:02 PM
Hi
I would like to know if there was a way to know if you are running in debug or release mode at runtime for VB
This way I could execute certain code when debugging and execute something else in release
Thanks
Le... more >>
Problem connecting to Access on network drive.
Posted by Brent at 4/28/2004 3:29:09 PM
Sorry if this is completely newbie, I haven't used Access in a while as my
database.
When I do this it works fine,
OleDbConnection connection = new
OleDbConnection(@"Provider=Microsoft.Jet.OLEDB.4.0;" +
@"Data Source=C:\db2.mdb");
But if I move the same access file to my network drive, it ... more >>
VB.Net CType vs. Convert & C# Casting vs. Convert
Posted by Logan X via .NET 247 at 4/28/2004 3:02:34 PM
It's official=2E=2E=2E=2EConvert blows=2E
I ran a number of tests converting a double to an integer using=
both Convert & CType=2E I *ASSUMED* that CType would piggy-back on=
top of Convert, and that performance would be identical=2E
I was 100% incorrect=2E
The code below produces the r... more >>
Save Dialog Box
Posted by Chan at 4/28/2004 1:51:03 PM
Hi
I want to display save dialog box and display that file name in a text box
All I want to do is, On click of a button, display save dialog box and display that file name in a text box
Later this file name would be used to store some data
response.addheader approach does not work in this situ... more >>
Exception problems between languages
Posted by Donald Adams at 4/28/2004 12:56:07 PM
I have a new problem with Exceptions: I need to manage the exception but I
don't have an error code to compare with, just messages. I can check a
message to see if it has "timeout" then instruct my code to try again later,
however, if the message is "not found" then I want to rethrow the excepti... more >>
Collection item
Posted by João Santa Bárbara at 4/28/2004 12:24:23 PM
Hi all
i have a problem, how can i create the item property the default
something like this
mycollection(0) as object
myCollection.Item(0) as object
thks
JSB
... more >>
Location Of Custom DLLs
Posted by Ian at 4/28/2004 12:01:05 PM
Help!!
I have created a .net DLL which is accessed by both a .Net VB Application as well as A .Net ASP Page. The only way I can seem to make it work is if this DLL is in the WinNT\System32 Directory. Our Company Policy is not to permit any custom code in the System32 Directory. I cant get eit... more >>
|