Click here to Skip to main content
15,922,007 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Email qustion Pin
Christian Graus5-Jun-08 4:53
protectorChristian Graus5-Jun-08 4:53 
QuestionVB6 App Causing memory error Pin
suguimoto4-Jun-08 4:11
suguimoto4-Jun-08 4:11 
AnswerRe: VB6 App Causing memory error Pin
Christian Graus4-Jun-08 4:21
protectorChristian Graus4-Jun-08 4:21 
GeneralRe: VB6 App Causing memory error Pin
suguimoto4-Jun-08 6:56
suguimoto4-Jun-08 6:56 
QuestionOne standard and common bindingnavigator user control for all the input forms Pin
Sabahat Hussain4-Jun-08 3:13
Sabahat Hussain4-Jun-08 3:13 
AnswerRe: One standard and common bindingnavigator user control for all the input forms Pin
Christian Graus4-Jun-08 3:54
protectorChristian Graus4-Jun-08 3:54 
AnswerRe: One standard and common bindingnavigator user control for all the input forms Pin
Mycroft Holmes4-Jun-08 15:03
professionalMycroft Holmes4-Jun-08 15:03 
GeneralRe: One standard and common bindingnavigator user control for all the input forms Pin
Sabahat Hussain4-Jun-08 19:58
Sabahat Hussain4-Jun-08 19:58 
Yes I read your article on search. Actually after an exhaustive search I dare to put my question on the message board.

Please allow me to explain the scenario in which I required it.

SCENARIO:

Currently I am copying the bindingstrip and its coding from the employee form to any other form which I needed. It is working just fine. but it is a sort of duplication of stripbuttons event coding which is being copied on every form.

All the stuff such as creating dataadapters, fill dataset, create bindingsource, form control binding, tab setting, control max lentgth, selectcommand, insertcommand, updatecommand and deletecommand are all automated. It is all based on the Table Schmea. All the database related fields are binded with the same name controls on the form. For example, if I have OrderID, OrderDate, EmployeeID in the data table and I also have textbox control on the form as OrderID, OrderDate and EmployeeID. I simply used for each loop on data table columns and find the matching name control on the form to bind it. If it is not found it means it is a readonly control on the form. If it table field name is matches with the control name on the form. I tag it as a bindable control. Now, I set control maxlength property by using table schema. I also used for each loop to create CRUD statement automatically.

I simply build classes for them and I passed necessary info to my class to get required objects to run the form. These functions and procedures are all based on form type (Master Form, Master/Detail Form or Master/Detail/Detail Form).

Actually, I do not want to expose bindingnavigator button events coding in each and every form. Because It is same on every form.

I hope that now I might be able to explain the scenario in which I wanted to used one single common bindingnvaigator.

Thanks & Regards,

Sabahat
GeneralRe: One standard and common bindingnavigator user control for all the input forms Pin
Mycroft Holmes4-Jun-08 21:17
professionalMycroft Holmes4-Jun-08 21:17 
GeneralRe: One standard and common bindingnavigator user control for all the input forms Pin
Sabahat Hussain4-Jun-08 23:06
Sabahat Hussain4-Jun-08 23:06 
Questionexport to ms word 2007 Pin
zvedu0074-Jun-08 3:06
zvedu0074-Jun-08 3:06 
AnswerRe: export to ms word 2007 Pin
Christian Graus4-Jun-08 3:56
protectorChristian Graus4-Jun-08 3:56 
QuestionDisk space on Linux Pin
Matodzi3-Jun-08 23:19
Matodzi3-Jun-08 23:19 
AnswerRe: Disk space on Linux Pin
ChandraRam4-Jun-08 1:27
ChandraRam4-Jun-08 1:27 
GeneralRe: Disk space on Linux Pin
Matodzi4-Jun-08 1:47
Matodzi4-Jun-08 1:47 
AnswerRe: Disk space on Linux Pin
Chinners4-Jun-08 1:50
Chinners4-Jun-08 1:50 
QuestionLabel repaint issue Pin
divyesh14323-Jun-08 23:10
divyesh14323-Jun-08 23:10 
AnswerRe: Label repaint issue Pin
Christian Graus4-Jun-08 3:58
protectorChristian Graus4-Jun-08 3:58 
GeneralRe: Label repaint issue Pin
divyesh14324-Jun-08 20:32
divyesh14324-Jun-08 20:32 
QuestionTreeView from Database or DataTable Pin
Muhammad Waseem Tahir3-Jun-08 22:54
professionalMuhammad Waseem Tahir3-Jun-08 22:54 
AnswerRe: TreeView from Database or DataTable Pin
ChandraRam4-Jun-08 1:04
ChandraRam4-Jun-08 1:04 
GeneralRe: TreeView from Database or DataTable Pin
Muhammad Waseem Tahir4-Jun-08 19:05
professionalMuhammad Waseem Tahir4-Jun-08 19:05 
GeneralRe: TreeView from Database or DataTable Pin
ChandraRam4-Jun-08 19:26
ChandraRam4-Jun-08 19:26 
GeneralRe: TreeView from Database or DataTable Pin
Muhammad Waseem Tahir4-Jun-08 21:20
professionalMuhammad Waseem Tahir4-Jun-08 21:20 
GeneralRe: TreeView from Database or DataTable Pin
Muhammad Waseem Tahir4-Jun-08 22:43
professionalMuhammad Waseem Tahir4-Jun-08 22:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.