|
-
May 12th, 2005, 10:23 PM
#1
Why can't I attach a cls file to a post?
I can attach frm, ctl, and bas files directly to a post so why can't I attach a simple cls file directly without first zipping it up?
-
May 12th, 2005, 10:29 PM
#2
Re: Why can't I attach a cls file to a post?
We cant attach .cls, .res, .xls, .dot, .xlt, ...
Is there a limit in the forum software for the allowed file extensions?
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
May 12th, 2005, 10:37 PM
#3
Re: Why can't I attach a cls file to a post?
Because someone has decided that certain file types are dangerous. I think I remember a recent virus that was spread in a cls file attachment to emails but I could be wrong.
-
May 12th, 2005, 10:44 PM
#4
Re: Why can't I attach a cls file to a post?
But if we allow a .doc file the that is just as dangerous as a .xls file. They bothpotentially could execute code.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
May 13th, 2005, 01:50 AM
#5
Re: Why can't I attach a cls file to a post?
Yeah, as long as you have macros enabled, that is true. They are called Macro viruses.
BTW: last time this was asked for, it was me who asked. And then Brads answer was (hope I am allowed to quote him.. )
 Originally Posted by brad jones
In this forum software, you specify which file types can be uploaded. css is a type that hasn't be specified; however, it is a type that can be zipped.
For the most part, files can be zipped, otherwise, we'd have people asking for new types to be allowed every day. The most comment types related to this forum are allowed to be uploaded -- such as txt, zip, bas, frm, cpp, asp, and rar. Others need to be stuck into a zip or rar file.
Brad!
ØØ
-
May 13th, 2005, 06:20 AM
#6
Re: Why can't I attach a cls file to a post?
I really can't see how a cls file can be dangerous, since they are not executables. In that concept a bas file should be more dangerous anyway if you have an old BASIC interpretator installed. A doc file is also much more dangerous since it's a known fact that it could include macro viruses. I also think that Brad's comment doesn't really cut it in this case. I fully understand that you can't keep adding every type of file that people might want to be able to upload but you can today upload every type used in VB except cls files which I can only see as an oversight, someone simply forgot to add it.
-
May 13th, 2005, 07:03 AM
#7
Re: Why can't I attach a cls file to a post?
Maybe there was no cls files when the list was made...
Last edited by NoteMe; May 13th, 2005 at 07:26 AM.
-
May 13th, 2005, 07:09 AM
#8
Re: Why can't I attach a cls file to a post?
 Originally Posted by NoteMe
Maybe there was no cls files when the list was made... 
No, cls files have existed since VB4 even though it was first in VB5 they really became useful.
-
May 13th, 2005, 07:25 AM
#9
Re: Why can't I attach a cls file to a post?
Well never used VB4 so I have no idea. And I am not sure when the list was made either. All I know is that it wasn't in VB3 when I used that.
ØØ
-
May 13th, 2005, 07:33 AM
#10
Re: Why can't I attach a cls file to a post?
Well VB4 was released back in 1995, VB-World that started this forum didn't exist back then.
-
May 13th, 2005, 09:40 AM
#11
Re: Why can't I attach a cls file to a post?
 Originally Posted by MartinLiss
Because someone has decided that certain file types are dangerous. I think I remember a recent virus that was spread in a cls file attachment to emails but I could be wrong.
Thinking about this I realize that I have no basis for making that statement when it concerns VB Forums. At my last job we weren't allowed to attach cls files to notes in our internal mail system and "dangerous" was the reason given there. So as to why you can't attach them here I have to admit I have no real idea.
-
May 13th, 2005, 09:57 AM
#12
Re: Why can't I attach a cls file to a post?
 Originally Posted by MartinLiss
Thinking about this I realize that I have no basis for making that statement when it concerns VB Forums. At my last job we weren't allowed to attach cls files to notes in our internal mail system and "dangerous" was the reason given there. So as to why you can't attach them here I have to admit I have no real idea.
Well, you're one of the admins Marty... change it! Please.
-
May 13th, 2005, 10:36 AM
#13
Re: Why can't I attach a cls file to a post?
Wouldnt it be best if all code attachments were in compressed format? Sometimes its a pain to view vb files in the VB IDE when
viewing in notepad is faster and easier, at least for me.
If its compressed I just view a particular file and use notepad. No possibility of any type of execution of code.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
May 14th, 2005, 05:54 AM
#14
Re: Why can't I attach a cls file to a post?
 Originally Posted by Joacim Andersson
Well, you're one of the admins Marty... change it! Please.
It would be nice!
I have also done a little bit of checking myself and I can find no reference to any virus, trojan... etc that is spread through .cls files
I found a few that are spread through .bas files but thankfully none through .cls files 
 Originally Posted by RobDog888
Wouldnt it be best if all code attachments were in compressed format? Sometimes its a pain to view vb files in the VB IDE when
viewing in notepad is faster and easier, at least for me.
If its compressed I just view a particular file and use notepad. No possibility of any type of execution of code. 
Hmm, that is a good point though, unless the file makes use of the zip files actual code to do the execution, there are a few in the test labs that can do this... Thats why I try to use .rar - its much safer at the moment Although, never heared of any VB file that has done it 
Cheers,
RyanJ
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|