6,326

(3 replies, posted in General)

gozalovsamir1


1,2 Сделал.

3. Не совсем ясно, как можно одновременно 3 фотографии сделать на полный экран.

6,327

(19 replies, posted in Russian)

Приветствую,


сделал для вас пример:

6,328

(1 replies, posted in General)

I can help you only with specific questions.

newusr
К сожалению в старой версии нет возможности избавится от этой ошибки.

newusr
В принципе нет разницы, и так и так будет работать.

newusr wrote:

Спасибо за молниеносную поддержку.
При нажатии кнопки "редактировать" на вкладке "search" поля вкладки заполняются значениями выбранной для редактирования записи, переключение на вкладку "Create/Edit record" не происходит. И ещё заметил, что кнопке "bEdit" назначено 2 события - OnClick и OnAfterClick, но процедуры для события OnClick в скрипте нет. Это так задумано, или это из-за версии 1.52?

чтобы все заработало, скачайте последнюю бета версию
http://myvisualdatabase.com/forum/viewt … 9718#p9718


событие OnClick для кнопки bEdit можете удалить, видимо я его случайно создал.

wertyby
Программа сама создаст необходимую структуру, если ее нет на сервере.

6,333

(20 replies, posted in General)

abouyahya527911
This error has a different cause.
To help you, you should attach your project and describe steps to reproduce the error.

wertyby wrote:

Дмитрий так как от программирования я далек, но потихоньку учусь, такой вопрос - сегодня после чтения мануалов смог подключить MySQL  сервер и у меня даже все начало подключаться и работать, но не смог @вкурить@,  как потом осуществляется перенос созданной базы данных на мощности сервера (кратко в нескольких словах, только суть если можно) и если серверная часть подключена и созданы таблицы можно ли переключаться между MySQL и SQLITE?

Под переносом созданной базы данных вы подразумеваете только ее структуру? или вместе с данными в ней?
При подключении My Visual Database к серверу MySQL, программа сама предложить воссоздать необходимую структуру БД, в случае если она отсутствовала или не полностью соответствовала.


Для переноса данных между базами MySQL придется воспользоваться сторонними средствами, такими как phpMyAdmin, MySQL Workbench и т.д., с помощью которых можно сделать импорт/экспорт данных, а также структуры БД при необходимости.



В любой момент вы можете переключить свой проект на MySQL или SQLite, при переключении с MySQL на SQLite, в том случае если были внесены изменения в структуру БД, когда проект использовал MySQL, вам придется удалить файл базы данных sqlite.db для его пересоздания.

6,335

(20 replies, posted in General)

abouyahya527911 wrote:
DriveSoft wrote:

abouyahya527911
Please attach your project (zip file without exe and dll)


Also describe steps (1,2,3...) to raise the error.


what do you mean by  describe steps ?

Can you describe steps to reproduce the error.

6,336

(20 replies, posted in General)

abouyahya527911 wrote:

it worked fine for me first time but after i enter 10 relationship when i run software i having error why don't support more then 10 id this was last id_Age9 ?

It's support more than 10 foreign keys, may be you have old version in which limited the number of foreign keys.

6,337

(2 replies, posted in General)

example:

procedure Form1_TableGrid1_OnChange (Sender: string);
begin
     Form1.TableGrid1.Columns[0].Alignment := taRightJustify; // first column
     Form1.TableGrid1.Columns[1].Alignment := taCenter; 
     Form1.TableGrid1.Columns[2].Alignment := taLeftJustify; 
end;

Please attach your project (zip file without exe and dll)
Provide more info about the problem.

вместо этого

procedure World (s: string);
begin
 //  Result не работает
 Result := s+' said hello!';
end;


должно быть так

function World (s: string): string;
begin
 Result := s+' said hello!';
end;

newusr
Приветствую,

это можно реализовать с помощью небольшого скрипта, сделал для вас пример:
http://myvisualdatabase.com/forum/misc. … download=1



Также пожалуйста скачайте последнюю бета версию, т.к. пришлось исправить ошибку связанную с событием OnAfterClick
http://myvisualdatabase.com/forum/viewt … 9718#p9718

6,341

(30 replies, posted in General)

bbnbusinesssolutions wrote:

Hi there, how are you?

Two questions.

Is it possible to program scripts using VB or VB.net?

Is there any way to create database driven websites visually?

Thanks and have a Blessed Day...


Hello,


I plane to enable Visual Basic syntax in script because it is supported by script engine.

Also I plan to develop opportunity to create web forms (will be generated php files), but I can not promise that soon.

6,342

(35 replies, posted in Script)

mahbooobma

However, through script.dcu files can also find the serial number

I think this is enough to protect app from an ordinary user.


I can recommend to store in script hash from serial number.
Using script you can develop any method of protection, but I have only this example.

6,343

(20 replies, posted in General)

abouyahya527911
Please attach your project (zip file without exe and dll)


Also describe steps (1,2,3...) to raise the error.

6,344

(35 replies, posted in Script)

mahbooobma
In folder Script you can find two files, script.pas and script.dcu, you should delete file script.pas when you send project to client, your created application will use compiled version of script is file script.dcu

6,345

(35 replies, posted in Script)

mahbooobma
I don't understand your question.

6,346

(30 replies, posted in General)

doing.whatever.it.takes wrote:

Hi Dimitry, thankyou for your most recent update. I have discovered the datepicker component not showing the date correctly, I checked the data using sqllight studio, it it is storing the data ok.  pics attached.

Checked, all works fine.
Please check documentation, how to store datetime data:
http://myvisualdatabase.com/help_en/com … icker.html
section: "More information about properties "Calendar"


if this does not help, please attach your project, I'll try to help you.

6,347

(35 replies, posted in Script)

mahbooobma wrote:
DriveSoft wrote:

mahbooobma
Please attach your project (zip file without exe and dll)

Please fix bugs
Send me thanks

Done, login/password: admin/admin

6,348

(10 replies, posted in General)

Montenegr0 wrote:

And what if i have a button to open a directory? Is it possible?

Script:

procedure Form1_Button1_OnClick (Sender: string; var Cancel: boolean);
var
    sDirectory: string;
begin
    if SelectDirectory('Caption','c:\', sDirectory) then
    begin
        ShowMessage('Selected: ' + sDirectory);
    end;
end;

6,349

(10 replies, posted in General)

Unfortunately no.

6,350

(35 replies, posted in Script)

mahbooobma
Please attach your project (zip file without exe and dll)