Click here to Skip to main content
14,770,378 members
Home » Discussions » Visual Basic
   

Visual Basic

 
GeneralRe: Email qustion Pin
Christian Graus5-Jun-08 5:53
protectorChristian Graus5-Jun-08 5:53 
QuestionVB6 App Causing memory error Pin
suguimoto4-Jun-08 5:11
Membersuguimoto4-Jun-08 5:11 
AnswerRe: VB6 App Causing memory error Pin
Christian Graus4-Jun-08 5:21
protectorChristian Graus4-Jun-08 5:21 
GeneralRe: VB6 App Causing memory error Pin
suguimoto4-Jun-08 7:56
Membersuguimoto4-Jun-08 7:56 
QuestionOne standard and common bindingnavigator user control for all the input forms Pin
Sabahat Hussain4-Jun-08 4:13
MemberSabahat Hussain4-Jun-08 4:13 
AnswerRe: One standard and common bindingnavigator user control for all the input forms Pin
Christian Graus4-Jun-08 4:54
protectorChristian Graus4-Jun-08 4:54 
AnswerRe: One standard and common bindingnavigator user control for all the input forms Pin
Mycroft Holmes4-Jun-08 16:03
professionalMycroft Holmes4-Jun-08 16:03 
GeneralRe: One standard and common bindingnavigator user control for all the input forms Pin
Sabahat Hussain4-Jun-08 20:58
MemberSabahat Hussain4-Jun-08 20: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 22:17
professionalMycroft Holmes4-Jun-08 22:17 
GeneralRe: One standard and common bindingnavigator user control for all the input forms Pin
Sabahat Hussain5-Jun-08 0:06
MemberSabahat Hussain5-Jun-08 0:06 
Questionexport to ms word 2007 Pin
zvedu0074-Jun-08 4:06
Memberzvedu0074-Jun-08 4:06 
AnswerRe: export to ms word 2007 Pin
Christian Graus4-Jun-08 4:56
protectorChristian Graus4-Jun-08 4:56 
QuestionDisk space on Linux Pin
Matodzi4-Jun-08 0:19
MemberMatodzi4-Jun-08 0:19 
AnswerRe: Disk space on Linux Pin
ChandraRam4-Jun-08 2:27
MemberChandraRam4-Jun-08 2:27 
GeneralRe: Disk space on Linux Pin
Matodzi4-Jun-08 2:47
MemberMatodzi4-Jun-08 2:47 
AnswerRe: Disk space on Linux Pin
Chinners4-Jun-08 2:50
MemberChinners4-Jun-08 2:50 
QuestionLabel repaint issue Pin
divyesh14324-Jun-08 0:10
Memberdivyesh14324-Jun-08 0:10 
AnswerRe: Label repaint issue Pin
Christian Graus4-Jun-08 4:58
protectorChristian Graus4-Jun-08 4:58 
GeneralRe: Label repaint issue Pin
divyesh14324-Jun-08 21:32
Memberdivyesh14324-Jun-08 21:32 
QuestionTreeView from Database or DataTable Pin
Muhammad Waseem Tahir3-Jun-08 23:54
professionalMuhammad Waseem Tahir3-Jun-08 23:54 
AnswerRe: TreeView from Database or DataTable Pin
ChandraRam4-Jun-08 2:04
MemberChandraRam4-Jun-08 2:04 
GeneralRe: TreeView from Database or DataTable Pin
Muhammad Waseem Tahir4-Jun-08 20:05
professionalMuhammad Waseem Tahir4-Jun-08 20:05 
GeneralRe: TreeView from Database or DataTable Pin
ChandraRam4-Jun-08 20:26
MemberChandraRam4-Jun-08 20:26 
GeneralRe: TreeView from Database or DataTable Pin
Muhammad Waseem Tahir4-Jun-08 22:20
professionalMuhammad Waseem Tahir4-Jun-08 22:20 
GeneralRe: TreeView from Database or DataTable Pin
Muhammad Waseem Tahir4-Jun-08 23:43
professionalMuhammad Waseem Tahir4-Jun-08 23: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.