all groups > c# > january 2005 > threads for monday january 17
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
XPath Question
Posted by Michael C# at 1/17/2005 11:12:09 PM
OK, here's the deal. I have a small XML file that represents a small
database table. I load it into a System.XML.XMLDocument. So far so good.
I run an XPath query against it to retrieve all the field names. Everything
there works fine.
Here's my XML Document:
<?xml version="1.0" standal... more >>
Capitalisation
Posted by Uchiha Jax at 1/17/2005 10:41:23 PM
I just read this:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/cpconcapitalizationstyles.asp
But wondered if languages such as VB.NET would have any problems with:
private int color;
public int Color
{
get{return color;}
}
That only differs by case... more >>
Stupid person does not understand .NET Remoting and Delegates
Posted by Uchiha Jax at 1/17/2005 10:21:16 PM
Hello everyone,
I am a plenty silly person who is trying to
learn .NET remoting through trial and error (all articles I read are going
over my head at the moment (mostly) so I thought i'd give it a go).
What I want to do is this:
Have a server instance of the p... more >>
Help with MS Accessibility
Posted by Pete Davis at 1/17/2005 9:41:21 PM
First of all, I apologize for cross-posting to so many groups, but clearly
there are only 2 people on the planet that understand MS Accessibility in
..NET and I'm hoping I might reach just one of them by cross posting to 6
groups because I've already posted to 4 others with no luck.
Our compan... more >>
system commands
Posted by mamin at 1/17/2005 9:31:41 PM
How to execute system commands like "copy file" etc.?
... more >>
Looking for proper MP3 syntax accessing
Posted by MikeY at 1/17/2005 7:37:40 PM
I am having trouble with and looking for the proper syntax for accessing and
renaming MP3 files properties.
Example I can access the "Name" property of the file and I can rename the
file name to a new name (and do this in mass quantity at once). What I want
to accomplish is to gain access and ... more >>
Irregular-shaped dialog
Posted by Hin at 1/17/2005 6:43:13 PM
In .NET we can create non-rectangular windows form by TransparencyKey
property. But MSDN said that it will have problems for Monitors set to a
color depth of greater than 24-bit.
Anyone knows any workaround?
Thanks!
--
Regards,
Hin
... more >>
help with combo box??
Posted by perspolis at 1/17/2005 6:16:59 PM
hi
I got mixed up with a simple porblem....
I just handled double click in a combo box...but this event dosen't fire..I
don't know why???
this.comboBox1.DoubleClick += new
System.EventHandler(this.comboBox1_DoubleClick);
private void comboBox1_DoubleClick(object sender, System.Eve... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
move one child form of mdi to the front end
Posted by zbcong at 1/17/2005 5:58:54 PM
hello
if there are several child forms are opened in their mdi parent.how can i
move the one of the child forms to the front end to show in the CODE??
thank you!!!
... more >>
VistaDb TurboDb Advantage
Posted by Alexander at 1/17/2005 5:34:16 PM
Sombody used this components: VistaDb, TurboDb, Advantage, Firebird
DataAdapter, SqlLite DatatAdapter?
Can you give some advice to choise from them.
... more >>
SSL support in visual studio 2005 beta1
Posted by Laxmikant Rashinkar at 1/17/2005 5:32:12 PM
Hi,
does anyone know if there is support for SSL sockets in visual studio 2005
beta 1?
I dont mean the WebRequest / WebResponse classes. I am looking to do my own
socket I/O using SSL sockets. Any documentation available on this?
thank you.
LK
... more >>
Unexpected error writing metadata. WTF?
Posted by RĂ¼diger_Klaehn at 1/17/2005 5:18:10 PM
I am getting this very annoying error CS0013 whenever I try to build a
complex library. I had the problem a few months ago, and followed the
advice from the knowledge base and reinstalled visual studio.
Now I have a fresh install of WinXP pro, a fresh install of VS.NET 2003,
and yet the sam... more >>
Inheriting from 2 Interfaces
Posted by C.E.O. Gargantua at 1/17/2005 5:13:26 PM
Is it possible for a class to inherit from two interfaces?
When I try to add a second interface, and compile, the error is:
type in interface list is not an interface
related to the second interface.
If I remove the first interface, and compile with just the second, it
succeeds.... more >>
Threading question "Controls created on one thread cannot be parented to a control on a different thread."
Posted by VMI at 1/17/2005 4:47:46 PM
Im using a separate thread in my code to copy a huge file, but I get the
"Controls created on one thread cannot be parented to a control on a
different thread" when I want to update the Form controls after makeBackup
is complete. I know what the problem is (I'm trying to update controls from
... more >>
without escape character
Posted by Steve at 1/17/2005 4:41:02 PM
The string in registry is
"rundll32.exe C:\Program Files\INTERN~1\hmmapi.dll,OpenInboxHandler"
After opensubkey and getregistry, I got
"rundll32.exe \"C:\\Program Files\\INTERN~1\\hmmapi.dll\",OpenInboxHandler"
Is there anyway I can get the string exactly in registry without escape
character... more >>
Question on Sessions variables
Posted by jty202 at 1/17/2005 4:29:32 PM
1. Can I have an array of objects as sessions variable in other words
sessions array-of-objects? If so how?
2. Besides Sessions variable what else can I use to store large amount of
data temporarily thats related to the current user.
( can I use temp files? and instead of storing the large tex... more >>
Searching text in ASP.net
Posted by jty202 at 1/17/2005 4:28:55 PM
I use a the function Instr() in VB6 to search for a search-string in String
var. It returns the position of the found search-string.
Is there such a funtion in ASP.net?
... more >>
Thread: Date and Time
Posted by jty202 at 1/17/2005 4:28:20 PM
I have string that contains a date in this format (14-Jan-05). I want to
store in date object if theres one and access each part of the date (month,
year, dates, day of week).
Specifically I want to convert it in this format 20050114 because this way,
I can compare it with another date in this... more >>
FileCopy to a shared folder
Posted by BLiTZWiNG at 1/17/2005 4:21:02 PM
When I try the following:
System.IO.File.Copy("C:\\test_read\\test.txt",
"\\\\192.168.0.5\\test_write\\test.txt", false)
I get an UnauthorizedAccessException.
I cannot however, seem to find out how to authorize the file copy (ie.
process the user/pass).
I'm sure there must be a way I... more >>
Putting Raw formatted Data in proper datatype and displaying
Posted by jty202 at 1/17/2005 3:59:06 PM
I have raw formated data (comma separated), and I like to store it in a good
datatype/collection object. And display the data in the data object in a
HTML table.
The data looks like this:
Date,XYZ,PEAK,Price,Number,Volume
14-Jan-05,ABC,123,26.04,26.12,92180800
13-Jan-05,ABC,123,26.04,26... more >>
use stdole.StdPicture object with an Image object ?
Posted by Sagaert Johan at 1/17/2005 3:54:41 PM
How can i put the image in a stdole.StdPicture object in a Picturebox.Image
?
... more >>
Problem with System.Diagnostics.Process and WaitForExit
Posted by PaulFir509 at 1/17/2005 3:49:07 PM
I am attempting to run the HTML help compiler from within another application.
When I get to the WaitForExit call, I get a System.InvaidOperationException
and a message "No process associated with this object." Is it just finishing
before I make the call? The process seems to finish (I have a ... more >>
Context menu by drop a file with right mouse button
Posted by Marcel Hug at 1/17/2005 3:49:01 PM
Hello NG !
I would like to show the context menu which apears when i drop a file by
fight mouse button.
Could somebody help me ?
Thanks
... more >>
HttpWebRequest.method = "GET"
Posted by Tom S at 1/17/2005 3:41:17 PM
I'm using ASP.NET with C# as my code behind and I figure out how to get the
above process to work. I've found many examples online for using the
'method' member to "POST", but none for setting it to and using "GET". Any
help would be greatly appreciated. Thanks!
Tom S
... more >>
starting an app from ASP.NET
Posted by spmm# at 1/17/2005 3:21:56 PM
Hi!
Can someone explain how I can properly start (e.g.) notepad from an
ASP.NET/C# page?? I've been googling for a day now, but no one seems to
experience
the same trouble as I do.
I gave the ASPNET user administrator rights and followed these two articles
from msdn:
http://support.micros... more >>
Generics in CodeDom of .NET 2.0?
Posted by Mark at 1/17/2005 2:23:16 PM
I'm looking at the CodeDom namespace in .NET 2.0 class library online
(http://msdn2.microsoft.com/library/za6cc751.aspx). I'm not seeing any
class that would allow me to create Generics. Any suggestions?
Thanks in advance.
Mark
... more >>
Reflection
Posted by Jens Meyer at 1/17/2005 1:57:21 PM
Hallo,
Gibt es eine Möglichekit, alle Typen im GAC zu bekommen, die
eine bestimmte Schnittstelle implementieren?
Also etwas in der Art wie:
Type[] types = GAC.GetTypes("SchnittstelleXY");
Jens
--
Artikel suchen: http://groups.google.de... more >>
C# Network Programming
Posted by Chang at 1/17/2005 1:28:08 PM
Hello,
I am looking for a good book for network programming using C#.
The book I have in mind is
"C# Network Programming"
ISBN: 0782141765
By: Richard Blum
What you all think?
Please reply only when you have read your suggested book as for me searching
names for the books online is ... more >>
Changing the VS 2003 Templates
Posted by Greg Merideth at 1/17/2005 1:24:22 PM
Is it possible to change the default templates in VS 2003?
Everytime I start a new web method project I have to include a ton of
version control headers and region tags. It would be handy to be able
to alter the default templates to include all of this stuff so I don't
have to each time.
... more >>
Toolbar button size??
Posted by perspolis at 1/17/2005 1:12:44 PM
hi dears
Can I have a toolbar with different button sizes???
... more >>
Streaming File From http
Posted by Abhishek at 1/17/2005 12:57:47 PM
Hi! Everyone
I need to stream a file to get the information stored in it
my code is as under
FileStream siteFileStream=null;
XmlTextReader XmlRdr=null;
string fileName=http://online.abc.com/ServerDetails.xml;
//string fileName="C:/Documents and
Settings/Administrator/Desktop/aGOnlin... more >>
XML Parsing
Posted by Irfan Akram at 1/17/2005 11:29:04 AM
Hi People,
I am building a test hierarchy, in asp.net using c#. How do we write the
values from a web-form, where I enter the hierarchy of the test-paper, in to
XML form, then in to a mySQL D/base. How do we deal with XML in c#. My
database structure, in which I want the data to go in to is... more >>
Access Database exclusively locked - NOT
Posted by ACE FAN at 1/17/2005 11:04:45 AM
Hi,
I;m a newbie trying to get through some examples in VS2003. I'm trying
to open a small Access database using ADO.NET in an ASP.NET app usinig
an oleDBConnection. I get the following error when openning the
database:
The Microsoft Jet database engine cannot open the file
'C:\Inetpub\www... more >>
HashTables and scoping
Posted by Roger Webb at 1/17/2005 10:45:15 AM
Hey All,
I cant VERIFY this, but it makes sense so I thought I'd trow up my theory
and see if it made sense to any of you... and then ask how to get around it.
hehe
I've got a Class1[] that I'm wanting to load into a hash table, so, I
basically (at this point) run through a loop and do a
H... more >>
if (DateTime.Compare(Session["opens"], Session["resdate"]) > 0)
Posted by NCZIMM at 1/17/2005 10:17:17 AM
if (DateTime.Compare(Session["opens"], Session["resdate"]) > 0) produces
three errors. I need to know how to do DateTime comparison on a web page in
postback.
... more >>
File Read and Write with C#
Posted by dakkar NO[at]SPAM sylveria.gen-dot-tr.no-spam.invalid at 1/17/2005 9:54:41 AM
I have 2 questions
first one is
How can i read from and write to files with c#
and the second one is
i want to write to a file which is in directory that i have in a
variable like
String path = "C:\Ultima Online\game\uo.exe";
and i want to drop the last part which comes after last \
is th... more >>
Error exporting DataGrid to excel file using RenderControl
Posted by Andres Romero at 1/17/2005 9:27:02 AM
I have a button in my html page for exporting to excel files using the
RenderControl function. When the table generated is small in rows size it
works fine, but when there are much more rows (more than 5000) the excel loss
format in the last rows mainly in Rowsan or Colspan property for the ta... more >>
SmtpMail.Send not working. Held in Mailroot/Queue folder.
Posted by rh at 1/17/2005 9:26:20 AM
I am not able to send email using SmtpMail.Send. I imagine that it is a
configuration issue. I see that the emails that I attempt to send are in the
Mailroot/Queue folder but they never actually get sent. I have an anti-virus
program that I disabled but it still doesn't work.
I also know th... more >>
Need Help with COM call
Posted by Gabe Covert at 1/17/2005 8:32:12 AM
I'm attempting to implement a 3rd party COM library in a C# application,
and have run up against the following problem in my development. I am
trying to use a particular method call of an object, but it looks like
tlbimp has imported the call in a way that I can't figure out how to get
my d... more >>
click mouse event
Posted by jima80 NO[at]SPAM gmail.com at 1/17/2005 8:01:28 AM
Hello!
I am trying to write a function which will react on Mouse Event and I
keep getting errors.
error CS0029: Cannot implicitly convert type
'WindowsApplication2.MouseEventHandler' to
'System.Windows.Forms.MouseEventHandler'
this is the code I added:
public delegate void MouseEventHandler... more >>
Design guidelines for class library developers
Posted by Scott Crumpler at 1/17/2005 8:01:08 AM
I have found the following URL very useful:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/cpconnetframeworkdesignguidelines.asp
However, I would find it very useful to have a version of this information
in Word format so I can print it out. Does anyone know w... more >>
Exchange Server
Posted by George Sinclair at 1/17/2005 6:00:16 AM
Looking for a tutorial or working sample code on how to recieve email
from exchange server.
already looked at this site but sample code did not work for me.
http://support.microsoft.com/?scid=kb;EN-US;310206
Also looking for C# code.
Thanks.
*** Sent via Developersdex http://... more >>
GetData images from OneNote
Posted by Simon at 1/17/2005 5:51:04 AM
I have done a screen clipping in oneNote and now want to save to file.
So I copy the image in oneNote, and then using c# try and getData from the
clipboard and store in an image to be able to save to file.
However unlike Word, OneNote does not paste a bitmap compatible image to the
clipbo... more >>
where is wincv.exe in sdk2.0?
Posted by availa at 1/17/2005 5:03:02 AM
where is wincv.exe in sdk2.0?... more >>
Stored procedures vs. command strings in c#...
Posted by trint at 1/17/2005 4:48:47 AM
My boss wants me to use stored procedures, but I thought somehow that
using c# that
ADO.Net was better. Any help is appreciated.
Thanks,
Trint
... more >>
How to check if table is empty
Posted by hodari at 1/17/2005 4:03:01 AM
I am currenlty using the following code to check if the table is empty. I
wonder if there is a more elegant way of doing this:
private bool IsEmptyTable()
{
int RecordCount;
DataTable customersTable = CustomerDB.GetCustomers();
RecordCount = ... more >>
Event preemption
Posted by James at 1/17/2005 2:47:20 AM
Hi all,
I am seeing some unexpected behaviour in a single threaded winforms app
and was hoping someone could explain what is going on.
I have two events attached to a chart control on my form, and during
execution one event seems to preempt the execution of the other.
My code looks similar ... more >>
How to insert images in a SQLServer table?
Posted by Renato Vieira at 1/17/2005 2:27:01 AM
Is there a way of insert or update images (*.gif or *.jpg) in a image field
of a SQLServer table without using code?
Some sort of small application can do that? by supplying the filename maybe?
Thanks in advance...
--
Renato /*Portugal*/ Vieira... more >>
New Index and Item Data
Posted by Christopher at 1/17/2005 12:57:03 AM
Hi All
The following VB6 Code snippet assigns the employee number
to each employee name loaded into a combo box,
as a new index.
cboEmployee.AddItem rsEmp.Fields("Name") ' this is processed in a Do Until
Loop
'then the new index is assigned
cboEmployee.ItemData(cboEmployee.NewIn... more >>
Extracting from Text Files
Posted by Lizim at 1/17/2005 12:31:07 AM
I have a small text file of data and I would like to be able to search for a
string and on finding that string extract the data that follows it. Is there
an easy way to do this? I have been using StreamReader to read the file but I
am unsure as to how to actually test the string and then extra... more >>
|