all groups > c# > july 2007 > threads for thursday july 5
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
How to auto check a checkbox ?
Posted by Boki at 7/5/2007 11:22:38 PM
Hi All,
About the webbrowser, I can do the auto fill in text now.
Now, I have another problem, I can't do auto check a checkbox.
Whatever what value I set to the checkbox, it is still showing un-
checked.
Could you please advice ?
Best regards,
Boki.
... more >>
Freelance Programmer / Developer
Posted by at 7/5/2007 10:57:09 PM
Hello,
I have over 7+ years of experience in software development.
I am software developer looking for freelance or Full Time work, do
you have any work that need to done.. buzz me at sumeet.leo @
gmail.com
my skill sets:
..NET(ASP.NET / C# / VB.NET)
VB,
ASP (VBScript & Javascript),
S... more >>
Use [,][] as parameter
Posted by Macneed at 7/5/2007 10:42:09 PM
hi i am a newbie of C#
can i use [,][] as a ref parameter?
like this
main...
{
int[,][] idata as [100][200][];
define... = new [10 or other]...
Calc(ref idata);
}
public static void Calc ( ref int[,][] inputdata )
{
....
}
i run this but has an error
can i use [... more >>
C# questions
Posted by Sameeksha at 7/5/2007 10:38:01 PM
Is there any comprehensive list of C# questions, attempting which
successfully *should* result in success in any C# experience level interview?
This may not be the best place to ask this question, but I thought people
might know about this.
--
Thanks,
Sameeksha
MCAD.Net... more >>
OT: Alternatives for persisting work in progress.
Posted by Bob Johnson at 7/5/2007 10:12:54 PM
I would appreciate your thoughts, perspectives, and opinions on the two
design alternatives described below for the following requirement (to be
implemented in a distributed system with both a Windows Forms and an ASP.NET
client (Framework 2.0).
I have a requirement to enable users to start... more >>
Left-justify text using DrawString
Posted by RobinS at 7/5/2007 9:33:16 PM
Is it possible to left-justify, center, or right-justify text on a panel
when drawing it using DrawString?
I looked at the StringAlignment class, but all it has is far, near, and
center.
Thanks,
Robin S.
... more >>
Calling web services from C#
Posted by Jon Harrop at 7/5/2007 5:29:31 PM
Here is a simple web service request written in Python:
rom SOAPpy import WSDL
wsdlFile = 'http://www.xmethods.net/sd/2001/TemperatureService.wsdl'
server = WSDL.Proxy(wsdlFile)
server.getTemp('90210')
What is the most elegant way to write this in C#?
--
Dr Jon D Harrop, Flyi... more >>
string.Compare / OrdinalIgnoreCase
Posted by Rene at 7/5/2007 5:23:20 PM
Hi,
It was my understanding that when comparing strings using
"OrdinalIgnoreCase" as the method to compare the strings, the .Net compared
the strings by first capitalizing all of the characters on the string and
then making an ordinal comparison (Unicode code point comparison).
I guess ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Hi Hi Hi are you Searching for Happiness
Posted by abdo911 at 7/5/2007 3:49:23 PM
Happiness is a common goal that everyone strives to attain.
Philosophers, intellectuals, doctors and artists alike have all
strived in search of the causes of happiness and ways to escape
anxiety.
The reality is, however, that the proposed solutions achieve only
partial or superficial happ... more >>
List of breakpoints in VS2005
Posted by Jeff at 7/5/2007 3:19:10 PM
Hey
How can I get a list of breakpoints in Visual Studio 2005, while the loaded
solution is in Edit mode (not running or not debugging)...
I'm trying to learn thousands of uncommented C# code and if I had some kind
of bookmarks (breakpoints) I then could more easly scroll to those specific... more >>
this should compile but doesn't
Posted by not_a_commie at 7/5/2007 3:08:34 PM
Can anyone tell me what's wrong with the following code? It doesn't
compile. The compiler tries to use the wrong overload. Is it a known
bug? Thanks for your time.
using System;
using System.Collections.Generic;
using System.Text;
using System.Xml;
namespace BadOverloads
{
[Attribute... more >>
C# Generics: cannot convert 'System.DateTime' to 'T'
Posted by groups NO[at]SPAM lfsh.com at 7/5/2007 2:57:08 PM
This is my first foray into writing a generic method and maybe I've
bitten off more than I can chew.
My intent is to have a generic method that accepts a value name and
that value will be returned from the source. My first attempt was as
follows; (please ignore that error handling is not pres... more >>
Changing Visible property in Form changes location.
Posted by Doc John at 7/5/2007 1:44:36 PM
I have an MDI container with a child Form which will be visible according to
certain events. The problem is that when I set the property Visible to False
and then back to True, the Form will be in another location, or it will be
maximized.
Why does the child Form change its location when t... more >>
double arithmetic question...why?
Posted by kilik3000 NO[at]SPAM gmail.com at 7/5/2007 1:09:09 PM
This may be a dumb question but...
When running the following code:
//...
int price = 57;
double taxedPrice1 = price + (price * .18);
double taxedPrice2 = price * 1.18;
//...
Why does taxedPrice1 == "67.26" while taxedPrice2 ==
"67.259999999999991" ?
-Thx
... more >>
Giving focus to radio button without selecting it?
Posted by wtfxxx NO[at]SPAM gmail.com at 7/5/2007 12:21:17 PM
Hi i've a keyboard based UI that needs to give focus to a radio button
but not select it until the user presses a key (Enter most likely).
But unfortunately Focus and Selecting are bound together... how can I
fix this issue?
Thanks in advance.
... more >>
Communicating Between Threads
Posted by at 7/5/2007 12:00:00 PM
Hello:
I want to have a class that sends messages to a textbox. However, I
want the message sender to be in a different thread than the message
displayer, so users can scroll through the messages.
How do I communicate between these threads?
Thanks,
Travis
... more >>
C# + BackButton + Session = Dang! I'm Lost!
Posted by FlashMerlot at 7/5/2007 11:24:01 AM
We're using C# & VS 2005.
In our app ... someone is "logged-in" if Session("companyID") exists and is
non-zero.
How do we implement a "Logout" button that signs off session, sets
Session("companyID")=0, and prevents another person from (later) using the
BACK button ... in the SAME IE wi... more >>
Regex. How can this match?
Posted by Ethan Strauss at 7/5/2007 11:15:43 AM
Hi,
I have written a regular expression which is supposed to pull a
direction (forward or reverse) designation from a file name.
Unfortunately, the direction designation can either be the whole word
("Forward" or "Reverse") or just a single letter ("F" or "R") and the rest
of the... more >>
single byte characters ? how many bytes for 37 characters ?
Posted by bitshift at 7/5/2007 10:43:07 AM
Im pulling a string out of a text field in sql and into a byte array in my
C# code. Help frefresh my memory here, a single asci character is 1 byte
correct ? So why is a string that is 37 characters long, result in a byte
array that is 2224 elements in length ?
... more >>
Question about comparing comma separated lists
Posted by Brian Simmons at 7/5/2007 10:11:21 AM
Hi All,
Thought of several ways to accomplish what I want to do, but I'm asking to
see if perhaps there a preferred method or super efficient way.
Say I've got 2 strings which are comma separated lists:
"1,2,3,4,5"
"5,4,3,2,1"
I want to make sure the 2 lists are equal, i.e. they contain... more >>
Check users directory permissions
Posted by gareth at 7/5/2007 9:01:41 AM
Hi,
Does anyone know of a way of finding out if the currently logged in
user has read access to a directory without trying to open the
directory??
Thanks
gareth
... more >>
IIS and UNC
Posted by Vai2000 at 7/5/2007 7:55:28 AM
Hi All, I have a web svc which internally has a dll which makes call to a
UNC share to read a file. Shockingly there has been an exception in reading
the UNC file....
I have ensured all permissions and just about everything....
OS Windows 2003
IIS 6.0
Code running under 1.1 framework
... more >>
pls explain fault Type.IsGenericParameter
Posted by andrewcw at 7/5/2007 7:46:09 AM
base {System.SystemException} = {"Method may only be called on a Type for
which Type.IsGenericParameter is true."}
I have created a simple DLL.
using System.Collections.Generic;
using System.Text;
using System.Collections;
namespace foonamespace
{
public class foo : HeatDrivers.Ifoo
... more >>
Extract Comments At Runtime
Posted by msedi at 7/5/2007 7:16:42 AM
Hello,
I'm creating an application where I have several plugin modules which
are either loaded at startup or loaded during lifetime of the
application. These modules are used in a graph based style where
module can be linked together in order to process images. Since I have
added comments to ... more >>
Thread
Posted by OldButStillLearning at 7/5/2007 7:00:01 AM
OK, I am trying to use a thread for the first time. I did not realize that
when you create a thread that you specifically have to go into the debugger
and identify the thread you wanted to look at. So now I have done that and
the first instruction of the method which is invoked by the Thread... more >>
Free memory allocated by dll
Posted by ShaunO at 7/5/2007 5:44:02 AM
Hi,
I am calling a delphi .dll that returns a pchar (pointer to char array).
I use this as a string - however when done I believe that i need to free the
memory that the pchar resided in.
1) Do I need to do this
2) How do i go about freeing the memory that my application did not allocate?
... more >>
linking Forms
Posted by Rushd at 7/5/2007 4:58:02 AM
hi,
ill describe my program first, so you will get the idea..
its like this,
Main form.. with some buttons, one of the buttons is "Change Form Setting".
when you click that button, it opens new form window "Setting Form" Window.
now, i have two questions:
1. after opening the "setting form" ... more >>
Reach the folders
Posted by begum at 7/5/2007 4:19:13 AM
Hi everybody;
It's me again :). We have folders and that folders has another
folders. We want toread all te text files in that folders. We can only
reach main folder and second subfolder.How can we reach lower-level
subfolders.We try to write a loop function bu we didn't. Can anybody
help us... more >>
How do I manually create an icon in the system tray?
Posted by Joseph Geretz at 7/5/2007 1:51:01 AM
The conventional approach is easy enough; drop a NotifyIcon onto a Form.
When the form is loaded - bingo - the icon appears in the System Tray.
I can't use this approach though. I'm writing a service. But I'd like my
service to install an icon on the System Tray so that the user can start /
... more >>
Why am I printing blank pages in RichTextBox when I use the MS co
Posted by Pucca at 7/5/2007 1:46:00 AM
Hi, I use the code I found at http://support.microsoft.com/kb/812425/
I follow all instruction there except I dind't create a new project, instead
I just use the customised richtextbox in my own project. Also, my form that
uses the new customized contorol is not named as form 1.
Can any one... more >>
Accessing classB from ClassA property. (Sort of Nested Class)
Posted by Paul Richardson at 7/5/2007 12:55:21 AM
Hi,
What i'm trying to do is assign a class (i.e. UKPostCode) to a propety of
the UKAddress Class.
So for example:
class UKAddress
{
public string AddressLine1
{
get { ... }
set { ... }
}
....etc.
public UKPostCode ... more >>
adding a COM dll as reference during runtime
Posted by shubhlu NO[at]SPAM gmail.com at 7/5/2007 12:35:45 AM
hi
I have a problem that I have a COM dll and i need to access the
methods in that dll. But what is required here is that the dll needs
to be added as a reference only during runtime and not like they are
generally added (Project-->Add Reference-->COM). Is it possible to do
that?
Please he... more >>
Marshal object as a byte array.
Posted by repekto.argosoft NO[at]SPAM gmail.com at 7/5/2007 12:00:00 AM
Hi,
I'm working with Marshalling. I got an idea to pass an object to the
Native side as a byte array i.e. as void* in terms of C.
For example:
I have a .NET structure Point that contains two fields X and Y that
means that the byte array representation will look in the memory like
this: "... more >>
Copy of a control
Posted by Andi Wolf at 7/5/2007 12:00:00 AM
Hello,
is there any simple posibility to have a control on 2 diferent tabs of a
tabcontrol without synchronizing? I want to have e.g. a checkbox with the
same label and functionality on two different possitions (e.g. on two
different tabs of a tabcontrol). If I check the first the second so... more >>
VS2005 , WPF , NET 3 & Expression Studio ?
Posted by Sagaert Johan at 7/5/2007 12:00:00 AM
Hi
This is not all so clear to me, as i understand i can create feature rich
UI's with it .
How does it combine with Visual Studio 2005 to create windows applications ?
How to use content created in Expression studio in a windows app. created
in vs2005 & Net 3
J.
... more >>
.tmp is not a valid win32 resource file
Posted by rtskarthik NO[at]SPAM gmail.com at 7/5/2007 12:00:00 AM
Hi All,
I am unable to compile a windows application. I am using .Net
2003.I get the error "F:\....\obj\Debug\CSC15.tmp' is not a valid
Win32 resource file". I have stuck with this problem. Even when i open
a new application it throws the similar error.
I even reinstalled f... more >>
How to CreateNamedPipe with FILE_CREATE_PIPE_INSTANCE access rights
Posted by kalpesh at 7/5/2007 12:00:00 AM
hey
i want to create a named pipe with FILE_CREATE_PIPE_INSTANCE access
rights.
for that i have to create one security discriptor but i dont which
type of secirity discriptor i use to cerate namaed pipe with
FILE_CREATE_PIPE_INSTANCE rights.
while creating security discriptor i dont wan... more >>
|