-
- Problem with TCP reception
by Laurent563745
- 4 Replies
- Last post
by Laurent
- Hello everybody !
I'm developing at the moment a program which serves as a TCP server and I encounter a big problem with the client data reception:
In my reception loop, the Receive() function of my reception socket, sometimes returns without receiving the expected number of bytes. This is quite strange considering that this function works in blocking mode...
I ask to rec
-
- FullName property of System.Reflection.Assembly.GetCallingAssembly
by atconway
- 2 Replies
- Last post
by atconway
- I have 2 separate projects that both make a call to 'System.Reflection.Assembly.GetCallingAssembly'. For one of the apps I get the correct information for the 'FullName' property, which contains the name of the calling application. The other application is NOT giving me the correct name but rather a string like such:
"App_Web_ve6rkvzt " which runs in the System32 .NET Framework direct
-
- Invalid European Language Characters
by PhilwRB
- 1 Replies
- Last post
by Mattias Sjogren
- I'm using the 1.1 Framework to develop two natural language parsers; one in German and one in Danish. Both of the parsers suffer from an invalid character error when parsing sentences which contain non-english characters. Both of these languages use charaters not found in english (i.e. u in German). The error I'm receiving is a 1.1 .NET error and displays the invalid character within the error mes
-
- Starting a web service from code elsewhere in the same solution
by Christian Hayter
- 0 Replies
- Last post
by Christian Hayter
- I am writing a set of utility components for use within web services. I have one big solution containing (a) the components, (b) a web service project that unit-tests them, and (c) a standalone exe project that calls the web methods that run the unit tests. At the moment, I can only get all the unit tests to run by setting both the test web service project and the test exe project to start simulta
-
- How to make random.... random
by Yertle
- 12 Replies
- Last post
by Yertle
- hello, i'm currently typing up a web page in C#, using visual web designer 2005 express and i do not know how to make sure that if i call random more than once that it randomizes it, because currently i get the same number out of all my randoms. Is there an easy way to fix this i read something about seeds anyways thanks for your time.
-
- How the ControlToValidate property work in designer (design time)?
by nghianghesi
- 1 Replies
- Last post
by Nathan Anderson - MSFT
- hi all My Usercontrol have an property (named TargetControl) similar to ControlToValidate of validate controls (require, range ...) My question is that how to configure the TargetControl property to work like ControlToValidate does I mean there's an dropdown editor through which i can select the associate controls available in web page for target. Thanks Nghia Nguyen
-
- installing .NET Framework
by miscal
- 5 Replies
- Last post
by MishaSoft
- HI,
My application requires .NET Framework for running. I understand I can store the .NET Framework installation file in my web site, and allow the user to download it from there. I would like to verify it. If true, I assume I need to specify the License agreement (from Microsoft) on my web site. Where do I find it
-
- Using WebClient to download file
by xlordt
- 6 Replies
- Last post
by Evan Mulawski
- This is my first time using webclient to create a file down loader.. but for some reason it wont work.. actually it wont do anything.. using System; using System.Net; using System.IO; using System.ComponentModel; class __MainDownloader__ { public static void Main () { WebClient user = new WebClient (); Uri uri = new Uri ("http://www.mosaic.dbmsystems.net/tmp/"); try { Console.WriteLine
-
- Urgent - help - Getting child nodes via recursion for Dictionary object
by Arc
- 1 Replies
- Last post
by nobugz
- Hi,
I am facing problems while making recursion to retreive the child nodes for a given node. I have a dictionary object List with the starting node and have to iterate though each child node of this parent node to see if the child node contains any children. If so, then iterate through each child and so on till no more children are found for that child and then add this to the list that is to
-
- Why custom IClientChannelSinkProvider not called?
by Pranav joshi
- 0 Replies
- Last post
by Pranav joshi
- Hi Everybody, Why Custom IClientChannelSinkProvider not being called, The client side code is like this. The class ClientChnSinkProvider implements IClientChannelSinkProvider but it is not being called, On debugging the constructor of ClientChnSinkProvider is not called. But if I use Configuration file then it is called. The code is in Delphi but it is easily understandable. Props := HashTable.Cr
-
- Shell Hooks in .NET
by kanato
- 6 Replies
- Last post
by LCARSNxG
- I'm trying to play around with using a Windows hook to tell when different application windows are openned or activated. It's not working right; I'm not sure what's wrong. When I first run my application, there is at most one call to ShellProc.
Here's what's really confusing me: if I change the argument to SetWindowsHookEx from WH_SHELL to WH_KEYBOARD_LL, then I get every single keyboard event
-
- SQL selecting mulitiple records
by Morn
- 2 Replies
- Last post
by William Vaughn
- I am try to create a data grid that will select all users with a surname that is stored in a variable that has been entered earlier. The code below is there to quickly check the database to see if there are any records of that surname, the next section which will compile a DataGrid is going to do the rest of the work. I keep getting an error saying that there is a missing parameter, I have tried v
-
- Data Access question
by clekkas
- 4 Replies
- Last post
by clekkas
- Hi everyone, a newbie question. I want to read one table and use a datareader to iterate thru its record. In the meantime I have another sqlcommand open which calls a stored procedure. I want to execute this command for each record in the data reader. I get an error "There is already an open DataReader associated witht his command..." Here is some of the code using (SqlConnection cn
-
- How to implement a simple binary (WAP) service?
by Lars553899
- 6 Replies
- Last post
by Jason Van Eaton - MSFT
- What would be the easiest way to implement a simple web-service for a binary XML-format (WAP)
Initially, the performance would not be an issue.
My previous post regarding logging in/outbound SOAP-messages are also relevant to this question.
I am relatively new to web-services but hopefully a quick learner..
-
- Xml_id
by Divakar_ibpm
- 4 Replies
- Last post
by Divakar_ibpm
- Hi friends,
I didnt get the solution for past 4 days....
Iam having an Xml file,on that xml file they had different values,if i delete the values,values are deleted.if i delete all the values in single tag,automatically an unique id is generating.How to avoid that automatic id
Regards
Divakar
-
- c++ /* match */
by giuseppe500
- 1 Replies
- Last post
by tonn
- Hello. I would to match the comments in a c++ application,and i try /\*.*\*/ but if there is a new \*/ after the first match it select all ! how i resolve thanks in advance
-
- Search, create or update a record
by Joao Pinto
- 7 Replies
- Last post
by Joao Pinto
- Hello,
I'm trying to do a search on a dataset and if I find a record matching a value, I want to update the record; If i don't find any record, I want to insert a new. I've the following code:
Imports System.Data.OleDb
Dim cmd As OleDbCommand
Dim dsNR As DataRow
Dim cb = New OleDb.OleDbCommandBuilder(da)
con.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;"
-
- .net3.5 and w2k.sp4
by maxtoroq
- 1 Replies
- Last post
by Aaronru - MSFT
- My question is regarding the limitation of installing .net 3.5 on w2k.sp4. What are to actual reasons for this limitation
The other day I decided to try linq2objects on my w2k server, to see if it worked, and it did. All I had to do was copy System.Core.dll in my app.
So next I went for linq2sql, this has more dependencies, like System.Data.Linq.dll, System.Xml.Linq.dll, which I deployed
-
- WSS4JInHandler: security processing failed
by manish.net2
- 2 Replies
- Last post
by manish.net2
- When I called web service method then I am getting following error
WSS4JInHandler: security processing failed
-
- Getting wrong path from Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location
by Sanjivani
- 2 Replies
- Last post
by nobugz
- Hi
I am getting wrong location for my file. My file is at different
loaction but
"Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location" always
returning "C:\Windows\System32" path. But it runs ok on other machines.
What could be the reason for getting system32 path instead of actual file path. The file is running as windows service.
Thanks
SAnjivani
-
- Problem with Login through SQL Express with ASP.Net
by Gepeto
- 7 Replies
- Last post
by Mark-New Hudson Technologies,L
- Good afternoon I have a 2003 server standard edition running IIS6 and hosting a asp.net (.net 2) application. We have installed SQL Express on that server and registered asp in a database. I have set my localsql string to point to that database, with my sa password for testing purposes. Using forms authentication, we can easily create users now. They get registered in the users and membership tabl
-
- How to filter some characters
by Bily Jiang
- 11 Replies
- Last post
by Nenad Vicentic
- Hi,
I want to delete my custom calendar from the generated html script.
The regular expression is like following
<[a|A](.|\n)*<img(.|\n)*.</[a|A]>
But later I found it also match some other part (it has <HT>) in the page. So I want to filter the characters I didn't want by the special symbol (<HT>)
The (.|\n)* is for all characters, how can I filter
-
- Regular Expression for password
by Rajesh Patil &#40;Pune
- 2 Replies
- Last post
by Rajesh Patil (Pune)
- Hi all,
I want reguler expression for validating password with
following requirement.
1). Length 1 to 20.
2). only alphanumeric characters, special characters not allowed.
Thank you in advance.
-
- *Simple* guide to adding localization to existing app?
by Brad Smith
- 2 Replies
- Last post
by Brad Smith
- So I have an existing .NET assembly (C# *not* ASP.NET) that I've been handed to work on. It has all the string/icon resources in a resources.resx, and there are a few forms with associated .resx files.
One of the tasks I've been asked to look at now that the assembly is mostly complete is translating all the resources to a second language.
I can find a bunch of articles talking about how imp
-
- How to create SQL connection outside of the code?
by Levani777
- 8 Replies
- Last post
by Levani777
- Hi everybody!
I am quite new in C# programming, but I really want to study it!
I have question, concerning the connection string to SQL Express 2005.
So I have developed small application that allows users to grab some reports from the SQL Express database. What I need to do is to separate SQL connection string from the code. I need to create some configuration window wi