|
Hopefully this time I appear as BrianTheLion
Brian
|
|
|
|
|
At the moment it says "Brain" instead of "Brian" … but that's quite cool
|
|
|
|
|
CHill60 wrote: that's quite cool animal cruelty
FTFY!
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
|
It should be BrianTheLoin.
It may have picked up Brain from my computer. When the tech installed the operating system he typed in Brain instead of Brian by mistake.
Brian
|
|
|
|
|
And now you have BriainTheLion!
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Opps I see what you mean.
It won't let me change to BrianTheLion (says it's taken) so BriainTheLion well have to do.
|
|
|
|
|
The standard libraries that are part of .NET are already on your system. Most of them will be in the GAC.
If you want to distribute your assembly, then I'd suggest CodeProject if you can take the time to write an article on what the thing does, and how/why it was built. If you don't feel like writing an article and just want to share the code, I'd recommend GitHub.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
Hi Eddy.
I just want to use some of the classes within Engine3.dll in a new project. So I need to copy Engine.dll from my old project over to my new project but don't know where the destination is to put Engine3.dll
Brian
|
|
|
|
|
The assembly would need to become part of the project; easiest way to do so is to create a "bin" folder (or similar) and drop them all there, with "Copy to target" to true. When building, the assemblies would be copied to the build-folder.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
Thanks Eddy, I'll keep that in mind.
Brian
|
|
|
|
|
You're welcome
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
Hi,
when you want to reuse a library (a managed code DLL file), you must “add a reference” and Visual Studio will include the DLL in your new project and copy it to the approapriate location. Copying the file yourself would not be sufficient.
|
|
|
|
|
Hi Luc.
When you say reference do you mean add "using Engine3" to my code?
If I did that then it still needs to know where to find Engine.dll, maybe your referring to something else.
Brian
|
|
|
|
|
There is a menu item that says either “add ...” or “add reference”, it may be a context menu for your project in the “solution pane”. Look around and you will find it.
|
|
|
|
|
|
I think I found it as Reference Manager.
I have a choice of Solution under Projects or Solution under Shared Projects to browse for the dll file.There is also 'Browse recent' but I don't think that's the right one to use.
Brian
|
|
|
|
|
The details vary for different versions of Visual Studio. The dialog you want is called "Add Reference" in VS2008, and "Reference Manager" in VS2015, I don't know for other versions (VS2019 has been made available just now). And I never used the "shared projects" feature.
|
|
|
|
|
Hi Luc.
I'm using the 2015 version of Visual Studio.
Do you know if it's still possible to download the 2015 version should something happen to my 2015 version of Visual Studio? I'm told that there are errors in latest version of Visual Studio.
Brian
|
|
|
|
|
|
I'm working on an inventory app. The users will take inventory on Android tablets. They will scan the barcode and fill in some info. I will probably serialize the info to an XML file on the tablet.
They will then plug the tablet into a PC and download the inventory files onto the PC which will process it.
2 questions...
First, how can my windows app know when a specifc tablet is plugged in and/or unplugged? I can give the tablets names or Id's if needed.
I guess I could handle some windows function and examine the devices name/Id.
Second, what's involved in getting the data off the tablet? Can the Windows app get files from a specific folder off the tablet? Windows would probably see it as just another drive. The question of access rights comes to mind.
I've never done tablet/PC interaction before.
Is this the best way? I'm open to ideas.
Thanks
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.
|
|
|
|
|
Kevin Marois wrote: First, how can my windows app know when a specifc tablet is plugged in and/or unplugged? I can give the tablets names or Id's if needed.
I guess I could handle some windows function and examine the devices name/Id. Good idea. Next question.
Kevin Marois wrote: Second, what's involved in getting the data off the tablet? Can the Windows app get files from a specific folder off the tablet? Windows would probably see it as just another drive. The question of access rights comes to mind.
I've never done tablet/PC interaction before. If it is attached using USB, the device will ask whether or not to allow access on connection. If the user disallows, there won't be a drive visible.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
|
If you're also doing the "tablet" development I question the use of Android when you could be using Windows 10 tablets (talking to a PC).
Surface GO is better than anything else out there in that price range.
"(I) am amazed to see myself here rather than there ... now rather than then".
― Blaise Pascal
|
|
|
|
|
I have a Web Site I am trying to debug and explore. It is used already. It is already in a workable state on the computers of my peers in my development group. I just want to step through the code in debug mode. To do this, according to a peer I work with, I need to start the web site locally and then attack the project I have loaded in Visual Studio to the running project.
This brings me to the error I am stumped on. when I open IIS and click on the option to "Browse *.80 (http)" for the website that is listed and has been validated, it launches the website in a browser but it has an error:
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.
Detailed Error Information:
Module
IIS Web Core
Notification
BeginRequest
Handler
Not yet determined
Error Code
0x80070021
Config Error
This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (overrideModeDefault="Deny"), or set explicitly by a location tag with overrideMode="Deny" or the legacy allowOverride="false".
Config File
\\?\C:\Users\....\web.config
Of course I have modified the path to the web.config to keep this anonymous.
The "Config Source:" on the page has a red highlighted line that has the XML node, <handlers> but this does not seem to be useful information.
The "More Information" area at the bottom of the page says:
More Information:
This error occurs when there is a problem reading the configuration file for the Web server or Web application. In some cases, the event logs may contain more information about what caused this error.
View more information »
Since the HResult code is 0x80070021, the corresponding Error message listed on this hyperlink page, https://support.microsoft.com/en-us/help/942055/http-error-500-19-error-when-you-open-an-iis-7-0-webpage is:
Server Error in Application "application name"
HTTP Error 500.19 – Internal Server Error
HRESULT: 0x80070021
Description of HRESULT
The requested page cannot be accessed because the related configuration data for the page is invalid.
The Cause is: This problem can occur when the specified portion of the IIS configuration file is locked at a higher configuration level.
The Resolution is: To resolve this problem, unlock the specified section, or do not use it at that level. For more information on configuration locking, see How to Use Locking in IIS 7.0 Configuration.
This links to this page https://docs.microsoft.com/en-us/iis/get-started/planning-for-security/how-to-use-locking-in-iis-configuration which describes locking of different elements in a configuration file.
Apparently, according to this document online, I might be able to solve this issue by following the steps described.
The page mentions applicationHost.config but the error page I get references web.config but I assume that if I change
<handlers> to <handlers overrideMode="Allow"> then it might work
and yet, intellisense says that "overrideMode" is not an allowed attribute.
|
|
|
|