Representation of Constants
Hello, I would like to raise a question about constants in source code. Usualy a constant is a value represented by it's harcoded version or by a constant variable. The second case is more standard....
View ArticleWord interop problem : String parameter too long.
Hii'm using wordApp.Selection.Find.Execute to replace my text with some tags in the word doc. but if my text is long, i'm facing this error :String parameter too long.how to solve this problem ?i'm...
View Articlec# to hide and show desktop icons
Hi guy I want to make a programme in c# to hide and show desktop iconslike we do by :desktop->right click->view->show desktop icons is there a sample program or API ?
View ArticlePatching a large assembly
Hi! I'm having an application, a large application. And there's a resource dll, which contains all resources used in my application. There's a reason that I must keep the resources in dll, and not...
View Article16bpp Color Format Help
Hey guys! So I am working on some video drivers and working with pixel formats. I understand 16bpp pixel format is what follows here: http://en.wikipedia.org/wiki/High_colorAnd 0xf800 would be a solid...
View ArticleException when sending out mail
Hi, I am to send out a mail using these try { // Create the Outlook application. Outlook.Application oApp = new Outlook.Application(); // Create a new mail item. Outlook.MailItem oMsg =...
View Articlesystem.windows.forms.keys send clicks to create text
I have this code where i loop on a list of Keys and for each key i want it's string representation depending on the current chosen language(InputLanguage.CurrentInputLanguage). But it seems no matter...
View ArticleConsuming ASP.NET Service from remote server
Hi , I have created one ASP.NET web service,tested and hosted on remote server . I created one html file added reference to web service hosted on remote server and when I ran the html file on my local...
View ArticleOutLook File Attachment Code using C#
Hi,how can I send an outlook file attachment using c# any working stuff please let me know.thanks @murali
View ArticleHow to check which process is downloading data using Process class
Hello Everyone I am trying to create an application that detect which application is trying do download data from any website. For example if youtube downloader is trying to download video from the...
View ArticleException due to the part
Hi, I don't know why I get this exception Data type mismatch in criteria expression.Microsoft Access Database Engine once I've added this part (@cat=0 or ent_id=@cat) to the conditions below cmd = new...
View Articlehow to upload text data to mydql table by using button click event in VB C#
Hi to all,I want to bulk Insert Text file data(txt data is pipe seprated,e.g:- "A|B|C|D" ) in to Mysql table on Button click event with the help of VisualBasic C# Code.And how they will get the file...
View ArticleUser Control Gets Corrupted On load
I have designed a SEARCH-BOX similar to the one used in V.Studio. The control is a collection of a textbox and a button with customized image-icon.When I place the user-control on my MDI-Parent it...
View ArticleRelated to Outlook Data Integration in Our .NET MVC Application
Can You Please tell us How to Integrate Outlook Data in Our .NET MVC Application In Intranet means Our Local Network..So,through .NET application we can can Outlook data like...
View ArticleHow to stop a looping messagebox ?
I got a textbox in which there's a score set to 50. Whenever I press a button, I want it to minus 1 from that textbox and place it to another, so that the ending result after pressing the button one...
View Articlegetting Sqlexception Error-Pocket pc connect to sql server 2005 i got sql...
Hi everyone, i'm a newbie to C#.NET programming and i need help here. I'm current doing an application for pocket pc and i get this sqlexception error when i try to retrieve stuff from the database. My...
View Articlehow to split the video file into n parts using c#.net
I am uploading a video file into a database by converting the file stream into byte array.Now I need to divide the video into 2 parts and upload them into the database.The problem is that I cannot...
View Articleyou must override clone() for a derived grid column in two level hierarchy of...
Hi,I am creating two level hierarchy in Telerik radgrid programatically. But it gives me error while binding detail table such as "You must override Clone() method for derived grid column". Please...
View ArticleAdd files to queue: before or after thread.Start()
I have a windows service to process xml files in the queue. The files in the queue were added by FileSystemWatcher event when files created.The code is:namespace XMLFTP { public class XML_Processor :...
View ArticleHow to do Update C# application?
Hello there,I developed an application in C#, I want it to automatically update itself with new versions. Actually I am hosting the new version application in the web server, while updating am...
View Article