-
- Process make, ending when calling an external application
by LasseJ
- 6 Replies
- Last post
by LasseJ
- Hi I'm working with an application which is downloading the latest version from Team Foundation and executing some specific makefiles using nmake. But when nmake is executing an external application defined in the makefile c# belives it has finished and goes on leaving the rest of the make undone. Im using the following piece of code: Process p = new Process(); p.StartInfo.FileName = cmdPath + &qu
-
- ConfigSource
by Anonymous574052
- 1 Replies
- Last post
by CliveJar
- Declaring section include
<configSections> <section name="CustomSettings" type="TestApp.CustomSettings.CustomSettingsSection,TestApp" allowLocation="true" allowDefinition="Everywhere" /> </configSections> <CustomSettings configSource=".\CustomSettings.xml" />
making changes to any values within that section an
-
- Account cannot access private key
by alblurrow
- 4 Replies
- Last post
by alblurrow
- Hello,
I'm developping a web service with WSE 3.0. I use mutualcertificate for security and authentificate. But I can only get it working when impersonating as Administrator. Otherwise I always get the error that I cannot access private key.
I've use the WSE 3.0 Certificate Tool and I have given access to everyone to the private key. But I still don't get it to work.
Another option was cr
-
- Security Update for Microsoft .NET Framework, Version 1.0 Service Pack 3 (KB928367)
by Shelton Lott
- 2 Replies
- Last post
by Aaron Stebner
- I'm working with an old computer here that takes up too much of my time each day with its problems. I have been having this issue for a few weeks; after surely 10+ hours of trying to fix it on my own, I have thrown in the towel. So, here's the message: Some updates could not be installed The following updates were not installed: Security Update for Microsoft .NET Framework, Version 1.0 Service Pa
-
- Saving all soap messages to files
by Andrew&#64;mpc
- 2 Replies
- Last post
by rfreire
- I am pretty new to creating web services in c# .Net 2005. I am looking for a way that I can save all incoming requests to my web service in their raw xml format to a file location on the local machine.
I am not doing anything special, just the default web service. For example, I want to store all the requests to my TestWebService method. I want them to store to the location "C:\xml\&qu
-
- Need to convert C++ to C#
by tonofit
- 3 Replies
- Last post
by nobugz
- How would this be converted to C#
typedef struct
{
.
.
. } XX_TRANSFER_BLOCK;
XX_TRANSFER_BLOCK XferBlock;
void Function(PULONG pValue)
{
PBYTE Val = (PBYTE)pValue;
(PBYTE) &XferBlock; // Not sure How to covert this one
.
.
.
I'm guessing this is what the converted C# code would be, is this correct
struct
{ } XX_TRANS
-
- How to get FieldInfo without using the field's name or GetFields ?
by chloh
- 4 Replies
- Last post
by chloh
- Hi all, I have a code like this:
Code Snippet
public class SomeInfo { public int ID; public string Food; } public class Form1: Form { public void Init() { ComboBox cbox = new ComboBox; SomeInfo[] infos = new SomeInfo[10];
for (int i=0; i<10; i++) { infos[i].ID = i; infos[i].Food = "Food " + i; }
cbox.DataSource = infos; cbox.ValueMember = "ID"
-
- Move Window Speed on PPC2003 in C#
by BOPOH
- 2 Replies
- Last post
by BOPOH
- AIM: move window in PPC2003 using C#. In my app. I create a UserControl object(150x150 window with some other controls) that is part of a form. User should be able to move that object with mouse. So, code is:
Code Snippet
private void ClockInStore_Dlg_MouseUp(object sender, System.Windows.Forms.MouseEventArgs e) { if (!drag) return; this.Capture = drag = false;
-
- HELP, HELP!!! CONVERT A DATA STRUCTURE IN C# TO A ACCESS DATABASE
by Eder Andr&#38;&
- 3 Replies
- Last post
by Robert Rossney
- Hello:
Recently I¡¯m migrating from data structures to databases. I¡¯ve converted a Customers, Products and PendingOrders collections into a Microsoft Access 2003 data base. But I must convert many other data structures.
Now, the problem is a graph. In this project, there are cities and transportation means. Traveling to one city to another we must use a car, a bus, a train, an airpl
-
- Using XSD
by WRBehning
- 4 Replies
- Last post
by WRBehning
- Is there a way to use a XML Schema (XSD) in a project other than referencing the file path or URI
I am reading this file using a DataSet's ReadXmlSchema method.
dsInput = new DataSet ();
string strXsdFile = @"C:\Documents and Settings\My Documents\Visual Studio 2005\Projects\MyProject\JobFeed.xsd
dsInput.ReadXmlSchema(strXsdFile);
...
I used brute force and used a stringbuilde
-
- 64bit COM object with 64Bit .net
by cyost
- 4 Replies
- Last post
by cyost
- So, here is our situation.
Win2003 Server
.net 3.0
We have an external COM EXE that is running 64-bit. It creates 64-bit COM objects based on the prog-id and returns those over the interface defined when creating the exe.
If we have it create a COM object, and return the interface to ASP.NET it works. But if that object has a method that returns another 64-bit com object, t
-
- Remoted server needs to run as a windows service - client to connect to the service?
by Ramaswamy
- 12 Replies
- Last post
by Sowmy Srinivasan
- Hi
I have a design where in the remoted server and the client (UI) connect via IPC channels - remoting, and they are working fine.
Now I have to run the remoted server from a Windows service, so that i can achieve the benefits of a service ( I have certain tasks like when windows shuts down, I have to store data and do other similar tasks).
I am stuck on how to go about bringi
-
- out of memory exception in .NET Remoting v2.0 - TCP Channel Binary formatter
by mobigital
- 14 Replies
- Last post
by mobigital
- Has anyone seen this error I am getting it when the server is supposed to return a dataset with response data. The database may be large but not more than a couple of megabytes. can anyone advise what could be the issue System.OutOfMemoryException:
Exception of type 'System.OutOfMemoryException' was thrown. Server stack trace: at
System.String.GetStringForStringBuilder(String value, Int32
-
- DateTime.Ticks bug?
by Tiago561991
- 14 Replies
- Last post
by Peter Ritchie
- Hi.
I'm having a problem with DateTime.Ticks since last day saving hour change. Here's a code snippet to show the problem:
Code Snippet public void DateTimeBug() { DateTime dt = DateTime.Now; long t1 = dt.Ticks; dt = dt.ToUniversalTime(); long t2 = dt.Ticks; long t3 = t2 - t1; Console.WriteLine(t3); //t3 SHOULD be 0, but it disp
-
- WebMethod returning DataTable
by GSReddy
- 4 Replies
- Last post
by Indian Ocean
- I got an improper result in dot Net web service. For example, I have a WebMethod GetData,
[ WebMethod ]
public virtual DataTable GetData( string tableName)
{
DataTable retDataTable = obj.GetData(tableName);
return retDataTable;
}
Whenever WebReference to client application, in client stub (Reference.cs) GetData webmethod return type taken
-
- How to bulk insert in .net 1.1
by Kamii47
- 5 Replies
- Last post
by William Vaughn
- I have the following code to insert values from dataset to db How can I bulk insert following records in .net 1.1 OdbcConnection odbcConnection1 = new OdbcConnection(@"dsn=Mydsnname;uid=mydsnid;pwd=mydsnpasssword"); OdbcCommand cmd = new OdbcCommand(); cmd.CommandType = System.Data.CommandType.Text; cmd.Connection = odbcConnection1; odbcCo
-
- Logging into a single file when more than user access an application
by akjal
- 14 Replies
- Last post
by akjal
- Hi,
I have a web appliaction which uses a class library to write a log file about all actions ,exceptions ,etc happened when user accesses the application. The thing is the classlibrary log the information to a single location,say D:\logfile\logging.txt. But when several users access the application how can we sure how to aoid contention among users. Is there any problem with my approach An
-
- What is the scope of the ReaderWriterLock class?
by dferraro
- 13 Replies
- Last post
by Peter Ritchie
- Hello,
I am doing some basic multi-threading in a WCF Service. I am trying to use the ReaderWriterLock class to handle the 'critical sections' so to say....
My question is simple: what is the scope of the ReaderWriteLock class Do I make just a single global instance of this class for all thread locking Can I dim a new ReaderWriteLock class each time I want to lock or poll a thread Or
-
- Beginning XML with VS2005 and SQL2005 - where to start?
by Anonymous561173
- 8 Replies
- Last post
by Anonymous
- I'm using VS2005 & SQl 2005 , I want to Convert table in my Data Base to XML Fille .
Firstly : I'm Create DataSet Object Named DataSet1.xsd Load my Table I'm Used this Code but when Run My Project No any Error
and Don't Create the file
Please Help Me,
Thank You for Effort..
This is my Code :
protected void Button1_Click( object sender, EventArgs e) // Ca
-
- Inherit from parent the permission entries....
by Joe Pickering
- 1 Replies
- Last post
by Joe Pickering
- I'm am looking for a way to set the ACE of a folder so it does not inherit from the parent and removes the permission entries that were previously applied.
-
- Passing array of binary data from unmanaged to managed...
by TommySson
- 1 Replies
- Last post
by DMilirud
- Hi, it is me again...
Remeber my post from yesterday: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1412612&SiteID=1
I solved that problem alright and the managed client code was quite pleased to find out that the answer is 42...
However, requirements changed and the client now wants the answer as an array of binary data.
Ideally the client's C# method that gets call
-
- xmltextreader and digg.com rss' feeds
by cyberprashant
- 6 Replies
- Last post
by Brian Kuhn
- Hi,
I have a rss feed reader that works fine except on any of the rss feeds at digg.com: http://www.digg.com/rss/index.xml - on this feed for example the xmltextreader will crash during the do while (reader.read) loop
Sample code:
Sub Main() Const URLString As String = "http://localhost/books.xml" Dim reader As XmlTextReader = New XmlTextReader(URLString) Do While (
-
- Problem connecting to a webservice
by TonyJ_UK
- 3 Replies
- Last post
by TonyJ_UK
- Somebody help me - this is killing me. The overall problem is within a complex distributed application consisting of a smart client app and a series of web services, but to illustrate the issue i've scaled it right down to a simple web application that invokes a web request on another unsecured resource. My web app is very simple with just the following in Page_Load:
1
-
- Code For Search Functionality Querying My Database !!
by ColMM
- 0 Replies
- Last post
by ColMM
- Hi All
OK, so I am a newbie to vb.net .... I am using Visual Basic 2005 Express having previously only ever used Visual Basic 6....
Now, what I am doing is developing an app that will allow searching of my Access Database. For this (under vb6) I used the old DataControl to flick thru the d/base and used the following code to search my address book for any particular person (using my
-
- running app on a network
by reddzer
- 4 Replies
- Last post
by nobugz
- Is it possible to modify a vb.net application to run on the network. if so how can this be done. thanks alot