- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 2
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
25 Posted Topics
[QUOTE=julseypart;779282]im trying to test out my application so far by uploading all the project files to my "web" folder on the university server, but when i naviage to the server/myfoldername where the index.aspx is located i get an application error - what im i doing wrong? [/QUOTE] There are many …
[QUOTE=EDDYGATE;690921]Any corrections or critics corncerning this code is warmly welcomed. [Code] private static Image CaptureScreen() { Size s=Screen.PrimaryScreen.Bounds.Size; Bitmap bmp=new Bitmap(S.Width,S.height); Graphics g=Graphics.FromImage(bmp); g.CopyFromScreen(0,0,0,0,s); return bmp; } [/code][/QUOTE] i diden't test the code .. but one thing that i see of the top is the use of bitmap in the …
Hello, My problem is : I have a .aspx page where I use a ScriptManager and a UpdatePanel. In the update panel I generate controls based on user interactions. My problem is this : when I add dynamically the CustomControl (.ascx page ) in the UpdatePanel ( the CustomControl has …
you could just run the .exe that it's in the Debug folder after each build.
it should be done with return or output parameter direction depending on you stored procedure. in case it's a return value; [Code=C#] SqlParameter outParameter = new SqlParameter("quotenum", SqlDbType.Int); // or what ever type your return data is; outParameter.Direction = System.Data.ParameterDirection.ReturnValue; // now add it to the sql command cmd.Parameters.Add(outParameter); // …
The version is set by the [B]AssemblyFileVersion[/B] property { or attribute, call it as you like }, you create a new [B]CodeAttribute[/B] and add to the [B]AssemblyFileVersionAttribute[/B] a new argument in which you specify the version you want as a string inside a [B]CodePrimitiveExpression[/B] , then add it all to …
in your case the algorithm there is a very simple but time consuming loop, if the structure is in order from 1,2,3....n..n+1 and the parent task always refers to a parent with parentID < currentTaskId you just just use a while and call a addChildTo(parentID) where you add the current …
do you want to protect the data with the password for the same user or for different users ? because there it's a difference : For different users the windows keeps it's own User Access Control and can encrypt and decrypt files if the user has the right set of …
Hello, try this link : [URL="http://www.lumisoft.ee/lsWWW/ENG/Products/Mail_Server/mail_index_eng.aspx?type=download"]http://www.lumisoft.ee/lsWWW/ENG/Products/Mail_Server/mail_index_eng.aspx?type=download[/URL] you can find there all the samples you need to start your own work.
RTF controls only accept RTF formated text or plain text.So you have to save the .doc file as .rtf file with the save-as option and then load it the control. That should do the trick.
When you get the exception what's the value of ChildDir and root ?
First off, you are doing it wrong, read about arrays and list. You have this class { notice i added a constructor } [code=c#] class Citizen { private string name; private int age; public string Name { get { return name; } set { name = value; } } public …
public class SomeClass { static uint m_somenum; public static uint SomeNum { get { return m_somenum; } set { m_somenum=value; } } } with this you can write something like this : SomeClass.SomeNum=otherNumber; but be warned that this is a static property ! so for each instance of he SomeClass …
use something like : System.IO.File.AppendAllText
like drag and drop ?
show some code.. so we can see what is going on there..
I worked on a simmilar project about a year ago .. i can tell you some pointers... the code was in vb6 the main problems where with interval a person could sign-in and sign-out, our solution was a ticket machine but the problems remains you need to allow a interval …
[QUOTE=Jx_Man;691068]MessageBox.Show("c#-programming language"); :D[/QUOTE] ROFL ! :icon_cheesygrin: You sir are a winner !
[QUOTE=reaven;677334][code=c#]StreamReader reader = File.OpenText("mystations.txt"); string line = reader.ReadLine(); while (line != null) { // string[] stationtxt = line.Split('\t'); string name = line.Split('\t')[0]; string url = line.Split('\t')[1]; string desc = line.Split('\t')[2]; Image img = Image.FromFile("c:/pictures/"+ name + ".jpg"); line = reader.ReadLine(); dgLogo.Image = new Bitmap(img); dataGridView1.Rows.Add(name, url, desc, img); //(stationtxt); } …
the problem is that asRate is declared in the click event of the button, declare it as public or as a property of the Form and then you cand acces it ... so where you have public partial class FormB:Form { // if you use .net 3.5 you can do …
hello, Can you write more about the exception ? line number .. reason error ? variable that gives the error.. so we know what are we looking for ?
[QUOTE=Pikachumanson;680323]Well We aren't going to write the code for you! What have you got so far?[/QUOTE] :D i loved this one. :)
as far as i understand your question is : how you insert a object in a audio frame at runtime ? could you post some code on how the audio frame looks , or how is the data formated ? in a byte array ? or something ? anything is …
The class Notify_Icon can't acces "srvr" because it is not declared outside the main function, try to add the Server as a parameter in the Notify_Icon constructor like class Notify_Icon { public Notify_Icon (Server srvr) { .... } }
There is something called a TrackBar .. why are you using a progress bar ?
The End.
miculnegru