| |
thread by: o M E G a |
last post Jun 28 '11 by: kosaks
Hi dear BYTES members :
I have a probelm when writting in a text file i have a string
of 14 numbers and they change evey time with a space between them but the probelm every time it erase the previous line and write a new one until i find only the last line in the text file :( plz help me
the c# code :
string path = @"D:\newS_R.txt";
...
|
thread by: hefang |
last post Jun 28 '11 by: hefang
i am using System.DirectoryServices.DirectoryEntry,
No matter how I set up websites
when i get the AppPoolIDs for websites,the all AppPoolId is DefaultAppPool.
anyone can help me?
thank you
|
thread by: liadmz |
last post Jun 27 '11 by: liadmz
Hi guys,
I'm trying to automate some process which involves downloading a file from one of our vendors.
The problem with the traditional authentication is that it allows you to use only user and password, while the vendor's login page request from user, password and subscription date.
Any ideas how can I download the file programmatically...
|
thread by: rsyCoder |
last post Jun 27 '11 by: rsyCoder
Hi, just started playing with MS Charts today. Environment is CS Exress 2010, Target Framework is 4.0.
I am loading in a DataTable that includes Dates and Integers. Dates on X and Ints on Y.
What I have done is taken random readings from my meter over the last week in kWh and recorded them in a Sqlite database. I am pulling those...
|
thread by: GaryTexmo |
last post Jun 24 '11 by: GaryTexmo
NOTE: The source for the utility class is included as an attachment. See the end of this post for details.
So from time to time I've needed to work with DataSets, either to prototype something or just experiment with them and I've always found it a pain to create them. Visual Studio has a designer, but I've always found you need to connect to a...
|
thread by: Tyler Wiebe |
last post Jun 24 '11 by: GaryTexmo
Okay, to start off, I'd like to show what I have working.
Form1:
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Windows.Forms;
|
thread by: Marian |
last post Jun 24 '11 by: Marian
I want to detect when MouseButtons.Right MouseButton.Middle are pusheds at the same time.
I have this
private void SceneView_MouseMove(object sender, MouseEventArgs e)
{
vMouseOld.x = vMouse.x;
vMouseOld.y = vMouse.y;
vMouse.x = e.X;
vMouse.y = e.Y - toolStrip1.Size.Height;
|
| |
thread by: sushil sainju |
last post Jun 23 '11 by: GaryTexmo
i am developing a from application with multiple forms. i need a menustrip with various functions and all the forms should have a same menustrip. i have thought of using class to pass menustrip to all the forms but have no idea how to do so. can someone pls help?
|
thread by: prasad deshpand |
last post Jun 23 '11 by: prasad deshpand
Hi,
I am trying to upload video on website for that the thumbnail should be created automatically. But when i upload the video the error occurs "No process is associated with this object."
The code is as follows:
Guid id = Guid.NewGuid();
#region Upload the Video
|
thread by: tvnaidu |
last post Jun 23 '11 by: Banfa
I am looking to port C# .NET library to C/C++, any tool?.
|
thread by: Joe Campanini |
last post Jun 21 '11 by: Fr33dan
I have a C# forms program, and I am using a text box to allow the user to enter either a numeric of alphabetic string of characters. Now the string that is being entered may require the use of special characters such as "ü". Now the keyboard that will be used does not have the character "ü" and I don't want the user to have to remember Alt129 to...
|
thread by: Joe Campanini |
last post Jun 21 '11 by: Curtis Rutland
I'm using LINQ to Entities in a C# program with the following code...
...
var prof = (from p in de.ProfT
where p.ProfT == ProfTitle
select p).FirstOrDefault();
if (prof.Title != null)
{
|
thread by: aya hassanien |
last post Jun 20 '11 by: Rabbit
the day number in a year is 200
how i know the month in which this day is
|
thread by: stavalfi |
last post Jun 20 '11 by: Plater
i creat a group & send a massage 1 line before the method "Recieve" wait for a massage by creating a thread. This code works Perfectly. i just want to know why shouldnt I add this line in the send method too for joining the socket to the group before I try send something to the group.
server.SetSocketOption(SocketOptionLevel.IP,...
|
thread by: maheshwag |
last post Jun 20 '11 by: Curtis Rutland
Passing a reference to the Form Constructor is it a Bug?
e.g.
Form4 form4
Public Form1(Form4 form4)
{
this.form4=form4;
InitializeComponent();
|
| |
thread by: Ranjeet Kumar |
last post Jun 20 '11 by: Ranjeet Kumar
I have to upload bunch of files with to their respective folders
to destination server using HTTPPOST in C# and the folders size could vary from 4MB to 20MB
There is folder and subfolder structure in source and we have to upload same folder structure with their subfolders and file in the destination server usinh HTTPPOST
Please guide me...
|
thread by: stavalfi |
last post Jun 20 '11 by: stavalfi
hi guys, first of all im sory about correct spelling, grammar and punctuation becouse my english not in the sky.
okay, after reading alot about all this subjects i dont think I understood right whats going on. i will write what i know and I hope you guys help me with my miskates.
Unicast
send my imformation one by one to each computer I...
|
thread by: Joe Campanini |
last post Jun 20 '11 by: Joe Campanini
Can anyone help me? I am a bit of a dinosaur when it comes to programming, I have been using RPG III for the past 40 years and before that FORTRAN, COBOL and Basic Assembler language (started programming on the 6/6/1966, can’t forget that date!!!!) and thought is was time to upgrade to a morden language like Visual C#, so I’m teaching myself C#,...
|
thread by: isitha |
last post Jun 19 '11 by: isitha
guyz,
i have a windows form class called "fuel" in this class i have used datagridview which is called "dataGridView1". It shows all the entries i insert to the database by using form "fuel".At there it woks fine. there is a comboBox which is called as cmbFuelType and when i select the fuel as oil_2T it direct to an another windows form. Then the...
|
thread by: MrWoff |
last post Jun 18 '11 by: MrWoff
i can create a user with
DirectoryEntry AD = new DirectoryEntry("WinNT://" + Environment.MachineName + ",computer");
AD.AuthenticationType = AuthenticationTypes.Anonymous;
DirectoryEntry ATatorithät = AD.Children.Add("ATUserP3", "user");
ATatorithät.Invoke("SetPassword", new...
|
thread by: Joe Campanini |
last post Jun 18 '11 by: Joe Campanini
From a C# program I have selected a specific SQL database record which I want to display on a Windows form. However, even though I wish to display all the fields in the database record for visual confirmation that I do indeed have the correct record there is only one field I wish to change. So, to prevent accidental updating of all other fields, I...
|
thread by: Samishii23 |
last post Jun 17 '11 by: Samishii23
Ok. Say for example, I have a file that is a proprietary img file with extra headers for the program its used in. But its a jpg file in essence.
I know that all JPEG files start with FFD8FFE0, and end with FFD9. So how would I go about basicly scanning the file 'til I find the starting hex characters, then reading up to the ending hex, and...
|
thread by: Tyler Wiebe |
last post Jun 17 '11 by: Tyler Wiebe
Okay, I'm wondering how to play a specific song from a playlist and then go to the next song like normal.
EX: Playlist = Song1, Song2, Song3, Song4
Let's say I want to play Song2 first, it'll play that song, and when it finishes, it'll move onto the next one (Song3), and then the one after that (Song4), and then loop back to Song1, and then...
|
| |
thread by: Tyler Wiebe |
last post Jun 16 '11 by: Tyler Wiebe
I'd like to know how to make a List<string> of file paths into a WMP playlist and play it through my applications WMP.
|
thread by: Tyler Wiebe |
last post Jun 16 '11 by: Tyler Wiebe
Okay, I'm wondering how I would go about waking my computer from stand-by mode from pushing a button that is connected to a serial port cts line. Anyone know how?
Currently, I have it so that if I let go of the button, it'll go into stand-by mode in 5 seconds, I need it so that when I push the button, it'll resume like when you push a button on...
|