 |
|
 |
Very funny, I had a good laugh, I know it's right, so harold, what do you usually do?? I guess it's still better than doing nothing, isn't it!
|
|
|
|
 |
|
 |
Whether it's better than doing nothing depends on the amount of trouble you have to go through, time is money right?
And what's really the worst that could happen if some kid "borrows" your code?
|
|
|
|
 |
|
 |
harold aptroot wrote: And what's really the worst that could happen if some kid "borrows" your code?
It happened and I never thought it would annoy me, I just dont like it when they edit it and republish it under their name, but I agree with you, we have to balance the costs of both options!
Thank you for your time and metaphors
|
|
|
|
 |
|
 |
Here is a refereed article recently published in the ISSA Journal entitled "Assessing and Managing Security Risks Unique to Java and .NET" - it is a little longer treatment of both the technical capabilities (and risks) associated with obfuscation (and other hardening techniques) and some guidance on how one might decide if "it is worth the trouble." Don't be too hard on the content please, i wrote it... i enjoyed the thread - hopefully the article will add yet another perspective. thanks!
http://www.preemptive.com/images/stories/news_logos/Risks_Unique_to_Java_and_NET-ISSA1109.pdf
|
|
|
|
 |
|
 |
Hi, I have been working on a custom control and was wondering about the quick watch window.
There is duplication of the control, but I'm unsure of what exactly it is as the values aren't always the same. Its hard to describe without a picture/screenshot, but as I don't know how to upload a pic I will try and describe!
e.g. Here is the quick watch of my custom control:
NameOfMyCustomControl
+base
_datasource
_text
_value
etc
DataSource
Text
Value
etc
The top half have a light blue image to the left of the values, the bottom half have the standard hand a paper image.
Hope that makes some sense! Can anybody please tell me what the difference is?
|
|
|
|
 |
|
 |
are you using automated properties, or whatever the official name is; i.e. properties where you don't provide any code and let the compiler generate a read or write to a local variable of almost the same name?
|
|
|
|
 |
|
 |
Does anyone know how to get the description box at the bottom of the Properties window to display once it is gone? I'm using VS2008. Not sure how the description section disappeared to begin with. If I move my mouse near the bottom of the window, my mouse turns to the black up/down arrows like I should be able to drag to resize the description box. However, as soon as I click the black arrows go away. I even tried reducing my resolution to 800x600 but that still won't let me grab onto the resize bar. Please help!
|
|
|
|
 |
|
 |
I don't know about VS2008 but in VS2005 you can right click the properties window and enable/disable the Description box. Try turning it off and than on again and see if that helps.
|
|
|
|
 |
|
 |
I found that option in VS2008. But turning in it off and then back on again it "remembered" its last known size, so the size was still completely collapsed.
Without even thinking about it, sometime over the weekend I imported a .vssettings file over the weekend to change my text editor colors (OK, I'm weird. I keep several color schemes available for variety). I had gone with all the default storage settings, which apparently include the size of the properties description window. So the act of importing the .vssettings file restored things for me.
I'd still like to know if anyone has encountered this problem before in case someday I accidentally overwrite my .vssettings file with a version where the description window is "minimized" again.
|
|
|
|
 |
|
 |
That answer is VERY CLOSE. I just had this problem, found your message, and it led me to a solution. Sorry for the reply an old thread.
PROCEDURE:
Right-click on properties and turn off "Description."
Close the Properties window.
Close Visual Studio.
Restart Visual Studio and load your project/solution.
Open the Properties window.
Right-click on a property in the window and turn on the "Description" option.
When I turned the "Description" option back on, the description pane reappeared.
|
|
|
|
 |
|
 |
Hi! I just installed a new full retail box Enterprise Architect 2002 with Visual Source Safe....... ..I can not check for online updates from help menu, and on the Start page none of the online options such as Headlines, Online community, Downloads, XML Web Services, Web Hosting work .......It says I must be online (it doesnt work even when I am online)..but under the Whats New Section of the Start page I can go online.
System: Updates VS 2002 Sp1, Net Framework sp1, sp2,sp3. I am running xp home premium with sp3, sp2 all all other updates. xp sp 1 was not installed just xp sp2 and sp3.,,, This machine is an Athlon 3200 754 with 1.5 gb ram, sata 7200 , 128 mb Nvida, and running well !! Machine also has Microsoft Web Platform Installer, SQL 2008 Config mgr, Microsoft Visual Web Developer 2008 (installed prior to EnterpriseArch2002) I was unable to uninstall IE8 prior to xp sp3 because it might have damaged the 2008 sql and Express software and caused other unkown problems....IIS is not installed yet. Net frameworks installed 1, 1,1 ,2, 3, 3.5 all with sevice packs..
What can I do? ...Is it a windows firewall permission that is needed?... Do I need to instal IE6 as an optional non default browser and let Visual Studio use it?.... Do I install older Opera or some other browser? ...Is it in an internet options problem? ...Is Visual Studio trying to connect to expired internet links...Do I put my install disc back in and let it check for updates as last part of install ( I did not do this as I wanted to do patches a few at a time to try to make it work since it is old.)...Since I have xp sp3 installed I can not uninstall IE8..as far as I know..besides its better and more secure than IE6. Microsoft has discontinued support for VS 2002..is that a possible cause for dead internet links?
thanks for any insight.. Andy
|
|
|
|
 |
|
 |
I'm building my C# solution from the command line in a batch file and then checking the %ERRORLEVEL%. The build is failing - I can see that the DLL is not being produced and can see the error when I'm in Visual Studio - but the %ERRORLEVEL% is 0.
Is this a known "feature"? Has anyone else experienced this?
"...there's what people want to hear, there's what people want to believe, there's everything else, THEN there's the truth!" - New York D.A., The International
|
|
|
|
 |
|
 |
Hi All,
i developed win32 exe to perform some http stuff, but on some computers it throws unhandled exception "memory could be read" but on others it works fine.
So please can someone give me advise on this dual behavior of win32 exe.
Thanks A Ton
Ash_VCPP
walking over water is just knowing where the stones are.....
|
|
|
|
 |
|
 |
Ash_VCPP wrote: it throws unhandled exception "memory could be read"
Assuming you meant to say "memory could not be read" you may find some help here[^].
|
|
|
|
 |
|
 |
Hi Richard,
Thanks For The Reply.
the link you provided was for the error in OS itself, but in my case i have my own win32 application which is causing the issue, so can you please tell me some solution to this issue, because i didnt get anything useful from there.
Thanks A Ton
Ash_VCPP
walking over water is just knowing where the stones are.....
|
|
|
|
 |
|
 |
Ash_VCPP wrote: can you please tell me some solution to this issue,
Well if you had followed the link I gave you and checked some of the other messages, or Googled it for yourself you would have seen all the known occurrences. You will have to decide which one is closest to your situation as you have not given us any information to work from, beyond the fact that you got this error.
|
|
|
|
 |
|
 |
Ash_VCPP wrote: memory could be read
we all know memory should be write-only. I suggest you demand a refund.
Luc Pattyn [Forum Guidelines] [My Articles]
I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages
|
|
|
|
 |
|
 |
Hi Luc,
I appriciate your sense of humor , So please consider it as "memory could not be read" and please give me some suggestions on it.
Thanks A Ton
Ash_VCPP
walking over water is just knowing where the stones are.....
|
|
|
|
 |
|
 |
suggestion: any of these[^], maybe the second one?
Luc Pattyn [Forum Guidelines] [My Articles]
I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages
|
|
|
|
 |
|
 |
I have added users to the TFS Project.
But when try to access the portal, cannot access the Portal.
Please Help.
|
|
|
|
 |
|
 |
Hello,
While doing the TFS project permission settings,
You have to add users in the Portal seperately in order to give them access to the Portal.
Automatically the Portal permissions does not get set if you add users to the TFS Project.
You can add users by opening the portal, log in as admin and go to Site Settings.
|
|
|
|
 |
|
 |
How can I load a Embedded report by its name and is it possible at all?
(I use Crystal Reports for Visual Studio 2008)
Thanks.
|
|
|
|
 |
|
 |
I've written a routine that gets the windows installation key from the registry. This routine is just one part of a bigger application that I'm building. However, I have a problem with the routine not running correctly when Visual Studio's Target CPU option is changed from AnyCPU to x86. Note: I'm running a 64bit OS, but I want the app to specifically target 32bit platforms.
When VS is set to AnyCPU the routine works fine. When set to x86 an invalid cast exception of "Unable to cast object of type 'System.Int32' to type 'System.Byte[]'" occurs at the DirectCast line.
Dim aryDigitalProductID As Byte()
Dim objDPID As Object = My.Computer.Registry.GetValue("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\", "DigitalProductId", 0)
If objDPID Is Nothing Then Return "Not Available"
aryDigitalProductID = DirectCast(objDPID, Byte())
I'm using the directcast because I prefer to code with Option Strict set to on. However, if I turn Option Strict off, and coerce objDPID to an array the invalid cast exception still occurs.
Does anyone know how to overcome this so the routine would work when targeted specifically at a 32bit platform?
Also, when the AnyCPU option is selected, how does the compiled AnyCpu code differ from x86 code?
Any help would be greatly appreciated. (As you can probably infer, I'm not completely au fait with VB.Net and VS.)
|
|
|
|
 |
|
 |
The problem you're having is from the way x64 windows runs x86 code. The x64 regedit and the x86 regedit point to different hives.
x64 windows running x86 code will actually substitute a 32bit registry in much the same way it substitutes the 32bit Program files directory.
Your program is actually accessing the key at HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion when running in x86 mode, instead of HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion that it gets in anyCPU or x64 mode, and since the DigitalProductId key doesn't exist there, you're getting your default value which is 0. That's where the System.Int32 comes from.
If you run yor program on an x86 OS it will work, it's only failing because you're specifying x86 on an x64 OS. Leave it on AnyCPU and you should be fine.
The code that VS compiles doesn't change when you change the Target CPU, it only changes a header flag that the interpreter reads and forces it to use the x86 interpreter.
|
|
|
|
 |
|
 |
Thanks for the explanation, I'd forgotten I'd posted this question it was that long ago Your answer makes perfect sense now it has been explained. I can't even remember now why I specifically wanted to target x86 architecture in the first place as the finished program was designed to run on either platform.
See this link for the finished program / CP article. Retrieving Information From Windows Management Instrumentation[^]
Nobody can get the truth out of me because even I don't know what it is. I keep myself in a constant state of utter confusion. - Col. Flagg
|
|
|
|
 |