-
- help with rather simple regex please?
by Flip597
- 8 Replies
- Last post
by OmegaMan
- I'm trying to create a simple regex to validate a string that can start with any alpha and then have any number of alpha and/or space characters so long as their length is >3 and < 29. The result is a string that starts with a character followed by any number of spacs and alphas >= length of four and <= length of 30.
So far I have
^( <Alpha>[a-zA-Z])((\k<Alpha>){3
-
- UDP Socket listening, how to listen more than 1 socket at same port?
by N1C0
- 1 Replies
- Last post
by Mariya Atanasova - MSFT
- Hello, I have 2 instances of server. Both instances create UDP socket listening for incoming messages. It seems that only 1 instace of my server can listen to the messages, the other seems to see that the UDP socket is not available when it suppose to receive. Below are portion of my code: Socket udpSocket = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp); udpSocke
-
- Peer.IsOnline has always property set to false
by Daniel Kornev - MSFT
- 2 Replies
- Last post
by rfreire
- Hello, folks,
I can't understand one important thing.
I'm playing with ContactManager. In my sample, I've got a set of contacts, but I can't determine if they are online or offline. I mean that the property of each PeerContact I work with is always false, not true.
I do the following:
Code Snippet
public class PeerContactSearcher : List , IPeerContactSe
-
- BIFE Hell
by Pontius
- 6 Replies
- Last post
by Caddre
- I am running MS Visual Studio 2005 on Windows XP 64-Bit.
I am able to build and run one of my projects for a target platform of x64 just fine. So I know that this capability is working ok for me.
However, I have another project which I cannot get to run for the life of me. Every time I run it in debug mode for an x64 target, I get the dreaded BadImageFormatException. It tells me th
-
- can't read msnger logs in XML..plz help
by wonderwoman13
- 5 Replies
- Last post
by Sergey Dubinets - MSFT
- k, so first of all i am a computer dummy, plz all info as basic as possible....so i deleted some chat logs through my history folder in my documents. one chat log i wanted to keep which i thought i did since it says i still have it but when i try to open it, it says: "Error loading stylesheet:null" in firefox and in IE it says error in loading XML in XSL file or something like that. i re
-
- Problem remoting through ISA Proxy Server
by CIAndrew
- 8 Replies
- Last post
by CIAndrew
- Hello All,
I have remoting app (in VB.NET 2005) that is having no luck getting through the ISA server proxy on Win 2003 at a client site.
I have other clients using a Linux proxy that are working fine by using the <proxy> section in the config file
< system.net > < settings > < httpWebRequest useUnsafeHeaderParsing = " true " />
-
- Isolated COM reference
by Ori&#39;
- 3 Replies
- Last post
by Feng Chen - MSFT
- Hello,
I tried to work with two different COM dlls by adding a reference and marking it as Isolated=true. With one of them it worked well, with the other it didn't.
I tried to find information on the isolated property prerequisite but couldn't find. Are there any
Thanks.
-
- Delegates .........
by SaloTheSolo
- 14 Replies
- Last post
by SaloTheSolo
- i have some confusing matter i wana ask about :
am using delegate to pass a function as a parameter to another function but am having a prob
my function passed cant access the form parts(listboxes,tables,.....)
first i defined the function as shared and pass it but it doesnt access
then i defined it as friend and make an instance of the defining class to pass it to the delegate but
-
- Bluetooth on PC
by Grooovie
- 1 Replies
- Last post
by Alan J. McFarlane
- After surfing the web for 3 days fulltime I only find bluetooth samples for Mobile applications.
I noticed that finding "Bluetooth Stack" gets me to more PC based BT info, but nowhere I can't find what i need:
I want to talk Bluetooth between PC and Mobile, the Mobile part will be probally MIDP cause it's a bigger spectrum of users.
Say I just want a chat program between PC ->
-
- Access Denied For XML File
by Senthil Nathan.S
- 2 Replies
- Last post
by Anonymous
- Hi am Creating one web page in ASP.NET and also implementing XML in my project am beginner to XML Creation in my project i create XML document for every single Record in database table I did this my level best Its Run fine in local Environment " But When i upload this page i can't get the XML document " It will display the error like this " Access to the path 'C:\bay\passengers.
-
- Extra space on right side and bottom of a DataGridView
by Mike Uttormark
- 2 Replies
- Last post
by Mike Uttormark
- Greetings,
I'm trying to display the status of a set of "resource managers" (imagine a set of heaps). Each column of my display is a different manager, and the 'rows' are different sizes in each column, and represent the "allocated" or "free" status of that region in the manager.
the following demo program shows my problem: I can't seem to get just one column i
-
- Invalid character in the given encoding
by seco
- 5 Replies
- Last post
by Derek Smyth
- Hi i have books.xml file like this -------------------------------------------------------------- < xml version="1.0" > <!-- This file represents a fragment of a book store inventory database --> <bookstore> <book genre=ˇ±autobiographyˇ± publicationdate=ˇ±1981ˇ± ISBN=ˇ±1-861003-11-0ˇ±> <title>The Autobiography of Benjamin Franklin</title> <author> <
-
- Versioning problem with strongly named asemblies
by Jeff Griffith
- 6 Replies
- Last post
by Jeff Griffith
- I have the followinf configuration:
Visual Studio 2005 Solution #1, that I'll call "Launcher", which produces one EXE and two DLL's
Visual Studio 2005 Solution #2, that I'll call "Middleware", which produces one DLL and it references the two DLL's in "Launcher"
Visual Studio 2005 Solution #3, that I'll call "Report", which produces one D
-
- i got a problem to compile
by ana_oviedo
- 4 Replies
- Last post
by ana_oviedo
- How can i solve this problem
'IDE.vshost.exe' (administrado): se cargo 'C:\WINDOWS\assembly\GAC_32\mscorlib\2.0.0.0__b77a5c561934e089\mscorlib.dll', se omitio la carga de simbolos. Se optimizo el modulo y se habilito la opcion 'Solo mi codigo'.
'IDE.vshost.exe' (administrado): se cargo 'C:\WINDOWS\assembly\GAC_MSIL\Microsoft.VisualStudio.HostingProcess.Utilities\8.0.0.0__b03f5f7f11d5
-
- Where an app.config works?
by codedelema
- 1 Replies
- Last post
by VMazur
- Under what type of projects can a app.config exist I tried to put one in and empty project and access the connection strings in it from within the project, and it didn't work. Seems to work fine from within a web, service or windows project, but not a class or empty project... Is there a reason for this
-
- CLR naming conflicts
by eldiener
- 11 Replies
- Last post
by mokeefe
- I am looking for some documentation about the use of identifiers as names in CLR code, and when a name in a class conflicts with the same name of another identifier in the class hierarchy. Does anybody know where such documentation exists In particular, can the name of a property be the same as the name of a method in the class hierarchy of a class Obviously this sort of question can be extended
-
- NullReferenceException in System Thread
by Larry Xiao
- 3 Replies
- Last post
by Feng Chen - MSFT
- Hi, I got an NullReferenceException in the System thread one out of every 5 times when I try to start the application. I have to get this issue resolved quickly since it is in production already. Please help!!! Here is the exception and the stack trace:
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current
-
- Dataset records
by JohnWP
- 4 Replies
- Last post
by JohnWP
- I am using VisualStudion Visual Basic 2005
how do I or can I assign an individual record or row in a dataset to a variable to be used elsewhere in the program. There doesn't seem to be an index I can use.
-
- question about sending mail ...
by JCJCJC
- 3 Replies
- Last post
by boban.s
- I want to build a webpage which can sending mail to user when they are forget their password
user only have to enter ID and MAIL ADDRESS. and then will compare which data user input with DB, if math and then sending password to user.
I just wrote these code ... but it's obviously there is no data in my array.. is anything wrong with my connect string please help
many thanks...
-
- Unable to install "Acropolis" August CTP
by Daniel Marti
- 6 Replies
- Last post
by Ricky Tan - MSFT
- I have the following configuration:
- Windows XP SP2
- Visual Studio 2005 Professional Edition
- Visual Studio 2008 Beta 2
I tried to install Microsoft "Acropolis" August CTP but i couldn't. At the end of the installation I got the following error: " Unable to move the replacement file to the file to be replaced. The file to be replaced has retained its ori
-
- Replace Text in a File
by seanperry
- 5 Replies
- Last post
by TilakGopi
- Hi All,
I am sort of stuck and I have been looking for a solution at this problem... It sounds simple but its not... Please help me.. Let me try to explain this..
I have a file with hundreds of line in it and starts like this
-- Start Date : 20050308_162107 -- End Date: 20050308_162107 Insert command Delete Command ... ...
Please note on the 2nd line --End Date: 20050308_162107 could a
-
- Problems with IndexOf
by Luisfe
- 14 Replies
- Last post
by Friendly Dog
- I have problems with IndexOf in C#. It doesn't work properly.
This is the code:
string i = " public MceaString getCHORA()";
int a = i.IndexOf("getC");
The value of int a after executing the code is -1.
Anybody knows why this happen Could you help me
-
- Reverting to appDomain user after remoted users flowed identity is checked.
by XBTester
- 1 Replies
- Last post
by XBTester
- The following code reads the user Identity flowed over TCP to the server where I check for membership. With a minor inconvenience this works fine.
The problem I was concerned about is if the thread is now identified as having the remote user's identity then the server may not have all the authority it needs to do things like log errors. We don't want to give each user the authority so we woud l
-
- SQL Update
by swingme
- 8 Replies
- Last post
by swingme
- Hai, How can i speed up the update of a large number of rows at a time Is there anything like SqlBulkCopy for update also I am working with dot net 2.0. Thanks for any Help in Advance Regards swingme
-
- Number of Rows
by AlexBB
- 5 Replies
- Last post
by Ross Dargan
- Sorry for asking perhaps a silly question but the semantics of this property is so unclear that I am beginning to have doubts. I am talking about the Length property as highlighted below:
DataRow[] rows = Globals.dtSets.Tables[indexTable].Select ( "date >= #" +