all groups > c# > july 2004 > threads for sunday july 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
Send file to server by HTTP-Post method
Posted by Evgeny Zoldin at 7/11/2004 11:29:50 PM
Hi ALL.
I would like to download file from some web-server that requires
Basic-Authetication, change somthing in the file and upload it back to the
server.
I can download the file and proceed as I need, but how should I upload it
back? Server provides standard HTML GUI for Browsers where clie... more >>
Images in Listview
Posted by Thorsten moeller at 7/11/2004 11:29:01 PM
Hi,
i have a Listview and an ImageList. I set the SmallImageList Property to the imagelist and the images are displayed.
But, how can i define which line in the Listview gets which image of the imagelist.
The images being displayed doesn't seem to have any order.
Can anybody help??... more >>
How create an attribute in CodeDom
Posted by tapas.pradhan NO[at]SPAM gmail.com at 7/11/2004 11:05:02 PM
Hi,
I need to generate an Attribute [SetUp] and associate it with a
method in CodeDom.
// Code snippet
CodeMemberMethod setUp = new CodeMemberMethod();
setUp.CustomAttributes.Add(new CodeAttributeDeclaration("SetUp"));
But, this creates an Attribute [SetUp()]. Which doesn't go well ... more >>
Thread synchronization
Posted by Ivan at 7/11/2004 10:55:01 PM
Hi there
My work on threads continues with more or less success. Here is what I'm
trying to do:
Class JobAgent is incharged for some tasks and when it's called it starts
thread which performs the job. Application contains one list of agents
that are idle at the moment and list of busy agents.... more >>
WMI Question
Posted by John at 7/11/2004 10:03:30 PM
Hi, I have the following code:
WqlEventQuery query = new WqlEventQuery();
query.EventClassName = "__InstanceOperationEvent";
query.WithinInterval = new TimeSpan(0, 0, 1);
query.Condition = "TargetInstance ISA \"Win32_Service\" AND
TargetInstance.Name = \"CentennialClientAgent\"";
watch... more >>
repost w/ corrected MSDN name, simple frame to frame aspx communic
Posted by andrewcw at 7/11/2004 9:44:02 PM
I have 2 frames - one with button and another with a grid
How do I get a reference to the controls on the other webform ?
From the one frame I can 'see the webform' fo the other frame, bit not the controls.
A simple code snippet would help. MSDN subscriber - but I dont think its linking correc... more >>
page ejecting on printer
Posted by Paddy at 7/11/2004 8:58:37 PM
Is it possible to send (char)12 to the printer to
make it eject?
If so, how can that be done?
If not, how can a page be ejected differently?
Many thanks.
... more >>
inherited constructors
Posted by Alexander Muylaert at 7/11/2004 8:27:28 PM
Hi
Is their a way to keep constructors visible in inherited classes?
public class X{
public x(int A){}
}
public class Y : X{};
Y MyVar = new Y(12);
The compiler is always nagging that their is no constructor...
Once define I would like to have it in inherited classes to.
K... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Weird behavior, Program bombs out unless Application.DoEvents() or GC.Collect is called.
Posted by Hasani at 7/11/2004 7:51:59 PM
I'm creating a .net db provider and I came across a weird problem w/ my data
reader.
The .net provider was created in managed c++ becuase the db api is also c++.
I'm calling the code from a c# project. It shouldn't make a difference but I
did have to do
http://support.microsoft.com/default.aspx... more >>
compress avi?
Posted by Tim Bücker at 7/11/2004 7:21:14 PM
Hello.
I am working on a program that generates about 1000 pictures that should
reside in an avi later.
Of course this amount of pictures creates a very huge avi-file but my main
problem is speed.
I´ve heard that it is not possible to add bitmaps to a compressed stream.
But I think it is v... more >>
Retrieve objects
Posted by Benny at 7/11/2004 6:23:07 PM
Hello Experts,
Currently I am working on a windows form application using vs.net 2002
with C#.
I have a refresh button in the form which will reload the information
for the form again. However, when I look at the "USER Objects" in the
Windows Task Manager, an extra USER Object will be creat... more >>
Assembly??
Posted by Miki Peric at 7/11/2004 6:08:39 PM
I'm trying to fill web.config file like this:
<SafeControl Assembly="WebPartLibrary1.WebPart1" Namespace="WebPartLibrary1"
TypeName="*" Safe="True"/>
The problem is that I don't know what "assemby" and "namespace" values I
should insert. This is my class:
namespace WebPa... more >>
Automatically rename text files
Posted by Shaker at 7/11/2004 6:07:02 PM
Hello, I would like to write a program that would automatically take out the spaces in directory names and file names . I would like this because my web server does not allow spaces in names. I figure if I could figure out how to automatically know how many files are in a path, then loop through the... more >>
SQL Server 2005 Express Beta Problems
Posted by Michael C at 7/11/2004 5:39:17 PM
While I think just about every IT expert out here agrees that the first
commandment is Thou Shalt Not Install Beta Software in a Production
Environment, the corollary to this would have to be that if you're naive
enough to install a beta of anything on a production machine, you should *at
the ve... more >>
Where did everyone go?
Posted by jimi_with_an_i NO[at]SPAM yahoo-dot-ca.no-spam.invalid at 7/11/2004 5:03:25 PM
I haven't seen a new posting since Wednesday night...
This happens occasionally with this group - I get nothing for days at
a time.
I access via Internet Explorer and I've cleared cookies and temp files
- still nothing (except a posting I've made Thursday).
Any ideas? (of course, I proba... more >>
saving the contents of axWebBrowser1 to a htm file ?
Posted by MrXs1999 NO[at]SPAM hotmail-dot-com.no-spam.invalid at 7/11/2004 5:03:25 PM
hi
how do i save the contents of a axWebBrowser1 to a htm file ?
i have a webpage loaded and would like to save it to my harddrive.
also how do i open the file from my harddrive to open in the
axWebBrowser1 box ?
Thanks MrXs
... more >>
Repeter
Posted by crap_master NO[at]SPAM hotmail-dot-com.no-spam.invalid at 7/11/2004 5:03:24 PM
hi i am using a repeter to show some option in a form. this option
are
radio buttons. the item template for my repeter loks like this
<ItemTemplate>
<input type="radio" runat="server"
id="membership"
name="membership" value='<%#
DataBinder.Eval
(Cont... more >>
How to create a desktop shortcut?
Posted by jimi_with_an_i NO[at]SPAM yahoo-dot-ca.no-spam.invalid at 7/11/2004 5:03:24 PM
What is the .net namespace & class for creating desktop shortcuts?
... more >>
How to know when a URL has been accessed?
Posted by Zachary Hilbun at 7/11/2004 2:21:09 PM
I want to put a link in an email that a vendor can click to acknowledge that
they have received an order. The link could contain a batch number as part
of the URL or the batch number could be a parameter which is passed by the
link. I haven't written an app that deals with handling web accesses... more >>
Reduce Memory Footprint at Startup
Posted by Bill Jones at 7/11/2004 2:17:52 PM
I have a very simple little utility program that when started shows
about 10meg in Task Manager. I'd like to distribute this program, but
I'm certain some semi-savvy users will balk over it's size not
understanding about Automatic Garbage Collection and will just say C#
is a pig.
If I Minimi... more >>
MenuItems, I'm trying to figure out how to do this....
Posted by M at 7/11/2004 2:02:20 PM
Hopefully this will come out right but this is what I'd like
Shapes
=======
Squares
|___by color
|___Red
|___Yellow
|___by size
|__Large
|__Medium
... more >>
How can I...
Posted by CQL90 at 7/11/2004 1:09:50 PM
Hi All,
Thanks you all in advance. Any help is deeply appreciated. I live in
California and I would like to communicate with the server which locate in
Houston, Texas and query data from that server. How can I do it? What
technology should I choose( .net socket, Remoting, WebService )? Take c... more >>
XORing background color
Posted by Jonathan Yong at 7/11/2004 12:43:03 PM
I am writing a drawing app in C#. I need to draw a wire frame of the
shape that the user is going to draw when he move his mouse to select
the coordinate. The color of the wire frame need to be XOR to whatever
color that is on the drawing surface. There is no support for this
drawing mode ... more >>
[OT] Microsoft Smear Campaign against Linux
Posted by C# Learner at 7/11/2004 11:46:22 AM
http://www.pcmag.com/article2/0,1759,1619714,00.asp... more >>
SpashScreen
Posted by Baramuse at 7/11/2004 10:41:02 AM
Hi all,
I try to build a splashscreen while my app launches itself.. I took a look on google but couldn't find the reason of my problem. Here it is :
in the constructor of my mainapp, I construct a new form (my splashscreen). It is really simple for now it only has a Backcolor and a Label. But t... more >>
C# programming position in Houston, TX. Mid-level developer.
Posted by jmason NO[at]SPAM funnydelight.co.uk at 7/11/2004 10:24:40 AM
Our company is looking for a mid-level C# programmer in the Houston
area (location: right outside 610 loop on highway 290). Position type
is full-time employment (401k, medical, etc...). Rate: $50-$60k/year
(exact rate will be based on experience and other qualifications)
Required skills: Mini... more >>
printing
Posted by freddy at 7/11/2004 9:43:02 AM
I am new to c#, I am trying to print the context of a textbox or a combobox.
... more >>
C# BitVector32 for DCB Struct - any help?
Posted by Chua Wen Ching at 7/11/2004 7:40:02 AM
Hi there,
I saw this article here in vb.net.
http://www.error-bank.com/microsoft.public.dotnet.languages.vb.1/148992_Thread.aspx
and
http://www.opennetcf.org/forums/post.asp?method=ReplyQuote&REPLY_ID=3922&TOPIC_ID=2224&FORUM_ID=35
But i had a question.
Can anyone show me how to co... more >>
XML Question
Posted by Michael C at 7/11/2004 6:13:47 AM
Hi all,
I'm back with another XML question. We covered this briefly before, but I'm
still having problems with it. Basically what I need to do is be able to
add, delete and update nodes and their attributes in an XML file. Here's a
sample of an XML file I might use:
<root>
<settings... more >>
What is the C# equivalent of GetMessage ????
Posted by Nadav at 7/11/2004 5:31:01 AM
Hi,
I am tring to pass messages between threads, using the good old C++ I would call the GetMessage/PostThreadMessage APIs, Now, I am using C# and i can't find any equivalenty for these calls, any Idea how to communicate between threads and access the threads message queue will be appriciated...
... more >>
question on Select path from user.
Posted by kelkel at 7/11/2004 5:26:02 AM
my app needs users to input a path, they can type or click a "browse" button to select it.
I only know "OpenFileDialog" to select file, can i apply "OpenFileDialog" in this case?
or is there any other methods to do this?
many thanks~~~.
Kel... more >>
Pie chart
Posted by Mohammed ABdel-Razzak at 7/11/2004 4:37:41 AM
Dear sirs
I want to know is there any way so I can draw a pie chart
using C# (I need a simple method) to draw charts
thanks
Mohammed... more >>
|