How to prevent pasting an image into textbox. I understand that i have to check a clipboard and if data is an image then give a msg box that user can not paste image to textbox. I need a full code.
I have a string like:
Smith, M. John (Last name, MI. first name)
I need to break this and place them into separate text boxes: Last Name into txtLastName, MI into txtMI and first name into txtfirstName. How can i do it?
I need to copy data from one table to another table within the same or different databases and within the same or different servers.
My application written in vb6. My application connects to training db. User entering info, modifing info. After all done user has to click on export data button...
I need to use something like OLE (but with scrolling bar) to view Excel file inside of VB application.
I need exact syntax how to open Excel Sheet ( I have file already) and display it on a form without even opening an Excel application(i need only display the info in the file).
I hide all tables already, and db window, but when i push a shift button on the keyboard i can still see tables and db. I have to set something up that no one can't access to the tables and db window. How should I do it?
I have one Main application where I have 3 different command buttons. Each command button has to open different executable applications, but the Main applic shouldn't be closed, it should remain on a screen. Also when user clicks on one of the command buttons it should open the appropriate...
I need to get a name of active form. Ex: I have 3 forms
frmA, frmB, frmC. On both forms frmA and frmB I have a control txtText with some data. Let say first I have frmA open and when i click on command buttom, I need frmC to open and on load event i need to check what was the active form...
I have an application that has FMSMemo control for editing text, that is saves data in db as .rtf format. It is works great, but when I did a package, my user can see FMSMemo control as an Icon, I don't wont this I want then to see as simple text box and when user double click on fms text box...
Can you please tell me how to convert simple text that is saved in the table to .rtf format text. I have a form and a text box on it, when I call my recordset (ReferenceText as a field) should be displayed like rtf not like simple text. I know that I need to place not text box, but RTF text...
I need to search for a group of string in the other group of string, and if it's find it, don't write that search string into the other string. ex: MySearch = "05,02,07",
SearchIn "02,04,05,08,07". So I need to search and see if 05 exists in 'SearchIn,if exists then don't...
I have a questiong about the data combo, how to set the ListWidth. I have data in the datacombo, but the data is long and when I click on drop down i can see the data, but some of the data is long and I can't see the whole think, so how to set the listwidth of the data combo.
I run a store procedure which inserting new data into the table and on the last statement in store procedure i selecting the id(autonumber) and returning this value to VB applic. program. The Store proced runs very well and inform is in table and selecting id, but the recordset is not working...
I have 2 toggle buttons on a vb6 form. One is 'AND' and the other one is 'OR'. I need to be able to click on 'AND' or on 'OR' and get a value from them in a code because i am doing a search of two strings in recordset(also i have 2 text boxes on a screen where i placing my search string in)...
I need to create list box that will have 3 columns where 1st column will be available and visible in the list and 2 more will be hided where i store id. Looking to this hided id, i will do my search.
Help me with it. This is urgent.
I have already created word doc (VB) placing some values (name, address) from the db(table), but i need to have DATE on a letter to be intended to left using 8 tabs to have this date there and go back to normal position and continue without any tabs.
I need to write a select statement where i select fields from table, but some fields containg spaces in it like "First Name", "Last Name". But the right field name is "First_Name" or "Last_name" with an underscore. In this case how should i write a...
i need to retrive a value of a field but looping through a fields like Doc1, Doc2, doc3 and to the doc10. so i did:
for i = 1 to 10
DocValue = rs!doc & i.value
do whatever
next
I need to know if i am right or not?
I need to have a search of a file in 1 directory of 500 files. In my recordset i select a file name(041001.pdf) and i have to search for this file in the appropriate directory where 500 files located with different file names.
I need to create a personalized letter in word from vb code that will have a name of person and address taken from db table that has this info. Then after creation I have to save it in my directory.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.