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

Read xls file to Import to DataTable but no need to install any COM...

Hi,I want to read .XLS file for Import to DataTable. But in Production no installation is allowed. Without installation I need to Import to DataTable from my local machine. I am doing Export to .XLS...

View Article


Custom stream serialization/deserialization

Hi all.  I'm working on a project that requires I serialize very large files, and be able to read them back out.  I'm using a generic collection, and would like to accomplish this without storing more...

View Article


Unit test Data driven- relation source

 I created unit tests use data driven attribute. Now their source is full path, but I would like to enable copy the project, so I need their path will be relation.because it is unit test, the exe file...

View Article

Index was outside the bounds of Array Error at most unlikely place

I am having "Index was outside the bounds of the array" in a property that exposes List<OptionsTrades> by converting it into List<Object>.;Data from the class is shown on user interface on...

View Article

how to integerate two different website on server

HiguysI have 1 website running on  server. Now i am building 2nd website. So i want to give a link on 1st website so that when i will click on that link..my 2nd website will open ...how to do it.plz...

View Article


check if input string have character and integer

If i was to receive an input string, how to check each of the character to figure out the integer character and sort out each of them into two arrays (character and integer)?

View Article

Changing the value of Combo Box - User32.dll

Hi There,Can anyone guide me how to change the value of a combobox without checking the list items, directly ? Using user32.dll functions in c#. There is no unique name for the control to access...

View Article

ArrayList

i am aware that arraylist dynamically increases the size as you keep addin the data to ot , However there should be a limit on it , right ? So here is my question ..What is the maximum range an...

View Article


Using Task.Run() without Lamda

I'm not wild about Lambda expressions. I know how to use them but would like to be able to put a Func in the Task.Run(...) and keep the method itself separate. I just think that it would look cleaner....

View Article


Array.Sort() Problem

Hi.Here is my Code:Double[] temp = new Double[baseFFT.Length]; Double[] sortedTemp = new Double[baseFFT.Length]; for (byte i = 0; i < baseFFT.Length; i++) { sepBaseFFTs = seperator(baseFFT[i]);...

View Article

Software_Developement

How exactly do i start software development with Microsoft Technologies and  what are the various microsoft technologies for software development?

View Article

Working with flags

I have this code:DirectoryEntry rootx = getDirectoryEntry("IIS://" + txtServer.Text + "/W3SVC/" + siteID + "/root");if (rootx.SchemaClassName == "IIsWebVirtualDir") { if...

View Article

want to find a word pattern

I tried (?<w>(?!\b(in|out|inout|input|output)\s+)((V_)|@)\w+)\s+to find variables not preceded by one of the word in, inout, out, input, outputfrom data likein @trans_type VARCHAR(4), inout...

View Article


Client-server application TCP

Hello! I want to create a client-server application, but i have some problems... Here is my code: Server:using System; using System.Collections.Generic; using System.Linq; using System.Net; using...

View Article

converting a list to a data table

I'm creating a list of DVD titles for a project I'm doing, I've got the code to populate the list and convert it to table but when I call it there is a error that comes up saying list dose not load...

View Article


Get values from attribute?

<log><id regid="1"><user>example1@gmail.com</user><use type="mail">smtp.gmail.com</use></id><id...

View Article

Implementing fomatting or converting routines

Hi Everyone,Having a Class with all kind of data and methods, I would like the class to ouput its data into a byte stream or a CSV stream (in bytes).Besides to possibility to create a ToCSV () and a...

View Article


Unity vs MEF

What's the different between Microsoft Unity and Microsoft MEF.When use one and when another ?I create my super player Media Glass

View Article

read the ALLTABLES and such data dictionary of Microsoft Access 2013 from...

HelloI wish to read the ALLTABLES and such data dictionary of Microsoft Access 2013 from C#.net ? How should I do this ?Please give me  sample code if possibleregardsManoj Gokhale

View Article

Need help in update a row in datatable and datagridview using c#.

I need help in update a row in datatable and datagridview  using c#.- Ran powershell command from c# to collect mailbox list (from Office 365) and stored in DataTable : OrigTable.- OrigTable got 20...

View Article
Browsing all 31927 articles
Browse latest View live


Latest Images

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