7. Januar 2010 09:47
7. Januar 2010 10:48
7. Januar 2010 11:53
if (crmForm.all.new_folderlink )
{
var folderstring = '\\\\srv01\\TW-elektric\\Kundendaten\\' & crmForm.all.name .DataValue.substring(0,1) & '\\' & crmForm.all.name .DataValue ;
crmForm.all.new_folderlink .DataValue = folderstring
crmForm.all.new_folderlink.style.color = '#0000FF';
crmForm.all.new_folderlink.style.textDecorationUnderline = true;
crmForm.all.new_folderlink.style.fontWeight = 'bold';
var folderunc = crmForm.all.new_folderlink.DataValue;
{
crmForm.all.new_folderlink.ondblclick = function()
{
window.open(folderunc);
}
}
}
If System.IO.Directory.Exists(folderstring)
{
....
}
else
{
crmForm.all.new_folderlink .DataValue = '\\\\srv01\\TW-elektric\\Kundendaten\\' & crmForm.all.name .DataValue.substring(0,1);
}
End if
7. Januar 2010 19:49
crmForm.all.name .DataValue.substring(0,1) & '\\' & crmForm.all.name .DataValue ;
8. Januar 2010 09:02
var test = crmForm.all.name.DataValue.split(" ")
var name = test(0)
8. Januar 2010 17:13
var Ordner = crmForm.all.name.DataValue;
var folderstring = "\\\\srv01\\TW-elektric\\Kundendaten\\" + crmForm.all.name.DataValue.substring(0,1) + "\\" + Ordner.split(" ",1);
crmForm.all.new_folderlink.DataValue = folderstring;
crmForm.all.new_folderlink.style.color = '#0000FF';
crmForm.all.new_folderlink.style.textDecorationUnderline = true;
crmForm.all.new_folderlink.style.fontWeight = 'bold';
var folderunc = crmForm.all.new_folderlink.DataValue;
{
crmForm.all.new_folderlink.ondblclick = function()
{
window.open(folderunc);
}
}
8. Januar 2010 22:05
if(fso.FolderExists("C:\\Temp"))
{
alert("Foolder gefunden");
}
else
{
alert("Folder nicht vorhanden");
}
11. Januar 2010 11:18
11. Januar 2010 12:07
var fso = new ActiveXObject("Scripting.FileSystemObject");
if(fso.FolderExists("C:\\Temp"))
{
alert("Foolder gefunden");
}
else
{
alert("Folder nicht vorhanden");
}
11. Januar 2010 12:17