I am having this weired issue that CSV attachment sent via email using .NET SmtpClient appeared at the bottom of the email rather than attachment in Lotus Note. I just don’t know how to figure it out and I have no access to client computer makes debugging very hard. What are the possible steps I can take and possible gotchas I need to be...
I work on window C# vs05. i want to read a image by IDataReader....in oledb....how can i do it suppose i want to read int value from database column name student id then i write code in bellow way
private IDataReader _reader;
public int GetInt32(String sFieldName)
{
return (_reader[sFieldName]==DBNull.Value)? (Int32) 0 :Conv...
Hi There,
I am communicating with a device via serial via the SerialPort class of .NET and based on third-party device specification requirements I need to calculate a "block check character". The only information I am told is that it is an exclusive OR operation (XOR) and it must be performed over all characters.
So if I have the st...
Hello there,
I have made an application (for my self) for feeds reading, using SyndicationFeed,
and the problem is that it supports just Atom 1.0 and RSS 2.0.
I have bunch of feeds which are RSS 0.92 version and so...
So my question is: Is there any service which I can use for converting RSS 0.92 to RSS 2.0 or Atom 1.0.
Someone told...
I am working on a project that requires me to define a DSL. Since coming up with the right DSL is critical for my project, I decided to evaluate existing frameworks that help in defining DSLs,parsing it and code generation(which has to be in a .NET based language) The frameworks I considered are :
Boo language that has a customizable c...
What are the advantages of using listview over gridview? I need pagination, editing rows, inserting and deleting rows in my view. Which is the best control for that? Seems like Data pager is not supported on gridview... I would like to know what all I would miss if I migrate my gridviews to listviews.
...
I want to use code beside files for my views in my ASP.NET MVC project. Is there any simple way in Visual Studion 2008 how to add a code beside file to the view?
Note: I know that code besides files are no preferred in ASP.NET MVC but my reason is that I want to give .aspx files to designer and don't want to confuse him nonHTML code as ...
I need a quick list of stores and why you think they are the best.
...
Hi,
I have application which needs to use a dll (also written by me) which has be independently verified by a government agency. We plan to modify the dll very rarely due to the re-verification which would be required. I want to prevent inadvertent modifications to this dll being picked up by my application. Is there a way to create a h...
What is the best and cleanest way to close a console application on windows mobile?
The application by default is invisible and you cannot see it in the running programs, which is great for running a background process, but sometimes the user might need to close it..
...
I am on the verge of remaking an application for e-learning.
But now I want to take this new version to a new level.
So this the scenario: a user opens up my app. He/she then chooses to be trained in one of the most common MS Office applications (Word,Excel,Outlook, etc).
My app will give the user instructions on what to do: create a n...
i want to sort dictionary based upon value of each dictioanry item.but if i use sorted dictionary search time complexity will increase from constant to log2(n).so i want to directly assign reference of value list in dictionary to a list.then i can sort this list and get results.i dont want to iterate to each element of dictionary to add ...
What is difference in developing applications using .Net Framework, Asp.net and developing application in Sharepoint (MOSS or WSS)?
...
I looking for a way to create Delta Diff Patches of Large Binary Files (VMWare Virtual Disk Files). Is there an implementation in C# or any useful methods in the the .NET Framework.
Any help is appreciated. Thanks.
rAyt
...
I have two essentially separate applications for configuring two pieces of hardware sold by this company.
I've been asked to put the two applications together so that they can be accessed from within the same program in such a way that both are accessible. An analogy to the idea would be opening a program, selecting a file to open, then...
Quote from Wikipedia : "A public key token. This is a 64-bit hash of the public key which corresponds to the private key used to sign[1] the assembly. A signed assembly is said to have a strong name."
[Source :
http://en.wikipedia.org/wiki/.NET_assemblies]
Is this correct? I feel this is not consistent with the explanation that follows...
Hi,
I am trying to modify the amcap, an application from Windows SDK's example to capture video from UVC webcam having resolution 1600x1200px.
I am trying to hardcode some variables here like filename, default resolution, type of format etc.
WCHAR wszCaptureFile[260];
gcap.wszCaptureFile = (WCHAR)"Capture.avi\0" //modified
gettn...
So, hashes are useful because they change password/login name/salt value combinations to a code that cannot be reversed. The client sends this hash to the server. The server compares the hash to a list of stored hashes to see if the client's user may be granted access.
But how do I prevent a malicious user from intercepting the hashed pa...
I'm developing a plugin (C++/CLI DLL) that runs inside of an certain applications, about which I only know the HWND. My plugin shows various .NET forms that I'd like to behave as children of the main application (e.g. centered to the main window, etc). Here's what I've tried:
// MyDialog.h
public ref class MyDialog : public System::Wi...
I downloaded and installed the .net framework 4.0, but I didn't install VS 2010, because VS 2010 require the high-performance computer hardware. I have no but I expect to taste the C# 4.0 feature.
...