all groups > c# > august 2003 > threads for tuesday august 12
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
C# app does not load image list resources
Posted by Will Pittenger at 8/12/2003 11:23:58 PM
It throws an exception when executing the line below.
this.smallIconsIL.ImageStream =
((System.Windows.Forms.ImageListStreamer)(resources.GetObject("smallIconsIL.
ImageStream")));
The exception reads "Unhandled Exception:
System.Resources.MissingManifestResourceException: Could not find any... more >>
Hoe do you flush the Console ?
Posted by DD NO[at]SPAM chi-town at 8/12/2003 9:46:43 PM
Windows XP Home Edition
There are methods for flushing the output for a lot of things, but I
can't find any method to flush Console.Write().
Alan
... more >>
concat two bitmaps?
Posted by Phil at 8/12/2003 9:44:41 PM
is there anyway to connect to bitmaps together?
basically, I have a program that generates a graph as it runs, and I can
capture an image of the graph, but is there a way to take two captures, and
join them together so it looks like one big graph?
... more >>
RSA Encryption
Posted by awk at 8/12/2003 8:34:39 PM
Can anyone point me in the direction of a tutorial
that covers the best (or at least well recommended) way
of implementing RSA encryption. Please not code examples
that deal with small strings that produce byte arrays of 116 elements
or less are not much use as they fall over when dealing with l... more >>
accessing protected members of inherited classes
Posted by JH at 8/12/2003 7:59:51 PM
I am attempting to enable double buffering for a panel
control. The SetStyle method of the panel control is
protected, so I am attempting to access it by writing a
special panel class that inherits from
System.Windows.Forms.Panel.
But from there I am not sure how to access the protected ... more >>
Can the WinForms DataGrid be used without ADO.Net?
Posted by Dave Veeneman at 8/12/2003 6:08:41 PM
I am just getting into the WinForms data grid, and just about everything I
am seeing on it seems to say that the grid must be bound to an ADO.Net
dataset. I want to use the grid as a simple unbound grid-- all I want to do
is write to the grid, read from it, and allow the user to enter text in
pa... more >>
Stored procedures
Posted by Ann Marinas at 8/12/2003 4:36:56 PM
Hi, all!
I would like to ask a favor regarding ADO.NET...
I would like to know how I can access programmatically stored procedures in
a SQL Server. I've been pulling my hair up all weekend, and it seems that I
couldn't get it.
Thanks!
... more >>
C# dotnet asp application - only works with MSIE?
Posted by Ook at 8/12/2003 4:15:31 PM
I've given up on MySQL for now - and just built a basic c# dotnet asp web
app. It works. However, if I try to view the app in a non-Microsoft browser,
it doesn't do anything. Specifically, I'm using Mozilla Firebird. It doesn't
know what to do with file type aspx. Do asp dotnet C# apps only work ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
creating controls dynamically, newbie question (web project)
Posted by Marius Horak at 8/12/2003 4:09:42 PM
If in Design mode I place a button HTML code will look like this:
<form id="Test" method="post" runat="server">
<asp:Button id="Button1" style="Z-INDEX: 101; LEFT: 83px; POSITION:
absolute; TOP: 173px" runat="server"
Text="Button" Width="129px" Height="31px"></asp:Button>
</form>
Ho... more >>
[ASCX In Separate Project]
Posted by Jim Christiano at 8/12/2003 3:01:35 PM
I would like to place an .ASCX file in one project while my main program is
in another project. If this is possible, what type of project should I use
for the ASCX? How do I call the ASCX from my main program? Do I use the
standard @Register directive?
Thanks in advance,
Jim Christiano
... more >>
How to generate dataset?
Posted by Ook at 8/12/2003 2:58:12 PM
I think I'm being bitten by holes in the documentation - documentation that
assumes a certain knowledge of how dotnet works, knowledge that I lack :-)
I downloaded and installed odbc.net. I *finally* figured out how to add the
odbcDataAdaptor and odbcConnection to the toolbox, no thanks to the
... more >>
C# and SQL Server DateTime Conversion
Posted by Chris at 8/12/2003 2:57:45 PM
Hello,
I'm having some problems right now with something that would seem to be
rather simple (and probably is). But, the solution is escaping me right
now.
Currently, I have created a data structure with a timestamp in it. This is
created in a DLL written in C++. The command that I use t... more >>
Validators not working on Server 2003
Posted by Brent at 8/12/2003 2:34:47 PM
Hi,
I have a C# asp.net app. My validators all worked fine on 2000, and now I
moved my app to 2003 and the validators are not working. I added
if(!IsValid)
return;
as a workaround to my buttons for now so it does it server side or whatever
but I still would like this to work. I saw in anot... more >>
File in use: How to tell.
Posted by Daniel Reber at 8/12/2003 2:08:02 PM
I have an application that is sending a file to a location on a network. I
have a windows service that is monitoring that location for new files and
then processing them. Sometimes the service tries to process them before
that are copied over completely. How can I tell if the other application... more >>
ListBox DataSource DisplayMember Property Problems
Posted by Investigative_Reporter NO[at]SPAM hotmail.com at 8/12/2003 1:56:08 PM
ListBox DataSource DisplayMember Property
Problems in C#
I have a (single select) listbox with data and
when I click on the list I can't get the right
text selected.
My listbox is setup using the DataSource property.
I set my ValueMember and DisplayMember
listBox1.ValueMember = "Type... more >>
SQL parameters
Posted by Chris Capel at 8/12/2003 1:32:14 PM
In manually creating SQL queries, it would be nice to have a Framework
function that makes input strings safe to add in a manner like this:
myDescription = MethodToMakeStringQuerySafe(myDescription);
new SqlCommand(
String.Format("INSERT INTO Descriptions (Description) VALUES '{0}'",
... more >>
Microsoft Powerpoint AutoShape / object structure
Posted by sahu at 8/12/2003 1:28:56 PM
HI!
I have two expert questions:
1. Is it possible to add new (own) End Styles of arrows in the Format
AutoShape window (Colors and Lines) drop down box?
2. How is it possible to access the object structure in PowerPoint. I mean
by this accessing the objects that are created on the given ... more >>
let my IIS run ASP .NET 1.1?
Posted by Greatfree at 8/12/2003 12:55:12 PM
Dear all,
I have installed .NET 2003 on my Windows XP. I need to use it to develop Web
services.Yesterday, it works fine. But I got an XML file access error. So I
tried to do some configurations in several ways because I was not sure how
to solve the problem.
I even uninstalled IIS and inst... more >>
CreateObject in C#
Posted by pa at 8/12/2003 12:42:06 PM
What's the C# equivalent to the VB 'CreateObject' function.
I know there's a Server.CreateObject but I need to do this
from a windows app that doesn't use the web.
Here's the VB code I want to convert.
Dim obj as Object
obj = CreateObject("Some.Application")
Thanks for your help
pa... more >>
Why isn't my data adapter updating?
Posted by sandman at 8/12/2003 12:10:43 PM
I've got a simple windows form with some bound textboxes
and Save button. Each texbox is bound to column in a table
in an Access database. The form fills fine - all the
fields show the correct data for the record I load. So
then I change the contents of one of the textboxes and
click on t... more >>
ZLib & BZip
Posted by Andrey Lysenko at 8/12/2003 11:55:11 AM
Hi!
Is there any free port of ZLib and BZip?
I know only SharpZipLib project but it is under GNU license.
TIA,
Andrew
... more >>
inline functions
Posted by Will Pittenger at 8/12/2003 11:17:35 AM
Does C# inline functions? I do not see a inline keyword. Is there an
implicit inline? Can the compiler select functions for auto-inlining? I am
more used to C++ where all these things are possible.
----------
Will Pittenger
E-Mail: mailto:will.pittenger@verizon.net
All mail filtered by Qur... more >>
Textbox scrolling
Posted by ray well at 8/12/2003 10:44:15 AM
i have a text box with limited space that gets loaded from database records.
the important info is at the bottom of the text, which requires scrolling to
get to it, which is a pain.
is there a way by software to make a textbox scroll to a certain area of the
itself, if so how?
thanks fo... more >>
Stopping threads
Posted by Daniel Reber at 8/12/2003 10:31:45 AM
When all code is completed from a thread, do I need to explicitly stop the
thread or will it stop on it's own?
Thanks,
Dan Reber
... more >>
sending XML over a socket
Posted by ahakim99 NO[at]SPAM yahoo.com at 8/12/2003 10:14:17 AM
What's the simplest way of sending XML from a client to a server?
thanks
abz... more >>
Array of arrays
Posted by Kurzweil at 8/12/2003 9:52:11 AM
I need to make a two dimensional array of objects. These objects are of type
Influence[].
How do I declare such an array?
Now I use:
private object[,] influences;
influences[x, y] = GetInfluences(); // GetInfluences returns type
Influence[]
But when I need to use something from te array ... more >>
Problem sending mail on Server 2003 "SendUsing" configuration is invalid
Posted by Brent at 8/12/2003 9:48:28 AM
Hi, I have a C# asp.net app that sent mail fine on server 2000 or win 2000,
but now I moved it to our new 2003 box, and it's giving me "The 'SendUsing'
configuration is invalid"
This is the code now...
MailMessage mail = new MailMessage();
mail.From = from;
mail.To = email;
mail.Sub... more >>
datagrid delete event
Posted by cfyam at 8/12/2003 9:31:08 AM
How can I fire the datagrid delete method like the user press del button on
the datagrid?
... more >>
Why finally?
Posted by Ken at 8/12/2003 8:47:23 AM
What is the purpose of a finally block in try-catch-
finally? I am confused because, if I am reading the
definition correctly, this block seems unnecessary.
Consider the following from the Visual Studio
documentation. In the first foo(), the statement in the
finally block will execute even ... more >>
Transparent control
Posted by KhanhNTQ at 8/12/2003 8:43:30 AM
Hi everybody!
How can I set the background of a control to transparent
Thanks
... more >>
differences between saying new object() and new Object() ?
Posted by n_o_s_p_a__m NO[at]SPAM mail.com at 8/12/2003 8:32:59 AM
Ok, here is a dumb one:
Is there any difference between the lines
new object()
and
new Object()
Also, why are they seemingly interchangable? Why do we have both?... more >>
Datasets
Posted by Ann Marinas at 8/12/2003 8:10:37 AM
Hi, all!
I have a question...
Can an application have many datasets?
Thanks a million! :D
... more >>
Passing parameters into Crystal Reports
Posted by Tony at 8/12/2003 12:22:17 AM
Hello everyone,
Does anyone know what code should i use in order to pass a parameters into
the Crystal Report's SQL command?
Any web site references is welcomed too!
Thanks
Tony
... more >>
|