Message 1 of 7
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all,
Filenames are available in the combo box in Form1.
How can I get these filenames into the dosya variable?
Thanks in advance for the help friend.
[CommandMethod("IMPORTBLOCKREFS")] //dwg dosyasından blokları çeker.
public static void ImportBlockReferences()
{
Form1 frm3 = new Form1();
string blokKlasor = @"E:\Gerekli\Bloklar\";
string dosya = blokKlasor + frm3.cmbDwgler.SelectedItem;
Mesaj(dosya, "");
var db = HostApplicationServices.WorkingDatabase;
using (var sourceDb = new Database(false, true))
{
sourceDb.ReadDwgFile(dosya, FileOpenMode.OpenForReadAndAllShare, true, null);
....
....
....
Solved! Go to Solution.