Project that reads information from a configfile
Needto createa project thatreads informationfroma configuration file,which then determines whichclass tobe instantiated.The fileshould be placed inthe same directory asthe solutionexecutable.How do I?
View Articlehow can i chage the themes of forms and other controls????
I want to enhance the interface of my forms and controlssomething like that:htt p :// www .delphipages .co m/ uploads /umod_object_image/4/0/3/8/file_name/collage.jpghtt p : //i.imgur. co m/...
View ArticleSystem.UnauthorizedAccessException: Attempted to perform an unauthorized...
Hi there,My client has our application installed on a Citrix server where the %APPDATA% variable is pointing at a network share which does not allow the user Full Control rights on the share, but does...
View ArticleHow to make my combo box not editable?
Hi all, I am a total newbie in C#. I have added a combo box in my window forms. But I found it the text in the combo box is editable during runtime.Is there a way to make it un-editable?Please teach me...
View ArticleParse random list string to textbox
Hi all,I am currently learning c# and i have a hard time to get my head around objects .I am trying to make a class with names so i can call it whenever i need a random name for my program.This is the...
View ArticlePlease help, An unhandled exception of type...
I'm trying to read data from a serial port and paint this on screen. can anyone tell me where I'm going wrong please?private void serialPort1_DataReceived(object sender,...
View ArticleAxMsRdpClientNotSafeForScripting Events not firing
Is There any else met thatwhen i use Remote Desktop in win 8, AxMsRdpClientNotSafeForScripting Events is not firing.Anyone knows how to solve it?
View ArticleHELP PLEASE
Bonsoir,The type or namespace name 'MarketingList' could not be found (are you missing a using directive or an assembly reference?)Error61The type or namespace name 'MarketingList' could not be found...
View ArticlePassing Equivalent of NULL for Out Parameters
I'm trying to use the API call ExtractIconEx. This is expressed in C# as a DLL import as private static extern int ExtractIconEx(string filespec, int iconIndex, out IntPtr largeIconHandle, out IntPtr...
View ArticleXslCompiledTransform with selections from treeView
Hi,I'm currently writing a windows form application in c#, looking at 2 separate directory TreeViews from a tab control (one containing xslt files and another with xml files). I can get the selected...
View ArticleRedirect page with parameter
Hi I have a wpf application C# I want to make a redirection from Page1.xaml to page2.xaml passing a client list as a parameter that I recover it and to display in page2.xaml Thanks
View ArticleMultipage tif send mail
My tif image has two pages, I need to send two pages of image in body of a mail. What is the best way to do it?Thanks,BalaBala
View ArticleWhat should I return from Controller if there is no records in database, and...
I want to auto-fill textbox if member id exists in database. Otherwise I want to disaplay "please enter correct Member-Id"Here is my Jquery Code: $('#memberid').focusout(function () {...
View ArticleCombobox in Datagridview
i have gridview with two combo boxes in it . While selecting the first value of it on first selection, it is not getting . But for second time of selection it is getting . my code is below , please...
View ArticleAdvanced Encryption Algorithm is not working
RijndaelManaged myAes =newRijndaelManaged(); myAes.GenerateIV();myAes.GenerateKey(); if (file !=null) { ICryptoTransform encryption =...
View ArticleSql Exception Details
hi .i have create c# windows application . within this application there is form that used to insert invoice and it's details,i have created sql server procedure that application use it to insert the...
View Articlehow do i kill a specifc process when two or more same name process is running...
how do i kill a specifc process when two or more same name process is running ? i want only kill one specific process in c# My qusetion is.... first application1 use the name.exe 2nd application2 use...
View ArticleC# Garbage collection of unused static variables (objects)
Hi C# Experts,With reference to Garbage collection of static members and the following...
View ArticleWhat's the deal?
Am I crazy? He says that I didn't provide Photo parameter, but I did. This is my procedure:CREATE PROCEDURE [dbo].InsertContacts ( @Id int, @FirstName nvarchar(30), @LastName nvarchar(30), @Photo...
View ArticleC# Video Game Launcher
Hello All,I'm working on a launcher for Arma 3 - that allows the users to launch the game with or with out mods, I have it mostly hard coded right now for the mods, but I am trying to change that.This...
View Article