|
I'm creating a web interface for my VSS server for doing the checkin/ checkout of the Database objects (packages and Stored Procs). I'm using ASP and VB components for doing this with the help of VSS type library.
I want to display the VSS project folder structure in the front end. But I am not able to find out a way to get the project folder structure under the root ($/ )in the VSS.
anybody there having a solution..?
Shanavas T
Senior Software Engineer
Satyam Computer Services Ltd.
India.
|
|
|
|
|
Hi Shanavas,
Please check the following:
http://www.sourcegear.com/products.asp
(I have'nt tried them, but got to know from a link. Perhaps useful to you)
Perhaps a miniature version of SourceSafe over web is available in GotDotNet Workspaces also. This ActiveX Control may be helpful for you too, since it provides a very similar interface like Microsoft Visual SourceSafe.
Deepak Kumar Vasudevan
http://deepak.portland.co.uk/
|
|
|
|
|
Hi!
We're looking for a simple free applet to play a (compressed) sound file on mouse click.
I need two of these applets on one page (should work usually - but who knows
(free as in: can be used on a company site)
TIA
Peter
"Der Geist des Kriegers ist erwacht / Ich hab die Macht" StS
sighist | Agile Programming | doxygen
|
|
|
|
|
How about using Flash? You say "applet" and to me that means Java. But really a Java Applet is total overkill if all you want to do is play some music. With Flash it is really easy, just open up Flash, import the WAV/MP3, create a button and assign a Play action to the button pointing to the imported music file. It is also easy to host in the HTML page.
Paul Watson Bluegrass Cape Town, South Africa
Macbeth muttered:
I am in blood / Stepped in so far, that should I wade no more, / Returning were as tedious as go o'er
Shog9:
Paul "The human happy pill" Watson
|
|
|
|
|
Thanks - but as usual, more questions...
How do I do flash?
Is a flash plugin wider available than whatever you need to run a JAVA applet?
Weren't you the guy against flash? (I guess only "complete flash sites", right?)
"Der Geist des Kriegers ist erwacht / Ich hab die Macht" StS
sighist | Agile Programming | doxygen
|
|
|
|
|
peterchen wrote:
How do I do flash?
Couple ways.
You can buy Macromedia Flash MX (or if you are dodgy use the trial version)
You can also use Swift, another Flash dev tool.
It is really quite simple, if you can handle C++/VS.NET/q-basic you can do Flash. I can whip up a Flash file with a button which plays some music for you if you want
peterchen wrote:
Is a flash plugin wider available than whatever you need to run a JAVA applet?
Debatable. I don't know the hard answer to that. However Flash is truly everywhere. When producing your Flash file export it to Flash 5 format and not Flash MX/6.0 as that is still distributing itself.
I would confidently recommend Flash for it's wide distribution (though you get nuts like John Simmons who won't even let JavaScript run on their computers.)
peterchen wrote:
Weren't you the guy against flash? (I guess only "complete flash sites", right?)
Flash is like VB; It has it's uses. It can be used well and it can be abused. It is just a tool.
Paul Watson Bluegrass Cape Town, South Africa
Macbeth muttered:
I am in blood / Stepped in so far, that should I wade no more, / Returning were as tedious as go o'er
Shog9:
Paul "The human happy pill" Watson
|
|
|
|
|
Thanks Paul!
What I nearly forgot - what kind of files can Flash play? mp3 or similar compression level would be good...
and yes, if you could help me whipping it up, that would be cool.
[edit] Just found a cool tool on http://www.swift-tools.com/ - turning a mp3 into a flash. Great! However, it looks like I need to whip up a custom thingie.[/edit]
"Der Geist des Kriegers ist erwacht / Ich hab die Macht" StS
sighist | Agile Programming | doxygen
|
|
|
|
|
I'll look into it over the weekend I guess
Here's some background:
We want to demo listening tests on our web site - basically "can you hear the difference": it's always between a "perfect" sample and one of ca. 10 "modified" ones.
Ideally, I'd "preload" the sound files (without the user seeing their names - and also, not seeing which one takes longer to load and which is already in the cache).
And ideal UI would be two buttons to sdwitch between "Sample A", and "Sample B"
Is it possible to employ the cache - i.e. not download each sound file every time in this scenario? First the "perfect" sample is always the same, second, the user is likely to go back to a previously heard sample.
Just a few tips for the beginning, if you like
"Der Geist des Kriegers ist erwacht / Ich hab die Macht" StS
sighist | Agile Programming | doxygen
|
|
|
|
|
peterchen wrote:
Is it possible to employ the cache - i.e. not download each sound file every time in this scenario? First the "perfect" sample is always the same, second, the user is likely to go back to a previously heard sample.
I honestly do not know wether Flash caches resources internally. SWF files themselves to cache fine though, so you could seperate all the mp3s into seperate SWF files and display them alongside each other as neccesary. Then already loaded files will just come from the cache and not have to be downloaded again.
The rest of what you are saying is easy enough. Flash is quite powerful (can you believe I connected Flash to SQL the other day? Hectic stuff.)
Paul Watson Bluegrass Cape Town, South Africa
Macbeth muttered:
I am in blood / Stepped in so far, that should I wade no more, / Returning were as tedious as go o'er
Shog9:
Paul "The human happy pill" Watson
|
|
|
|
|
Paul Watson wrote:
peterchen wrote:
Is a flash plugin wider available than whatever you need to run a JAVA applet?
Debatable. I don't know the hard answer to that. However Flash is truly everywhere.
Reach the widest online audience:
Macromedia Flash Player is used by over 414 million people—the most widely viewable rich client technology to deploy content and applications. Also available for multiple device platforms including Microsoft® TV, Liberate®, Pocket PC and many others
http://www.macromedia.com/software/flash/productinfo/product_overview/[^]
IMHO - Flash is still the only way on the web to get your content to look exactly like you want it ... and only have to do (write) it one time. Not to mention the ease of making incredible mutlimedia websites, the use of components, vector graphics for sweet scalability ... etc, etc, etc.
Web standards are a great thing but I just wish there was a "standard" web browser that actually did everything in the standards.
Sorry, this wasn't meant to be a lash out at you Paul ... I have just been highly frustrated in web development recently
Wally Atkins Newport News, VA, USA
|
|
|
|
|
D2F3U wrote:
I have just been highly frustrated in web development recently
Well first off I can whip out of my bag of tricks 50 reasons why Flash is bad (binary, not a standard, owned by one company, poor accesability etc. etc.) so I don't think Flash is in anyway the correct technology for us to use to create entire websites.
Macromedia.com shows us that a combination of Flash and HTML is the way to go, that site is damned good IMO. Also funny to see how when they re-launched it was 99% Flash. People bitched, it did not work, people moaned, it was terrible to use. Now by beta 4 they have gone to using more HTML than Flash.
As for the web in general; We are trying to do in 4 years what the rest of the IT industry still has not done in 20 (cross platform environment? Does not exist yet.) Plus we are trying to do it not to a few hundred users at a time, but to hundreds of millions of very demanding users who expect the system to work as of yesterday.
Also you mention "your content to look exactly like you want it" well I could go on for 100 pages (with many links to Zeldman) about why that is exactly what we should NOT be aiming for, pixel precision is bad.
Anyway. I get frustrated too. But last week I coded up a simple enough website (20 pages or so) in a single day using HTML and CSS which worked in all modern browsers and worked damned well. I was so pumped, so the frustration is off set when you get things right.
Paul Watson Bluegrass Cape Town, South Africa
Macbeth muttered:
I am in blood / Stepped in so far, that should I wade no more, / Returning were as tedious as go o'er
Shog9:
Paul "The human happy pill" Watson
|
|
|
|
|
If you don't want to use Flash or java applets, etc., why not just use the following:
<bgsound balance="0" id="Sounder" loop="1" src="" volume="0">
and then a handler fcn
function setAudio(audioFile) {
Sounder.src = audioFile;
}
|
|
|
|
|
Is there a way to get around the 128KB size limit when caching data on the client-side using the userData behaviour? Otherwise is there a way to save an XML document onto the client-side machine for cross session access?
Using ASP (not ASP.NET) and javascript.
|
|
|
|
|
From what I am aware you can't do that!
sorry
Jason
|---------------|
| theJazzyBrain |
|---------------|
|
|
|
|
|
on second thoughts, although might not be approprate for your app...
try and use an IFRAME or a frame of 0 width and use insertAdjacentHTML to write and read from it.
you can even dynamically write the IFRAME by doing something like:
<br />
document.body.insertAdjacentHTML('beforeEnd','<iframe id=myPage width=0 height=0></iframe>');<br />
then you can use:
<br />
myPage.document.body.innerHTML('YOUR XML CODE HERE');<br />
After that you acess it read it or rewrite it...
Hope this helps
|---------------|
| theJazzyBrain |
|---------------|
|
|
|
|
|
Thanks - I am doing something like that to persist the XML across the whole application. The problem comes in when they login or logout and they need to download the file to start with. The XML is 400K and it doesn't change very often. I was hoping that there would be a way to persist the data on the client-side between sessions so they wouldn't have to download it every time.
I think I can do it using multiple frames and pages (and hence multiple userData behavior's), but I was hoping there would be a more elegant solution.
|
|
|
|
|
Well, if it is a intranet Internet Explorer only app why don't you try to do something wich ActiveX.
400K is a lot of dada. Do you really need all that on the client?
|---------------|
| theJazzyBrain |
|---------------|
|
|
|
|
|
hidden input type usage is good for transfering one value but for array what should be done.
I have used
<%
Dim list(30)
'--Values are retrived from database
'--for e.g say
list(0)="One"
list(1)="Two"
...............
%>
Now at clinet side
'--This is not working for example
MsgBox <%=list(0)%>
Suggest me how to do it.
|
|
|
|
|
You will have to create a VBScript array and loop through the server side array to populate the client side array...
|---------------|
| theJazzyBrain |
|---------------|
|
|
|
|
|
this should work perfectly fine if there is no problem in your session but there is one important distinction which you are missing:
Now at clinet side
<script LANGUAGE=VBSCRIPT>
'--This is not working for example
MsgBox <%=list(0)%>
</script>
This is not a client side code it runs on your server and value of <%=list(0)%> fills up on the server side.
Hope this helps.
Happy Programming
-- Sumeet
|
|
|
|
|
even you guys insist that these tags accept relative sizes. the only sizes i can get it to accept are ones in pixels. using relative sizing makes them disappear.
how do i embed one html page inside another and retain control over the damn sizes?!?!
Aaron
|
|
|
|
|
Hi,
I am new to PHP, jumping from ASP. I know that there is Response.Redirect (URL) in ASP. But how does that comes in PHP??
I thought that it is Header ('location : URL'); But restriction says.. it should be the first piece of the code in the page. So... I am struck... please help...
I was born intelligent Education ruined me!.
|
|
|
|
|
SPS wrote:
thought that it is Header ('location : URL'); But restriction says.. it should be the first piece of the code in the page.
Yes that is the way to do it. It sends header information to the browser, all of which must be sent before there is any output (graphics, text, etc.) actually sent. Treat it the same as you would a cookie.
Basically, what this means is that you have to handle all of your redirects at the top of the page.
Jon Sagara
You know the world is off tilt, when the best rapper is a white guy, the best golfer is a black guy, the tallest basketball player is Chinese, and Germany doesn't want to go to war.
-- Charles Barkley
|
|
|
|
|
finally I got the answer....
The buffering concept will help to do it.... It goes like this...
<br />
<?php<br />
ob_start();<br />
<br />
<br />
header ("location : URL");<br />
ob_end_flush();<br />
?><br />
The above helped me to push the header succesfully..
I was born intelligent Education ruined me!.
|
|
|
|
|
HI,
Anyone knows how to drag and drop table content from a row/column to another row/column?
Thank you very much
|
|
|
|