all groups > dotnet general > december 2003 > threads for thursday december 11
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
Threadsafe operations
Posted by Ayende Rahien at 12/11/2003 11:29:08 PM
How do I create thread safe functions similiar to this one without using
WinForms?
private void UpdateText(string Text)
{
if(SomeControl.InvokeRequired)
{
SomeControl.Invoke(new MethodStringInvoker(UpdateText),new object[]{Text});
}
else
{
SomeControl.Text = Text;
}
}
... more >>
Bug with ComboBox in usercontrol
Posted by codymanix at 12/11/2003 8:36:43 PM
My problem is: I have comboboxes which resides in a usercontrol.
Always when the usercontrol changes its visible status (the dialog is shown
or you switch to the tabpage where the usercontrol is), all text is selected
in the textfield of the combobox.
Is this a Bug? If yes, is there a workar... more >>
Automatic Update feature for WinForms apps in .NET?
Posted by Aaron Ackerman at 12/11/2003 6:50:41 PM
Is anyone familiar with that Automatic/Automated Update feature for .NET
WinForms apps which essentially allow a user to hit a server for their data
(even over the Internet) possibly and have their .NET WinForms apps get
updated automatically?
Can someone tell breifly how this works and if the... more >>
download dot net site
Posted by cchartrand NO[at]SPAM 27software.com at 12/11/2003 6:18:31 PM
Hey all,
My name is Chris, and I just wanted to let you all in on a new .NET
site that was just recently launched to the general public.
It is called DownloadDotNet, (http://www.downloaddotnet.com) and it is
designed for developers of .NET software and utilities to share and
sell their work... more >>
IE and XML problem.
Posted by Ayende Rahien at 12/11/2003 4:36:34 PM
I'm having trouble convincing IE to display my XML when I'm using it in my
application.
I'm creating XML using XmlTextWriter, and then Load() it to IE. The problem
is that in the way, a space is inserted after every character (Like this < ?
x m l v e r s i o n = " 1 . 0 " ? >) Which isn't valid... more >>
Can my app select a datasource?
Posted by M K at 12/11/2003 3:53:00 PM
I want the user to be able to select an ODBC data source from within
my application. Can my app bring up a list of DSNs? Or can I create a DSN
somehow? I don't know how my user's database might be set up, so I need it
to be dynamic.
... more >>
Problems with setting up an n-tier architecture
Posted by Scott at 12/11/2003 3:25:22 PM
I thought I would stop hard-coding all my db commands and came up with (what
I thought is) an n-tier architecture to deal with data access. I have set
up a simple scenario to test:
I have an object named "SQLConnect.vb" which is supposed to be the generic
data layer and has a function in it c... more >>
Richtext box issue
Posted by Catherine Jones at 12/11/2003 2:49:36 PM
I have one more issue, please help me to find the solution ,
My question as follows..
In the rich text box, after an undo or redo operation how can we get
information on the following things..
1) which operation has happened(paste, insert or overwrite)
2) Which line numbers are affected by th... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Using MFC in a Managed C++ DLL?? Can I?
Posted by Michael Howes at 12/11/2003 2:49:09 PM
I have some old C code that uses MFC and some C Run Time Library.
I need to be able to call this from C#
I thought i'd be able to create a Managed C++ DLL, tell the project it was
using MFC, include the .c file and be on my way.
Can I use MFC in a Managed C++ DLL?
If I build a Visual C+... more >>
Help, Tools: for regression testing a GUI application?
Posted by Vaughn at 12/11/2003 2:40:13 PM
any good cheap or free tools for regression testing GUI frontend
applications out there?
... more >>
ASP.NET Includes Text or HTML Files into ASPX pages
Posted by Bari at 12/11/2003 2:06:27 PM
I'm trying to find out how to INCLUDE a file (text or html
etc) into my ASPX page.
I don't want to know how to create a user control etc just
a quick simple example.
Looking for something similar to the old fashioned ASP
include <!--#include file="time.inc"--> but a .NET version.
... more >>
cant get visual basic.net exec to run on windows 98
Posted by anonymous NO[at]SPAM discussions.microsoft.com at 12/11/2003 1:27:20 PM
I created a visual basic.net exec on an xp machine and
tried to run it on a 98 machine. The program works
perfectly on the xp machine.The program starts okay but
when I click in a command button I get an exception
error. "system io file not found exception. File or
assembly name microsoft... more >>
ASP.NET Client side event question
Posted by Karl at 12/11/2003 1:23:13 PM
Hi I am new to asp.net and I need to get my head around
the way client side events interact with server side
events.
I want to have three listbox's on a page, the value the
user selects in the first listbox determines the second
listbox's values, the value the user selects in the second
... more >>
New to C# -- Events
Posted by Eric at 12/11/2003 12:53:10 PM
I need to raise events from a c# class to the caller, a c#
or vb form. In VB you would declare the event in the
class, then just use the RaiseEvent to raise the event, in
the form you would just create a handler that would handle
that event.
How do you do this same thing in c#? Is it ... more >>
SQL Parameter Question
Posted by Prashanth at 12/11/2003 12:40:00 PM
Hi ,
I want to make a stored proc call thru .NET . I use the SqlParameter objects
to create input parameters and set it's value.
SqlParameter myParameter = new
SqlParameter("@Description",SqlDbType.VarChar);
myParameter.Value = "some string size not known. but max size of the string
can be o... more >>
Streaming Stuff
Posted by WildHare at 12/11/2003 12:02:01 PM
What exactly is streaming? When I use a browser or an application and it
gets streaming data (say, Headlines, Stock Quotes, etc), what is it really
doing. Is it just that the client is constantly making new requests for
information from a given web server, or is there more magic to it? It
sou... more >>
SgmlReader problem...
Posted by Ayende Rahien at 12/11/2003 10:51:31 AM
I've a mysterious problem using SgmlReader, I get an exception doing to
following code:
I get the following exception calling CleanHtml("Painless software
management");
"System.ArgumentNullException: Value cannot be null.
Parameter name: stream
at System.IO.StreamReader..ctor(Stream str... more >>
DateTime
Posted by ChrisC at 12/11/2003 10:47:49 AM
Since I have never had the need to do this nor can I seam
to figure it out, can anyone tell me how I can take 2
Dates and return how many months there are left till I
reach a third date?
Example:
Release date = "2/1/2001"
Expire date = "2/1/2006"
Current date "12/10/2003"
I nee... more >>
Can I find my own .exe-file name?
Posted by Ronald Kloverod at 12/11/2003 10:27:54 AM
Hi!
Is there any easy way to find the name of the programs .exe-file? I'm using
C# and have tried using System.Reflection.AssemblyName. But this one seems
to give me the name as it was at compile time. In my case, the "original"
..exe-file may be renamed, and what I want to know is "my" new name... more >>
how to pass value along with click of a button
Posted by Al at 12/11/2003 9:32:53 AM
Ref:how to pass value along with click of a button
hi,I have created a form that has single button. as follow
<asp:button id="btnCallfunction" runat="server"
text="func_call" onclick="add_int" />
Sub func_call(Source As Object, E As EventArgs)
' how to capture the passed variable here
en... more >>
Cleanly handling load errors when using WinForms controls in IE
Posted by dan NO[at]SPAM actional.com at 12/11/2003 9:20:21 AM
I've embedded a .NET 1.1 control in a web page for use in IE (using
the "object" tag). There are two challenges I'm facing: if the
machine does not have the 1.1 framework installed or if the .NET
security does not allow the control to initialize the user is faced
with a big blank area and won't... more >>
Error in source as object, e as envenargs
Posted by Al at 12/11/2003 9:12:04 AM
hi , I am creating a form in asp.net and in the form, I
crateed a couple of buttons, when I call a function I get
the following error :
Method 'Public Sub (function name) does not have the same
signature as delegate ' Delegate Sub EventHandler(sender
as object, e as system.eventArgs)'
I ... more >>
.NET with ADP
Posted by Paul at 12/11/2003 8:17:08 AM
Is it possible to retrieve data from ADP using .NET?... more >>
.exe_on_Netfolder_doesn´t_run_properly
Posted by Mischamel at 12/11/2003 8:11:54 AM
I created an .exe with vb.NET and Jet4.0 on Access2002 and=20
put it on a Netfolder. Other workstations without having=20
Access installed can=B4t run the application properly -> The=20
appl. doesn=B4t start the server.=20
Is there any other possibilty except installing Access on=20
each mach... more >>
Studio . NET Professional project in VC++ .NET Standard?
Posted by Neil Alford at 12/11/2003 2:45:30 AM
I've got a project that has been developed in C++ using
Visual Studio .NET Professional and I'm trying to load it
into Visual C++ .NET Standard, however, although the main
project workspace file seems to load OK none of the
projects within the workspace load, I get an error message
that ju... more >>
|