Jump to content

\ Nasıl Geri Yüklenir ?


muratboy31
 Share

Recommended Posts

merhaba arkadaşlar,

 

 

result = Dialog.FileBrowse(true, "Load File", _DesktopFolder, "Microsoft Word Document (*.doc)|*.doc|All Files (*.*)|*.*|", "", "", false, true);
if (result[1] ~= "CANCEL") then
Dialog.Message("Aşağıdaki dosya seçildi :", result[1]);
end

 

214p0tj.jpg

 

bunu path'i veri tabanına yazdırıyorum fakat geri çekerken listbox a böyle düşüyor

2i7ybzq.jpg

 

 \ slash lar kayboluyor, onları nasıl ekleyebilirim acaba ?

Link to comment
Share on other sites

StringReplace() ile tek olan \ işaretleri çift ile değiştirip yazdırırsan sorun kalmayacağını tahmin ediyorum.

-- Display a single-selection file browse dialog
result = Dialog.FileBrowse(true, "Load File", _DesktopFolder, "Microsoft Word Document (*.doc)|*.doc|All Files (*.*)|*.*|", "", "", false, true);

-- If CANCEL was not chosen, then let's get the file path
if (result[1] ~= "CANCEL") then
    Dialog.Message("You chose the following file", String.Replace(result[1], "\\", "\\\\", false));
end
Edited by DivaneTR
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...