Quantcast
Channel: Visual C# forum
Browsing all 31927 articles
Browse latest View live

C# CLR UDF Deploy errors.

Hi,I am trying to create a simple CLR UDF address parser.  The code builds with no errors, however when I deploy I get a"Deploy error SQL01268. .Net SqlClient Data Provider: Msg 6208, Level 16, State...

View Article


Programmatically change Event Viewer properties in C#

 Hi there, First of all, I am not sure if this is the right forum for this post (my guess is not). Someone please let me know what the right forums is if you see this is not and I will try to move it....

View Article


.

....

View Article

C# Running batch file

  Hello! I have been working on a manager application for a Minecraft server, when i run my program, the console shows and disappears, if i run it manually, it runs without and problems. My...

View Article

Using Linq Expression and getting an error variable '' of type...

public static Func<S, D> GetExpression<S, D>(S Source, D destination, params List<string>[] exceptionColumns)        {            IList<string> internalException;            if...

View Article


Problem with OleDBConnection and WindowForm

Hello,this is my first post here, so dont get me wrong :p I have 2 diffrents problems with OleDBConnection. First problem is that when i open for example. access database my window from get smaller and...

View Article

Problem editing metadata tags using WindowsAPICodePack

Hello,Is it possible to edit tags programmatically using windowsapicodepack? I tried this code:private void buttonSaveTags_Click(object sender,EventArgs e) { if (tagBox.Text != "") { ShellObject media...

View Article

carriage return and a linefeed character

I need to format my text file for UNIX use. To my understanding, windows uses both a carriage return and a linefeed character to represent line breaks. My program is written with \n for line...

View Article


Saving to Text file, and calling a method!

I have created an application which is a calendar which Ill call C. This C is currently using a MainForm which Ill call MF and Appointment class which Ill call AC and Appointments class which Ill call...

View Article


Complete newb, but having fun! Stuck on one thing... Looking for help!

Hey all, having a fantastic time so far learning Visual C#.  Been toying with VB scripting, HTA designing for years and if I knew I could get into C# as much as I have over the last few days I would...

View Article

Application.Exit() from non UI Thread

Our application has a System.Thread for checking for updates. Thread _updateThread = new Thread(() => CheckForUpdates()); _updateThread.IsBackground = true; _UpdateThread.Start();When an update is...

View Article

How do you replace a series data points for redrawing on the chart?

I have a web service with a chart control which grabs an array of data and makes a line chart, then makes a moving average with the data according to a number you input. I want to be able to replace...

View Article

MenuItems in ToolStrip

PowerBuilder offers a feature such that a menu item can appear in Toolbar just by adding some toolbar properties like(toolbaritemnametoolbaritemtext etc...). Do we have similar functionality in...

View Article


How to combine data from two table (same structure, same name) of two...

Hi everyone,I am having two sql database file (.bak), now I am write a module (C#) to combine data from two files into an unique database file (contain all data). (these databases have same tables,...

View Article

Color mix up in from image to Gif Conversion? Gif conversion works, but color...

I've written a short method for converting images(Image class) to a GifEncoder and finally saving that Gif to a file. However, when I go to open the resulting Gif created, it has some problems. 1) The...

View Article


Does OWC10.exe (Office Web Components) work on Windows 2012 R2 Server?

Hi Everyone,Currently We are using OWC10.exe in our Windows 2003 server. We are migrating to Windows 2012 R2 Server.Does OWC10.exe work on Windows 2012 R2 Server?We cannot proceed with our efforts...

View Article

Need help with understanding a code - C#

Hello there. I am currently working on a project, mostly to learn and get more comfortable with the C# language as I am fairly new to the programming world. The project is mainly a Mastermind Game...

View Article


Make Selection Based Off Selected Worksheet

//Declaring variablesstring[] listOfQuery = { "qry_sales_for_joe", "qry_sales_for_mitch", "qry_sales_for_beth", "qry_sales_for_sarah" }; string path = @"C:\\Database\\"; string file = "Test.mdb";...

View Article

Choose a random number

I am developping the AI for Tic Tac Toe. At easy dificulty i got something like(when AI must place 0) :CheckForWinPosibility()->CheckIfPlayerCanWin->ChooseARandomButton().The problem is that...

View Article

Serialized stream foreign language compatibility

Hello all,In the past we have had a problem passing bools on the command line (kicking off a child app) because of the OS language setting.  The exported parameter was generated using...

View Article
Browsing all 31927 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>