-
- How to limit a threads ram allocation.
by smwoodward
- 2 Replies
- Last post
by nikov
- In my program, i am calling a thread that apparently eats up ram like it's nothing. is there a way to limit the amount of ram that the thread uses so that the system does not become unusable untill it's done
-
- Why Won't My Database Update?
by ckjaime
- 4 Replies
- Last post
by Derek Smyth
- Moderators: Please move this if it is posted in the wrong forum.
I am extremely new to programing and am trying to teach myself Visual Basic. I wrote a program that connects to a database. It successfully reads the table, however it will not update. Can someone look at m y code below and try to see what's wrong Thanks.
Code Snippet
Public Class frmCalls
'database
-
- Event ID: 1000, Faulting application w3wp.exe, faulting module unknown,
by -Jazzy
- 2 Replies
- Last post
by Chrysa
- We are receiving error from .Net Framework 2.0 on one server and other server are working fine. We know application process that is w3wp.exe, but the module, which is generating is not known. Help will be highly appreciated.
Event Type: Error
Event Source: .NET Runtime 2.0 Error Reporting
Event Category: None
Event ID: 1000
Date: 7/10
-
- XML Parsing
by Ori'
- 2 Replies
- Last post
by Martin Honnen
- Hello,
I need a fast xml parser, that saves the data in memory after the first read, and lets read and update the data.
the operation of searching a child element by name is a very common operation and I need it to be fast (in microsoft DOM implementation this operation is called SelectSingleNode(NodeName))
which parser should I use I want it to be fast, I don't need any more features (li
-
- Any Class for Reading RAM Content???
by SaiSatish
- 3 Replies
- Last post
by SaiSatish
- Is There any class to read RAM Content from specific location to Scpecific Location like in C
-
- Object reference not set to an instance of an object
by karthi84
- 14 Replies
- Last post
by Jeremy51
- I get this error in an alert message (" Object reference not set to an instance of an object ") when i tried to bind data to my grid view using configure data source window. The rest of the process are working fine. What could be the problem. can any one help me.
-
- AutoComplete
by SJY
- 2 Replies
- Last post
by Christopher Scrosati - MSFT
- Hi all,
I'm not sure if this is the right place to ask but I need your help on "AutoComplete".
When a list is suggested for AutoComplete, you choose one data by pressing Up/Down key & Enter or by clicking on it.
The problem comes when the text disappears as soon as the data is selected by action (Enter or Click).
How do you keep the text without disappearing from t
-
- Object in Web Service
by bes7252
- 3 Replies
- Last post
by bes7252
- Let's say I create an object named FontSet that has some properties and a method named FindFont(). The object is returned from a Web Service method named GetFontSet().
My client creates a web service proxy, calls GetFontSet(), and calls FindFont() on the returned object. Where does FindFont() execute Is the object still located on the web server Or does the proxy object somehow gain the
-
- Aout XmlNode when i use XmlTextReader?
by Aking
- 3 Replies
- Last post
by Aking
- I have a application, i use XmltextReader to read a large XML file. When i read the node i need, but i have the problem that i don't know how to get this XmlNode(the type is XmlNode).
Help! Thanks a lot!
-
- How to pass pointer arguments from Visual C# to a function on a Visual C++ .dll?
by Lu&#23
- 2 Replies
- Last post
by nobugz
- Hello Everybody, I have a Visual C++ .dll with a function i need to use. It has the following prototype: int Checksum.WithClass.GetChecksum(sbyte *Buf, int BufSize, sbyte *Checksum, sbyte *CSKey); This function calculates a checksum for a message specified by Buf against a CSKey key and returns it thru the Checksum pointer. I need to call this function from Visual C# but have no idea how to conver
-
- Making Public Methods of .NET Class COM Visible
by Informatosaurus
- 4 Replies
- Last post
by Informatosaurus
- Hi, Everybody!
URGENT!!!
I recently created a COM Callable Wrapper (CCW) for a .NET class I created. After following the steps indicated to create a CCW, I noticed that only the classes in the assembly were COM visible, but not their public methods. What is the simplest way to make my .NET classes public methods also COM visible
Please advise...
-
- polymorphism on explicit interface implementations
by Stephan Smetsers
- 7 Replies
- Last post
by Stephan Smetsers
- Today I figured out that polymorphism is possible for explicit interface implementations using a reflection trick.
Using reflection we can determine the base method address and call its implementation.
Example:
class Program
{
static void Main( string [] args)
{
ITest test = new TestB ();
test.Test();
Console .ReadLine();
}
}
-
- RijndaelManaged vs Rijndael
by bkejser
- 3 Replies
- Last post
by bkejser
- Hi
In the System.Security.Cryptography namespace there are two similar classes: Rijndael and RijndaelManaged. What is the difference between these two classes When would you use one and not the other
Thanks
-
- Missing msvcr.dll -- FOUND!
by Kat Lawson
- 14 Replies
- Last post
by qichichi@yahoo.com
- Greetings!
I got tired of seeing the "missing msvcr.dll" for 10 files when I scanned Norton's WinDoctor & One Button Checkup. www.dll-files.com doesn't have, as recommended by other posts -- --
So, I decided to run SEARCH to see if it was on my computer -- somewhere else. And, IT WAS! I found in c:\WINDOWS\WinSxS\..... folder
So, I copied &
-
- How to differentiate code by platform?
by Jan Kučera
- 3 Replies
- Last post
by Caddre
- Hello,
I have a class similar to BitArray with private member holding the bits, which I wanted to be int[] on x86 and long[] on x64. I've never done anything for x64 before, so first question is - is there any benefit using this How is this implemented in BitArray class itself
And the main question, how do I declare such type Do I have to start new project with completely separate code
-
- Visual C# client server application using sql server 2005
by Donald Allan
- 3 Replies
- Last post
by Caddre
- I would like to ask a sample client-server program in VC# that access a database in sql server 2005 from other machine or PC under winXP I have created the same program with this connection: @"Server=BREUNX\SQLEXPRESS;" + "Database=computerInventory;Trusted_Connection=yes;"; wherein BREUNX\SQLEXPRESS is the name of the machine i wish to connect to but it seems it can
-
- How to use .xlsx file in Dot Net
by Mahendrab123
- 2 Replies
- Last post
by Paul P Clement IV
- Hi,
I am not getting how to access . xlsx (this is file exention ) file in dot net . I need to show this file in Dtagrid or listview.
There is no problem in Xls file.
I getting Error Not Vlid Format./ File format not supported.
The file which i am using need's converter to read. This file is supporeted by OleDb .
Plz help me to find solution as soon as possible.
Reading err
-
- what is nullable ??, and int?
by Betaw
- 1 Replies
- Last post
by Greg Beech
- Hi
what is nullable
What is int
what is
Thanks
-
- Need help with XPath syntax
by DeathSurfer
- 5 Replies
- Last post
by DeathSurfer
- Duuudes: Need help with XPath syntax. I'm new to XPath so bear with me. In the following statement, The way I understand XPath so far should recursively look in the xml file below for every <worksheet_name> element whos value is "Fabric Roll Data " then recursively look for the <first_column_header> element no matter how deep it is in the children of <worksheet_name> an
-
- What to assign to STGMEDIUM.unionmember ?
by Npotnis
- 2 Replies
- Last post
by Npotnis
- I have a COM component implementing the IDataObject interface. So it has the SetData method which takes in the STGMEDIUM parameter and expects medium.pstm to be a pointer to IStream interface. I wish to invoke this method from a .Net client. Firstly to pass a IStream pointer, would I need to create a class implementing System.Runtime.InteropServices.ComTypes.IStream in .Net Secondly, the System.
-
- Enterprise Library Assembly not found
by JanDV
- 7 Replies
- Last post
by JanDV
- Hi all,
I am creating an application using the Enterprise Library 3.1 common, data and caching blocks. When I put everything in one project it works fine. However when I create a solution with 2 projects, I get the message that the data assembly cannot be found. I signed the assembly and put it in the GAC, but the error remains:
System.Configuration.ConfigurationErrorsExcept
-
- How to Upload a file and preserve the date/time stamp using FtpWebRequest
by Christopher Payne
- 1 Replies
- Last post
by Christopher Payne
- How do I upload a file to my FTP server and preserve the date/time stamp of the file using FtpWebRequest
I already have working code that will upload to the FTP server using FtpWebRequest, but the uploaded file gets the date/time when the file was uploaded. I need it to have the same date/time as the file I am uploading.
-
- Create AppDomain and configure runtime
by Shyam574209
- 2 Replies
- Last post
by Martin Xie - MSFT
- Here's the problem I am facing: I am using encoder for generating byte stream and eventually pipe it to SHA256 class , which generates hash code and written into an XML file. Now, this is done so far in .Net 1.1. After porint to .Net 2.0, I noticed different output and figured out it's a bug. To maintain backward compatility of my application, I have decided to maintain both key files in an XML fi
-
- HTTP POST request - data si splitted to a new line on the "&" symbol if any.
by Long John
- 2 Replies
- Last post
by Lancereno
- Hello,
I try to use this HTTP class to send data using Post request this way:
Code Snippet
StringCollection sc = new StringCollection(); sc.Add(utf8req); string utf8resp = HTTP.Post(serverURL, sc);
let's say utf8req = " &test", i.e. it happens to contain "&" - then the server receives
" " (new line here)
-
- .NET program communication
by A Wilco
- 3 Replies
- Last post
by Wenlong Dong - MSFT
- Okay this is a really simple question, but everyone has to start somewhere eh
Currently I have a C# .NET application (.NET 3.0) currently its just a normal app. What I want to do is create a web site through which I can control this app. Now I've got vista, so IIS7 and ASP.NET. How do I get my ASP.NET page to talk to my running app
I'm just looking for a place to start, I'm a hobby