|
Output files from a Console App Build
Whenever I build even the very simplest application in C# (for example, a
console application which doesn't add any controls or anything), in the Debug
output directory I get three files:
- App.exe
- App.pdb
- App.vshost.exe
What are the last 2? Do I need them to run my app properly?
Alex...
|
3 |
6/11/2007 6:39:47 AM |
|
Problem with IE 7 and outlook express
IE & will no longer download files, if i try to save a file the destination
is not available in the download box and then an error message appears saying
unable to download. In outlook express i can not open a word doc attachment
(for example) if I save as and move the file I can then open it ? The last
time this happened sfc /scannow cured it but not this time.I have also tried
chkdsk /...
|
3 |
6/11/2007 5:31:49 AM |
|
ListBox crash when accessing SelectedIndex
Can anyone please tell me how it is possible to get the following crash when
accessing ListBox.SelectedIndex property:
Message: Index was outside the bounds of the array.
Stack Trace:
at System.Windows.Forms.ListBox.ItemArray.GetEntryObject( Int32
virtualIndex, Int32 stateMask)
at System.Windows.Forms.ListBox.get_SelectedIndex()
It is not possible to use the ListBox.SelectedIndex = ...
|
2 |
6/11/2007 12:29:22 AM |
|
logging debug messages
How do I display debug messages from a Win32 application project
(visual studio c++). I'd like to print the messages in the output
window of visual studio
...
|
15 |
6/10/2007 3:03:32 PM |
|
App config profiles
I am a bit confused on just how the Profiles in the
ApplicationConfiguration Settings File work. I need to allow a user
to switch between configuration settings at runtime. Looking at the
Settings.setting file in the application I noticed the profiles
nodeset. Does anyone have an idea of how this works. Here is really
what I need...
<SettingsFile xmlns="http://schemas.microsoft.com/Vi...
|
1 |
6/10/2007 12:40:00 PM |
|
Adjusting components size by text and font
Hello,
I develop C#.NET (WinForm) over 2003server.
I am looking for a way to adjust a component size (width pixels)
according to a given text of a certain font (i.e font family, size and
style)
Lets say i have a sentence(english or hebrew), i want the textbox to
expand and minimize if i change the font's size.
Mainly what im looking for is a method that gets the string and the
font p...
|
2 |
6/10/2007 11:44:34 AM |
|
How should user scripting for a .NET app be implemented
We need to add the ability for users to execute scripts for our application,
which runs a scientific tool. The users will be scientist, not professional
programmers. A few years ago I would have used the Active Scripting objects
and supported JScript scripts accessing our app's object model.
Our new application is all .NET based so it seems the Active Scripting
method is a little out of...
|
3 |
6/9/2007 10:59:49 PM |
|
Tracking changes on specified file
Hi
I need to precisely track changes on a specified file. I have to be
able to know exactly what bytes of a file had been modified (or how
much added/deleted). This file is a binary file containing an old
database, changes on it are made by an dedicated DBMS. I found
FileSystemWatcher class but it does not give me information of what
bytes are modified.
...
|
2 |
6/9/2007 10:01:07 PM |
|
IL code debugging?
Is it possible to debug IL code using VS.SET? It would be very useful,
when some error occurs in the module without source-code.
...
|
2 |
6/9/2007 2:09:12 PM |
|
how to simulate a different time zone?
¿is it possible by code to simulate that i am in a different time zone just
for to execute a few lines of code?
in my case i am in the time zone "Santiago/Chile" which is GMT-04, but for
to execute a few lines of code that demand time zone "GMT 0"
i need to change or simulate de time zone "GMT 0"
how can i do that?
thanks for any advice
...
|
2 |
6/9/2007 9:49:22 AM |
|
deriving from Byte[] in C#
Hi all,
is it possible to derive from an array type - in my case from Byte[]. The
purpose is to override the ToString() of Byte[] method in such a way that it
results in a string representing the Byte[] as a 'normal' string - i know
that only legal ASCIIs are in the array - and not resulting in
"System.Byte[]".
Thanks in advance...
|
2 |
6/9/2007 3:50:13 AM |
|
ODP.NET Ref Cursor Input to oracle Stored Procedure
Hi ALL
I want to send an Input Ref Cursor from .NET to Oracle. The below link
gets the cursor from database as out parameter and sends the same
cursor back as Input which does not make any sense to me.
http://www.oracle.com/technology/oramag/oracle/06-jan/o16odpnet.html
My webservice has the data in xml format with multiple records. I need
to send that data to Oracle with one call usin...
|
1 |
6/9/2007 12:55:26 AM |
|
Keep a selection highlighted in a listView when it loses the focus
Hi,
I've created a ListView with some images.
I can selected an image, but when the focus leaves the listView, the
item doesn't appear highlighted.
I've tried to change the property HideSelection to false, but it doesn't
work.
Thank you for your help....
|
3 |
6/8/2007 6:05:02 PM |
|
What CLR/JIT version compiles my 1.1 IL code ?
Hello there,
I have Framework 1.1 and 2.0 installed both in my PC. When my IE hosts/runs
a .Net(C#) applet written in Framework 1.1, what version of my framework
(CLRs/JIT)compiles the control in binary code, the 2.0 or 1.1 ?
Genc Ymeri
Sr. Software Engineer
Chantilly, VA...
|
4 |
6/8/2007 3:32:00 PM |
|
winforms + resize
hi,
i'm a newbie to winforms..
in my application..i've created a main form..
i show the other forms as dialog form on click event of buttons of my
mainform ...
but, here is a small problem..the forms which i show as dialog are resizable..
I can drag or shrink the form..which i dont to happen..
how can i turn off the resizability of the form...
|
2 |
6/8/2007 3:18:23 PM |
|
.Net substitute for the Borland TMediaPlayer control
Hi,
My client has an existing project done in Borland C++ that I was wanting to
port to .Net.
Most of seems fairly easy to move over except that it uses (heavily) the
Borland TMediaPlayer control for:
- playing small music files (currently stored as MP3s)
- at the same time listening to the microphone input and processing that to
display the pitch (the incoming sound is not saved - onl...
|
2 |
6/8/2007 2:29:10 PM |
|
Saving a bitmap as a PNG without the gamma info
Hello,
[Apologize for the cross-post in microsoft.public.dotnet.framework.drawing,
but I just noticed the .drawing group is not in the managed newsgroups list]
I have written a custom web control that dynamically generates bitmaps
in the response stream, using the Image.Save(stream, format) method.
When generating a PNG image, I am facing the well-known issue of the
bad PNG gamma correct...
|
5 |
6/8/2007 1:01:14 PM |
|
Cannot access disposed object
Hi
I am having problem working with Timers in C++/CLI (the .NET version
of C++)
I have an application which has several forms with pictureBox controls
on it. There is a background timer executing every 250ms and it
generates a display image (using some real time data) and pastes those
on the picture box. As the picturebox was generated by main
application thread, I used 'control.Invoke(...
|
2 |
6/8/2007 11:09:19 AM |
|
Regex replace where Search Value not between specific delimiters
Hi all.
I have managed over the last few years to get by with relativly little regex
knowledge.
However I now have what seems like a simple problem which I simply cannot
find a solution for.
As stated Regular expressions are not my strong point.
What I need is a way to replace a set string within a source but only where
that set string is not surounded by brackets.
Thus I wo...
|
2 |
6/8/2007 7:17:21 AM |
|
Free .net controls at http://www.controlstrading.com/
Hello
You can find many .net controls here:
http://www.controlstrading.com/
...
|
1 |
6/8/2007 6:58:39 AM |
|
Email fonts
I have selected the fonts that I want to use when composing and replying to
emails but when I "create email" my chosen font isn't there. It defaults to
Arial. Any help?
...
|
2 |
6/8/2007 2:38:36 AM |
|
Can you step into .NET framework calls when debugging?
I'm sure this is a question that a million people have asked, but I'm having
trouble finding the answer. I want to be able to step through .NET
framework code. Basically, I want to walk through the kind of code that
Reflector exposes (http://www.aisto.com/roeder/dotnet/) at run-time. I can
get a lot of information about the framework code just by reading the
disassembled code, but I r...
|
2 |
6/7/2007 11:05:48 PM |
|
I want an "autosort" class
Unless a project particularly interests me, I'll try to see if someone else
has created what I need rather than doing it myself. Such is the case now.
I'm wondering if anyone has made a list/array class (preferrably a generic
one) that holds IComparable[<T>] objects and automatically sorts the list
when a new object is added. I know there is the SortedList<TKey, TValue>
class...
|
2 |
6/7/2007 9:37:20 PM |
|
dynamic C# functions...
i need to be able to create a dynamic C# function on the fly on an existing
type that exists within an assembly already loaded into memory. basically,
the body of this dynamic function will be loaded from an external source
(e.g. a file).
how can i best accomplish this task?
thanks for all your help,
--
Ben Callister
...
|
2 |
6/7/2007 8:34:30 PM |
|
Visual Studio 2005 & SQLite
Hi guys,
Is there any documentation on how to interact with VS2005 and a SQLite
database?
Thanks a lot!
...
|
2 |
6/7/2007 5:49:06 PM |