all groups > dotnet framework > october 2007 > threads for october 29 - 31, 2007
Filter by week: 1 2 3 4 5
dynamically named controls
Posted by Pete Morris at 10/31/2007 11:57:11 PM
question about VB 2005 express .
is it possible to refer to controls dynamically?
I mean instead of referring to [ textbox1.text] can I have a
mystring = "textbox1"
then refer to the control named in mystring?
Is that possible? What's the syntax for it?
specifically, I have tex... more >>
Regex problem
Posted by Barry at 10/31/2007 8:14:06 PM
Hi
I need to capture
/contract_info/index.asp?action=Delete&site=DB&id=17016852
from
dim s as string = "<a
href="javascript:NewWindow('/contract_info/index.asp?action=Delete&site=DB&id=17016852')">Details</a>"
Dim mtch As Match = Regex.Matches(s, """javascript:NewWindow((.*?)",
Re... more >>
no .NET framework 2.0 configuration utility
Posted by Jurjen de Groot at 10/31/2007 5:33:26 PM
Hello,
I'm working on an XP-machine (all updates installed). I want to be able to
run an application from a shared drive, for this to work you have to allow
this using the .NET framework configuration utility, I only see this tool
for the 1.1 version of the framework in my Administrative to... more >>
Administrator Credential Check
Posted by Sid Price at 10/31/2007 4:20:25 PM
My client is asking that when their application is run by a regular user an
administrator level user be able to enter their credentials to enable
certain advanced features. The application does not need to run with the
admin's credentials, we just want to validate that the user asking for the ... more >>
Monitor.Pulse allows thread race
Posted by msdn NO[at]SPAM comsquared.com at 10/31/2007 3:51:00 PM
Here is a quote from MSDN regarding the behavior of Monitor.Pulse:
“The thread that currently owns the lock on the specified object invokes
this method to signal the next thread in line for the lock. Upon receiving
the pulse, the waiting thread is moved to the ready queue. When the thread ... more >>
Instance Scoped Settings
Posted by Sid Price at 10/31/2007 2:34:44 PM
I am writing an application that needs to be a multi-instance application.
With VB.NET 2005 this is pretty straight-forward except that I can not find
any information about saving instance specific settings. The idea would be
to have an instance identifier passed into the application from the ... more >>
Tool for Converting C to C# ?
Posted by lucius at 10/31/2007 12:02:29 PM
I know the Java Language Conversion Assistant exists for Java->C#,
what is there that does the same for ANSI "C"?
I have some console applications and some console/curses applications
that have straigth C source that compile on a Unix platform that I
would like to conver to C# on .NET.
... more >>
wpf - databinding problem
Posted by Rolf Welskes at 10/31/2007 1:42:47 AM
Hello,
because there are no news group for window presentation foundation and one
has told me I can use this, here my problem:
I make the following binding in code:
SolidColorBrush mySolidColorBrush = new
SolidColorBrush(Colors.Green);
Binding bdx01 = new B... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Very unefficient binary stream
Posted by Jaakko Salmenius at 10/31/2007 12:08:48 AM
Hi,
..NET 1.x uses very unefficient way to store binary data to a resource stream
(e.g. .resources file). For example when framework stores System.Char or
System.Boolean it actually serializes the whole type and the value. As the
result it takes 20 to 30 bytes to store a single char or bool... more >>
Windows workflow foundation question
Posted by Roar Jøssund at 10/30/2007 4:32:13 PM
Hello,
I have a workflow related question. WF books typically shows samples where
the workflow directly shows user interface to the user. I want to have a
smart client and a n-tier architecture. According to
http://msdn.microsoft.com/msdnmag/issues/06/12/ServiceStation/fig04_L.gif
WF shou... more >>
HttpWebRequest inconsistency 8-[
Posted by Pascal Soveaux at 10/30/2007 4:14:17 PM
Hi,
WebResponse contentlength returns an Int64 BUT HttpWebRequest.AddRange
takes an Int32.
Please point me to the specification that requires a range to be pass as
an Int32, AFAIK 1 or more digit is not a synonym for Int32.
Here is the detail of the communication.
I : "Server, tell m... more >>
Ref. overloaded method in XML comments
Posted by Paul S at 10/30/2007 1:06:00 PM
Hi
In a class InfoCollection I have 2 overloads:
public virtual DataSet Update()
public virtual DataSet Update(UpdateType ut)
that I reference in the documentaion on another method
/// <summary>
/// Delete this object and removes it from the collection.... more >>
VB Assistance
Posted by kirad832 at 10/30/2007 11:18:01 AM
I am working on an assignment and need some assistance if anyone could help:
Need to use a for next statement and give a value to five elements usin a
one dimensional integer array value
So far I have
Sub Main()
Dim integer As Integer
Dim Value as Integer
Value = 8
For Integer = 1... more >>
Installing Raid drivers on XP with no floppy drive
Posted by davlyn at 10/30/2007 10:35:00 AM
I have just upgraded to a Dell XPS 720 which arrived with Vista Ultimate
installed. I can1t use half of my programs properly so decided to partition
the drive and put XPPro back on until Microsoft sort out all the bugs with
software.
I have a Raid 0 configuration of 1.35 TB which I roughly sp... more >>
VS.NET 2005 solutions and projects ??
Posted by jobs at 10/30/2007 10:04:01 AM
kinda confused.
I have this folder called C:\PROJECTS with a bunch of projects .. some
are websites, some are webservices, one is a console ap, another is a
Data Access layer (I presume classes).
I'm suppose be taking over support for this code so the folder was
dropped off on my local mach... more >>
Newbie Question - Pass a parameter when consuming XML feed
Posted by Bishop at 10/30/2007 8:46:27 AM
I use the following code to consume a XML feed and populate a dataset.
Dim myReader As System.Xml.XmlTextReader = New
System.Xml.XmlTextReader(myXMLURL)
Dim ds As Data.DataSet = New Data.DataSet()
ds.ReadXml(myReader)
Can anyone point me in the right direction for changing this code to pass... more >>
How do I downgrade from build 1378 to 832?
Posted by Faedros at 10/30/2007 4:12:01 AM
I installed VS2008b2 and as part of that got .Net framework 2.0.50727.1378.
since we use 2.0.50727.832 in our development work and the two versions are
not 100% compatible (e.g. SortOrder is defined in two places in 1378), I
would like to downgrade to 832 again. How do I do that?
I tried r... more >>
Referncing generic in XML comments
Posted by Paul S at 10/30/2007 3:04:01 AM
Hi
A have a generic class - InfoCollection<T>
The code comment for my constructor is:
/// <summary>
/// Instantiates a new instances of the <see
cref="InfoCollection[T]"/> class.
/// </summary>
I get a warning in the compilation saying that the comment has sy... more >>
interface
Posted by Bhuwan Bhaskar at 10/30/2007 12:00:00 AM
Hi,
How can I use the functions in class / object if they are same in interface.
Code is attached. I want to implement function f of i1 and i2 in the
objcet.
Thanks and regards.
Bhuwan
interface i1
{
string f();
}
interface i2
{
string f();
}
public class... more >>
asp.net config...why doesn't it create membership provider?
Posted by Darrel at 10/29/2007 8:26:03 PM
So I'm reading/watching tutorials showing me how to set up roles and users
via the Web Configuration Wizard.
However, I constantly run into issues with it just not working.
It appears that to enable all of this, it's supposed to be adding
information to my web.config file for me:
http:/... more >>
Closing SafeHandle
Posted by valentin tihomirov at 10/29/2007 5:21:02 PM
The SafeFileHandle is an extension of SafeHandle, which requires Close() or
Dispose() after used according to the docs. There are many examples on using
the named pipes in .Net. All the examples expoit
FileStream(CreateFile(PIPE_NAME)). You may look at
http://blog.paranoidferret.com/index.ph... more >>
VB.NET - .NET framevork, and unit testing book recommendation needed!
Posted by gamesforums NO[at]SPAM hotmail.com at 10/29/2007 2:06:37 PM
Hi!
I've been programming in VB.Net and done testing with TypeMock and
MbUnit (Testdriven.net) for about 2months now at work. I can see that
my testing skills and particular my knowledge about the .NET framework
is far too weak. Far to often I choose to implement custom stuff
that's already a... more >>
can't install or uninstall dotnet framework
Posted by Pete Morris at 10/29/2007 1:43:26 PM
hi, I'm having problems trying to install the .NET framework.
Every time I try to run the installer I get a message saying
that the patch packet could not be opened.
Trying to uninstall doesn't work eiter.
At the moment the Add and remove programs control panel
shows two installed Dotnet... more >>
Registry problems
Posted by dudaudio at 10/29/2007 10:31:00 AM
I am unable to load any programs after a major crash of Vista Home Premium.
The programs load ok (eg Auturoute 2007) but when I try to run them I get
told that my registry entries are incorrect and to reload the program again.
I have tried this and get the same problem.
Anyone got any ideas?
... more >>
What type objects can we can not serialiaze in dot net ?
Posted by Bhuwan Bhaskar at 10/29/2007 12:00:00 AM
Hi,
What type objects can we can not serialiaze in dot net ?
Thanks N Regards,
Bhuwan
... more >>
|