all groups > c# > may 2005 > threads for saturday may 21
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
Stupid newbie question--string formating/unformating
Posted by Mojomarc at 5/21/2005 11:57:43 PM
I'm new still fairly new to programming, and working in C#. I've
written a small application as practice that takes in a string of
numbers, converts them to a decimal (subtotal), and based on another
text entry (txtCustomerType.Text) elsewhere on my form does some
calculations with that dec... more >>
Good Tools to Generate C# Class from XSD
Posted by John Lee at 5/21/2005 11:02:55 PM
Hi,
Would you please suggest me a good tool that I could use to create C# class
from xsd and the generated c# class should be able to serialize and
deserialize xml instance that compliant with the xsd?
Thanks very much!
John
... more >>
c# Coding guidelines & conventions
Posted by jarit NO[at]SPAM xs4all.nl at 5/21/2005 6:19:00 PM
Hi,
Found these coding guidelines for C#, HTML, Javascript, Java, HTML,
PL/SQL, T-SQL, VB and VBScript.
Well written and free to download.
www.demachina.com/products/swat
Jeroen
... more >>
Get size (in pixels) of a string
Posted by Will at 5/21/2005 6:03:07 PM
I need to know the size (in pixels) of a string painted on a graphic
component
Any idea?
tnx... more >>
File Version
Posted by Dennis C. Drumm at 5/21/2005 3:10:28 PM
I am trying to find a way to compare the version of the currently executing
assembly to the version of my latest upload so I can notify the user when a
newer version is available.
Is it possible to get the version information programmatically for an exe
file in some folder on my web site or... more >>
Admin Prevlidges
Posted by Dennis C. Drumm at 5/21/2005 2:21:17 PM
What is the best way to determine what access prevlidges the current user
has from within my running application? I need to insure the user has
administrator prevlidges for one particular function.
Thanks,
Dennis
... more >>
shell32-listview
Posted by Syd at 5/21/2005 1:32:02 PM
Hi,
I want to learn to open a file with double clicking to selected item,which
is the name of file name,in a listview.I know it is done with dll shell 32
but how???
Thanks... ... more >>
How to Kick off detached process
Posted by John Lee at 5/21/2005 10:58:46 AM
Hi,
I developed a scheduler as service and kick off another console application
"DTSRUN.exe" to run a dts package
ProcessStartInfo psInfo = new ProcessStartInfo(command);
Process process = Process.Start(psInfo);
I have two questions need your help:
1. When I stop my scheduler service,... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Looking for CSharp equivalent of SQLBindCol
Posted by Faheem Khan at 5/21/2005 2:47:58 AM
I'm trying to get some XML data stored as binary data in a MS SQL server
database's table using C#
I have code which used to extract this data in C++
Pasting the functions used in C++ to get the same data...
sr = SQLExecDirect(hstmt1, (SQLCHAR *)szSQLQuery, SQL_NTS);
sr = SQLBindCol(hstmt1, ... more >>
Is strict adherence to Adapter Pattern really a good thing?
Posted by farseer at 5/21/2005 2:13:42 AM
Here is the scenario:
I have an interface which defines get methods for data that will make
up a row in a table. However, the source of this data may, over time,
switch/change (The company may choose to change data providers).
Therefore i thought to myself, a type of Adapter Pattern is best h... more >>
System.Windows.Forms.DataGrid - dont allow to add new rows! (newby)
Posted by elime at 5/21/2005 12:56:48 AM
Hi all
I load datas from an SQL server to a Datagrid. The datagrid columns are
basically read only but one column is not -> the checkboxcolum. The
user needs to be able to check or uncheck this column for selection.
Now at the end of the datagrid (last row) there is another row with a *
in ... more >>
Problems with (Cast)
Posted by Daniel Groh at 5/21/2005 12:00:00 AM
I'm facing this error:
Error Message:Specified cast is not valid.
this line:
char chrTipoPessoa = (char)sqlCmd.ExecuteScalar();
It should returns the letter "F" or "J"!
but with (string) it works normal...I already checked and there's no space!
Why I'm getting this error when I try to ca... more >>
Plugins: Abstract class factory vs. Interfaces.
Posted by Michael McCarthy at 5/21/2005 12:00:00 AM
I want to develop plugin support for a system.montitor module I am
working on. A lot of the modules will do mostly interop stuff for an
older system, but I want to use it myself as well to monitor event logs
and other things as I think of them...
I've seen two ways of doing this, the abstr... more >>
Protecting your code
Posted by Jacky Luk at 5/21/2005 12:00:00 AM
I saw an old thread in this group which addressed the issue of reverse
compilation. After some study, I draw a conclusion that "reverse
compilation" is completely blocked off in win32 environment (except in .NET
languages like C#) because (in the worst case) when you tried to figure out
what... more >>
CDO object?
Posted by perspolis at 5/21/2005 12:00:00 AM
Hi everyone.
I used a System.Web.Mail to send smtp mails.
but it needs that SMTP component of windows be installed.
is there a way to bypass problem??
I mean I want to transfer this application to another Windows and maybe
there isn't this component.
Can I just dll of the SMTP component??
t... more >>
Line Breaks in Label
Posted by Fraser at 5/21/2005 12:00:00 AM
Can i put a line break in a label ??
Ie. I want to have
Name:
Address:
Address2:
.....
Listed like that instead of having it wrap, can I have a multiline label ?
Thanks.
... more >>
MDI form
Posted by perspolis at 5/21/2005 12:00:00 AM
Hi all
I used a MDI application..and in this application I have a panel in parent
form.
when I show some children and then I close them,I can't see the panel..I
wonder why the panel get invisible.
??
... more >>
How can i display images continuously without my interaction?
Posted by Mamatha at 5/21/2005 12:00:00 AM
Hi
I am developing a small application to capture a record a video file
through webcam in C#.NET.
In this application i created a JPEG images for every slide,means every JPEG
image was treated as a slide then i want to display these images as a slide
show.
How can i alot time teo each fr... more >>
HKEY_LOCAL_MACHINE\Software\MyCompany access
Posted by Dennis C. Drumm at 5/21/2005 12:00:00 AM
Is there any way that a program running under a restricted user (not an
administrator) can aceesss a specified part of the system registry set
aside/created for its use, such as: HKEY_LOCAL_MACHINE\Software\MyCompany ?
Along those same lines, what does RegistryPermission.SetPathList,
AddPat... more >>
Problem with Thread.Abort()
Posted by Ennixo at 5/21/2005 12:00:00 AM
hi,
i coded an application in which i can move a slider to define a radius
and it computes a gaussian blur in a thread.
because the Scroll event of the slider is often raised, i use one thread
(declared in the form's class) that i abort when it is already existing
and running.
this wo... more >>
|