Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

You can just type ass, without it being against the rules. Here at Daniweb we're pro-ass. :S

LoL I was just trying to keep it PG-13 just 'in case' someone might get offended by my choice of words :)

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

I would like to erase my user id and quit the community permanently.
How do I do this?

I would like to refer you to the following 2 threads regarding closing your account at DaniWeb:

  1. Thread 1
  2. Thread 2

Long story short, you can't delete your account... However, you are perfectly entitled to simply not log into the account any further if you so decide.

I'm sure you have your reasons for not wishing to continue your interaction with the DaniWeb community and, while I hate to see anyone leave, it's likely none of my business as to why you've decided to do so.

Hope this helps though :)

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

Welcome to DaniWeb :) Hope you enjoy your stay.

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

Welcome to DaniWeb martin :) Hope you find what you need here.

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

Welcome... but that smile's not big enough :twisted:

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

Welcome to the forums santiagos.

Side note: you probably won't get many topic ideas in the Community Introductions forums :twisted:

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

Welcome to HappyGeek's custom username modification service. Serving the DaniWeb community since 2008. Donations of $500 per name change can be sent to HappyGeek, c/o GreedyLurker, 123 Fake Street.... :twisted:

Sorry, feelin' smarta$$ish today :P

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

Osirus;

It sounds to me like you're using a WYSIWYG editor for your website coding.

If you're attempting to modify your frameset file (index.html) and you are using, for example, Adobe Dreamweaver you can access the main frameset (and it's associated settings) by going to Modify > Frameset > Edit NoFrames Content.

Other editors generally use a similar method to modify the frameset page itself.

Alternately, you can copy the metatags from your content frames and manually paste them into the index.html file via a text editor like notepad.

Hope that helps :)

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster
ddanbe commented: Nice work :) +7
Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

Or when the missiles on the toys actually fired instead of being glued in place. (the cat still hates me)

Two words... "Lawn Darts" :twisted:

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

Well the issue with the background not flowing to the bottom of the screen is probably related to it being within a sub-div. A common issue with DIVs (more specifically with dynamically positioned DIVs) is that they tend to only extend as far as the content they hold... the side-effect being that if the background is contained within the DIV it also gets chopped. This has come up a couple of times here at DaniWeb but I've yet to see a solid solution as there is no real way to force a contained (non-absolute) DIV to full screen length that I'm aware of.

Edit: Some other threads with similar DIV height issues:
thread 1
thread 2

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

I dunno, I still feel old for having owned "It's a small world after all" in record format as a kid and remembering Lego as being a bunch of brick shaped interlocking blocks (none of this 'tubes' and 'spaceships' and 'pirate ships' crap they have today). Oh!! And the Voltron recalls due to lead paint finishes... back when kids toys were made of STEEL instead of plastic :twisted:

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

Welcome to DaniWeb, Anand :)

And also to the other two who piggy backed on this intro instead of making their own :twisted:

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

<insert witty response and welcome statement to one-line intro> :twisted:

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

Not being an expert on the use of threads here I'm just speculating based on a small (very small) amount of research I did here and a bit of intuitive reading within your code...

The only manipulation I'm seeing of your thread is:

  1. creation of thread within button1_click event
  2. sleep status change within else statement of while loop within ClosePULoop

Nowhere within your code am I seeing a termination of the thread which could be why the app is 'hanging' when you close it.

What I might suggest (again, I don't know much about threading, so just basing on a small amount of reading I did to try to help with this situation) would be a thread.Abort() somewhere wherever you're actually implementing a close of your application. Also, I notice that in the ClosePULoop Else statement your Thread.Sleep(1000) has a capital 'T' which doesn't match the variable 'thread' declared above.

Don't know if any of this will help or not but hope it does :)

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

Just hoping ya noticed it's not just a link to Google but to a specific search in google that may be able to help with the settings you'd need :twisted:

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

Not to be a party pooper here but it's not looking so hot in FireFox either... the gradient used for the background/foreground gets dark enough to make the text difficult to read near the bottom and the hatching actually makes my screen get that ever so wonderful 'vibrating' look to it when viewed on my computer.

Another thing to note is that on any page that is not working out to "full length" of the screen it is being viewed on, your gradient background is stopping just below your main content area and leaving a plain background colour for the remainder of the screen. I've included a screenshot so you can see what I mean by this.

Aside from that, as I'm not about to install Safari on my PC to try to view the other issue you're posting about could you maybe go into a bit more detail on what exactly is happening in Safari so those who read your thread might be able to help even if they don't specifically have Safari?

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

Not being a strong VB.Net user myself best I can do for you is this handy little thing called Google :twisted:

Hope it helps.

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

It can be difficult to specifically strip code from submitted text in a text box...

Well... not 'difficult' but cumbersome :)

One thing I might recommend would be that you look into Regular Expressions as, using that, you can specify strings to be excluded/filtered from submitted text (such as URLs and script openers). The only drawback with the RegEx method is that you kind of have to be specific about the things you are excluding (ie: if you don't specify it, it won't be excluded).

Another thing you can combine with RegEx filtering is SubString segments (to catch everything between the opening and closing braces of an HTML or script tag for example). Simply grab everything from the first IndexOf to the following closing brace and snip it out. This can add a bit of heft to your coding however and also means a lot more room for error if not coded correctly.

Hope this helps :) Please remember to mark the thread solved once your issue is resolved.

Edit: One thing I forgot to mention is that RegEx is case sensitive so you either need to utilize separate RegEx values for both capital and lower case or convert the input entirely to upper/lower prior to utilizing RegEx on it (which can be detrimental to the valid input from the user).

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

There is always the off chance that the version of IIS you're using or the version of ASP installed in your IIS installation is not compatible with the version of ASP.Net you're using in your project.

Other than that, not sure what to suggest.

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

Suzie999;

What I might recommend is for you to post the code related to this "problem thread" here including any creation/disposal logic that you use so that others can possibly error check and troubleshoot the code directly :)

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

Try/Catch generally should be used in any scenario where the outcome of your code is not 100% guaranteed to produce the desired result.

An example would be the file.create example that nssltd posted above but it could also be used for things like database manipulation (try to insert information and catch the error if it doesn't work).

Another component not mentioned above but still part of the try/catch family is "finally" which is a 'catch-all' piece of code which fires after both try and catch have completed their bits. Basically 'try' fires up it's piece of code and if it fails then 'catch' steps up and tries to salvage things so the program doesn't fail entirely. Once either of the first two is completed in what they're doing it moves on to 'finally' who steps in to do whatever needs to be done to finish up the task.

This is all part of the larger picture that is 'error handling' within the C# language. For some additional information about this I suggest reading the first 2-3 listings in this google search as, looking over the list, they all seem to be good reference points for beginner programmers.

Hope that helps :)

Suzie999 commented: clear, to the point +1
Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

So basically you want to replace that ~80 line long text substitution with something better?

Try using a database... solution found, have a great day :)

If that's not what you wanted, then how about including more details and less redundant code in your next post :twisted: might help get responses and cut down on misunderstanding.

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

To give a bit of illustration to what I was saying about the screen resolution variances from viewer to viewer I'm attaching a screen cap from the analytics of my website that shows the full range of resolutions that have been used to view my personal site.

As indicated the vast majority are above 1024x768 with only a couple falling below that which is why I suggest building any site for a minimum resolution of 1024x768 as optimum viewing size.

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

Couple of quick questions to clarify here if possible...

  1. When you say it's closing after 2nd iteration are you talking about the FileSystemWatcher, the DB connection or something else?
  2. Define iterations in this case... are we talking about the button1_Click event which triggers the StartWatcher() procedure?

I'm asking only because as I'm seeing it right now the following is happening (based on the code provided).

  • button1 is clicked
  • folder path is selected
  • StartWatcher is called
  • watcher is set to monitor selected path for *.xls file changes
  • streamwriter is created on file change to write the changed files to a list
  • incident event generated for changed file list
  • Excel workbook opened based on filename in list
  • Somewhere in code that is not provided above a database is updated with information from the excel sheet

Throughout this I'm not seeing anything that calls for the FileSystemWatcher to close, however, is it possible that it is closing from a default timeout period being reached?

Also, as the DB connection information was not provided above I am not sure how the connection opening/closing is being handled or how the information is specifically being passed based on the dX and mX variables indicated above so I can't comment on whether or not there might be an issue there at all.

Don't know if this will help at all but more information on the specifics of what is happening and where would probably help solve this :)

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

1) I'm slightly confused about what you're asking for here
2) What steps have you tried? What specifically are you stuck on about this problem?
3) Have you tried google?

Sorry if I haven't been much help but without seeing the implementation of what you're asking for or knowing what you have and haven't tried or where in your coding you're stuck it's hard to suggest further steps here.

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

Ok, a brief note on backgrounds...

Size of the background in the web browser (IE, Chrome, Firefox, etc.) is based on the resolution of the screen displaying it (minus the number of pixels required for the borders/menu bar/etc of the browser itself).

Generally it's not a good idea to try to make a 'full screen' background for a website as most of the people who will be viewing the site will likely not be using the same screen resolution as you will.

What I normally recommend is that you try setting a background of a fixed size width wise that tiles vertically and is centered horizontally (or fixed size vertically that tiles width wise) and has an easily repeated pattern that's not too complex (or painful on the eyes).

Alternately, if you want to have a graphic of some sort for your background, a fixed size image that is less than full screen on most resolutions that floats in the middle of the page with the content on top of it works well.

My usual target resolution for websites these days is 1024x768 as that is about the lowest resolution that the majority of people online are working with currently, many have much higher resolutions.

To sum it up, single 'full screen' background = bad, simple tiling background or floating fixed size (fit within 1024x768 screen which would be less if you take into account the amount of screen reduction from browser boarders and …

almostbob commented: red text, thankyou +4
Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

Welcome to DaniWeb, Tomsion, hope you enjoy your stay :)

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

Welcome to DaniWeb, akinfemi, hope you enjoy your stay. :)

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

Personally I think it's a good idea in theory...

However, unless you can find a really solid concept for a project and a solid core group to work on the 'meat' of the project, I just can't see a group of 'random' people being able to sort out the sheer logistics of putting something like this together.

Most 'open source' projects I've seen successfully done are such that a core group puts together the majority of the content and others add to it over time (add-ons, bug fixes, etc). The additions get screened and incorporated into the primary source but it's handled by the core.

The concept of a large, loosely organized, subset of people putting together a workable program/project without such a core seems a near impossibility in my limited experience.

Best of luck with it though :)

macgurl70 commented: I have to agree, since the initial proposal sounds like a possible "design by committee" which is inviting disaster and possible splintering of the group. +0
Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

*looks around for the really smart people* Oh you mean THEM!! :twisted:

Welcome (well... kinda... erm... welcome out of the shadows?)

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

Look forward to seeing some of your posts techguynj :) Welcome to DaniWeb.

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

Welcome to DaniWeb Kalis :) Hope you enjoy your stay.

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

welcome kasakit :) Hope you enjoy your stay with DaniWeb

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

Darn, well that'd be an incentive for them to become a sponsor then no? :twisted:

Either way the 2nd link will show the important bit.

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

Welcome to DaniWeb happyguy

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

Great to meet you Carl, nice to see someone putting more than a one-liner in their intro for a change :)

I may have missed it but what part of NZ are you from? I spent a short time in Wellington myself and loved it there.

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

Welcome Vernon :) Hope you enjoy your stay.

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

No such thing as a silly question, just a poorly thought out question :)

Welcome to DaniWeb.

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

Nice to meet ya, hope you like it here at DaniWeb :)

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

Welcome :) Hope you enjoy your stay

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

Hope you enjoy your stay racoon :)

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

Welcome to DaniWeb, Omanba :) Hope you find what you were looking for.

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

Nice to meet you, hope you enjoy your stay :)

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

Welcome :)

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

Welcome :) Depending on the nature of your problem there's likely a specific forum in place for it already but hope you enjoy your stay here at DaniWeb.

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

Welcome Sharon and best of luck with the transition :) I know how it feels to learn/use one aspect of something and see it in a completely different usage and go "huh?!?"

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

Welcome :) Working in the desert and cleaning laptops... sounds like they'd go hand in hand :)

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

Welcome to DaniWeb, hope you enjoy it here :) And for the cats that'd be "Mrrroww mrrrr prrr, hiss Mrrow Puuurrrrrrrr!"

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

Welcome to DaniWeb and hope you find any answers you need for C# here :)