Posts
 
Reputation
Joined
Last Seen
Ranked #453
Strength to Increase Rep
+8
Strength to Decrease Rep
-2
96% Quality Score
Upvotes Received
21
Posts with Upvotes
18
Upvoting Members
20
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
17 Commented Posts
~132.09K People Reached
Favorite Tags

256 Posted Topics

Member Avatar for Fungus1487

I browsed google and found nothing so thought i would put my efforts up here. hope this all helps. this function will allow you to return the number of days between two dates minus saturdays and sundays. (including the start date)

Member Avatar for pritaeas
0
3K
Member Avatar for Nareshp_123

you cant hide the textbox but if you set the display style property of the FORM element to 'none' and create another element of type button then using javascript you can open the dialog onClick of the button e.g. [CODE] <form name="form1"/> <input type="file" name="filediag" style="display:none" /> <input type="button" value="browse..." …

Member Avatar for Ankur_6
0
4K
Member Avatar for BleepyE

Just out of curiosity why would you want to do this? You can change your theme programmatically by changing the registry values found at... [I]HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes[/I]

Member Avatar for nilesh7136
0
209
Member Avatar for cjay175

1. Don't use ID like you do. ID's are meant to be unique but your first section use "qa1" and "qa2" twice in both anchors and is then used in the divs as part of the second section. 2. You dont need the "OnClick" attribute if using jQuery (it is …

Member Avatar for efadfsfasdf
0
5K
Member Avatar for Designer_101

you would do the following. Hope it helps. [CODE=html]<html> <head> </head> <body> <table id="countit"> <tr> <td class="count-me">12</td> <td>Some value</td> </tr> <tr> <td class="count-me">2</td> <td>Some value</td> </tr> <tr> <td class="count-me">17</td> <td>Some value</td> </tr> </table> <script language="javascript" type="text/javascript"> var tds = document.getElementById('countit').getElementsByTagName('td'); var sum = 0; for(var i = 0; i < …

Member Avatar for saqlainraza14
0
44K
Member Avatar for Fungus1487

below is a very simple encryption class which shows how to encrypt sensitive data (very simply) this example converts a string to hexadecimal form and back again with some simple error handling. please leave some feedback if you find this useful

Member Avatar for enelramon
0
369
Member Avatar for sagar_wordlife

an application that suggests final year projects maybe ? really pick something youll enjoy (you will do a much better job)

Member Avatar for bluehangook629
0
249
Member Avatar for Fungus1487

Hi Guys, I have a gigabit switch which supports auto MDIX, is there any performance overhead using this feature to connect for instance a router to it via a patch cable rather than a crossover cable? Help much appreciated.

0
73
Member Avatar for Fungus1487

Hi Guys/Gals, Setting up my home network (I am not a networking guru) and wanted your expert opinion on the best configuration for my hardware. I have the following [I]generalized [/I] pieces of gear... [LIST=1] [*]Gigabit Switch#1 [*]Gigabit Switch#2 [*]Wireless N Router Supporting Gigabit [*]PC#1 [*]PC#2 [*]XBOX [*]AV Receiver [*]HTPC …

Member Avatar for rubberman
0
321
Member Avatar for soft_coder

You want to use the following... [CODE=JavaScript]var session = <%=Session["username"] != null ? "true" : "false"%>;[/CODE] Now for as to why you would want to do this is beyond me? If you can check this when the page is being processed on the server you can simply force a redirect …

Member Avatar for soft_coder
0
24K
Member Avatar for manoj_582033

given a file structure as follows... [CODE]DirectoryA -- SubDirA -- SubDirB DirectoryB -- SubDirA -- SubDirA1 -- SubDirB[/CODE] If your page (lets say "Default.aspx") is in "DirectoryA/SubDirB" like so... [CODE]DirectoryA -- SubDirA -- SubDirB [COLOR="Red"]-- Default.aspx[/COLOR] DirectoryB -- SubDirA -- SubDirA1 -- SubDirB[/CODE] And you want to map the path …

Member Avatar for Sarama2030
0
213
Member Avatar for extemer

Try using the new HTML5 attribute [URL="http://www.w3schools.com/html5/att_input_placeholder.asp"]placeholder[/URL], this will only work in modern browsers. [CODE=html]<input type="text" name="myinput" placeholder="enter something" />[/CODE]

Member Avatar for extemer
0
120
Member Avatar for alexaaxela

If you just want to keep remembering values then use a List as it dynamically resizes for you. [CODE=VB.Net]Public anscapp As New List<Double>()[/CODE] Then you can add elements like so... [CODE=VB.Net]anscapp.Add(Double.Parse(Combocapp.Text) * 2.35);[/CODE]

Member Avatar for Fungus1487
0
170
Member Avatar for Hani1991

Also the script tag should be written as... [CODE=HTML]<script type="text/javascript"> ... </script>[/CODE] The attribute [b]language[/b] has been deprecated a while now.

Member Avatar for Pro2000
0
91
Member Avatar for princekool

so your linking a html file to a button in flash ? or is it another type of file. Post the actionscript here ?

Member Avatar for adarsha_saraff
0
201
Member Avatar for Fungus1487

hello all, i have a belkin 54g router connected to 3 devices via ethernet. And a Netgear WGR614 router upstairs that connects 3 devices via ethernet. They are within range of each other and i know for a fact that the Belkin can be set up as an access point. …

Member Avatar for eldzakp
0
408
Member Avatar for Fungus1487

does anyone knwo of any good online services that will allow me to view my email stored on my exchange server at a static IP address away from my network with an internet connection ?

Member Avatar for mountainwombat
0
141
Member Avatar for get connected

Im not sure you will be able to check if excel has a specific file open but you could easily close all Excel instances from your application with something along the lines of. [CODE=VB] Dim instances() As Process = Process.GetProcessesByName("EXCEL.EXE") For Each instance As System.Diagnostics.Process In instances instance.Kill() Next [/CODE] …

Member Avatar for Fungus1487
0
5K
Member Avatar for Fungus1487

Hi all. I have a requirement to collect a bitmap image directly from a given AVI file. Does anyone know of any decent .Net only libraries that by any chance can achieve this? I would like to avoid any COM interops if possible but if you have had experience using …

Member Avatar for Momerath
0
242
Member Avatar for BleepyE

A simpler approach would be to iterate through all the comboboxes on your form (or control that holds combo boxes e.g. a Panel), build up a collection of these comboboxes then compare them accordingly. The following code contains two methods, [B]AreSelectedComboBoxValuesDuplicated[/B] and [B]GetComboBoxes[/B]. [B]GetComboBoxes[/B] does exactly what it says on …

Member Avatar for Fungus1487
0
649
Member Avatar for Fungus1487

i have created websites for clients for some time now but recently i have found it difficult to add that little extra to a project to make it unique from all those that surround it. I wanted to know what you lot do to get the old juices flowing and …

Member Avatar for logoonlinepros
0
187
Member Avatar for himanjim

[QUOTE=himanjim;622826]I'm really having hard time importing ASPNETDB.mdf to remote server running sqlserver 2005.. I'm using sql server express edition (along with visual web developer 2008) I use the same string <add name="aspnetusers" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\ASPNETDB.MDF;Integrated Security=True;User Instance=True" providerName="System.Data.SqlClient" /> No connection can be established.... Then I changed that to <add name="aspnetusers" …

Member Avatar for crishjeny
0
428
Member Avatar for sreekiran

[QUOTE=sreekiran;432736]using javascript[/QUOTE] are you talkin about validating it to check whether it is REAL or whether the format is correct ?

Member Avatar for macgurl70
0
87
Member Avatar for sidereal

[quote=sidereal;350879]Hi all, I have a dropdown and a textbox and I want to be able to change the textbox to a dropdown control, after a certain value in the dropdown is selected. I have a problem in changing the controls from textbox to dropdown. Any help???[/quote] ok this could be …

Member Avatar for venkythaniks
0
189
Member Avatar for xmassey

why not use a function like [CODE] function getchecked() { var newtxt = ''; var chkbx = document.getElementsByTagName('input'); for(var i = 0; i < chkbx.length; i ++) { if(chkbx[i].type == 'checkbox' && chkbx[i].checked === true) { if(newtxt.length !== 0) { newtxt += ','; } newtxt += chkbx.innerHTML; } } document.form.marktext.value …

Member Avatar for dobriyalji
0
1K
Member Avatar for Fungus1487

hello all, the company i am working for (quite a small company) are looking to host our web applications suite on our internal server running windows server 2003 and IIS 6 and allow external access to it. We have a static IP from our ISP and currently can access the …

Member Avatar for dinesh.kommi
0
334
Member Avatar for Fungus1487

This is a very brief overview of how to achieve an ON-THE-FLY creation of an appointment in the clients outlook calendar. This will not force the user to add it to there calendar but gives them the option to add it automated. Using the older .vcs file extension for outlook …

Member Avatar for elf123
0
212
Member Avatar for teckforce

[QUOTE=achristov;875617]javascript is especially useful serverside, where ASP.NET is absolutely weak... ;) from this point on you can guess my answer. Or maybe we wouldn't need servers in the future...[/QUOTE] Are you saying that javascript is useful serverside? Or is it intended to be sarcastic, i hope so! I agree with …

Member Avatar for teckforce
-1
611
Member Avatar for chandruswami

This should do the trick [CODE=CSHARP] // Split the values by comma String[] values = "a,b,c,d,-,,e,f".Split(','); // Create a new list to hold filtered content List<String> filtered = new List<String>(); // Create regex to check each value Regex reg = new Regex(@"^[a-zA-Z]+$", RegexOptions.IgnoreCase); // Loop through values foreach(String value in …

Member Avatar for thines01
0
185
Member Avatar for Venom Rush

what if popups are disabled ? i suppose you could check if the window is opened after calling the popup script but i would stick with the javascript confirm option as it is likely to cause you less grief.

Member Avatar for rh solar
0
279
Member Avatar for Lolalola

tonymuilenburg has it right, spawn another thread to do the work then show the dialog to continue with whatever logic you require.

Member Avatar for Fungus1487
0
125
Member Avatar for Tekkno

As a side to this its great to learn from the ground up but save yourself some time and use a javascript library. jQuery (and many others) can achieve what you are trying to do in 5 lines. [CODE=javascript] function callAHAH(url, pageElement, errorMessage) { $(pageElement).load(url, function(responseText, textStatus, XMLHttpRequest) { if(textStatus …

Member Avatar for Fungus1487
0
172
Member Avatar for anish.anick

You cant. Not just using javascript. With IE you can get your user to set there browser settings to low and it will let them do this but firefox or any other browser will not allow it as its a major security leak. The best ways i have seen/and done …

Member Avatar for kvprajapati
0
607
Member Avatar for misschristi

[quote=misschristi;354479]I need some help. I am trying to post a video slideshow in to my auction listing, and cannot figure out how to do that. I have found on your website here, the codes to put the media player into the listing, but cannot figure out how to put the …

Member Avatar for orenshmu
0
109
Member Avatar for Breckenridge

Having used jQuery alot and spry very little I am perhaps biased towards jQuery but from what I have seen and used, Spry seems to be Adobe's play on providing rich "widgets" or controls via javascript whilst they are very good as you have said... [QUOTE]everything that the instructor did …

Member Avatar for Fungus1487
0
110
Member Avatar for comp_231

or use a session variable ? [CODE]Session("session_name") = DATA[/CODE] then get it back wherever you wish by using [CODE]Session("session_name").value()[/CODE] then free up memory and [CODE]Session.remove("session_name")[/CODE] (SYNTAX VB.NET)

Member Avatar for Sals
0
173
Member Avatar for Fungus1487

Below is code i wrote as a wrapper for the microsoft office interops. It provides ways to establish the instance of the application and cleanup any remaining office processes after use. [I]Note the class I use is alot bigger but i have added the basics as a starting point.[/I] This …

Member Avatar for BarbaMariolino
0
982
Member Avatar for Fungus1487

Theres no doubting that using Java Swing is time consuming on load times. So heres a demo splash screen to keep your users captivated. You will need two classes for this example i.e. Splash.java and SplashWindow.java (remember line: 8 change this to match your splash image) just change the class …

Member Avatar for newtonorina
0
168
Member Avatar for dv1r

you would need some form of server side language to dynamically create a folder/file listing in html using php, asp.net or other.

Member Avatar for almostbob
0
103
Member Avatar for Fungus1487

Hello All, I haven't posted a question in sometime, im hoping this is where all my previous help pays off :P Basically starting a newish project which must be written in VB.Net (great) but I am implementing the MVC pattern pretty much throughout the entire project as there is a …

Member Avatar for kvprajapati
0
615
Member Avatar for k2k

You will need to randomly generate numbers and check that they have not already been displayed. The below does this by continuosly looping until it has found the total range of values. Each loop generates a new number then checks if it exists in the array. If not the new …

Member Avatar for essential
0
136
Member Avatar for Suhacini

SELECT * FROM tablename WHERE somefield LIKE '%searchquery%' other than taking the time to write an iterative script you will need to write individual SQL statements for each table.

Member Avatar for digital-ether
0
347
Member Avatar for candidz

it is very hard for a developer on any platform to break through on any freelance website, most projects get underbid and legit projects usually require the developer to have several samples to show a client before they will even consider you. That said, good luck but I would work …

Member Avatar for Josh Connerty
0
153
Member Avatar for JooClops

you cant directly as they are two seperate languages. you could output content to the page using a script block somthign like the following [code=csharp]string g = "ZOMGGGG"; bool s = g.contains("GGGG"); Response.Write("<script type=\"text/javascript\">alert('" + s + "');</script>");[/code]

Member Avatar for JooClops
0
190
Member Avatar for marjan_m

This should be in the JavaScript forum but from looking at your code quickly it seems ok but you need to make sure the browser your using supports creating your XMLHttpRequest object like you do. The following code is taken from a project of mine which I know works feel …

Member Avatar for marjan_m
0
131
Member Avatar for NinjaLink

seems fine but a tip is dont use document.writeln. try having a content area in the page e.g. a "<div>" then give this element and ID and set its innerHTML property to the text you want. [CODE=javascript]document.getElementById('someelement').innerHTML += 'your text';[/CODE]

Member Avatar for Fungus1487
0
128
Member Avatar for vedmack
Member Avatar for veledrom

just add a function to the onload method of the document this will fire when the page has finished loading all external content. You can use this then to hide your gif after the page is done. [CODE=html]<html> <head> <script language="javascript" type="text/javascript"> function hideLoading() { document.getElementById('loadingMessage').style.display = 'none'; } </script> …

Member Avatar for veledrom
0
72
Member Avatar for veledrom

why use javascript for this ? CSS is perfectly capable of doing this without the scripting overhead. [CODE=css]/* Example changing a td elements background colour */ td { background-color:transparent; } td:hover { background-color:yellow; } /* Example changing a div's background image */ div { background:transparent url('some_image.jpg'); } div:hover { background:transparent …

Member Avatar for essential
0
168
Member Avatar for OmniX

you wouldnt want to put a value through all them methods in fact doing so would counteract some of the methods used e.g. [CODE=php]$value = "abc '123'"; $value = addslashes($value); $value = stripslashes($value);[/CODE] the previous would return the same string not performing any validation at all. From experience all i …

Member Avatar for cwarn23
0
216

The End.