blah blah blah is here! blah blah » Close

0
votes
0 answers

Best approach for localized controls using images

betpet
208

I've been asked to implement localization in my application. I have done this quite successfully. The problem I now have is that I have now been asked to implement images as some kind of universal language. For example, if the local lang ...

0
votes
2 answers

WPF capturing an click event in a child control

betpet
208

I'm building an app in WPF and have a main window, in the window I have a frame with a page inside it. On the page is a button. I have instantiated the page inside the application and am trying to create an event where I can capture the c ...

0
votes
0 answers

WPF - Page closing itself via it's hosting frame in C#

betpet
208

Hi, I have a WPF application that has a menu, a frame and depending on what you select in the menu, a page gets added to the frame to allow the user to get on with stuff. The problem I have is that they user wants a 'cancel' button on ...

0
votes
1 answers

Converting XmlElement to XmlDocument

betpet
208

This isn't a question but more a sharing my solution to a problem. Due to various reasons (don't ask) I have had to convert a XmlElement to a XmlDocument for some applications I am interfacing. Naturally, I could find anything but the sol ...

0
votes
1 answers

navigating XML to update an attribute (not an element!)

betpet
208

I have an XML document in a similar form to this: <root> <Header someAtt1="one" someAtt2="two">Some Info</Header> <body> <aTask anAtt1="alpha" anAtt2="beta"/ ...

0
votes
1 answers

Template website with forum in .NET 2.0

betpet
208

Hi, Could anyone point me in the direction of a C# template website that has a fully functioning forum, login and news page? Its not so much that I couldn't write one myself but why reinvent the wheel? I don't mind paying a small fee if ...

0
votes
1 answers

Automatic DateTime pickup

betpet
208

I'm expecting dates to be uploaded in any valid format. What I need to be able to do is to read the string, work out what the format is in, make it a DateTime object, then return the value in a specified format. ie. date 1 = 15/06/2006 1 ...

0
votes
1 answers

Checking string arrays for unique values

betpet
208

Does anyone know a way to check a string array for unique values without resorting to the bubblesort-like method of checking each element against the rest? my current pseudocode reads: loop x subloop y check value x against value y, if ...

0
votes
1 answers

Saving dynamic form control details

betpet
208

Hi all, I'm working on an application which will allow the user to take an XML template, a csv file and load them both up. Once this is done, the user should be able to dynamically generate mappings from the CSV file to the template's XML ...

0
votes
1 answers

Datagrid issues (should be easy)

betpet
208

Hi, I've built an application that makes the use of a datagrid. I can create and populate the datagrid with no problems whatsoever. This issues I have are that I get a little box in the column header with a + symbol in it. I need to get ...

0
votes
1 answers

Passing data from one form to another

betpet
208

Ok, I have a main form where I create and show a second form. In the second form, I want to enter some text, click a button, check the text is valid, then pass that text back to the original form (or access the text in the second form), th ...

0
votes
1 answers

messagebox prompt

betpet
208

Hi, I have a form that I would like to customise to the user. When the form starts, I want to have a messagebox pop up to ask the user their name, they put in their name and the form then uses that name in its usual processing. Any ideas ...

0
votes
1 answers

Allowing ASP.NET applications to run unmanaged code

betpet
208

Anyone know how I can change the "Allow Calls to Unmanaged Code" from no to yes in the internet section of the .NET Configuration 1.1 tool?

0
votes
1 answers

Emailing anonymously

betpet
208

Hi, I've developed some code that checks for certain conditions in our system and, when they have been fulfilled, an email is sent through an existing SMTP server (Microsoft Exchange 2000) to tell the relevant people that these conditions ...

0
votes
1 answers

Javascript via an imageButton

betpet
208

Hi, I'm working on a site that has a linkbutton that opens up a javascript calendar pop up and, when a day is selected, populates a textbox. This code works fine but I've been asked to replace the linkbutton with an ImageButton. The html ...

Feedback