Hide popup window of other process
Hi. I'm working on some command line app in C# which programatically calls other exe the write.exe for printing documents. When start write.exe printing the documents appears popup window which give...
View ArticleHow to use panels in Visual C#?
Ive got a problem with some panels in Visual Studio. The task we have been given is to create a GUI for a hardware/software store. I want to use a menustrip for the different choices and different...
View ArticleRunspaceFactory.CreateRunspace memory leak?
Hi all,I have read many reports on different forums that people are finding Runspace objects created by RunspaceFactory.CreateRunspace cannot be cleanly disposed. These findings have been reported from...
View Articlefinding incoming string field in dto object is of format MMYYYY
Hello, I am just a beginner of Visual C#.I have dto object which has loaded data from excel file into memory. It has several fields such as Course name(string) and Course Date(MMYYYY format) as...
View ArticleSync Asp.Net MVC4 website data with Outlook
Hello,I am confused, I am in the right forum section or not but please consider my scenario. I have a web site developed in MVC4 already running on live server. In the website I have a functionality of...
View ArticleProblem with unicode
Hi, line2 below has been declared as a string and I did see "???" when there is Chinese assigned to "line2"Console.WriteLine(line2); how to ensure that I can see Chinese stored to "line2"?Many Thanks...
View ArticleCheck the userID exists within the List ?
Im importing CSV file into a list called Students (List<string[]> Students = new List<string[]>();).ID, First Name, Last Name, E-mailusing (StreamReader reader = new StreamReader(csvPath))...
View ArticleRunning app on system startup - registry key manipulation
My program has to run silently on windows startup. I dont want it in the startup folder or in the setup(cab), registry keys seem to be the best option.Using...
View ArticleTrying to upload a document to my database
I try to upload a word document into the database. Unfortunately it tells me it is successful but there is no data in the database:SQL: database Table: dbo.LD_Documents Columns: TD_DocID int, PK,...
View Articleuser successfully logged in when I open a new window the user is not logged...
I know how to give session data as parameterswhat do I have to save so it recognises that the user is already logged in?
View ArticleMake columns fill the grid view
I have created 4 columns in a grid view but they don't fill the gridview as there is some grey space left after the final column.How to solve this? please advicemayooran99
View ArticleUnable to use WMEncoderLib.dll in my win forms project
I am trying to create a simple app that records the desktop screen for a minute and have downloaded and installed the wmencoder 9 series. In my project I am throwing an exception in the following...
View ArticleGetting a different output in my program, but it is supposed to be something...
Here is the code I am working onusing System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication2 { class Program { static void Main(string[] args) {...
View ArticleIs it possible to start an add-in from a macro?
I'm working with Visual Studio 2010 for a research purpose. I'm looking for the possibility where an add-in could be started by a macro. A macro could be started by an add-in simply. But the problem...
View ArticleWTSRegisterSessionNotification In Session 0 Service
Morning,I am trying to use WTSRegisterSessionNotification and WTSUnRegisterSessionNotification in a service but it will not pick up the events/messages. I have run this under and interactive system...
View ArticleC# numericupdown
Hi,I am new to c# and I am trying to make a selection menu for what would be a snack bar. I am using a numericupdown to indicate the desired quantity for the menu items to fill an order. Does anyone...
View ArticleTestIfElse(10); line in program not working and cant bypass
Studying from textbook on programming C# on Lesson 01 ifelse_Statement program and cant debug this one line
View ArticleButton that can jump to Start screen Windows 8 C#
I want to give button in my application which will jump the user back to Start screen. How will i do it . I am using C# VS2012. thanks
View Articleneed help.. how to hide certain excel column in c#
i download and used excellibrary in my coding. i need help in calling my function from database to excel.. i cannot hide certain columns such as id number for example.. hope you can help me out. and i...
View Articleforeach (DataRow row in datatable.rows) not working as expected
My objective is to read data from an SQL table into a datatable then compare the contents of the datatable with a Foxpro table and either update or insert to the Foxpro table as needed. The end result...
View Article