all groups > c# > june 2004 > threads for tuesday june 1
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
Building an VS.net-style Options dialog?
Posted by Colin Cashman at 6/1/2004 11:25:42 PM
What's the best way to build a dialog where a listbox on the left side
of the dialog determines which set of controls to display on the right
side of the dialog (similar to VS.net's Options dialog)?... more >>
Inheritage and classes
Posted by Summa at 6/1/2004 11:04:38 PM
Hi,
Can I somehow specify that Class A can inherit from Class B *and* Class C?
--
Thanks,
Summa
... more >>
How to decrease audio level
Posted by at 6/1/2004 9:45:38 PM
I wrote an application and I want to decrease "system's" audio level .I dont
want to do it via directshow must do it on directly window's wave volume
control.
Thankse
... more >>
Updown Domain Counter
Posted by Qumer Mumtaz at 6/1/2004 8:56:10 PM
h
I am using updown domain counter.I have following things in item collection of the control {3 day,2 day,1 day}.When I execute the program and press up button of domain counter nothing is happened. If I click down button again nothing is happened but after this if I click up button it works proper... more >>
What am I doing wrong with this? (DataRow)
Posted by vbMark at 6/1/2004 8:03:24 PM
When I call the below code what I get returned
is the string "System.Data.DataRow"
I don't understand how this works. What am I doing wrong?
private string GetData(string strQuery)
{
SqlConnection sqlCN = new SqlConnection(CONNECTION_INFO);
SqlDataAdapter sqlDA = new SqlDataAdapter(st... more >>
HTTPS File Downloader
Posted by Drew at 6/1/2004 7:46:03 PM
I have been looking all over the web for an example of how to accomplish this. I am trying to download a comma seperated file from a https server. I can't establish the connection - the error reads
System.Net.WebException: The underlying connection was closed: Could not establish secure channel ... more >>
.NET Code Obfuscation.
Posted by Vikram at 6/1/2004 7:03:25 PM
Hi,
I need some advice on making the choice for a good code obfuscator. I have
looked at Dotfuscator from Preemptive.
Some of the disadvantages they list with their dotfuscator product are:
1. Applications making use of .NET Remoting will not work as is.
2. Applications making use of .NET R... more >>
confused
Posted by Robert Blackwell at 6/1/2004 6:56:16 PM
I don't understand this.
Example 8-4 declares a constructor for the Time class that accepts a single
argument, and object of type DateTime. DateTime is a type provided by the
..NET Framework Class Library.
it looks to me as though it's passing 6 single arguments all of type
int...it'd be... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Static?
Posted by Bruno Rodrigues at 6/1/2004 5:57:13 PM
Hi
In a class with simple methods like:
Products.Insert(string name, string desc)
Products.Update(int id, string name, string desc)
Products.Delete(int id)
What is better? Static or common methods? This objects do not need
instances.
I have a lot of c... more >>
Windows Address Book
Posted by Sam Martin at 6/1/2004 5:52:37 PM
hi all,
In between banging my head against a brick wall, i'm trying to find out how
to access the windows address book from my C# application.
has anyone done this or got any ideas on how i can do it. i know there's
something like a wab32.dll but is it a COM component?
Any help appreciat... more >>
Re:Image
Posted by Navin at 6/1/2004 5:46:16 PM
Hi
When open the form for the first and try to retive the image from database i
can retive it very fine. Even if i save and update its work fine but ?? when
close the form and try to reopen it the image isnt loaded it raises error.
Specifying that image is in buffer so couldnt load?? how can i... more >>
C# Parser
Posted by at 6/1/2004 5:41:32 PM
Does anyone know of a good C# parser (freeware/open source). I'm looking for
something fast and easy to use, preferably with a CodeDom-like structure.
TIA!
Dan
... more >>
Locating Special Folders?
Posted by news.microsoft.com at 6/1/2004 5:21:00 PM
I'm researching ways to locate so-called special folders such as "My
Documents", "<username>\Application Data", etc. I've found references to
Application.CommonAppDataPath(), etc, but those are too limiting.
I'm really looking for managed-code equivalents of SHGetFolderPath(). Is
there such ... more >>
Delegates
Posted by Sam at 6/1/2004 5:11:04 PM
I’m just starting to learn delegates. I’m at the very beginning. If I understand correctly, delegates are for when you want to pass a function as a parameter. For example the client provides a custom function to be called in a provider class. My confusion is that you can already achieve this by ... more >>
Question on building Web Custom Controls
Posted by alkamista NO[at]SPAM lycos.com at 6/1/2004 4:52:55 PM
The 'Render' method of a Web Custom Control takes an argument 'output'
of type System.Web.UI.HtmlTextWriter. This HtmlTextWriter renders any
content in the 'Render' method.
I am trying to render the content of my control in ANOTHER method.
When I try to create a new HtmlTextWriter in that meth... more >>
Adding eventhandler to control
Posted by Neven Klofutar at 6/1/2004 3:38:57 PM
Hi,
How can I add an even handler to a control that is not situated on the main
page (it's situated in the repeater).
How do I rewrite this to make it work ?
Thanx, Neven
---------------------------------------------
this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click)... more >>
radomize a number list
Posted by William Stacey [MVP] at 6/1/2004 3:26:00 PM
int[] list = {1,2,3,4,5,6};
Function to randomize the list?
Cheers!
--
William Stacey, MVP
... more >>
Threads in remoting
Posted by John Wood at 6/1/2004 3:23:58 PM
I have a thread safe singleton SAO. When clients invoke a method on the SAO,
I want the invocation to run in a new thread in the threadpool, not the
thread in which the object was created. Basically each client that has a
reference to the SAO should run in a new thread dedicated to that client.
... more >>
Hashtable Key limit
Posted by MFRASER at 6/1/2004 3:00:13 PM
Is there a limit to the size of a key for a Hashtable. I am adding items to
a hashtable using a string for the key and it seems that when my key is 16
characters long the indexer does not work properly. If I truncate the key
to be 12 characters the indexer works.
Also is there a better way t... more >>
Must specify value for source
Posted by Ian Frawley at 6/1/2004 2:47:08 PM
Hi all,
I have written a service that I cannot seem so install due to the =
following error:
The description for Event ID ( 11001 ) in Source ( MsiInstaller ) cannot =
be found. The local computer may not have the necessary registry =
information or message DLL files to display messages from ... more >>
exe & dll
Posted by Avin Patel at 6/1/2004 2:46:03 PM
Hi
I have C:/dll/xyz.dll & C:/test/test.exe, test.exe uses the xyz.dl
I have 2 questions
1) How can I define the search path for xyz.dll(library) at runtime for test.exe. I need any sample program
2) How can I copy the xyz.dll into test.exe. So I don't need xyz.dll at all
I am using the comm... more >>
Why doesn't override hide parent methods???
Posted by Bob Rock at 6/1/2004 2:43:49 PM
Hello,
I've noticed that in a child class that is overriding the parent's abstract
class methods, these abstract methods are still available.
Is this behavior correct??? Shouldn't overriden methods be hidden and be
accessible only through the base keyword??? In my case since the base class
an... more >>
xml as database
Posted by Matteo Cima at 6/1/2004 2:32:18 PM
Hi,
I googled and searched in the newsgroup, but still can't find a way to
follow, can't find any example!
I'd love to use xml as a little database for my c# app, just having 2 tables
and a few records, and I also want to do this as a "proof of concept".
What I want to do is just use select, in... more >>
treeview
Posted by Rob Webster at 6/1/2004 2:26:05 PM
Hi,
is there a way I can get the full contents of a treeview control to print?
Rob
... more >>
MAPI and CDO
Posted by Jason at 6/1/2004 2:04:28 PM
Hi All
I am not sure if this is the right place to post, but i would like to
know...
1. CDO is just a wrapper for MAPI correct?
2. if someone wanted to use MAPI and CDO, you would have to install MS
Office correct?
Thanks
Jason
... more >>
"There is no source code available for the current location"
Posted by Randy at 6/1/2004 1:53:49 PM
Hello All,
I've got an app which performs a simple query to a web service and stores
the returning data in a DataSet. The first time through it works find and as
expected. The problem is that the second time I step through and I step on
the line
myDataAdapter1.Fill(tempds);
I get the IDE error... more >>
How to Ping and Get Results
Posted by JC at 6/1/2004 1:45:40 PM
Hi,
I need to write an application that pings servers and displays the
results. Can someone point me in the right direction?
thanks,
jc
... more >>
"Redirecting" an incoming socket connection?
Posted by cabadam NO[at]SPAM tamu.edu at 6/1/2004 1:16:26 PM
I am trying to work-around a firewall which limits me to only being
able to accept inbound connections on port 80. Unfortunately, I need
to two different applications to be able to accept connections. I
know of no "standard" way to make this work (and, its quite possible
that I am on the total... more >>
string length limit in args sent by ISynchronizeInvoke?
Posted by Tom Dacon at 6/1/2004 12:23:42 PM
I'm raising an event in a component, using ISynchronizeInvoke.Invoke, and my
event args object contains a string as one of its members. If the string is
longer than 63 bytes, the Invoke call pulls an unhandled exception in
System.Windows.Forms.dll, to the effect that the string length must be les... more >>
.NET components version consistency
Posted by Ostap Radkovskiy at 6/1/2004 12:22:12 PM
Hi!
How can I achieve the situation like that:
there is some application (.NET) and it is using some class library
(strongly named, installed by .msi, registered within GAC). I'd like to have
a crash on my client application when the class library version differs from
the one compiled with my... more >>
Inserting string at cursor position in textbox
Posted by Paddy at 6/1/2004 12:18:32 PM
Given
textBox1
string textBoxMsg
string Wrd
How do you insert Wrd in textBoxMsg at the cursor position in textBox1?
Thanks.
... more >>
C# seems to lack function that PHP has
Posted by harrylmh at 6/1/2004 12:08:22 PM
I want to check if a string "123" is a number. but C# seems to lack a
method tat does tat. the closest is char.isNumber where you can only
check one character at a time anyway.
Anyone knows a way around this? Or is there a method to do this
already?
Thanks... more >>
Using inner controls from a tab page control
Posted by pnp at 6/1/2004 12:06:32 PM
I have a tab control and in each tab a custom control. All the custom
controls (different amongst them) have a common function.
What I want to do is when a user clicks on a tab, I want the function of the
control in the tab page to be called. Is there a way to do this without
using a switch stat... more >>
DateTime problem
Posted by Timothy V at 6/1/2004 11:42:14 AM
Hi,
I'll simplify my problem by asking this.
If i have:
string tempS = DateTime.Now.ToString();
DateTime tempDT;
How do i store tempS into tempDT so that tempS = tempDT.ToString().
Thank you very much advance,
Tim.
... more >>
How are inherited methods/properties hidden?
Posted by Sam Sungshik Kong at 6/1/2004 11:24:16 AM
Hello!
While using panel control, I wondered a thing.
Panel class is subclass of Control class.
Control class has KeyPress event and Focus() method, etc...
Then Panel class must have them.
I guess it *has* then behind even if they are not meaningful.
However, the code complete tool doesn't s... more >>
How to retreive the application Icon
Posted by Wayne at 6/1/2004 11:06:09 AM
I currently have an app whose Icon I am setting. I want to set the icons in
my forms at run time to that of the application icon. How do I retrieve the
application Icon so that I can use it for my forms? once retrieved can I
just set the form Icon? or do I need to do something special?
Thanks
... more >>
form problem
Posted by frazer at 6/1/2004 10:47:19 AM
hi
i want to store user preferences
like when teh app was last opened i want to store the window height and
width. and then display the form in the same position to the user the next
time the app starts.
i store this.height in a xml file and then read the xml file and assign
that height to t... more >>
Convert and Int32 value into a Character
Posted by Joshua Russell at 6/1/2004 10:46:09 AM
Hi,
Can anyone tell me how I can convert an Intager value such as '66' into the
letter 'f' (using ANSI ASCII).
Thanx Josh
... more >>
Code-Behine VS inline-Coding
Posted by Reza Alirezaei at 6/1/2004 10:37:35 AM
when we should use Code-Behine and when inline-Coding??? which one is better
and why???
thanks for your time
... more >>
Email Formatting is it Possible?
Posted by Brian Conway at 6/1/2004 10:18:21 AM
Is there a way to be able to format how an email looks ?
Mail.Body = TextBox1.Text
TextBox2.Text
TextBox3.Text
Something like that just so I can make certain information go to different
lines.
... more >>
Quick Question
Posted by Sammy at 6/1/2004 10:16:39 AM
Hi,
I want to make the enter key function like the tab key in WinForms. I used
to do it in VB6 using the code below:
If KeyAscii = 13 Then ' The ENTER key.
SendKeys "{tab}" ' Set the focus to the next control.
KeyAscii = 0 ' Ignore this key.
End If
I underst... more >>
auto incr
Posted by frazer at 6/1/2004 10:00:18 AM
hi
i have created a dataset manually.
is ther any way to have auto increment in it?
... more >>
WebClient with username + password
Posted by Ram Baruch at 6/1/2004 9:53:56 AM
Hi,
I'm trying to use WebClient class to upload data. In order to upload it, I
need to use my username and password. Does somebody know how can I set it in
the WebClient class?
Regards,
Ram.
... more >>
How to debug the Designer
Posted by °Ë´óɽÈË at 6/1/2004 8:54:11 AM
As you know, we can write our Designers for our controls, and they
would be called in design time of vs.net IDE. But how to debug them?
... more >>
Row index
Posted by Mohammed Abdel-Razzak at 6/1/2004 8:36:04 AM
dir sir
I made a database contains a table named CONTACTS has the following attributes (Cont_id, Cont_Name, Address, Email, ...
In my application I have the value of the Cont_id, and I want to get the Index of the row(in the dataSet) that contains that Cont_i
(I`ve used OleDBDataAdapter and data... more >>
Converting TextBox to number only
Posted by Brian Robbins at 6/1/2004 8:27:29 AM
In standard C/C++ SDK, MFC, or VCL if I wanted to make a
TextBox (CEditBox, TEditBox, etc.) only except numbers I
have dozens of ways to handle it. But none of those
methods are working in C#.NET. I may be just having a
paradigm shift issue and I just don't understand new the
methods ful... more >>
Help me about Smart Client
Posted by Ê·½¨çù at 6/1/2004 8:21:41 AM
ÎÒºÍÄÇλÈÊÐÖÊÇÒ»ÑùµÄÎÊÌâ.ÓÃautoUpdate×é¼þ¸ù¾Ý
I use autoUpdate component follow this instruction
http://windowsforms.net/articles/appupdater.aspx
But it always occored this error£º
/*--------------------------------------------------------------------------
-------------------
Unable to auto-d... more >>
how can can I read the string(double bytes) from a text file.
Posted by flybird at 6/1/2004 8:11:09 AM
how can can I read the string( doubule characters:kanji or chinanese character ) from a text file using C#.... more >>
Security - Best Encryption Mechanism
Posted by gaurav.khanna NO[at]SPAM wipro.com at 6/1/2004 7:38:59 AM
Hi
I need to store the credit card information in my database. I have
been looking for some third party tools which could provide encryption
for credit card numbers.
The help I need is:
a) What is the most secure encryption tool that can be used to store
credit card information?
b) ... more >>
Events with Dynamically created controls.
Posted by dwilliams NO[at]SPAM odyssey-sw.com at 6/1/2004 7:30:48 AM
Everyone:
I have a WinForm in which I dynamically create tabs based on some user
input. Inside those tabs are some text boxes for data. I can do
everything but fire events properly. I have a click event for one of
the text boxes on each tab. When I click on the text box the event is
fired... more >>
SQL syntax highlighting optimization
Posted by Johnny at 6/1/2004 6:46:03 AM
Sorry I posted this post earlier but got the name and subject the wrong way round (new to this!) so it perhaps didn't look right
Sorry for that. But please please answer if you know anything about it..
Thanks
I've got a procedure that is responsible for performing the following operations on a ri... more >>
Method Focus()
Posted by Christian Pické at 6/1/2004 5:08:11 AM
Hi,
I want to set the focus to a specific textbox. When using somthing like
textbox1.Focus() it doesn't do anything. Am I missing something here?
Regards,
Christian
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!... more >>
Data Grid cell value
Posted by Mohammed Abdel-Razzak at 6/1/2004 4:16:02 AM
dir sir
I have a problem with the data gri
I want to get the data in the selected cell and store it in a strin
How can I do that??!
thanks si
Mohammed... more >>
Authenticating with a Proxy server to connect to an external https server
Posted by x54 at 6/1/2004 4:01:04 AM
I need to authenticate against a proxyserver to create and external connection? how do i do this
Is it possible? I will have access to usernames and passwords
Thanks.... more >>
richTextBox
Posted by Bad_Kid at 6/1/2004 3:29:21 AM
1.) How to know which line is 1st line that user can see, and which is
the last one shown on screen (in that control)???
2.) how to make event for vertical_scrollbar (if it is moved...)???
... more >>
# include directive
Posted by Sameer at 6/1/2004 2:26:03 AM
I have two C# aspx pages( base.aspx and newfile.aspx
1. newfile.aspx only contain
=======================
<
Response.Write(Session["strUsrId"])
%
=======================
There is no newfile.aspx.cs file assocaited with it. only newfile.aspx
2. base.aspx contains ( all aspx page info +... more >>
C# on Linux (or other platforms)?
Posted by Mike at 6/1/2004 2:17:33 AM
Hi,
Is it possible to run C# on other OSes, such as Linux, etc.? I heard =
about a "Mono" project, but could not find any useful information.
Thanks
Mike... more >>
z-index order
Posted by saato at 6/1/2004 1:01:03 AM
in c# windows application i add buttons(different location and size) on panel.but some buttons disappear.i want to set z-order ascending.like 1st button z-order 1 and next button 2 ....but i cant set this property.instead of it i use bringtofront(), but it doesnt work what i want.how can i solve thi... more >>
quick issue
Posted by troy at 6/1/2004 12:03:30 AM
Hey guys - I seriously need some help. got an assignment due tomorrow and
I'm totally stuck. Here's my comment and and I need help with the code to
update the database as well as delete items. Any help is appreciated.
thanks
using System;
using System.Collections;
using System.Componen... more >>
Convert C# to Java (and viceversa)
Posted by Mike at 6/1/2004 12:00:45 AM
Hi,
Does anyone know of reliable programs that convert C# to Java and =
viceversa?
Thanks
Mike... more >>
|