Topics
-
- 0 replies
- 2.1k views
I spent almost an entire day figuring out how to use custom configuration settings in an app.config.:mad: I never really found any good examples of how it should be done:( , so I decided to share what I learned here.:D You can always store key/value pairs in the app.config file and read them using the AppSettings function. However, what if you have a more complicated situation where you need to group settings. That is where a custom configuration comes in. Note: you can always create your own XML settings file, but I like having a single place for all of the application settings. So, say I have 3 different kinds of "things" that have 3 different properties that I w…
Last reply by tfowler, -
-
- Administrators
- *Experts*
- 2 replies
- 1.1k views
Is there a way to search the text of all of my stored procedures for a phrase? For example, all of them that contain a certain TableName? Either built into SQL Server, or with code.
Last reply by Nerseus, -
-
- 0 replies
- 1.3k views
What experience do you have with O/R mapper in .NET? I need to choose one for use in my company Which one is the best for you? I have seen lots of positive feedback about this one: LLBLGen Pro What do you thing about this? Is it good or can I find better alternative? Regards cyberjoe
Last reply by cyberjoe, -
-
- Administrators
- 1 reply
- 1k views
Hi, I would like to ask you what is the best way to localize applications in .NET 2.0 and how Microsoft do it in Vista? cyberjoe
Last reply by PlausiblyDamp, -
-
-
- Administrators
- 2 replies
- 911 views
I have made a button click handler to be generic to enable it to handle two buttons. One button saves a record to the transactions table and the other to the transactions_weekly table. Now if the record begin saved when running a call to the event handler for the transactions is of type "SHOPPING" the app prompts the user to ask do they want it also saved to the transactions_weekly table. If the answer is yes I believe I need to recall the event handler I am currently in? So to do this I create an object reference to the button on the form that would save a transaction_weekly record and then call the click event and pass it the reference object. Problem is …
Last reply by MrPaul, -
-
- 31 replies
- 2.5k views
Hi, I am getting a tad confused with the methods used to populate and repopulate of a combobox. Here is the story: I have a combobox on a form that is setup as follows: datasource = MB2007DataSetBindingSource displaymember = tran_description valuemember = tran_id MB2007DataSetBindingSource is setup as follows: datasource = MB2007DataSet datamember = transaction_descriptions And there is also a data adapter named daTransactiondescriptions When the form loads this line is executed: Me.daTransactiondescriptions.Fill(Me.MB2007DataSet.transaction_descriptions) Now this works a treat and as I would expect. However the problem arises when I w…
Last reply by pachjo, -
- 2 replies
- 1.1k views
Hi, I think problems I am having with datasets may be down to my misunderstanding the above topic? When I place a dataset on my form in designe view I get the option to created a typed or untyped dataset. How do I create a new dataset that has all the required auto genreated selcect, update, delete commands built in when I have no other datasets created? I have no choice to create an untyped one and then all my prblems start as they have no commands in place? I see a tableadapter appears but I dont have a property accessible to set any of the required commands?
Last reply by pachjo, -
- 2 replies
- 1.3k views
Is there any way I can redirect to an error provider page whenever any exceptions occur on my site - by that I mean any that are not caught by Try/Catch blocks Ideally i'd like a page called errorProvider.aspx which simply sends a copy of the execption to admin and displays a "sorry an error has occured" type message. How is this scenario usually implemented?
Last reply by bri189a, -
- 3 replies
- 2.1k views
Hi, I have a javascript context menu (Div element). When try to popup menu over asp:ListBox or HTML <SELECT> element the menu stay behind and ListBox is on top of it. Is this some kind of IE bug? Thank you.
Last reply by bri189a, -
-
- Administrators
- 1 reply
- 1.3k views
Hi to all! I would like to ask you which coding convention do you use? Regards,
Last reply by PlausiblyDamp, -
-
-
- Administrators
- 1 reply
- 1k views
I'm getting loads of emails from my global expception handler, its due to a 404 error, a page is being requested that is spelt wrong and doesn't exist. I've been trying to track down which page contains the broken link but I cant find it. I've searched through the working files on my development PC and also run an application to check for broken links remotely, both came up with nothing! Is there any way that when the exception is called I can find out which page the user was on before they tried to get on the missing one. I've tried request.URLreferrer but that has a value of nothing when the exception is thrown. I could create the page with its mispelled name, …
Last reply by PlausiblyDamp, -
-
-
- Administrators
- 1 reply
- 966 views
Whats the best way to prevent this, I mean to prevent malformed user input from causing an exception. I've realised the obvious of removing any apostrophies before generating the SQL statement but i've no doubt theres a lot more to it than than!
Last reply by PlausiblyDamp, -
-
- 4 replies
- 1.1k views
I have a project where users enter memerable dates into a website, I store these dates to a database and then each day at a set time, the system loops thorugh the dates and for any that are 7 days in the future it sends an automated reminder to an email address also in the database. I find this quite simple in theory but i'm not sure how to go about it, I presume I need to write an application which will run at the specified time each day, send the emails if there are any and then shut down again, it could be set as a scheduled task at the specified time. Or would I be better with an application that ran continuously and monitored the time, if it was "time" then it …
Last reply by Mondeo, -
-
- Administrators
- 2 replies
- 6.8k views
How can I upload a file to an FTP server using a windows forms application, is there a class that deals with FTP?
Last reply by amir100, -
-
- 0 replies
- 1.4k views
I have a professional level MSDN subscription. In the product key area I have a product key for Windows 2000 Server however I do not have a cd of it from my MSDN subscription and I do not see it in the downloads area anywhere on line when I log into access my subscription. Does anyone know if an msdn subscriber can still acquire a copy of Windows 2000 Server? I had a need come up that would call for me to load something on it to do some programming work. I had planned to load it as a virtual server here at my home so I could access it that way for the programming work. Certainly not looking for anything long term or heavy use, after all its just little ole me ban…
Last reply by irasmith, -
-
- Administrators
- Leaders
- 3 replies
- 1.3k views
I didn't use Graphics objects before and have a problem: I have 2 icons with .ico extension and I think I have to import them to my project resources! Then on my forl load event I want to choose which icon will be shown as the form icon property. I was not able to implement this simple task! Can anyone any help?
Last reply by snarfblam, -
-
- 1 reply
- 1.2k views
I have a textbox on a form, next to it is an imagebutton which just says "GO!", user presses the imagebutton and triggers the click event Is there any way I can also run the code in this click event if the user simply presses enter in the textbox, at the moment a postback occurs when this happens but it doesn't do anything, can I wire that postback somehow to the imagebutton click?
Last reply by tfowler, -
- 0 replies
- 1k views
More info here: IdeaBlade, but in effect it's supposed to be a program that replaces your normal data access layer by creating objects. The Express Edition is free and looks decent. I installed at home without problems, though the installer looked a bit dated. Apparently if you buy the Pro Version it works with certain other 3rd party controls like Infragistics. Thats cool, but I thought 2.0/2005 had a standard collection interface(s) to implement to make a datasource, so I'm not sure why a datasource would work with .net controls and not Infragistics. I believe the super duper version works for over the internet stuff... not really my area of work so I didn't …
Last reply by Denaes, -
- 2 replies
- 1.1k views
I'm getting intermittant errors from my global exception hander mentioning this file, its simply Path '/WebResource.axd' was not found. What is this file, what does it do etc? And why would I be getting this error? Thanks
Last reply by Mondeo, -
- 1 reply
- 1.3k views
Can anyone point me to a good skinning tutorial or book. I would like to "tart up" a VB.Net application I put together but know absolutely nothing about skins. There appears to be two paths I can take. Build my own images using Paintshop Pro or acquiring a skin editor like SkinCrafter. My preference is to build and apply my own images. Any info much appreciated. Thanks, Ted
Last reply by Denaes,
-
Who's Online 1 Member, 0 Anonymous, 49 Guests (See full list)