>... I was talking about .. my program... not the framework but I can see how you could confuse it ... sorry ... :^):zzz: Lazar Mihai Highschool student
Sharpoverride
Posts
-
Not a valid Win32 Application -
Not a valid Win32 Applicationyes... I have the write framework... i wrote the damn think I should have it.. since I designed it ... It's framework2.0... anyway ... it's probably a virus... formating should solve it ... I can't figure out any other solution Lazar Mihai Highschool student
-
Not a valid Win32 ApplicationThis is the message I keep getting more often the last few weeks.. And I only get it with my .Net Applications ... The real question is why ? I've reinstalled my .Net Framework ( 1.1 and 2.0 ) And the error still persisted I reinstalled windows ( didn't format it ) and I still got it... Finally I deleted the files and recompiled everything ? It worked... but the debug still gives that error ... Have to mention that this is the first time I ever received the error... Do you know of any viruses that could cause something like this ? ??? I have a backup of my program ( the one I'm working for about 4 months .. and it's verry big ) Didn't get the message here... so I'm hoping it's a virus that I have at home /?? Does anyone know of any reason for why the message appears when I execute a program written in DotNET ? Lazar Mihai Highschool student
-
Adding table into databaseI had the same question a while ago... it's verry simple you take a command object for example : OleDbCommand createTable = new OleDbCommand(); createTable.Connection = aValidConnectionObject; createTable.CommandText = "CREATE TABLE TableName { obj varchar(0), } "; I'm not sure on the sql part... but that is the main idea. I have an example written at school .. have to look into it! Lazar Mihai Highschool student
-
Advanced customization in The Windows DataGridView ControlI'm looking for an example on how to create a DataColumn, DataCell,and a control that inherits form IDataGridViewEditingControl in order to make a DateTimePicker DataGridViewCell.. that I can add to the DataGridView... all my attempts failed... Lazar Mihai Highschool student
-
Access create table from the app ...I need a way of creating a table insinde an Access database if that's possible using a command or some equal structure ?? Does anybody know how to achieve this ? Or into an MySQL database ? Lazar Mihai
-
OpenFile and SaveFile dialogs change the current directory.I wish to know why OpenFile and SaveFile dialogs change the current directory. And if there si a way to prevent this, or shoud I use the following methond : Directory.SetCurrentDirectory( path ); This is what I curently use, and wanted to know if there is some other way. Lazar Mihai
-
Launching a form with visible set to falseOverriding doesn't work ... I 've tried it ... it was probably the first thing I tried ... Lazar Mihai Highschool student
-
Launching a form with visible set to falseI have XP ... there is where it doesn't work ... Lazar Mihai Highschool student
-
Launching a form with visible set to falseMy problem : I use a notify icon on a form .. and I want to only show the notify icon and not the form ... but I didn't have any success cause the form tries to open as visible The only solutions I came up with are 1.to start a timer on form load 2.override the OnVisibleChange method and set visibble always to false I think the cause for the error is Application.Run( myform ) or probably an error with .NET Framework wich I doubt Is anybody else experiencing this or I 'm the only one who gets this king of errors . I tried to set visible false in the constructor but it still shows the form .. This error comes up in .Net 1.1 , 2.0 Beta2 , haven't tried it on 1.0.. but i'm pretty sure it's the same If you want to see that I'm write ... create a new C# project ... and in the form constructor write ,..... this.Visible = false ...... :laugh: :^) Ok... if someone can tell me why ... or if they have a more viable solution I'll whait for it Lazar Mihai Highschool student
-
Do you think this is stupid ?Cool ... telnet worked .. why if the address doesn't exist on the LAN .. ? Lazar Mihai Highschool student
-
Do you think this is stupid ?You are right .. thanks I think I 've fixed the bug Lazar Mihai Highschool student
-
Do you think this is stupid ?Don't connect to local host ... on local hosts it works ... I want on other ip addresses not to work ... Lazar Mihai Highschool student
-
Do you think this is stupid ?NO .. I tried with port 7891 and with 4545 .. if you have any other suggestions ... try on you computer you'll get the same result Lazar Mihai Highschool student
-
Repaint form using Invalidate()save all the graphics in an ArrayList make some class like Elipse , Arc.. etc OnPaint() foreach ( drawing in myDrawings ) { drawing.Draw( e.Grahics ) ; } Lazar Mihai Highschool student
-
Flash Splash ScreenYou coud try not putting the thread to sleep .. and use a timer inside the flash splash screen.. and maybe do something like Application.Run( new SpashScreen() ); // when the 10 seconds are up inside the tick counter .. this.Close(); then the ParentForm() is going to appear ... Lazar Mihai Highschool student
-
Do you think this is stupid ?Try this peace of code .. instead of giving an error it connects to a ipHostEntry that doesn't exist Can anyone tell me why ? Why me ? Oh .. why ? using System; using System.Net; using System.Net.Sockets; namespace ThisIsStupid { public class MainC { public static void Main() { IPEndPoint ipe = new IPEndPoint( IPAddress.Parse( "193.168.0.6"),21); //System.Diagnostics.Debug.WriteLine( ipadd ); Socket s = new Socket(AddressFamily.InterNetwork,SocketType.Stream,ProtocolType.Tcp); // Console.WriteLine(s.Connected ); s.Connect(ipe ); if( s.Connected ) { Console.WriteLine( " I have a socket that didn't connect to nothing "); Console.WriteLine(" But it's status is connected "); Console.WriteLine(" Uraaa !"); } } } } I've made a client - server aplication and my class informes the main program that the requiered connection exists when no client is available there .. ? Why ... is that correct ... what am I doing rong ? Lazar Mihai Highschool student
-
Moving huge amounts of Data over Local/LanI know how to use the sockets and I know how to use a datagrid and datatables ... I'm going to try the binary sending .. and see what happens.. as for the datagrid the reason it's crashing is that I save the xml data into a file that I read it whith the dataset's ReadXml(..) method and it has to load the entire dataTable at once ... My best quess for the crashing is that .. there can't be any other explanasion more plausable.. Thanks.. if you have any other suggestion fell free to send them ... P.S : I'm using TcpClient and a network class made by me.. which has some events that tell me when I recieve a message or when I'm cur off from the server ! Lazar Mihai Highschool student
-
Moving huge amounts of Data over Local/LanOk.. here's my problem.. I need to send allot of data from my client to the server and viceversa.. My aproach is to use xml tags in a way that the data set can understand and load.. I worked for a while.. but whenever I get a transmision I need to save the data and load the dataset from the file.. The problem is that the datagrid closes down and I can't do anything more ... My question : 1.Is there a way of sending files ( .xml, .rar, .exe, etc..) over the network using Sockets or TcpClients? 2. What's the best way to manage huge amounts of data ? 3. How to get the dataset not to crash ? If the answer should contain a project it would be much aprecieted ... Lazar Mihai Highschool student
-
DoubleBuffer problem ..Thanks.. I get it now.. U've all been of great help Lazar Mihai The road to becoming a good programmer is paved with bad scripts !