all groups > c# > january 2006 > threads for saturday january 14
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
Role of current windows login user
Posted by Mark White at 1/14/2006 9:44:02 PM
Hey everyone
I'm having a great deal of problems finding this information through google
and yahoo, so I turn to you on this.
I have a Windows app running on XP. I am able to caputre the user's Name
property in the WindowsPrincipal's IIdentity interface.
Where can I find the role that th... more >>
Position of the scroll in a TextBox
Posted by Fabio Cannizzo at 1/14/2006 8:10:44 PM
If a multiline text window is "scrolled", how can I get ho much it has been
scrolled from the begin of the document?
Thanks,
Fabio
... more >>
C# newbie questions
Posted by Debaser at 1/14/2006 7:22:26 PM
Hi all. I bought the Dietel book "C# for programmers" and it's quite
encompassing. I've learned much....however....
I have some questions left (please answer them all if you can...each
is as important)
What is the differece between OVERRIDE and NEW (caps to indicate
keywords)
I sent a proj... more >>
Combobox databinding bug??
Posted by Peter M. at 1/14/2006 6:39:54 PM
I'm struggling with combobox databinding with something I consider a bug...
I'm binding my combobox to an array of structs. The struct exposes two
public properties, ID and Name, to be used as the
value and displaymember properties.
This works fine. My combobox contains the correct data.
... more >>
SQL Server Triggers and Defaults not firing on Windows form
Posted by cefrancke NO[at]SPAM yahoo.com at 1/14/2006 5:59:06 PM
I have a datagrid on a windows form with a bindingnavigator. The
tableadapter, bindingsource and dataset are there also.
I can browse and edit data normally.
I had added the "click" event to the "save" button on the navigator's
toolstrip.
I would like to have the data for the datagr... more >>
How to read a doc file?
Posted by Kevin at 1/14/2006 5:55:04 PM
Hi!
How to read a doc file in C# 1.1? =)
Thanks
... more >>
AppSettings
Posted by INeedADip at 1/14/2006 4:03:19 PM
System.Configuration.ConfigurationManager.AppSettings["ConnectionString.SystemDB"]
Does this touch the config file every time? If I am using something like
this in my web application, isn't that a lot of IO?
... more >>
Trouble w/ GridView Radio buttons
Posted by Krish at 1/14/2006 3:28:36 PM
Hello Gurus,
I have GridView control on web page which has couple of radio button
controls as one group. On editing a particular row in grid, i have to
validate based on user selection on radio button i have to validate another
column data in the grid. Pl. help me with code snippets. Thank you... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Set alphabetical as default in VS property editors?
Posted by David Veeneman at 1/14/2006 1:42:16 PM
Is there any way to change the default view in Visual Studio's property
editors from categorical to alphabetized? I'm getting awfully tired of
clicking the A-Z icon every time I open a collection editor. Thanks
--
David Veeneman
Foresight Systems
... more >>
passing structs through Sockets
Posted by Arun Kumar at 1/14/2006 1:16:27 PM
Hi
In .NET 2.0 I am trying to send a datarow or a data struct through sockets
to all connected clients.
for example heres the data struct
struct
{
string seqno
double SysTime
string Description
}
I want to send this struct to clients. I know its very simple.
Can someone... more >>
Bitwise Partial Match
Posted by cpnet at 1/14/2006 1:12:54 PM
I have a known binary value, and I want to match it to other binary values
when a certain number of the same bits in both values are 1. For example,
if I have the known value 0111, I want it to match any other 4-bit value
that has at least 2 of the same bits set to 1. In other words, 0111 would... more >>
How to set culture in the application?
Posted by Tsair at 1/14/2006 12:14:28 PM
I would like to use the date format as dd/mm/yyyy, normaly i have to set the
Windox XP culture info. How to set the application culture to the format i
need winthout change the Windox XP setting ?
Thanks.
... more >>
executing an exe located on anther computer?
Posted by erman.olca NO[at]SPAM gmail.com at 1/14/2006 11:28:15 AM
Hi all,
I have a question for you. I used a program two days ago. there was a
lan and program was just on one computer. But other computers have its
short cut icon on their desktop. And it runs. When i came home tried
to do same thing on one of my ex-projexts. But i could not be
succesfull. ... more >>
Drag'n'drop - GiveFeedback event never called
Posted by Dave at 1/14/2006 11:03:01 AM
I am trying to implement drag and drop in a C# app, but for some reason I
can't get it to call the GiveFeedback event. I have done everything by the
book as far as I can tell, but a breakpoint in the GiveFeedback event is
simply never reached. I know that's not much to go on, but if anyone can... more >>
Problem with TestOut's C# For Programmers
Posted by PSL at 1/14/2006 10:46:47 AM
Hi,
I am going through the training C# For Programmers made by TestOut and
like the presentation. The only problem is that this tutorial has a nastie bug
that renders this software practically useless. I've tried using TestOut's
support form to submit the problem but each time I submit I g... more >>
Custom values in Enum
Posted by Vi at 1/14/2006 10:03:02 AM
Hi,
Is there a way to declare an Enum with non-secventual values? For example I
want to declare the following enum:
public enum Days :byte {Sat=1, Sun, Mon, Tue, Wed};
where Sat=1, Sun=2, Mon=12, Tue=13, Wed=14}
Is this possible?
Thanks
... more >>
How to evaluate in C# a string of expression
Posted by Bhuvanesh at 1/14/2006 8:39:00 AM
Hi
Happy 2006
Anyone please suggest me how to evaluate a string of expression.
I have used the same in VBscript and javascript.
e.g.
stringvariable1 = "TemplateTopUserControl";
stringvariable2 = "\"TemplateTop.ascx\"";
"this." + stringvariable1 + " = (" + stringvariable1 + ")this.LoadCo... more >>
getting number of items from curr playlist of windows media player
Posted by Paul Fi at 1/14/2006 3:07:30 AM
I have this code which tries to obtain the number of items in the
current playlist of windows media player:
private void MainForm_Load(object sender, System.EventArgs e)
{
// get Window handle
wnd = Win32.FindWindow("WMPlayerApp","Windows Media Player");
wnd = Win32.FindWindowEx(w... more >>
Referencing a Generic
Posted by PJ at 1/14/2006 1:56:59 AM
I have a class defined as so:
public class Pager : Control
{
private PagingList<T> itemList;
....
I'm getting an error message that says, "The type or namespace name 'T'
could not be found. Obviously, I'm just trying to define a class that
PagingList is a class that compiles just f... more >>
|