|
C# references additional items:
1. I looked at the properties for each third party component and found all 6 items are file type 'assembly'. Is there any way for me to tell if they were an added reference to the solution as a '.net', COM, proejct, or browse items?
2. If there any way to tell if these third party items are required or not? The only thing I can think to do is just remove one item at a time and see if the application still is running.
|
|
|
|
|
Absolutely. Assembly means they're .NET. Remove them, and if they're needed its very likely that you'll end up with compile errors. The exception to this is if they are dynamically created at runtime which is pretty unlikely, but delete everything in your bin folder to make sure.
Regards,
Rob Philpott.
|
|
|
|
|
If this code is .net, is there any way I can tell where all the code acutally exists?
|
|
|
|
|
1. I'm not really sure why this is important.
2. If you remove them then the chances are that your application will not even build. You should find out why these are included in your application before taking any action.
|
|
|
|
|
The only way i would determine why they exist, by the code that calls it and the results returned by the code, correct?
|
|
|
|
|
Exactly so, and one would hope the original writer(s) put in sufficient documentation to explain what it's there for.
|
|
|
|
|
I'm trying to build an application that need to show web pages in a Forms.WebBrowser relatively fast. My question is if anybody knows how I can pre-cache webpages? One solution would be to accept a slower load time the first time the page is shown, but is there a way to avoid even that?
|
|
|
|
|
Assuming you can predict the pages of interest, you could have one or a few threads fetching those pages (using either WebClient or HttpWebRequest), then stuff the required one in WebBrowser.DocumentText; however the net result might be less than you'd hope for, as nowadays web pages often require additional loads (such as javascript files, CSS files, images, etc), and, unless you parse the page document yourself, those would not be fetched simply by instructing WebClient/HttpWebRequest to load the main pages.
Another approach could be to have a number of WebBrowser controls, not necessarily present and visible (to be checked!) on one of your Forms; and use their Navigate() method. That should go fetch the entire web page, including all dependencies, and all those files would automatically end up in the Windows caching system, so as soon as your regular WebBrowser asks for the same pages, they should come up pretty quickly.
|
|
|
|
|
Try storing your data in XML and avoid heavily loaded datasets
I only read newbie introductory dummy books.
|
|
|
|
|
Are you sure you're answering the question that was asked, and the poster who asked it?
|
|
|
|
|
Assuming that the slow speed is caused by data load.
I only read newbie introductory dummy books.
|
|
|
|
|
The OP is opening web forms in a browser window - what does this have to do with datasets or XML?
|
|
|
|
|
I think I'll try the second approach, it seems easiest and I can accept a slower start-up of the program. Thanks for the suggestion!
|
|
|
|
|
you're welcome.
|
|
|
|
|
I'm a long term C++ programmer transitioning to C# and, for my first real application, I'm using datagridview to hold a class. However, I don't want to display all the data fields on the front page. What I've done is to put some button columns on the main page and then grouped related fields in a dialog when the user presses a button. However, this creates a dilema. I want to make sure that the user enters proper data (ints, doubles, strings, etc.) in the dialog fields and I can't figure out how to do it. When I bind to the main data source the program crashes; understandable since the binding is probably broken when I go from the grid to the dialog. What I planned on doing was validating the fields in the dialog and then putting them in the data object when the user closes the dialog. In C++ you could associate text boxes with data types but I can't seem to figure out how to do this in C#. Any help would be appreciated. Thanks.
|
|
|
|
|
Look into using NumericUpDowns and DateTimePickers rather than TextBoxes for numeric and date values.
|
|
|
|
|
Since you are new to c# I would suggest that you use conversion from string to other types.
Use error catch exception to alert user to input data in good format.
I only read newbie introductory dummy books.
|
|
|
|
|
Thanks for the advice. Isn't there some equivalent to the C++ Dialog Wizard that let you declare variables associated with text boxes? That approach seems much more straightforward.
|
|
|
|
|
hi guys,
I have to create application that deny read access on USB storage Like USB Flash , portable H.D.D & ...
but allow write access on USB Devices!!!
is there any tools that deny read access but allow write access on USB Storage devices?
tanx
|
|
|
|
|
sir image to word convert times new romens convert software send my mail reetesh_786786@rediffmail.com
reetesh
|
|
|
|
|
Please read this[^] before posting questions.
|
|
|
|
|
i want make program whit C# that when press F7 On keybard lock mouse cursor on screen and L-click here (l_click wait 25 milesecond L-click and.....) until press F8 key on keyboard .
please help me how control mouse in screen.
|
|
|
|
|
MAHDI_GORDAN wrote: please help me how control mouse in screen. Restricting the mouse cursor to a specific location should be possible by setting Cursor.Position to that location in a timer tick event handler.
/ravi
|
|
|
|
|
hi guy i have pretty simple requirement
i have three rows in my table
year ----amount
2011-----100
2012-----200
2013------400
now what i want is to show these rows in columns lets say as i have three distinct years
so i want to create three columns ar run time and these columns should be
2011--------2012----------2013
100--------200------------400
any ideae how to achieve this?
is this a pivot view ?
regard.
Tauseef A Khan
MCP Dotnet framework 2.0.
|
|
|
|
|