|
Oh!
So I can do the same with div tags? Cool!
I will try it!
Rickard Andersson@Suza Computing
C# and C++ programmer from SWEDEN!
UIN: 50302279
E-Mail: nikado@pc.nu
Speciality: I love C#, ASP.NET and C++!
|
|
|
|
|
http://www.gotdotnet.com/playground/services/QotD/default.aspx[^]
The web service only returns a random quote,
Does anyone give me guides that how to add the man head opening his mouth widely and shouting angry and the box that contain the quote?
Thanks.
this is my signature for forums quoted from shog*9:
I can't help but feel, somewhere deep within that withered, bitter, scheming person, there is a small child, frightened, looking a way out.
|
|
|
|
|
Hi folks,
I'm working on a webpage using a stylesheet - but when I've changed the stylesheet file and reloads the page - the changes aren't visible. If I close the browser and reopen it, changes in the file are reflected on the page.
I've set the "Tools->Internet options...->Settings (in the Temporary internet files section, on the General tab)->Check for newer version of stored pages" to "Every visit to the page", and this works fine for regular html and asp pages - but not for stylesheets. And I can't set the buffer used for file caching to anything below 1 MB.
So what do I do ? Any help is much appreciated.
/Jan
|
|
|
|
|
Clicking the Refresh button has always worked for me... even for style sheets.
Word of the day: Rotundacrat
Extra Credit will be awarded for: Quasimobo...
|
|
|
|
|
You could try holding shift or ctrl when you refresh (which forces the browser to do a full refresh and forget any cached content. different keys are used by different browsers, and I can never remember which is which)
--
Help me! I'm turning into a grapefruit!
|
|
|
|
|
Hi all,
I have an ASP application (not .NET) that uses VBScript to access Files and Folders on a Data Server. I had hoped to be able to just map a drive to the shared folder, but this is not possible due to security issues.
SO I need to know how I can use the "net use" command to map to this share and still be able to use the FileSystemObject to see the files and folders.
Thanks in advance for any help!
AD
I find myself saying -
Then I think -
and I start going -
|
|
|
|
|
You can't do this from plain VB-Script and as far as I know, FSO doesn't provide this functionality. So your only option is to write your own COMponent (poc in VB).
hth
Matthias
In theory, there is no difference between theory and practice. In practice, however, there is.
(unknown author)
|
|
|
|
|
I try to do this:
System.Data.DataSet dataSet = new System.Data.DataSet();
dataSet.ReadXml("mp219.xml");
System.Data.DataTable dataTable = dataSet.Tables[0];
System.Data.DataRow dataRow = dataTable.Rows[--nr];
Namn.Text = dataRow["Namn"];
Bor.Text = dataRow["Stad"];
Inriktning.Text = dataRow["Inriktning"];
Presentation.Text = dataRow["Presentation"];
But I get this error:
Compiler Error Message: CS0029: Cannot implicitly convert type 'object' to 'string'
Source Error:
Line 116: System.Data.DataRow dataRow = dataTable.Rows[--nr];
Line 117:
Line 118: Namn.Text = dataRow["Namn"];
Line 119: Bor.Text = dataRow["Stad"];
Line 120: Inriktning.Text = dataRow["Inriktning"];
Source File: C:\Documents and Settings\Administratör\Mina dokument\Unnamed Site 1\pre.aspx Line: 118
In a simple C# application it works well!
But when I run the same code in an ASP.NET webpage I get that error!!!!
Rickard Andersson@Suza Computing
C# and C++ programmer from SWEDEN!
UIN: 50302279
E-Mail: nikado@pc.nu
Speciality: I love C#, ASP.NET and C++!
|
|
|
|
|
I know what it was....
Rickard Andersson@Suza Computing
C# and C++ programmer from SWEDEN!
UIN: 50302279
E-Mail: nikado@pc.nu
Speciality: I love C#, ASP.NET and C++!
|
|
|
|
|
Hi All,
I am curious as to whether anyone could tell me where I might find some info on the browser compatibility numbers, by percentage, for the tag?
We are looking to use this tag on a rather large project and I am unable to find a good resource for finding this type info.
Any help would be greatly appreciated.
Thanks,
Surfelport
|
|
|
|
|
surfelport wrote:
I am curious as to whether anyone could tell me where I might find some info on the browser compatibility numbers, by percentage, for the tag?</i>
Google is your friend. <a href="http://www.blooberry.com/indexdot/html/supportkey/i.htm">http://www.blooberry.com/indexdot/html/supportkey/i.htm</a>[<a target=_blank title='New Window' href="http://www.blooberry.com/indexdot/html/supportkey/i.htm">^</a>]
Not sure what you mean by "percentage" because a browser either supports the tag or it doesn't.
<div style="padding-left:36px;font:10px verdana;color:#fff;width:200px;border:dashed 1px #069;height:40px;background:#036 url(http://stormfront.bluegrassgroup.com/proudlysa.jpg) no-repeat 2px 1px;"><strong>Paul Watson</strong><br /><a href="http://www.BlueGrassGroup.com/" style="text-decoration:none;color:#fc0;" target="_blank">Bluegrass</a><br />Cape Town, <a href="http://www.proudlysa.co.za/" style="text-decoration:none;color:#fc0;" target="_blank">South Africa</a></div>
|
|
|
|
|
I guess he means "what percentage of my sites visitors will be using a browser that supports the iframe tag"
I only run a small site, that doesn't get a huge amount of hits, but the majority of my visitors use IE6, and 98% of my visitors use IE6, IE5 or Netscape6/Mozilla which all support iframes fine
--
Help me! I'm turning into a grapefruit!
|
|
|
|
|
benjymous wrote:
I guess he means "what percentage of my sites visitors will be using a browser that supports the iframe tag"
Well he needs both what browsers support the iframe and then how many people use what browser. So we both helped him
Netscape 4.x: 4%
IE 4: 8%
IE 5/6: 87%
Other browsers: 1% (Opera, Netscacpe 6.x, Mozilla 1.0 etc.)
But it doesn't matter, we should all be coding towards standards not browsers...
|
|
|
|
|
I guess my stats are a bit abnormal then (13% Netscape6/Mozilla users) - then again it's probably not surprising when you consider the number of my friends that I've converted to Mozilla
--
Help me! I'm turning into a grapefruit!
|
|
|
|
|
I want a webpage to show the printdialog and close the window when this printdialog is closed:
window.print();
window.close();
What am I doing wrong?
btw: is it possible to disable/change the header/footer dynamically before the page is printed?
--
Alex Marbus
www.marbus.net
But then again, I could be wrong.
|
|
|
|
|
window.print(); should load the print dialog to the screen, however it won't run the window.close(); function until the print dialog has closed by the user hitting the print button or hitting the close button on the dialog. Otherise the code works for me.
HTH
Nick Parker
The goal of Computer Science is to build something that will last at least until we've finished building it. - Unknown
|
|
|
|
|
HI all
After reading the funny post about a "tree being hit ny lightning" I realise I have not got this tree control. Is this extra stuff you need to download? Or did I delete it in my sleep?
Thanx all
Give them a chance! Do it for the kittens, dear God, the kittens!
|
|
|
|
|
Ehhh . Ok I found it
Are there any other nice goodies like this available from MS?
Cheers
Give them a chance! Do it for the kittens, dear God, the kittens!
|
|
|
|
|
I have read the messages about changing the colors of scrollbars, can this be done on elements within a form only - eg. a textarea or select box.
|
|
|
|
|
kelly_attrill wrote:
can this be done on elements within a form only - eg. a textarea or select box.
Firstly you should not be wanting to do this. It is an IE specific feature, not part of any standard and takes control and familiarity away from the user.
Saying that: Yes you can do what you are asking. You simply assign the same scroll bar CSS attributes to the form element that you want styled.
e.g.
<textarea style="width:200px; height: 200px; scrollbar-Face-Color: #ffcc00;">
Not recommended but this is how you do it anyway
</textarea>
That would make the scroll bar face of your textarea orange.
Obviously when you do it for real rather use a CSS class than an inline style.
|
|
|
|
|
Hi,
I'm new at ASP.NET, and I'm designing a web app to access a database on the server, the problem is I don't know what to put as my connection string. The program works fine when I use a .mdb database on my local hard drive, but I want to connect to a database thats in the data directory on my server. What would my connection string be, the app is being written in C# with the code in a .dll.
Thanks
|
|
|
|
|
I don't have one to hand, but what you can do is use Server Explorer to create the connection for you (see the MSDN help for more info), this then has the added advantage you can view the database as you're developing code for it.
When you select a connection you'll see some stuff in the properties window, in there should be a connection string. If you need more info let me know and I'll come up with a better answer
--
Paul
"I need the secure packaging of Jockeys. My boys need a house!"
- Kramer, in "The Chinese Woman" episode of Seinfeld
MS Messenger: paul@oobaloo.co.uk
Sonork: 100.22446
|
|
|
|
|
I wanted a nice transparent image on a web page, and having shadows, etc. i saved as a PNG with alpha channel. But it appears as grey in IE6. Am i hallucinating? Is there something i need to turn on/off/some weird CSS style that needs to be set?
Shog9
------
If you really what to get shitfacde tell a crowded bar that is is yourt borthday and hife your wallet. you ka will many more friends.
- David Wulff, Brithday selebrations, 9/19/02
|
|
|
|
|
Shog9 wrote:
But it appears as grey in IE6. Am i hallucinating? Is there something i need to turn on/off/some weird CSS style that needs to be set?
I did some investigating and found that you have to use PNG 8bit for IE6 to recognise the alpha channel.
e.g. In Macromedia Fireworks I exported a PNG file in 8bit format and set the transparency to the alpha channel, then and only then did IE6 display the transparency properly. PNG 24bit and 32bit did not work.
What graphics tool are you using?
|
|
|
|
|
Paul Watson wrote:
What graphics tool are you using?
PSP7... Was thinking about trying photoshop when i got home, then forgot about it.
Paul Watson wrote:
PNG 24bit and 32bit did not work.
alright, i'll reduce it to 8bit then. *sigh*... when, oh when, are we gonna get out of the '90s...
Shog9
------
If you really what to get shitfacde tell a crowded bar that is is yourt borthday and hife your wallet. you ka will many more friends.
- David Wulff, Brithday selebrations, 9/19/02
|
|
|
|