473,538 Members | 8,906 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C# / C Sharp Forum

0
210
thread by: Dan | last post Nov 15 '05 by: Dan
Hi, I have a design question on what is the best way to design saving user input from user interface forms? I was thinking on having a process control class for each form which would handle all the processes (link to business process) including persisting the user input. Is this the best way? Or maybe have a persist class for each form...
3
1,517
thread by: Randy | last post Nov 15 '05 by: Randy
Hello, How would one go about detecting which row/column was clicked in a datagrid. I'm sure it can be done but I can't figure it out. Thanks
1
12,662
thread by: manoj | last post Nov 15 '05 by: William Ryan
hi, Can some one tell how to minimize a window. I want to create a custom button to which i want to connect minimize function.I couldn't find any such function. thank you, pradeep
0
2,460
thread by: Anibal Acosta | last post Nov 15 '05 by: Anibal Acosta
How Can I create a persistant connection with a remote server using WebClient class? I don't found any property like that Thanks a lot AA
3
1,664
thread by: Mani Ram | last post Nov 15 '05 by: Mani Ram
Hi Guys, I am new to C#. I have a xml string and I want to read a value of a particular element. I do not want to use dom for this purpose. I think Regular expression will solve this. the code snippet goes like this... string strMsg ="<MyTestXml><First>One</First><Second>Two</Second><Third>Three</Third></MyTestXml>" Regex re1=new...
0
271
thread by: Eric | last post Nov 15 '05 by: Eric
Hi, I have a design question on what is the best way to design saving user input from user interface forms? I was thinking on having a process control class for each form which would handle all the processes (link to business process) including persisting the user input. Is this the best way? Or maybe have a persist class for each form...
5
18,181
thread by: José Joye | last post Nov 15 '05 by: Nicholas Paldino [.NET/C# MVP]
I have a instance of a StreamWriter and I need to get the path and filename to which it is attached to. This sounds easy.... I feel a bit idiot not finding it! José
1
1,246
thread by: Paul J Barrett | last post Nov 15 '05 by: Nicholas Paldino [.NET/C# MVP]
I have a problem with the marshaller calling a vb6 dll from csharp. here follows the code that is similar in structure to what i want to call. rem vb6 dll type a b1 as byte b2(2) as byte end type
1
3,241
thread by: Arash | last post Nov 15 '05 by: Nicholas Paldino [.NET/C# MVP]
Hi everybody, the previous error was my mistake but right now I changed the code to: private void btnUpload_Click(object sender, System.EventArgs e) { WebClient mClient = new WebClient(); try{ mClient.UploadFile(" http://mymachine/Pars/Images/Cop.jpg ","D:\\Cop.jpg"); }catch(Exception el){
2
6,774
thread by: Darta | last post Nov 15 '05 by: Daniel Pratt
OK- I volunteer to be shot if this question is stupid... BUT, is there a way to, when you catch an exception in the catch{} handler, resume to the same line of code that generated an error while you are debugging within IDE...? Here is an example from VB: Private SomeFunction () On Error GoTo ErrHandler: MyMethod this, that
0
216
thread by: Eric | last post Nov 15 '05 by: Eric
2
23,891
thread by: tim djossou | last post Nov 15 '05 by: tim djossou
Hi Is there a way to get the IP address of the client who is using a web service (inside the web service?) Regards
7
1,398
thread by: Anthony Boudouvas | last post Nov 15 '05 by: Eric Cadwell
Hi to all, i think, this datagrid will drive me nuts... I have the below code and i cannot figure out what is wrong and i cannot format the columns in the grid. I, for example, try to format some things in "Sender" column but this is not happening..
1
4,230
thread by: Rukmal Fernando | last post Nov 15 '05 by: timtos
Hi, I'm working on a tool to do text indexing on documents and want to include support to index PDF files as well. Does anyone know any tool or method of extracting the text from PDF files into a .NET app? Thanks, Rukmal.
1
2,027
thread by: David Berman | last post Nov 15 '05 by: Bret Mulvey
I'm having a problem with the ImageButton class. I want to set the ImageURL to an asp page, like: Thumbnail.ImageURL = "getpicturefromdatabase.aspx?INDEX=52&GALLERY=12"; The problem is, when the control renders, it renders the url incoded as "getpicturefromdatabase.aspx?INDEX=52&amp;GALLERY=12" so the other page doesn't process the request...
2
1,257
thread by: George A. Losenkov | last post Nov 15 '05 by: Ted Miller
Hi everybody. I try to create COM server. I have interface interface Font { ... object Color { get; set; } ... } I expect that i will see
10
7,343
thread by: Sunny | last post Nov 15 '05 by: Chris Peacock
Hi, I have an old problem which I couldn't solve so far. Now I have found a post in that group that gave me an idea, but I can not fully understand it. The problem is: I'm trying to use a Windows.Forms.UserControl in a COM environment, i.e. I want to host that control in a COM host. So far, so good, I can host it, but I can not reach the...
1
362
thread by: namri | last post Nov 15 '05 by: 100
I don't undertand what does it mean this exception A not managed exception of the type ' System.Resources.MissingManifestResourceException' occurred in system.windows.forms.dll Additional information: Impossible to find resources suitable for the specified culture (or the neutral culture) of your assembly. You ensure that...
1
1,122
thread by: Hai Nguyen | last post Nov 15 '05 by: Nicholas Paldino [.NET/C# MVP]
Hi All: If I want to connect to an Access data base, the aspx page and the database are located in the same folder, how would I refere to the database? I got an error when refere to an Access database if the string connection does not provide absolute path. eg: OleDbConnection myConnection = new OleDbConnection(...
1
33,839
thread by: idog | last post Nov 15 '05 by: Nicholas Paldino [.NET/C# MVP]
If I start off with a string which contains comma separated ints. I want to move this into an int array so i can do sorting. I thought I might get this to work: int test = {textBox1.Text}; What would be the best way to accomplish this? This is what i came up with:
0
1,065
thread by: Ben Houston | last post Nov 15 '05 by: Ben Houston
Hi, I have created a class that supports IEnumerable. This class just defines a 3D box in a voxel space. I am using IEnumerable so that I can use the "foreach()" construct to iterate through all the voxels in this space. Unfortunately, it seems that I can no longer save this simple 3D box class to disk since XML, when it seems the...
2
1,599
thread by: cherbina Vladimir | last post Nov 15 '05 by: cherbina Vladimir
hello, how can I programatically switch on/off the browsing images and playing sounds in IE ? I need to change the check boxes which are at "Tools->Internet options...->Advanced->Show pictures" thanks. Vladimir
2
1,543
thread by: memememe | last post Nov 15 '05 by: memememe
I am using the Activator class and creating an instance by passing the type I want to create and the paramters for the constructors. My question is: Lets assume we got Interface A, and Interface B, and a class C that implements both. If I have two contructors, one takes an instance of a class that implements A and the other an instance of a...
4
2,580
thread by: Hasani | last post Nov 15 '05 by: Hasani
http://www.skidmore.edu/~h_blackw/finally.gif I can only catch the exception thrown in the finally code section. even if I do catch(InvalidOperationException)
2
1,096
thread by: Laurence Reeves | last post Nov 15 '05 by: Laurence Reeves
Wall, up, driven I have been. I runtime "Controls.Add" eighteen of my custom controls (two varieties). A seemingly random (but consistent) eleven of them instantly lose their parentange. I do virually anything, and the remaining magnificent seven of them drop off the face of the form.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.