all groups > c# > july 2004 > threads for friday july 2
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# is a proprietary programming language ??
Posted by Matt at 7/2/2004 10:58:13 PM
Some people identify Microsoft C# is Proprietary programming language.
What is Proprietary programming language then? How does it differ
from other languages such as C++, or Java??
Please advise. thanks!!
... more >>
TreeView Control in C#
Posted by SoKool at 7/2/2004 9:33:01 PM
Can anyone point me to a site where I can get a free treeview control to use in ASP .NET or any tutorial that can help me build my own treeview control.
I intend to use a treeview to generate a dynamic menu by collating data from a Sql Server Table.
Many thanks.... more >>
is it possible to convert obj into textbox - read inside TIA
Posted by CobraStrikes NO[at]SPAM al.com at 7/2/2004 9:15:05 PM
is it possible to do this.
object obj;
TextBox tb;
obj="textbox"+strA+strB;
tb=obj;
THANK YOU
... more >>
MOM and EIF
Posted by Janus Knudsen at 7/2/2004 8:44:28 PM
Hello there...
Can somebody point me to a tutorial or article in using MOM together with
EIF?
Kind regards
Janus
... more >>
Scrollbar on label
Posted by Darrell Blake at 7/2/2004 4:59:54 PM
I'm writing an IRC client to teach myself C# and have run into a small
problem. I'm using a label to display all the text and when the text gets to
the bottom of the label it doesn't automatically scroll down so you can't
see the new messages. I want to do one of two things if possible. Either ge... more >>
Parameters in a connection string
Posted by Alberto at 7/2/2004 4:55:16 PM
Could you tell me what's the meaning of the parameters of a connection
string like packet size for example?
thank you.
... more >>
MONO
Posted by Kristopher K. Kruger at 7/2/2004 4:37:18 PM
Console Application
Posted by Mel Weaver at 7/2/2004 4:11:22 PM
Hi,
Using a console application, how do you get rid of press any key to
continue when the program finishes.
Thanks
Mel
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Upload file from C# Windows Application to PHP Web form in Apache Server
Posted by Daniel López at 7/2/2004 4:04:34 PM
Anyone know how can I upload a file to a PHP Web Form from a C# Windows
Application ?
I've tried to use
WebClient.UploadFile("path_file_to_upload","url_of_php_form"); but with this
I don't upload anything and don't get any error. I think that the problem
should be in the php web form or in th... more >>
Process
Posted by SnakeS at 7/2/2004 3:33:02 PM
Hi,
I want say if exist an Event that find out when a process has start.
For example with task manager, when a new process has start , it come update
into list.
Thanks.
... more >>
Any way to run VS.NET 2003 on Windows NT 4.0?
Posted by Laszlo Szijarto at 7/2/2004 2:49:29 PM
Is there any way to get 2003 version of VS .NET to run on Windows NT 4.0
workstation?
Thank you,
Laszlo
... more >>
creating algorithm for formula parsing
Posted by VM at 7/2/2004 2:42:20 PM
I'm trying to find out what the best way would be to parse a formula so I
can then calculate it with its real values.
For example, a user may enter
((sys_empHours*db_empSal)/db_totalHours)
and I would need to parse all of that so that I can get the tokens that need
to be replaced with data (sys... more >>
Web.config file protecting sub-folders only
Posted by Maziar Aflatoun at 7/2/2004 2:07:21 PM
Hi,
I'm trying to protect one of my subfolders from Web.config file in my root
folder. Here is my directory structure
/ // My shopping cart
/admin // Shopping cart admin which needs to be protected
Now in my Web.config how can I protect just the /admin folder (wh... more >>
editor stuck showing dots for spaces
Posted by Alex Gascoigne at 7/2/2004 1:54:55 PM
I accidentally hit a key combination and now my Visual C# 2005 editor shows
a centered dot in cyan blue for spaces. I have tried restoring the settings
to the defaults and it still shows up like this. Is there any way to turn
off this "feature"?
... more >>
Screen of a window
Posted by Christian Westerlund at 7/2/2004 1:53:01 PM
Hi!
Does anyone know how to take a "screendump" of a single window?
I have tried with some code I found on the Internet but I end up with a
picture of the screen with the size of the window. I only want the
window I specify with a handle to.
/Christian... more >>
Create Image OF remote web page(s)
Posted by Chad A. Beckner at 7/2/2004 1:09:10 PM
Hey all,
I've spent about two weeks trying to figure this out. What I need is a
script to
grab a webpage and display it as an (thumbnail?) image on one of my pages.
GotDotNet has a webservice to do this, but I need everything to be "local",
i.e. I can't call their webservice. Does anyone ... more >>
xslt transform xml data into to excel worksheet -- Urgent
Posted by Wilson Wu at 7/2/2004 11:51:08 AM
hi,
how can i use xslt to transform xml data into excel worksheet ?
XML file :
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="test5.xsl"?>
<dataroot xmlns:od="urn:schemas-microsoft-com:officedata">
<Employees>
<EmployeeID>1</EmployeeID>
</Employees>
<Oth... more >>
Checking existing data
Posted by Bonjour at 7/2/2004 11:29:18 AM
Hi everybody !
I' d like to check data before inserting.
Select @nb = Count (idCustomer)
From Customer
Where company like '%' + @company+ '%'
If "PEUGEOT SA" already exists, @nb > 0 if I enter "PEUGEOT".
On the other hand, if "PEUGEOT" exists, @nb =0 if I enter "PEUGEOT SA".
I tried t... more >>
Visual Styles
Posted by Curtis Wellborn at 7/2/2004 11:15:35 AM
Hey,
I have come into a bit of a problem.
When Flatsyle is on system it will not show my images that i have set in
image list or just in image.
Also somethings i have found online does not work because i coded the
application to change the flatstyles(if needed) to whatever theme the
user is us... more >>
Get name of an object passed to function.
Posted by Ken Varn at 7/2/2004 11:00:31 AM
Not sure if this is possible or not or if there is a better method for doing
this that I am not seeing. Anyhow, is there anyway to get the declared name
of an object that is passed to a function? See below:
public class TestClass
{
public String GetObjectName(Object O)
{
retu... more >>
HELP! Need to convert HTML Page To image
Posted by Chad A. Beckner at 7/2/2004 10:58:39 AM
Hey all,
I know this has been done using C++ (I have one with source code), but I
don't know C++ that well. Does anyone know of a C++ to C# converter? -
OR - does anyone know to to retrieve a web page as an image (not get an
image from a web page)? I need to do this for an application I a... more >>
debugger wont break , or step into, a particular method.
Posted by squarewave24 NO[at]SPAM hotmail.com at 7/2/2004 10:32:58 AM
for some reason my debugger will not break, or step into a particular
method.
i can copy that method to a different place, and it will step through
it. But no matter how i re-build my solution i cant get it to break in
the original place where the method is placed.
on the method call it lo... more >>
can ternary statements be nested?
Posted by Josh at 7/2/2004 10:27:07 AM
Dataset X DataBase
Posted by Rodrigo at 7/2/2004 10:24:06 AM
Dears,
I have had problems to save the changes made on a form to the database. When
I call the code bellow the changes are made only at the dataset, but when I
refresh the form the data keeps unchanged.
I need this help to continue with my project. If can help I can send the
full source.
p... more >>
Static methods and local data (Again)
Posted by Simon Harvey at 7/2/2004 9:49:12 AM
Hi everyone,
I'm still abit confused about static methods accessing locally declared
variables.
For example
public static bool executeNonQuery(){
SqlCommand cmd;
SqlConnection con;
.....
}
Is the above threadsafe? Can the cmd or con object be accessed by more than
one thr... more >>
Opening a Browser Window
Posted by Brian Conway at 7/2/2004 9:40:59 AM
I need help on opening a browser window in C# from a button click event.
This is the code I have and it used to work, but now all the sudden it
doesn't
private void btnChanges_Click(object sender, System.EventArgs e)
{
string sUrl = "ChangeForm.aspx";
string sFeatures = "'height=600,wi... more >>
For Loop and Reverse the result...HELP
Posted by cw bebop at 7/2/2004 9:36:29 AM
HTML code:
<form id="Form1" method="post" runat="server">
<asp:TextBox id="TextBox1" style="Z-INDEX: 105; LEFT: 120px; POSITION:
absolute; TOP: 64px" runat="server" Width="144px"></asp:TextBox>
<asp:TextBox id="TextBox2" style="Z-INDEX: 106; LEFT: 480px; POSITION:
absolute; TOP: 64px" runat="... more >>
Downloading a document form a web Server
Posted by Andrew at 7/2/2004 9:34:44 AM
I'm trying to download a document to a machine using the documents URL. I've been playing around with the HTTPWebRequest object but without any joy.
My code is
wrWebRequest = (HttpWebRequest)WebRequest.Create(strDocURL);
wrWebRequest.Credentials = System.Net.CredentialCache.DefaultCredentials... more >>
Compiling DLL from cs files
Posted by speonk NO[at]SPAM gmail.com at 7/2/2004 9:31:25 AM
Don't really know the first thing about ASP, but my question is -- how
can I compile a DLL from a group of .cs files? Looking to replace a
dll that had been compiled but now contains faulty data. thanks!... more >>
VC++ to C#.NET
Posted by Bob C. at 7/2/2004 9:27:19 AM
Hi All,
I was working on MFC ActiveX controls using VC++. Now i moved to C#.NET.
In MFC ActiveX we have DoPropertyExchange(), what is an equivalent to that
in C#.NET (System.Windows.Forms.UserControl)??
How do i store my control's property values and retrieve it?
Thanks,
Bob.
... more >>
Logging
Posted by Einar Høst at 7/2/2004 9:04:01 AM
Hi,
I'm doing some logging using the Trace-functionality in .NET, which works
pretty well for me. However, I'm wondering how I should go about logging
data about exceptions that occur. Lately, I've started writing code like:
try
{
...
}
catch (MyException ex)
{
HandleMyException(... more >>
how to call ambientproperty from COM control in .NET
Posted by heejaechang NO[at]SPAM gmail.com at 7/2/2004 8:01:40 AM
Hi. There
I am trying to do what the visual c++ can do using .NET framework - c#
MSDN : http://support.microsoft.com/default.aspx?kbid=183412
What I am trying to do is changing USER AGENT: string of web browser
control sent to a web server.
according to the MSDN, it seems it is possible usi... more >>
Assembly Required Permission Sets
Posted by BuddyWork at 7/2/2004 6:41:26 AM
Hello,
I want to know if there are tools out there that will
tell me what the minimum permission set that I require to
run my application. I've looked at PermView but this does
not do this. It just shows the specified permission sets.
I basically want the tool to scan my assembly and it's... more >>
Shared memory?
Posted by Jon Davis at 7/2/2004 4:21:47 AM
I really don't like the speed bottleneck of SOAP. Is it possible to have
shared memory, without using networking calls, within .NET?
It seems like even though protected memory was a godsend for memory leaks
and unauthorized access type stuff, we should at least be given a leash to
take the dog... more >>
how can I use the Serial COM port ???
Posted by Swatcat at 7/2/2004 4:08:01 AM
I have a device that send to my computer information by serial com port.
The comunication parameters are:
PORT: COM 1
Bits per second: 9600
Data bits: 8
Parity: None (0)
Stop bits:1
How can I receive or transfer DATA by COM 1 serial port ???... more >>
Debug.WriteLine in c# 2005 Express
Posted by AKA COOPERMAN at 7/2/2004 4:08:01 AM
As C# express only creates RELEASE builds, how do I get my Debug.WriteLine statements to work ?... more >>
multithread to richtextbox
Posted by zbcong at 7/2/2004 2:03:01 AM
hello
i put a richtextbox and a button on the winForm.when the button is clicked,it generate several threads to write to the richtextbox,the code snippet as following:
private void btnSend_Click(object sender, System.EventArgs e)
{
for(int i=0;i<3;i++)
{
Thread thread =new Thread(ne... more >>
Build comment web pages for "value" and "example"
Posted by ajikoe at 7/2/2004 1:55:05 AM
Hello,
I used Visual C# Standard Edition.
I want to comment my program using xml commentary method,
I don't know why if I use value and example tag, it is not working / showed in the html result.
for example I have Property
///<value>this is in description</value>
///<example>this is in Ex... more >>
c# code geneartion
Posted by Marek at 7/2/2004 1:40:19 AM
Actually, the very first question I should ask is "does it make sense at
all?". For 2 days I've been trying to generate C# classes using XML schema
and xsd.exe tool. So far the results are not exciting but I assume I am
seriously short of knowledge, so here I am - asking for help.
My friend i... more >>
Class for storing fixed width strings including validation
Posted by shofu_au NO[at]SPAM yahoo.com.au at 7/2/2004 12:58:52 AM
Hi Group,
Are there any examples of class for storing fixed width number strings
such as phone number and social security numbers.
This class would do thing like valid that the number is all integers
or hex and confirm that the number is the correct length. I
f the number is to short ret... more >>
Probably simple but I'm having trouble
Posted by Jim H at 7/2/2004 12:48:20 AM
I'm new to gui programming. I'm just doing some testing with forms. I've
dropped a com control on a form. When a user clicks and holds the mouse
down on the control I'd like to drag the form around with the mouse. How
would I do this? Even is it were a simple control like a label or panel,
... more >>
|