all groups > dotnet general > august 2004 > threads for tuesday august 17
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
Scheduling a .NET component
Posted by arcvonz at 8/17/2004 6:13:59 PM
I have a.NET component that needs to be scheduled to run programmatically.
How can it be done, any interface to Task Scheduler from .NET?
Thanks,
Arc
... more >>
Multiple References and Object Instantiation??
Posted by Charles A. Lackman at 8/17/2004 5:19:35 PM
I am working on a application that has many custom made dlls. Actually, for
this app each dll is a different form. I am able, with no problem to
reference and instantiate them to use their public properties and methods
with no problem. But, if one dll is trying to access another dll's
propert... more >>
Data entry code
Posted by seeker at 8/17/2004 5:15:01 PM
I need to develop some fairly basic data entry screens to add, update and
delete records in a SQL Server 2000 database.
Is anyone aware of some free or shareware VB.NET 2003 code that can be
easily downloaded and modified to do this?
--
seeker... more >>
unload a dynamically created assembly
Posted by Chris Dunaway at 8/17/2004 4:37:06 PM
I'm using the ICodeCompiler.CompileAssemblyFromSource method to compile a
VB class dynamically.
The problem is that when I create an instance of the resulting class, it
loads the assembly. If I have to execute this section of code more than
once, it loads the dynamic assembly each time so t... more >>
Can I get the web server's time in c#?
Posted by Nicky at 8/17/2004 3:39:03 PM
hi,all
For example,google or microsoft web site, is there any method I can get the
web server's time?
Thanks... more >>
Correct way to use Response Redirect in .NET
Posted by terrydashley NO[at]SPAM yahoo.com at 8/17/2004 3:26:38 PM
Hello, I have an old asp page that was used to redirect users called
redirect.asp:
<code1>
<%
Option Explicit
If Request.QueryString("url") <> "" Then
Response.Redirect Request.QueryString("url")
Else
Response.Redirect ("www.examplesite.asp")
End If
%>
</code1>
So far I... more >>
How to convert NameValue Collection when using ViewState
Posted by Nicole - ASP/C# Beginner at 8/17/2004 2:21:03 PM
Hi,
I am trying to store a NameValue collection within a ViewState like this:
StoreFilterSelection = ViewState["StoreFilterSelection"];
YEt I recieve an error "Cannot implicityly convert type 'system.type' to
'system.collections.specialized.nameValueCollection".
Can I store a NameValueco... more >>
Duwamish samples won't install
Posted by Angie Robinson at 8/17/2004 2:07:02 PM
When I try to install the Duwamish samples, either the VB or C# ones, I get a
message saying that I must install the .net framework sdk version 1.0.3705
and then it quits. I have version 1.1.4322 installed. Why won't it recognize
that the sdk is installed?... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
what prefix for......
Posted by Supra at 8/17/2004 1:47:05 PM
what is prefix for radiobutton1?
regards
... more >>
NullReferenceException on line 1 of .aspx file ?
Posted by G-Fit at 8/17/2004 1:43:03 PM
Hello group,
I'm trying to understand what happened to one of our team member today.
He's getting NullReferenceException on any .aspx from our project he tries
to browse, the error pointing to the first line of the file (be it <%@
Register..., <%@ Page...) with stack :
[NullReferenceExcepti... more >>
Webclient failing with SSL
Posted by Ron at 8/17/2004 1:25:01 PM
I have this code in a web service:
m_webclient = New WebClient
Dim byteArray As Byte()
byteArray = m_webclient.DownloadData(url)
and this has worked for quite a while. But recently, my company added SSL to
the server and now, I get the error message, "Underlying conne... more >>
How to get the Exception number
Posted by RSB at 8/17/2004 12:42:28 PM
Hi Every one,
i am using the try Catch block..
and the Exception object has a Message Property but i want to Catch the
Error Number so that based on the Error number i can display Different error
message....
try{
}
Catch (Exception ex)
{
errNum = ex.?????
if (errNum == x) {
... more >>
EventLogEntry messsage contains Support Center help link
Posted by Scott Nickel at 8/17/2004 12:37:01 PM
When I write an entry to the event log and view it in the Event Viewer, my
original message appears with the following additional text:
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
How can I get rid of this or change this to point to my ... more >>
Reference assembly in GAC
Posted by Steve Amey at 8/17/2004 12:23:36 PM
Hi all
I have created an assembly that I want to install in the GAC. I have created
a Strong-Name for the assembly and then used the AssemblyKeyFileAttribute to
point to the snk file. I then dragged the assembly from explorer into the
GAC and it was placed in the GAC ok.
I then go into my p... more >>
Multithreaded Hastable Access
Posted by Ajay at 8/17/2004 10:55:02 AM
I have a global hashtable instance in my application which is accessed by
threads within that application for readonly access. Do I need to synchronize
the hashtable if readonly access is required? Will the multiple threads be
able to search the hastable simultaneously ?
Thanks
Ajay... more >>
How to load wav files in .Net
Posted by Koti at 8/17/2004 10:39:26 AM
Hi,
In my program I have few wav files and I want to load different wav files
based upon the input.
Is there any API or component in .Net to load the WAV files.
Thanks,
Koti... more >>
DesignTime Intellisense
Posted by dan at 8/17/2004 10:33:03 AM
I am working in C#. I want to know how I can get the extras to show up on
the intellisense mouseovers. I get a name and type of the property like
private string textbox.font
But I do not get the extra description like many of the built in controls.
Where is this stored and how do I modi... more >>
.NET DLL's
Posted by Dmitry Lyalin at 8/17/2004 10:32:21 AM
So tehre is no way to have a DLL read any kind of config file like
app.config?
My front end is an ASP.NET application and i was hoping to have all my
database logic handled from within the component. Thats why i built a
ConnectionString class with static string functions to return my
connecti... more >>
module vs class
Posted by Raymond Lewallen at 8/17/2004 10:24:23 AM
Whats the difference in using a module with all public functions versus
using a class with all shared functions and a private constructor?
Raymond Lewallen
Federal Aviation Administration
... more >>
Regular Experssion
Posted by Toby at 8/17/2004 10:17:49 AM
Could some tell how I could create a search replace Regular Express in .net
where is would
match
MY_STRING_TO_BE_CONVERTED
and replace with
MyStringToBeConverted
Thanks
Toby.
... more >>
Cant read app.config
Posted by webcontact NO[at]SPAM yahoo.com at 8/17/2004 9:25:02 AM
I added an app.config file to my application. (c#.net component dll)
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<appSettings>
<add key="username" value="xx" />
<add key="password" value="xx" />
</appSettings>
</configuration>
I then try to read it in my code as:
_usern... more >>
Submit not returning to the server
Posted by dsweatman NO[at]SPAM bellsouth.net at 8/17/2004 9:11:44 AM
I am having a weird problem. I have an application thats default.aspx
page is a menu page when a menu item is selected the requested page is
loaded into default.aspx using iframes. When unsaved changes have been
made to the iframe page and a user selects another item from the
default.aspx menu... more >>
Error in For Each Collection CodeSmith Template
Posted by kakss NO[at]SPAM hotmail.com at 8/17/2004 5:59:31 AM
Error message:
An unhandled exception of type 'System.InvalidCastException' occurred
in test.dll
Additional information: Specified cast is not valid.
Public Class Form1
Inherits System.Windows.Forms.Form
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.Even... more >>
PrivateBinPath
Posted by mark heywood at 8/17/2004 4:51:10 AM
ANyone know how to set up the PrivateBinPath in visual
studio for when you are deploying a C# Windows Application
so it looks in other places for assemblies?
Or how to combine a config file into the project so I can
write the private path xml myself?
Cheers
Mark... more >>
Setting reference to an exe
Posted by guy at 8/17/2004 2:07:02 AM
I have a solution with 3 projects, 2 are class libraries and 1 is a winforms
exe.
In one of the class libraries I need to refer to a windows form contained in
the winforms exe, however when I try to set the reference I get an error as
references can only be set to a dll.
Any ideas/workrounds... more >>
|