all groups > c# > november 2003 > threads for saturday november 15
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
Value of a HScrollbar
Posted by Eddy at 11/15/2003 10:49:47 PM
Hi,
I set the maximum value of an HScrollbar on 255. When I scroll to the
maximum, the maximum value remains 246.
How is this possible??
I put some code in the Scroll event, make the HScrollbar.Value appear in a
TextBox.
Also the ScrollEventArgs.NewValue remains 246
Thanks
Eddy
... more >>
how to set MulticastInterface
Posted by PHLICS_Admin at 11/15/2003 10:45:45 PM
Hi All,
Following code is used to set multicast interface :
IPAddress ipLan = IPAddress.Parse("...");
int iIP = (int)(ipLan.Address) ;
this._clsMCastSender.SetSocketOption(SocketOptionLevel.IP,
SocketOptionName.MulticastInterface , iIP) ;
When the IP address is "192.168.0.231... more >>
how to know the user press the left button and the right button at the same time?
Posted by vulgate at 11/15/2003 10:42:50 PM
i use
arg.button==( MouseButtons.Left+MouseButtons.Right)
but the system promote the the type cant +
who can help me ~
... more >>
Find the series...pointers please
Posted by Sriram Krishnan [at] gmx [dot] net at 11/15/2003 8:58:25 PM
Given an arbitrary number series, how do I identify the series and find the
Nth number...
for e.g 1,3,5,7 is an AP and the next number will be 9
1,8,27,64 is the series of cubes and the next will be 125
1,1,2,3,5,8 is the Fibonacci series
The thing is I'll be given the series only...I have t... more >>
How to deploy an assembly in IE, as a cab file
Posted by mqsash at 11/15/2003 8:49:27 PM
Hi
Problem : Unable to deploy an assembly in IE, as a cab
file. (Works fine when deployed as a dll )
Description :
I have created a assembly (.dll) in C# which I
deploy in IE. The dll name is test.dll and the object tag
in the html page is as follows.
<OBJECT ID="myAssembly"
classid=... more >>
String to Integer
Posted by yuen at 11/15/2003 8:45:49 PM
Hi all,
I am new to C#. How can I convert string to int? Thx
... more >>
Array initialisation: What's wrong?
Posted by Axel Dahmen at 11/15/2003 7:56:41 PM
I don't get it. Within a function I want to define a constant array of
strings. But the compiler gives me error CS0133: "The expression being
assigned to 'dbParams' must be constant".
What am I doing wrong here:
private string myFunc()
{
const string[,] dbParams={{"tas", "... more >>
Peer -To-Peer File Transfer in C#
Posted by Ch. Khurram Majeed at 11/15/2003 6:28:01 PM
I am loking for Peer -To-Peer File Transfer in C#.
If any one has knowledge about it is p2psdkat msdn plz
contact.... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
circular dependency
Posted by Mike at 11/15/2003 6:16:25 PM
I ran into a problem with circular dependencies. My code
looks somthing like:
using B
namespace A
{
class formA
{
void foo()
{
formB B = new formB();
B.show();
}
void changeMenu()
{
...
... more >>
Peer-to-Peer File Transfer
Posted by Khurram Majeed at 11/15/2003 6:15:56 PM
I am looking to Peer-to-Peer File Tranfer in C# can any
one have relevant info....... more >>
Deterministic finalization -- how will clients of my stuff cope?
Posted by Ted Miller at 11/15/2003 6:13:29 PM
Hi folks.
So I'm in the middle of porting a large (previously COM-based) imaging
library to .Net. The clients of this library are VB programmers within the
company I work for. Their code will be getting ported to .Net at some point
in the near future too.
In the .Net world, many of my objec... more >>
Creating a new field in MS SQL server
Posted by Maziar Aflatoun at 11/15/2003 3:29:09 PM
Hi,
Does anyone know how I can create/remove table fields in Microsoft SQL
server using C# code?
Thank you
Maziar A.
... more >>
How to add * operator to Point class?
Posted by Norvin Laudon at 11/15/2003 3:26:15 PM
Hi,
How can I add a multiplication operator to an existing class ("Point")?
<i.e.>
Point newPoint = new Point(existingPoint.X * scale, existingPoint.Y *
scale);
</i.e.>
I can't seem to create my own class and inherit from Point, since it is
sealed... (I think it's actually a struct).
... more >>
Encoding MPG to AVI
Posted by Austin Ehlers at 11/15/2003 3:08:32 PM
Hey all,
Is there any resources that describe encoding video files? I know
there are various tools available, but I need to do it
progammatically.
Thanks,
Austin Ehlers... more >>
Single more 'powerful' than Integer although both use same amount of bytes ???
Posted by Chris at 11/15/2003 2:58:59 PM
Hi,
a Single and Integer variable each take 4 bytes.
(check on :
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vblr7/html/vagrpdatatype.asp)
But how come then that the range for valid values for an integer is
-2,147,483,648 through 2,147,483,647
(OK: 2pow... more >>
C# will not write the entire string to the registry
Posted by Dean Bortell at 11/15/2003 2:49:39 PM
I have a program that encrypts a datetime objects "to=20
long datetime string" string to and encrypted sequence. =20
The problem is this: if I use the following source code=20
it works (key is declared earlier and works fine):
string valueName=3D "Date Installed";
key.SetValue(valueName, "=B... more >>
HTML upload a file
Posted by Jacques Cooper at 11/15/2003 2:06:28 PM
Hello,
How do I upload a disk file using HTML?
For example, many job boards allow you to upload
your resume to their site.
Thanks,
Jacques
... more >>
Printing / turning 90 degrees
Posted by Patrick De Ridder at 11/15/2003 12:07:17 PM
How can I turn what I want to print 90 degrees using the logic below?
Please tell me the code with which to make the modification.
Many thanks,
Patrick.
using System.ComponentModel;
using System.Drawing;
using System.Drawing.Printing;
using System.IO;
using System.Windows.Forms;
publi... more >>
Checked exception compensation - compiler option?
Posted by Bear at 11/15/2003 11:44:15 AM
Hello there
Is there a compiler option which outputs warnings about exceptions that are
not caught in VS2003?
--
Best regards
Bjoern D. Rasmussen
www.bearware.dk
... more >>
Sending messages to NewsGroup
Posted by Mortel at 11/15/2003 11:31:11 AM
Hi,
I have one question. Can you give me any link or answers about sending
messages to news groups server. I must do that but I don't know how do that.
What object I must use ?
Thanks all.
Boniek
... more >>
brand new to Oops... question, help please?
Posted by Jim at 11/15/2003 11:25:38 AM
Hello...
I have just completed chapters 1-9 of Jessie's Learning
C#. Great tutorial! But, talk about method overloading,
I'm overloaded with OOPs! Can someone offer me some
advise, please?
I have a page of code now with a class named Time and a
Class named Tester per the example in ... more >>
Binary file difference
Posted by Yancey B. Jones at 11/15/2003 11:02:35 AM
I am looking for an example or a resource on how to compare two versions of
the same file and create a third file that contains only the difference. I
then want to be able to take the first file and apply the third file to it
to re-create the second file. There are some backup programs that do
s... more >>
Question !!
Posted by News charter at 11/15/2003 10:41:01 AM
How would you tell what information in a datawindow was changed by the user?
What command would you use to identify datawindow records that were changed
by the user?
Thanks.
... more >>
class method verses static method: whats the difference?
Posted by Taylor at 11/15/2003 10:19:18 AM
"Static" is synonymous with "class" with regards to members (methods and
fields) right? Sometimes I hear refrence to the "static method" and
sometimes its refered to a "static method."
Is there a subtle/grand difference between the two?
For example here
http://msdn.microsoft.com/library/de... more >>
DynDns Update with c# client
Posted by André Heuer at 11/15/2003 9:15:49 AM
Hi,
i want to write a .net class that can update my ip address at the dyndns
service (http://www.dyndns.org).
When I open the page
https://username:password@members.dyndns.org/nic/update?system=dyndns&hostname=MyHostNameHere&myip=MyCurrentIpHere&wildcard=on
i get the response
nochg 8... more >>
Enumeration howto...
Posted by Andrew Connell at 11/15/2003 9:06:50 AM
I'm trying to use enumerations to hardcode or mask (can't find the exact =
word) for my database table fields. For example:
public enum authors
{
FirstName =3D "FirstName",
LastName =3D "LastName"
}
What I'm trying to do is get the actual underlying value of my enum... =
and I'm... more >>
ATL with C#?
Posted by Jamie at 11/15/2003 9:04:04 AM
Hello,
I am new to .Net and my previous experience is developing ATL COM dlls with
C++ (Version 6). I'm wondering if there if a C# solution that is similar to
this? I see that C++ 7 still has the ATL projects but what can I develop in
C# that is equivalent in functionality to a com dll?
t... more >>
Socket Example Wanted
Posted by Anders Both at 11/15/2003 3:59:31 AM
Does anyone know of a good asynchronous socket exsample. There are some
exsamples in the documentation and around on the net. But they are all in
the same way: The server reseived a connection from the client, read
something and send something back.
A need an exsamlple were a client connect´... more >>
|