|
First off, thanks for the in depth suggestions. One thing I forgot to mention is that I can't debug directly on London's codebase and I can't reproduce the behaviour at home, even though it's the same code. In response:
1. At home yes. In London I don't know.
2. True: But why would this work any differently in London than in the States? Remember, it is ALL the same code, just a different environment. Regardless, it's something like this:
availableFilePaths = System.IO.Directory.GetFiles(repos)
For Each filePath As String In availableFilePaths
file = filePath.Substring(filePath.LastIndexOf("\") + 1)
classNames = GetClassNames(filePath)
For i As Int32 = 0 To classNames.Length - 1
tableRow = Table.NewRow()
tableRow.Item(0) = file.Remove(file.LastIndexOf("."), 4)
tableRow.Item(1) = classNames(i)
Table.Rows.Add(tableRow)
Next
Next
The actual loading code is irrelevant, the dlls can't be loaded if they can't be selected from the list
3. No try catches in this...bad idea jeans on my part, and unfortunately I can't add them right now
4. I do that too but unfortunately not in this instance and I can't update it right now either. I'm going to follow that advice more often though
This code has been tested, deployed and error free for some time...the introduction of the C# sourcecode is definitely the culprit somehow
|
|
|
|
|
OK, here are some more ideas:
1.
is this the first non-domestic instance? Several software packages have different
deliverables for domestic vs. international users (Windows? .NET? ADO.NET? ...).
I don't know any details though.
2.
Every installation is slightly different; international users would typically have
different regional settings (date/time formatting, currency, number formatting,
language, ...). Not sure how that would affect the matter at hand though, unless you
use special characters in filenames.
3.
if DataColumn[1].Unique is true, the Adds for duplicated classes would fail.
Does the DataTable get loaded from a database file, if so was it initialized in the same
way as yours?
Maybe you can have this tested by having the duplicated VB assemblies removed...
4.
If you catch and ignore exceptions at some higher level, then whatever goes suddenly wrong
would terminate the table filling
5.
I would try and check the facts first:
- are the files really there?
- are they accessible? (same owner, same access rights,...)
- are there any exceptions?
6.
You might consider creating from scratch a small app that just targets the problem area,
checks/logs everything, logs a number of SystemInformation/Environment stuff, and
catches+logs all exceptions at all times...
Luc Pattyn [Forum Guidelines] [My Articles]
this weeks tips:
- make Visual display line numbers: Tools/Options/TextEditor/...
- show exceptions with ToString() to see all information
- before you ask a question here, search CodeProject, then Google
|
|
|
|
|
1. Yes it is and I have a feeling that there may be some idiosyncrasy in the framework that is affecting this but I have no factual basis for that. I have to do some digging into it
2. True but there are no special characters, etc.
3. Good suggestion. I don't think this is the problem but I'm going to investigate further
4. Right, except that all the VB dlls get added...even if they come in AFTER the C# one(s)
5. Yes, Yes, and what do you mean by exceptions?
6. I think I'm going to try this...tomorrow
I think I have enough to go with for the time being, you have been incredibly helpful and I really appreciate it. Thanks again. When I get this figured out (or don't) I'll post back
|
|
|
|
|
you're welcome.
and good luck!
Luc Pattyn [Forum Guidelines] [My Articles]
this weeks tips:
- make Visual display line numbers: Tools/Options/TextEditor/...
- show exceptions with ToString() to see all information
- before you ask a question here, search CodeProject, then Google
|
|
|
|
|
Fort Mega wrote: all the VB dlls get added...even if they come in AFTER the C# one(s)
IIRC GetFiles() does not reorder the files, it gives them as they come from Windows;
and that order depends on the file system (FAT32, NTFS, ...). NTFS would keep them
alphabetically, FAT/FAT32 does not.
Luc Pattyn [Forum Guidelines] [My Articles]
this weeks tips:
- make Visual display line numbers: Tools/Options/TextEditor/...
- show exceptions with ToString() to see all information
- before you ask a question here, search CodeProject, then Google
|
|
|
|
|
Ohhh...good to know, thanks man!
|
|
|
|
|
Just a quick thought. The C# assemblies are CLS compliant aren't they?
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Well, I added [assembly:CLSCompliant(true)] and the project compiled without errors. I have to admit I'm not really knowledgeable in the area. Should that take care of it or are there other steps I ought to take?
|
|
|
|
|
hi
i am new at this group, i am student of information technology , i am working on a project online virtual drive , i need ur help and support to do , i hope this group will help me
thanks
zubair khan
|
|
|
|
|
If you have specific problems and questions, then we'll help if we can. If all you want is for us to do the work for you, then you're on your own.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
You might want to start with a specific question. So far, all you've done is said that you "hope this group will help me". Certainly, but you have to ask an answerable question first.
|
|
|
|
|
ok i know i have written to guys before, but i have an issue that i cant deal with..
my visual studio.net program is kinda messed up, its like all the text in the program (excluding the menus and sub-menus) have all decreased in size. when i wanna open a project i cant even read the text ion the box it opens and i the background that used to be white is now grayish, the same color as the rest of the programs interface...
any help in fixing this program will be much appreciated (i even have a screenshot that i can send you in case you dnt understand my problem..
pls help me!!!!!
steven
|
|
|
|
|
In Tools > Options expand the Environment section and select Fonts and Colors. There are multiple items that you can affect, so the best thing to do would be to select the Text Editor in the Show Settings For combo and click the Use Defaults button.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
dude tried wot you said and i am sorry but it hasnt changed.... dnt know wots goin on with it but even when a box opens to choose projects from, even that one is all small and unreadable... its readable but nt clearly..
cud de be anything else wrong with it or do i have to uninstall it... it worked when i installed it but it started looking like this last week....
any help wud be apreciated.
|
|
|
|
|
Pardon? I really didn't understand your post - I don't speak txt. Could you explain more clearly?
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Stop with the damn TXT Speak. It makes your posts hard to read. You've got a full 101+ key keyboard in front of you, use it.
There is a command line switch you can use to reset Visual Studio to default settings. Click Start/Run, then in the box that shows up, type devenv /reset or devenv /resetide , I can't remember which. You'll kiss all your customizations goodbye, but it might work for you.
|
|
|
|
|
sorry for the speaking in the text, sometimes i forget to write like a normal person would... i tries both the command lines you gave me and both of them tells me that its an invalid command line: unknown switch :reset.
i know that i didnt customize the programs interface, and i have an idea that it might be something with one of the files thats wrong, but hey, wot do i know, if i knew then i wouldnt have asked you guys...
so it didnt work as planned... any other ideas dave???
oh and thank you for the help so far..
steven
|
|
|
|
|
The command is devenv /resetsettings . As a hint, if you ever want to know what command line switches a Microsoft application supports, type the name of the executable followed by /? . So to find out what devenv supports you would do devenv /? .
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Does any one know how to check what the compression of an image is. Don't need to compress if it already is.
Mark Thibodeaux
|
|
|
|
|
There's usually something in the header of a file (it comes before the file's data) that specifies this with a number or letters. Just put the name of the file type in a search engine and you should be able to find stuff about its header.
Mike
|
|
|
|
|
Hi ,
I created a web application which have all features like caching and other stuffs.While running the project i am seeing nearly 40-50 exceptions in PREFMON tool in .Net CLR Exceptions Thrown Counter, i want to know how to read the exceptions which are thrown by my Applciation, The Perfmon tool is giving only the COunt of .Net CLR Exceptions thrown. i even dont know whther there are handled/Unhandled Exceptions..
My Application didnt get disturbed because of this Exceptions,so please help how to trace the Exceptions which are Shown as .Net Clr Exception in Perfmon Tool.
Best Regards
Arun Kumar
|
|
|
|
|
You'd know about them if your code wasn't written to eat them.
An example of this would be putting code in a Try/Catch block, and not doing anything with the exception in the Catch code. Reporting or logging it somehow would be nice, maybe even rethrowing it would help too.
|
|
|
|
|
My mobile device support only .net framework 1.0 and the application, how do i incorporate these into the VS enviroment? Advise.
Thanks
Samuel
|
|
|
|
|
Visual Studio 2005 does not support the 1.0 version of the Framework. The only version of Visual Studio that supports this is Visual Studio 2003 2002.
-- modified at 9:29 Wednesday 26th September, 2007
|
|
|
|
|
Actually it's visual studio 2002 that supports 1.0, 2003 supports 1.1
|
|
|
|