| |
thread by: J-L |
last post Mar 25 '08 by: J-L
Hi,
I need to read a file like this:
# Messages français pour GNU gettext.
# Copyright © 2006 Yoyodyne, Inc.
# Michel Robitaille <robitail@IRO.UMontreal.CA>, 2006.
# Christophe Combelles <ccomb@free.fr>, 2006
#
msgid ""
|
thread by: alexia.bee |
last post Mar 25 '08 by: alexia.bee
Hi All,
Any know why NetworkInterfaceType returns Ethernet type for Wireless
adapter
and not Wireless80211?
thanks.
|
thread by: =?Utf-8?B?cm9kY2hhcg==?= |
last post Mar 25 '08 by: =?ISO-8859-1?Q?Arne_Vajh=F8j?=
hey all,
can someone please show me how to search my String array to see if an
element "contains" a certain string constant and then return the index value
of the found element?
thanks,
rodchar
|
thread by: sony.m.2007 |
last post Mar 25 '08 by: =?ISO-8859-1?Q?Arne_Vajh=F8j?=
Hi,
I have a XML file like below
<?xml version="1.0" encoding="utf-8" ?>
<details>
<detail>
<description>name</description>
<t1>10</t1>
<t1>100</t1>
<t1>1000</t1>
|
thread by: =?Utf-8?B?Vmlua2k=?= |
last post Mar 24 '08 by: =?Utf-8?B?Vmlua2k=?=
Hello Everyone,
I am having hard time with .net remoting. I keep getiing this error
"Authentication failure". My server has this code in it
int portNum;
// TODO: Add code here to start your service.
portNum =
|
thread by: Darwin |
last post Mar 24 '08 by: Darwin
Hi,
I am trying to extract the host name from a HTTP header:
GET /1/1/typical.php HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/x-shockwave-flash, */*
Referer: http://www.httphost.com/1/1/
Accept-Language: en-us
UA-CPU: x86
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0;...
|
thread by: csharpula csharp |
last post Mar 24 '08 by: BlackWasp
Hello,
I am trying to add Date and Current time to a name of a log file. I
tried doing this:
string logDateExtention = DateTime.Now.ToShortDateString().ToString() +
DateTime.Now.ToShortTimeString().ToString();
string logName = Data.Name + Data.ProductName + logDateExtention;
And this throws exception during the debug that the name is...
|
| |
thread by: noom |
last post Mar 24 '08 by: noom
Hello
I`m trying to use userDeletingRows event but can`t deem to make it
work.
I tried :
this.dataGridView1.UserDeletedRow += new
DataGridViewRowCancelEventArgs
- but I get an error message on the arguments/
do I need to use a delegate (if so - which is it)?
|
thread by: Kenny D |
last post Mar 24 '08 by: Peter Duniho
I am having trouble sending streams of data from one socket to another
using the following code.
When the transmitter is running on the same machine as the receiver,
the data transmits perfectly. When the transmitter runs on another
machine, the data gets truncated at semi random places.
The data being transmitted is a unicode XML...
|
thread by: =?Utf-8?B?SmFybGF4bGU=?= |
last post Mar 24 '08 by: =?Utf-8?B?SmFybGF4bGU=?=
I'm new to using the codedom to generate code and had a question about
returning a value from a method call in a property...
i have this...
property.GetStatements.Add(new CodeMethodReturnStatement(new
CodeFieldReferenceExpression(new CodeThisReferenceExpression(), "_" +
fieldName)));
to create...
|
thread by: CSharper |
last post Mar 24 '08 by: CSharper
Hi All,
I have created an exe and I have a resource file I created seperatly,
what is the best way to add the resource into the same exe? ILMerge
doesn't take the resource file. I could use al.exe but I do not want
to compile the code again. Is it possible to add a resource that was
created externally (thorugh another program) into some...
|
thread by: pateras |
last post Mar 24 '08 by: pateras
I generate code to automatically create combo boxes to handle
relationships between tables:
http://pastebin.com/m59d8f5b0
The problem is, when I sort on any other column, the combo boxes all
get cleared. I've also noted that in doing so, I can no longer sort on
the column. I have a feeling that that might be related. Can anyone
tell me...
|
thread by: =?Utf-8?B?TmVpbCBC?= |
last post Mar 24 '08 by: =?Utf-8?B?TmVpbCBC?=
I'm developing a Web App using C#. I want a page in the app to refer to
another page in the app. I tried to create a web request with the page
address below:
pageAddress = "http://~/clientDBQuery.aspx";
WebRequest request = WebRequest.Create (pageAddress);
and got the following error:
Exception Details: System.UriFormatException:...
|
thread by: William Johnston |
last post Mar 24 '08 by: William Johnston
|
thread by: nagar |
last post Mar 24 '08 by: nagar
I'm using SQLite with the ADO.NET 2.0 SQLite Data Provider as the
storage of my application.
I chose to use an untyped dataset and I'm using a dataadapter to
report changes to the DB.
The query generated by the commands builder doesn't work propertly (I
often get a DBConcurrency exception). Therefore I'm created my own
update query but I'm...
|
| |
thread by: RobP |
last post Mar 24 '08 by: RobP
Is there a way to check with windows in c# whether the current application
is in focus and taking input? I've tried checking the focused property on
the main form, but this doesn't seem to work.
Thanks
RobP
|
thread by: Maddy |
last post Mar 24 '08 by: Marc Gravell
Hi, I have just migrated to C#. I need some advice on the following
problem:
I need to create an object/structure with characteristics A,B and C. A
and B are Integers while C consists of 2 Integers. I need to store
data in these, every 5 sec or so, each value with a DateTime stamp/
index. I will need a method to write the value with the...
|
thread by: Gobinath |
last post Mar 24 '08 by: Gobinath
Hi,
I have a dot net control which raises an event with 2 string arguments.
I'm hosting this on a dotnet container and mfc container(via com interop).
The entire setup was is .net 2.0 and things were working OK.
Then I upgraded to .net 2.0 SP1. Now events are reaching the dotnet
container.
|
thread by: Joe |
last post Mar 24 '08 by: RobinS
Hello to all!
I have an interessting question here concerning ClickOnce technology.
I have a .NET 3.5 Windows application that is deployed on client
computer via ClickOnce. The version is 1.0.0.0. Now I want my users to
get the lastest updates for the 1.X.X.X versions. That is not a
problem and easy to do. Of course. However when the time...
|
thread by: John |
last post Mar 23 '08 by: Peter Duniho
Is there such a thing as storing icons or bitmaps into a resource
file, and adding more icons or bitmaps into the resource file at
runtime?
I want to store a bunch of icons into a resource file, and at runtime
I want to be able to add more icons as I need to add. I don't want
to use an imagelist because that will be a set number of icons...
|
thread by: samueltilden |
last post Mar 23 '08 by: samueltilden
I have inherited a complex application with dozens of controls.
The new functionality I am to surgically insert is to prevent the user
from proceeding further if any of the data is incorrect in my control
on the current page.
I can capture the .Leave event from my control, but I do not want
Windows to honor the destination control that...
|
thread by: jp2msft |
last post Mar 23 '08 by: John Timney \(MVP\)
I've been asked to provide a shopping cart for someone's website, but I've
never done this before.
Is there a basic step-by-step for this somewhere? I want to make sure I do
the cart fundamentally correct and secure.
Thanks.
|
thread by: milton |
last post Mar 23 '08 by: Ian Semmel
hi
how to navigate through the records in sql DB programatically...?
|
| |
thread by: Darwin |
last post Mar 23 '08 by: Jeroen Mostert
Setting a server to listen on 8080 for incoming connections. Written in
VS2005 on a Multi-homed machine.
I get the warning:
Warning 1 'System.Net.Sockets.TcpListener.TcpListener(int)' is obsolete:
'This method has been deprecated. Please use TcpListener(IPAddress
localaddr, int port) instead.
on the code:
TcpListener tcpListener = new...
|
thread by: Michael Starberg |
last post Mar 23 '08 by: Marc Gravell
Happy easter.
Just wanted to tell you that this tuesday I got a weird exception, stemming
from NOT disposing a DataContext.
So like Bill Maher we just added New Rules in our project. Always using
using on a DataContext.
I of course wrote a snippet that when typing db and tab it you get
using(var db = new Database())
|