all groups > dotnet general > may 2004 > threads for friday may 7
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
Integrating with legacy code
Posted by Russ at 5/7/2004 8:43:54 PM
Hello. I have a very large business application written all in VC++
and MFC. Now I want to interface some of it to the web. I have
VS.NET2003 and have been studing walkthroughs and documentation and
trying some things. I wanted to build an XML web service that would
interface to my existing d... more >>
HELP: C# - ListBox.SetSelected Not Working Properly!
Posted by Andrew at 5/7/2004 6:25:06 PM
I'm having a major problem with a databound listbox in C#. In the
constructor for the form I am trying to pre-select some of the items based
in information in the database. When I step through the debugger it all
seems to be working properly until the Load function is called, and then all
my se... more >>
Manging references
Posted by Hugoski at 5/7/2004 5:26:05 PM
Hi...
Our company has a fairly large client-server application and is very complex in its construction. The main point about that is there are a number of separate client pieces that require dependent project references to be maintained. For example, we have at the very bottom a data access layer ... more >>
Passiing command line arguments to a service
Posted by MW at 5/7/2004 5:21:26 PM
Hi all,
I want to pass arguments to my OnStart(args) method in a windows service
application.
I tested this out by
NET START myService /test
and it works fine. I however want to give my users the ability to use the
Start button from the Service Control Manager instead of typing NET START... more >>
User Controls in Toolbox
Posted by Adam Nowotny at 5/7/2004 4:31:10 PM
I've created library with some "user controls" and they all showed up in the
toolbox, so it is easy to drag them to a form in Forms Designer.
Now we want to use the controls in our main project which is located on another
computer. The problem is they don't show up in the toolbox.
What's wrong... more >>
Where has the modal frame extended contol style gone???
Posted by Bob Rock at 5/7/2004 4:26:56 PM
Hello,
where has the modal frame extended control style (WS_EX_DLGMODALFRAME)
gone???
I can't find it among a control's properties.
Bob Rock
... more >>
How do I gently terminate a thread???
Posted by Bob Rock at 5/7/2004 3:27:15 PM
Hello,
coming from win32 API I recall an ExitThread() call to gently terminate a
thread from inside the same thread .... but now all I can see is an Abort
call which seems to me a wrapper on the TerminateThread() Win32 API which is
a brutal way to end a thread. Is there any other more gentle w... more >>
IPAddress.Address is obsolete
Posted by Michael Riggio at 5/7/2004 2:58:23 PM
Does anyone know why this property is obsolete? Also, is there an
alternative available?
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
HELP:CoCreate fails in pinvoked DLL
Posted by Ron at 5/7/2004 2:32:03 PM
All,
I have a weird problem,
I have a Native DLL that CoCreates a COM object. If I call this DLL from a
native MFC app, everything goes just fine; If I call it from an managed
application with the exact same parameters, the CoCreate fails file
E_NOINTERFACE (x80004002).
I've played around ... more >>
GetFileVersionInfo
Posted by Tyrone at 5/7/2004 1:57:45 PM
I want to be able to display the attributes of a jpg file using the
fileversioninfo class.
I have tried the following code below but it doesn't work, where am i going
wrong? does it need special permissions?
FileVersionInfo FileProperties =
FileVersionInfo.GetVersionInfo(@"C:\test.txt");
... more >>
How to do this?
Posted by ari at 5/7/2004 1:26:04 PM
Hey all
Can anyone tell me how to do this on an ASP.NET app. I want the user to push a button, which will
1. Pass a unique id to the system
2. The system queries a database and retrieves a URL addres
3. The system opens a modal dialog with the contents of the URL addres
is this possible
Th... more >>
SQL Job or Windows Service?
Posted by Erik Cruz at 5/7/2004 12:15:24 PM
Hi.
The application I'm writing will need to import data from an Oracle database
to a SQL Server 2000, every 15 minutes. I am considering to create a SQL Job
or a Windows service written in VB.NET to do the task. What should I take
into account before deciding? Is there any kind of material co... more >>
Multilanguage Applications
Posted by Tosch at 5/7/2004 11:42:22 AM
I have to write a multilanguage application with the following
criteria:
- The language code can be set in a config file or similar. I don't
want .NET do decide which language to use. This way it's possible to
run say a french version of my app on an italian Windows.
- add new language vers... more >>
Command results to a file
Posted by Nancy at 5/7/2004 10:22:34 AM
At run comand line, we could type DIR or NET VIEW ETC...
and the results are displayed on the screen.
How could I automatically save those results into a text
file?
I tried to do the following:
Dim StreamWriter As StreamWriter
StreamWriter = New StreamWriter(strFN)
Stream... more >>
Reflection resources?
Posted by Eddie B. at 5/7/2004 10:04:09 AM
Are there any good reflection resources?
... more >>
Add IE registry entry with setup program
Posted by steve b at 5/7/2004 9:17:58 AM
I need to add a registry entry to internet explorer (I'm adding a right
click menu item) with vb.net setup program. Anyone know how to do that?
Thanks!
... more >>
Getting parameters to method calls in a stack tract
Posted by codex_sinaiticus NO[at]SPAM yahoo.com at 5/7/2004 8:03:00 AM
I am using Visual Studio 2003. When an exception trown (and trapped
by a try statement) in a managed language (say, C#), I'd like to get
the values sent to all the parameters in the stack trace. So, for
example, if the error is something like:
ERROR: The program has performed the following e... more >>
session state problem
Posted by beverly kuykendall at 5/7/2004 7:27:59 AM
I have a .net application with many web forms. During the process of
the application the user has the ablility to advance and return to a
selected number of forms based on where they are in the application.
This all works with the use of session state. The user has the ability
to use the BACK ... more >>
Visual Inheritance in WinForms
Posted by waitforu NO[at]SPAM yahoo.com at 5/7/2004 7:08:31 AM
If I have a form, say FORM_FOO, and a form that it inherits from, say
FORM_BAR and on FORM_BAR, I have a button, say BTN_RETURN. Now, how do
I make FORM_FOO actually do true inheritance when I change BTN_RETURN
on FORM_BAR? In order to actually do that, I have to open every form
that inherits fr... more >>
Tab order in IE launched apps
Posted by Alec Dobbie at 5/7/2004 5:36:04 AM
I have a .Net control hosted in a web page. This control loads a windows forms app on the client. This works fine. However i'm losing the ability to tab between controls. IT's as if there is no tab orer on the form. If I launch the program manually tabbing works fine
Suggestions? I dont real... more >>
sending mail in html AND text format ?
Posted by tdeclercq NO[at]SPAM netarchitects-europe.com at 5/7/2004 1:56:27 AM
HI,
I want to be sure that users receive and can read my mails.
How can I send mail in HTML AND text Format in one send ?
thx... more >>
Can I have a HTML frontend (data-entry form)with access as database
Posted by Rajesh at 5/7/2004 1:47:38 AM
dear all,
as of now, am working on a simple access database with a normal data
entry form
Can I design a form in HTML for data entry, and the same be linked to an
access database where the records get saved
I also require a scrolling marque in the HTML page which runs some
prefeeded informa... more >>
Threading problem with MDI form
Posted by psgoogle NO[at]SPAM yahoo.co.uk at 5/7/2004 1:08:09 AM
In an MDI app, from a child form I use BeginInvoke on a delegate to
start an async printing process. When it finishes, my callback
function (on the worker thread) calls me.BeginInvoke to get back to
the main thread where I update the status line on the MDI form
(Printing complete). This works fi... more >>
|