all groups > c# > march 2007 > threads for sunday march 25
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
DateTime.ToString("R")
Posted by Marc Gravell at 3/25/2007 9:20:23 PM
Just been debugging a daylight savings glitch... something that
interested me:
(in a BST locale at 5:14 local time, 4:14 GMT)
DateTime.Now.ToString("R") >> "Mon, 26 Mar 2007 05:14:34 GMT"
However...
DateTime.Now.IsDaylightSavingTime() >> true
DateTime.UtcNow.ToString("R") >> "Mon, 26 M... more >>
SuspendLayout Not Suspending...
Posted by rlrcstr NO[at]SPAM newsgroups.nospam at 3/25/2007 8:29:50 PM
I have a user control (tag) made up up 9 smaller user controls =
(minitag).
I have a panel on a form that is being populated with 81 of the tag =
controls in a grid configuration.
Even though I am using Suspend Layout, I still see the controls getting =
drawn as they are added to the panel.... more >>
Most robust way to implement single-instance Windows app?
Posted by Jen at 3/25/2007 8:07:04 PM
What is the most robust way to implement single-instancing for a Windows
app? I'm aware of the GetProcessByName method and the Mutex method. I've
GetProcessByName isn't very robust. What happens if the app crashes and
it's using the Mutex method? I don't want it to get in a situation where... more >>
treeView - deepest level
Posted by Bllich at 3/25/2007 7:02:09 PM
can anyone post an algoritam for the deepest level
of a treeView ? it should be a recursive function I think..
I don't need treeView.Nodes[x].Level
because my users don't select the nodes...
I need to get a random node from the whole collection
so I want my
rndLevel = random.next(deepest ... more >>
the name 'functionname' does not exist in the current context
Posted by weird0 at 3/25/2007 3:41:44 PM
When i am working on client side of a webservice, where i add a
reference to it(have written the function CheckPincode inside the
webservice), the compiler says:
the name CheckPincode does not exist in the current context...
What to do ?
... more >>
delegates and events
Posted by dani kotlar at 3/25/2007 2:39:43 PM
I am writing a costum delegate and I wondere what is the difference
between an event and a delegate instance? Why should I declare an
event with the event keyword instead of declaring it as an instance of
the corresponding delegate?
... more >>
Async socket & active connections
Posted by atlaste at 3/25/2007 1:48:03 PM
Hi,
In an attempt to create a full-blown webcrawler I've found myself
writing a wrapper around the Socket class in an attempt to make it
completely async, supporting timeouts and some scheduling mechanisms.
I use a non-blocking approach for this, using the call to 'poll' to
support the async ... more >>
shortcut keys
Posted by billq at 3/25/2007 1:11:54 PM
Hello,
I know that ctrl m m will expand a region, is there a shortcut key to
collapse the region?
thanks
bill
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Recommendation on How to build a long string
Posted by Mo at 3/25/2007 1:04:04 PM
Hi,
I am trying to write a code to build a string 768 characters long.
This string is going to be written to a file which is then read by
another application. The format of the string is already defined. For
example Firstname starts at position 20, Last Name at position 30,
address at positio... more >>
Getting SpeechRecognitionEngine to detect audio
Posted by cnathaide NO[at]SPAM yahoo.com at 3/25/2007 12:38:15 PM
Hi,
I am trying out the new Speech features in the System.Speech
namespace. I still have Windows Server 2003 on my machine.
Here is what I would like to do. I am trying to write a program that
takes a *.wav file and automatically transcribes it. Here is where I
am having trouble. I do not k... more >>
First-time using Interop
Posted by adx at 3/25/2007 12:05:30 PM
I want to use an interface of a COM object (implemented in C++) using
Interop.
1. Should it be simply just implement an interface on C# side with syntax
like below?
[ComImport]
[Guid("xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
interface IT... more >>
ListView Item
Posted by luisrob9 NO[at]SPAM gmail.com at 3/25/2007 8:54:28 AM
Hi, i need some help, i am looking for a method or example for get the
string name of one item in a listView when i do clic in it... Thanks...
... more >>
Dock a form to the desktop
Posted by adrian.bennett NO[at]SPAM gmail.com at 3/25/2007 3:06:31 AM
I am trying to dock a form to the desktop like the taskbar is but I
have been unable to figure out how to do this. Can anyone help?
Thanks
... more >>
How can I get the next autoincrement value from mssql$sqlexpress?
Posted by Carlos at 3/25/2007 1:18:42 AM
Dear all,
As title. Thanks.
Carlos
... more >>
Working with a VB COM Component
Posted by David C at 3/25/2007 1:01:51 AM
This is my first time having to integrate a COM component into my
dotnet project. The COM component is from a VB developer, so I have
no control over his code.
I am having the following issues after importing the COM object into
Visual Studio (2003, not 2005).
When I create an instance of ... more >>
Visibility of Form1 question.
Posted by Jamey Bon at 3/25/2007 12:00:00 AM
I am a C# newbie. I am having a tough time with several issues of scope
and visibility.
In short, why can't I see any of the elements of Form1 (the base form
generated by the "Windows Application Project Wizard") from anywhere else
in my project? For example, why can I not change the te... more >>
How to spit xml format word document. Template is already there
Posted by Jlo at 3/25/2007 12:00:00 AM
Check out templates on Microsoft site
(http://office.microsoft.com/en-us/templates/TC011832781033.aspx?CategoryID=CT101467671033)
There are sheets available here of standard size for label printing and
Microsoft provides the templates.
How can i use this template using c#.
Need your he... more >>
DragDrop event
Posted by Jeff Williams at 3/25/2007 12:00:00 AM
With a DragDrop event is there a way to determine which control I have
droped files onto.
ie I have 5 picture boxes on the form. I want to use one dragdrop event
and when the drop occurs get the controls name like picturebox1.
Thanks in advance
Jeff... more >>
|