| |
thread by: yoda |
last post Feb 15 '12 by: PsychoCoder
Hi everyone I'm fairly new to the C# programming language and was wonder if it is possible to Convert a DataTable to a MemoryStream then output that into a CSV file and then Zip that file.
Also note I know how to get to the CSV File part but don't know how to take that file and Zip it without creating it on a clients computer and reading it in...
|
thread by: sri sravanthi |
last post Feb 15 '12 by: MrMancunian
I have oracle update stored procedure in c# ado.net coding ,the update procedure having 60 columns .i got 'MSDAORA.1' failed with no error message available, result code: E_FAIL(0x80004005) type of error
|
thread by: Lea Valentine |
last post Feb 15 '12 by: GaryTexmo
I'm having a hard time with the requirements asked of me since I'm really new to programming. What I'm making is a windows application. I've been able to have data validations for only one @ sign and the string not starting with a period or symbol, but I'm having problems with two things:
1. Having only 1 period AFTER the single @ but allowing...
|
thread by: rachna gandhi |
last post Feb 15 '12 by: MrMancunian
i have use this code when i select state city is automatically filled in 2nd dropdown according to the value of 1st dropdown.but it is not working.
protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e)
{
int countryid;
countryid = DropDownList1.SelectedIndex;
string cmdtxt = "select cid , ...
|
thread by: shalami |
last post Feb 15 '12 by: shalami
I'm doing some USB communications in C# and am running into a minor
annoyance. I'm using the Windows API CreateFile function to get a
SafeFileHandle, which I then stuff into a FileStream and from there
into StreamReader and StreamWriter objects.
i do this code for streamreader
StreamReader fPipein = new...
|
thread by: aamersaeed2368 |
last post Feb 15 '12 by: PsychoCoder
Dear All,
I want to write a function of bool type to check whether a directory exist on ftp server or not..........I've googled it so much but couldn't get the solution......Currently i am using
WebRequestMethods.Ftp.GetDateTimestamp;
but this function return false in both cases either directory exist or not..............And another...
|
thread by: sheela |
last post Feb 15 '12 by: sheela
in mono c# we connected mysql with c# mono,but front design is not binding with database and shows the warning
"System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: Could not load file or assembly 'MySql.Data, Version=6.4.4.0, Culture=neutral,...
|
| |
thread by: Ana Casablanka |
last post Feb 13 '12 by: GaryTexmo
a have several float values that i want the program to write them in Listbox. how can i limit them to 2 decimals???
|
thread by: Elena Kr |
last post Feb 13 '12 by: Elena Kr
Hi, I have task I believe many people implemented many times.
The C++ application has to pass array of string to C# dll. To my surprise I have found very little about such stuff on the web.
I am able to pass single string, but when I try to pass SAFEARRAY* everything stops to work.
Please help.
To simplify my code I have a function which...
|
thread by: sweta mistry |
last post Feb 12 '12 by: Falkeli
Have read on many blogs and sites regarding copyto doing deep copying and clone doing shallow one... when done simple example found both gave same result so what exactly deep copying means? is it truly achievable using copyto?
|
thread by: mayankshri |
last post Feb 11 '12 by: PsychoCoder
hi, I am open a word file from open dialog box in rich text box.
i am using this code it open a word file but shows only text .i want to open file with text,images and bullets.
Microsoft.Office.Interop.Word.ApplicationClass wordObject = new Microsoft.Office.Interop.Word.ApplicationClass();
object File = txtfilepath.Text;...
|
thread by: Promedeus |
last post Feb 10 '12 by: GaryTexmo
Hello,
I am incredibly puzzled.
I have made a small, fairly simple calculator for specific purposes. I can run this fine on my computer. But when I try to run it on a target computer (from Norway) I get an error that puzzles me.
Here's the strange behavoir:
textBox.Text = "1";
double result = double.Parse(textBox.Text) * .15;
This...
|
thread by: Naimesh Thakor |
last post Feb 10 '12 by: PsychoCoder
how to dis[lay image in datagrid control with path in sql table and imgae store in anothe place but path sam
|
thread by: davidsimmonds |
last post Feb 9 '12 by: davidsimmonds
I have a Windows Forms application. It loads assemblies with the extension .Plugin.dll with Assembly.LoadFile. One of these "plugins" calls into another assembly dll. That dll eventually throws a ValidationException exception. The method that throws the exception is in a class that inherits from IDataErrorInfo. This class is a class that is...
|
thread by: nikz |
last post Feb 9 '12 by: Samuel Jones
An error shows rarely iindex was outside the bounds of the array in line number 160
Line number 160 starts below.
string s = "";
if (imgname != null)
{
|
| |
thread by: rizwanrajput |
last post Feb 9 '12 by: JaneT
I am using C# 2.0 and developing an application to convert a PDF file into HTML, Word, Excel and Image (GIF,JPEG,PNG,TIFF). Is there any free library / class available for that?
|
thread by: tezu |
last post Feb 9 '12 by: ankitpatani
hi all,
Im using a treeview control in my UI . i want the background of it to be painted ( i want it to be painted in stripes)...
how can i do it ??
thank u :)
|
thread by: sandragorgievaa |
last post Feb 8 '12 by: GaryTexmo
Can please smn tell me how can I retrieve single value from an Access DB using query as follows SELECT somecolumn FROM sometable WHERE someothercolumn=somevalue. I'm programming in C#.
THANKS!
|
thread by: kombu |
last post Feb 8 '12 by: kombu
I've been working on an app to manage my iTunes collection, and have run into a bit of a snag. I've created two classes:
Column – Describes a column of information in the iTunes database
Track – Contains an array of Columns
When I instantiate a new Track object and attempt to build the array of Columns, each "new Column" statement...
|
thread by: fahadr |
last post Feb 8 '12 by: fahadr
Main Start-up Screen
Main Screen Of Bulk SMS Sender
http://bytes.com/attachment.php?attachmentid=6050&stc=1&d=1328763144
Introduction
A simple SMS application using free GSM Communication Library GSMComm for sending bulk SMS to multiple numbers of recipients using an Excel file for our all messages and recipients numbers
Background
Very...
|
thread by: gaxy |
last post Feb 7 '12 by: gaxy
Hi all.
I'm trying to realise a service that can install a printer queue given an ip address, a queue name and a driver name. The driver is already installed on the workstation.
The service has to be installed on every workstation.
The ip address is used to create the TCP/IP port.
I tried to realise all this in a c# program (.NET Framework...
|
thread by: Radu Stefan |
last post Feb 7 '12 by: Radu Stefan
In MainPage.xaml I have 2 canvas controls (bd1 and ball) that represent 2 layers.
<Canvas x:Name="ContentCanvas" Width="354" Height="669">
<Canvas.Background>
<RadialGradientBrush>
<GradientStop Color="#FF9D0A0A" Offset="0" />
<GradientStop...
|
thread by: mylixes |
last post Feb 7 '12 by: GaryTexmo
I have this list of devices and I store it in the Dictionary. When the program loaded, the Items of the dictionary will be displayed in the listView. I created a thread that will refresh the list when a new device is connected to a usb port. Now, how could I compare the items currently stored in the dictionary to the new items saved in another...
|
| |
thread by: faha |
last post Feb 7 '12 by: faha
hi
this is faha here im new to c#
I was actually trying to load different textboxes
by multiple selecting a listbox..
I added items to the listbox and then used a for loop to iterate the listbox and accordingly enter the value in the textbox but it isnt working...Any help greatly appreciated..
lb1.Items.AddRange(new string {"Engine",...
|
thread by: Tyler Wiebe |
last post Feb 7 '12 by: Tyler Wiebe
This is just something I created since I couldn't find anything to do it.
It converts an integer (Example: 1495954485) to the word representation of that number (Example: one billion four hundred ninety five million nine hundred fifty four thousand four hundred eighty five).
public class Integer
{
#region Functions
...
|