-
- .net framework 3.0 uninstallation is strange
by Jaffar Saeed
- 2 Replies
- Last post
by Jaffar Saeed
- in "windows xp" i uninstalled ".net framework 3.0" but "Microsoft XPS Document Writer" didn't uninstall with it.
so i removed "Microsoft XPS Document Writer" manually from "Printers and Faxes" folder.
after few days i reinstalled ".net framework 3.0" but "Microsoft XPS Document Writer" didn't reinstall with it !!!!!!
-
- Got it working
by gearhead
- 12 Replies
- Last post
by Carsten Kanstrup
- I've been trying to a simple Comm program to work using the ReadExisting method of the .Net 2.0 SerialPort class. The data value is being transmitted to me from a PIC micro dev board
as 4 ascii characters. i.e. binary 1234 is sent as a character
array of '1' '2' '3' '4' The data received event fires when ReceivedBytesThreshold is reached as it should, but I only get back one character when t
-
- what's technolgy can do this
by Jonny_King
- 4 Replies
- Last post
by Jonny_King
- I use VSA to program an application
this application can compile and execute code at run time.
and the script can control the object in the IVsaGlobalItem
but now i found the VSA namespace are being obsoleted
so I using codedom to do this work
I want know how can i make the script using the object(in my application) like IVsaGlobalItem added
-
- Problems With Special Characters When Screen Scrapping
by tweisel
- 3 Replies
- Last post
by OmegaMan
- I am writing an search app that scrapes websites and I am having problems with certain special characters. When a I grab the content, these special charters ( such as apostrophes and copyright signs ) come back jumbled. Here is the method I'm using to make the request. I thought that encoding the stream as UTF-8 would fix the problem but it doesn't. Does anyone out there know how I can fix this
-
- Unablet to connect to webservice from standalone exe
by Sumit_Dutta21
- 9 Replies
- Last post
by Sumit_Dutta21
- Hi,
I have one webservie which i am trying to connect through proxy. I could connect to it when i am running from visual studio. But when i try to run it from exe i get error operation time out.
Here is the code :
try { WebReference.GeorgiaService _ws = null; _ws = new WindowsApplication3.WebReference.GeorgiaService(); string _proxyUri = http://sumit.dutta.com:8080 ;
-
- How to open file in read mode if it is in use by another process
by Amol.jagtap149
- 3 Replies
- Last post
by nobugz
- I am trying to open file in read mode, which is already opened by other process in write mode. I am getting exception that says you can not access file because its being used by some other process. Does anybody knows how to open file which is already opened by other process in write mode. Thanks Amol
-
- Best way to convert one CSV file into another
by Fresh Mexican Food Fan
- 2 Replies
- Last post
by hodge
- What is the best way to convert a comma separated file into well, another comma separated file with a different format
For example:
1,One,Sunday,Holiday
2,Two,Monday,
3,Three,Tuesday,
4,Four,Wednesday,
...
...
...
to
Sunday,One,Holiday
Monday,,
Tuesday,,
Wednesday,,
Can Xsl be used for this purpose Thank you.
-
- Thread CPU affinity
by Samir Zattar
- 2 Replies
- Last post
by Samir Zattar
- Hi, IĄŻd like to know if thereĄŻs someway to make a thread run on a specific processor. I know itĄŻs possible to set a process affinity, but what I want is to have two threads in the same application run on different processors. My problem is that IĄŻm developing a software that launchs two cpu-intensive threads on a dual core cpu, and the two threads always end up using the same processor, so one cor
-
- Checking empty string.
by ~rabin
- 11 Replies
- Last post
by lior is
- As far as I know we can check whether a string is empty or not in various ways. Can someone please elaborate the differences among the techniques I mean performance wise, memory consumption wise etc. string str1="";
if(str1 == "")
if(str1 == string.Empty)
if(str1.Length == 0)
if(String.IsNullOrEmpty(str1)) Thanks.
-
- Cast between XmlTextReader and XmlReader
by Lews Therin
- 4 Replies
- Last post
by Robert Rossney
- Hello,
I've got a XML column in my database and need to process certain nodes. How can I cast between XmlReader and XmlTextReader
using ( SqlConnection connection = new SqlConnection (sqlConnectionString)) { connection.Open(); SqlCommand command = connection.CreateCommand(); command.Connection = connection; command.CommandText = "SELECT Details FROM User";
-
- Expected Release Date?
by Giorgio Galante
- 5 Replies
- Last post
by BenK
- I'm currently evaluating frameworks for a client and I'm trying to figure out if Acropolis is an option. We're looking to move to a new framework within the next couple of months. We're looking at SCSF/CAB, CSLA, Mere Mortals for .NET (Oak Leaf), etc.
Do you have an expected release date (or even a "Go Live" date) Thanks!
Regards,
Giorgio Galante
-
- TCP/IP Connections Over Internet
by Deathmench
- 5 Replies
- Last post
by Deathmench
- Hey! I have a server application and a client application that need to communicate over the internet. I have them working together very well on the LAN, and I was wondering what I would need to do to make this thing work online. I already have my router set up to forward ports to my server machine. I've done a bit of this stuff on a LAN, but never WAN, so please keep it simple! Any help is appreci
-
- Client found response content type of 'text/html; charset=UTF-8', but expected 'text/xml'.
by buzzsaw
- 8 Replies
- Last post
by DetlefRichter
- my company has a soap webservice exposed.... a python webservice... my duty is to have my application consume the exposed service. c# is unable use the service whe i try to set the reference to the service. Client found response content type of 'text/html; charset=UTF-8', but expected 'text/xml'. that's the error that am getting ... any one knows how to consume a pythong web service Thanks guys
-
- Ref Cursors in DAAB
by mahima
- 0 Replies
- Last post
by mahima
- Hi,
I have one procedure in Oracle which is returning the REF Cursor I am accessing it by using the Data access application block DAAB like the following:
OracleParameter param = new OracleParameter ();
param.ParameterName = "Emp_Cursor" ;
param.OracleType = OracleType .Cursor;
param.Direction = ParameterDirection .Output;
param.Size = 3000;
Database db =
-
- Can't access a file located on network drive using FileStream ?!
by PolarBear123
- 3 Replies
- Last post
by PolarBear123
- Hi,
I've written a short program to access a file located on a network drive (ex: z: ) using FileStream.
The code was as below, and running in Windows Form, and I have full-control rights on that network drive; when I run the program, it goes to the "catch ex" block, then show me "žÜ˝^´ćȥ¡˝Z:\A.doc" (the same meaning in English is: "Reject to access path: Z:\A.doc&quo
-
- unicode related problem
by shivv
- 0 Replies
- Last post
by shivv
- i have a form which has a dropdownlist(ddl). i am populating this dropdown list with a database table column say department..... the table has fields suppose department ,employee name,employee id etc... as i select the department from the ddl there is another ddl which get populated with the employee names working in the department (depeding on the previous selection). the emplyee names are stored
-
- Suppress repeating entries
by Gururaja
- 4 Replies
- Last post
by Gururaja
- I have the following xml
<TestRequests> <TestRequest CollectionStatus="Resulted"> <Category>Allergen</Category> <Specimen> <CollectedStartDT> <Value>2007-02-15T05:30:00.0000000+05:30</Value> </CollectedStartDT> </Specimen> <Results> <Observation>
-
- Trouble with DLL referencing
by julein
- 7 Replies
- Last post
by Suprotim Agarwal
- Hi people, I need to implement a wlanapi (wlanapi.dll) wrapper in C# (VS2005). I'm using WinXP SP2 and I downloaded the update containing the library and installed it. But when I try to add a reference to the library in my project, I got this error: A reference to 'C:\WINDOWS\SYSTEM32\wlanapi.dll' could not be added. Please make sure, that the file is accessible, and that it is a valid assembly or
-
- LDAP Query -> Get non-locked/disabled accounts
by QldRobbo
- 4 Replies
- Last post
by fmorales
- G'day, Didn't know where else to ask this... I have an LDAP query that gets a list of specific users from Active Directory. How do I only get users who's accounts are not locked/disabled. Thanks Rob
-
- .Net 2.0 threading: calls to Join(), after calling stop(), nerver return.
by Feng26
- 3 Replies
- Last post
by Greg Beech
- Hi,
I have recently converted our .net 1.1 project to .Net 2.0. One big issue that I am running into, and still don't have a clue of, is the our code for terminating a thread is no longer work. We have code that starts a thread and then kills it later. When killing it, we just call stop() then join() and it worked fine under .net1.1. But now it is not, after converting to .net 2.0. The join() n
-
- How to control the primary key of a typed datatable
by phlics.live
- 11 Replies
- Last post
by captain paul
- Hi All,
I created a table in SQL server and there is a column named "ID" which type is guid and default value is newid(). This column also been set to primary key of the table.
I also created a typed dataset in Visual Studio 2005 from preceding table , then in a windows form , used datagridview control to show and add new record to it(set the column of ID to readonly, I hope SQL Server help
-
- SQL Connection as a differnt user
by Backwards
- 14 Replies
- Last post
by Vayse_Dev
- I'm using visual studio 2005 and SQL 2000, trying to connect to a sql database as a differnent user.
Here is my current connection string that is using my own NT login:
Dim message As String = "Data Source=" + Me.ComboBox1.Text.ToString() + ";Initial Catalog=Store;Integrated Security=SSPI" Dim sql As New SqlClient.SqlConnection(message)
sql .Open()
I
-
- XSLT VS C# (Using XPath)
by Rachin
- 4 Replies
- Last post
by Sergey Dubinets - MSFT
- Hi Guys,
Can you tell me which way for processing XML is better and Why
Conditions :
1.The final data is to be used by an ASP.NET Page (C#). We need the data as quickly as possible.
2. Both methods will use same XPath queries
Processing Way 1:
XPath with XSLT
Processing Way 2:
XPath with C# (system.xml class)
Thanks and Regards
Rachin Kapoor
-
- There is already an open DataReader associated with this Connection which must be closed first.
by Wiltek Ghozali
- 5 Replies
- Last post
by VMazur
- How to handle this error
"There is already an open DataReader associated with this Connection which must be closed first."
I'm using some thread, each thread has to retrieve datas from my SQL Server database.
-
- Debugging a web service
by sagittarian
- 4 Replies
- Last post
by Haroon Latif
- OK. This one might sound stupid. But I am very very new to web services and I am working on the client side of it, mostly. I have a web service project, I publish it to the local IIS in a location say, localhost/TRSServer. I have a client program with communicates (Syncs) with the webservice and it works fine. The problem is how would I debug both the applications simultaneously This is the line