Question about Microsoft Windows XP Professional

1 Answer

Edit unbound msflxgrid rows save changes in database

Hello sir,
i have a problem , i have a unbound msflexgrid and a command button on a form. when form load listbox filled with the customer name get from access dataabse. when i click on listbox , customer a/c transaction display in msflexgrid. i want to edit some rows and some add rows, after this when i click save button, save changes also in daatbase. tell me which method i add and edit rows in msflexgrid

Posted by on

  • Anonymous Dec 12, 2008

    MY PROBLEM IS THAT DEEPFREEZ IS IN MY PC I WANT REMOVE IT FROM PC

×

1 Answer

  • Level 1:

    An expert who has achieved level 1.

    Hot-Shot:

    An expert who has answered 20 questions.

    Corporal:

    An expert that hasĀ over 10 points.

    Mayor:

    An expert whose answer gotĀ voted for 2 times.

  • Contributor
  • 25 Answers

Unbound FlexGrids do not directly accept data entry, but can accept data through the FlexGrid's KeyPress event or via a Textbox

For more detail see

http://www.pbdr.com/vbtips/gen/Article-UsingFlexGrids%282%29.htm

Posted on Nov 13, 2011

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

3 Answers

How to create simple batch files


Creating a batch file
MS-DOS users
Microsoft Windows and other users

MS-DOS users
To create a basic batch file in MS-DOS, follow the below steps that give you an example of how to create a basic batch file.

  1. Open an MS-DOS command window or get to MS-DOS. Additional information about doing this can be found on document CHDOS.
  2. At the MS-DOS prompt, type: edit test.bat and press enter.
  3. If typed properly, you should now be in a blue screen. Within the screen, type:

    pause
    dir c:\windows
    dir c:\windows\system

  4. Once the above three lines have been typed in, click File and choose exit; when prompted to save, click "Yes." Users who do not have a mouse cursor can accomplish this same task by pressing ALT+F to access the file menu, then pressing "X" to exit, and pressing enter to save changes.
  5. Once you are back at the MS-DOS prompt, type: test and press enter. This will execute the test.bat file and begin running the file. Because the first line is pause, you will first be prompted to press a key. Once you press a key the batch file will run line-by-line; in this case, listing the files in the windows and windows\system directories.
If you wish to add more lines to this batch file you would simply type "edit test.bat" to edit the file again.
Additional information about the MS-DOS edit command can be found on our edit command page. Some versions of MS-DOS and bootable diskettes may not have the edit command; if this is the case, you would either need to obtain the edit.com file to access this file or use the copy con command.




Microsoft Windows and other users
A Windows user can still use the above MS-DOS steps if they wish to create a batch file. If, however, you're more comfortable using Microsoft Windows or your operating system, you can use any text editor, such as Notepad or Wordpad, to create your batch files, as long as the file extension ends with .bat. In the below example we use the Windows notepad to create a batch file.
  1. Click Start
  2. Click Run
  3. Type: notepad and press enter.
  4. Once notepad is open, type the below lines in the file or copy and paste the below lines into notepad.

    @echo off
    echo Hello this is a test batch file
    pause
    dir c:\windows

  5. Click File and click Save; browse to where you want to save the file. For the file name, type "test.bat", and if your version of Windows has a "Save as type" option, choose "All files", otherwise it will save as a text file. Once all of this has been done click the Save button and exit notepad.
  6. Now, to run the batch file, simply double-click or run the file like any other program. Once the batch file has completed running it will close the window automatically.

Jan 04, 2011 | Operating Systems

1 Answer

What is the difference between save and save as? Are these shortcut keys in saving a file?


Both the command helps to save a file. But the difference is: when you press save button the file will be save in the default format and the default location (my document folder). However, one can still make any changes before pressing save button. But if you select save as button then system will ask to choose file format and you can also specify location to save that particular file. Yes both of these commands are used for saving files and these are available in the file menu.

Aug 25, 2010 | Microsoft Operating Systems

1 Answer

Never used vista dont like it it came on this machine when i bought it and need XP Outlook etc. anyway i can get free downloads of these and replace vista and if so can i still save the information i...


hello sir..

sure u can save information n everything....!! to be more secure copy all the in formation stored in c:\ or in MY DOCUMENTS to some other drive, b4 changing the operating system..

thank u


plz vote me, if i've solvd ur problem

Jul 18, 2009 | Microsoft Windows Vista Home Premium...

1 Answer

How can i change text of Start Button?


You Need to Modify "Explorer.exe File" To make the changes you need to locate and edit the file "explorer.exe" it's located at C:Windows. The file "Explorer.exe" is a binary file, so you will need special editor (Resource Hacker) will do. Resource Hacker is a good freeware utility to view, modify, rename, add, delete and extract resources in 32bit Windows executables and resource files. First Backup "explorer.exe" located at C:\Windows\explorer. You can place it in a special folder or save it to disk. You can also copy and change the file name to "explorerB.exe" (the B is for backup), then you can edit "explorer.exe".

2. Resource Hacker: In Resource Hacker the category will be using is String Table. You need to expand it by clicking on the plus sigh, then navigate down and expand string 37 followed by 1033, (For Classic Layout use number 38). On the right hand pane look for item 578 it show the word "start" this is what we are going to modify.

3. Edit start: To edit the word "start' you just double click on start so that it's highlighted, don't highlight the quotation marks on the sides of start, "start" NOT "start". The new text go's in between the quotation marks, like this "new" remember don't delete the quotation marks. So that it looks like this "new" replace new with your text. This is the old start text "start" delete start text "", inter your text "new" easy right!

4. Compile Script button: Now that you have changed the start text you need to click on the Compile Script button. After you have clicked on the Compile Script button you need to use the Save As command on the File Menu to save the altered file and give it a name. A good file name "explorernew.exe" or make your own. Don't use the Save command use the Save As commaned! Save the newly named file to the C:\Windows.

5. Modify the Registry: Now it's time to modify the registry so that your modified explorer.exe file that you created will be recognized when the user logs on your system. Go to the Start button click on it, then go to Run click on it, type regedit in the Open: field. Now Navigate download the list to "HKEY_LOCAL_MACHINE" click on the plus, to SOFTWARE, to Microsoft, to windows NT, to CurrentVersion, to Winlogon. The full string: HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ Windows NT\ CurrentVersion\ Winlogon
Look on the right pane for Shell, double click on Shell entry to open the Edit String dialog box. In the Value date: line enter the name that your used to save the modified explorer.exe file. click on OK.
Now close Registry Editor and exit Windows or log off your system, and then log back on. Now if the computer gods are happy and all went as planned you should see the new Start button with your cool text on it. Remember the force is with you!

Jul 08, 2009 | Operating Systems

1 Answer

Forget pasword


What version IE are you using?
This solution is for IE7 >>>>>
From the Tools menu, select Internet Options.
On the General tab, under Browsing history, click the Delete... button. You now have several options:
Delete temporary Internet files (copies of web pages, images, and media that are saved for faster viewing), click the Delete files... button.
Delete cookies, click the Delete cookies... button.
Delete the history (the lists of web sites you have visited), click the Delete history... button.
Delete form data (saved information that you have typed into forms), click the Delete forms... button
Delete passwords, click the Delete passwords... button.
Delete all of the above, click the Delete all... button.
Click OK twice.
If you need any more help please post back.

Good luck and thanks for choosing FixYa!!

Jun 01, 2009 | Microsoft Windows XP Home Edition

2 Answers

Printing syntax


'declare the variables
Dim Connection
Dim ConnString
Dim Recordset
Dim SQL

'define the connection string, specify database driver
ConnString="DRIVER={SQL Server};SERVER=yourServername;UID=yourUsername;" & _
"PWD=yourPassword;DATABASE=yourDatabasename"

'declare the SQL statement that will query the database
SQL = "SELECT * FROM TABLE_NAME"

'create an instance of the ADO connection and recordset objects
Set Connection = Server.CreateObject("ADODB.Connection")
Set Recordset = Server.CreateObject("ADODB.Recordset")

'Open the connection to the database

Connection.Open ConnString

'Open the recordset object executing the SQL statement and return records
Recordset.Open SQL,Connection

'first of all determine whether there are any records
If Recordset.EOF Then
Response.Write("No records returned.")
Else
'if there are records then loop through the fields
Do While NOT Recordset.Eof
Response.write Recordset("FIRST_FIELD_NAME")
Response.write Recordset("SECOND_FIELD_NAME")
Response.write Recordset("THIRD_FIELD_NAME")
Response.write "<br>"
Recordset.MoveNext
Loop
End If


'close the connection and recordset objects to free up resources
Recordset.Close
Set Recordset=nothing
Connection.Close
Set Connection=nothing

May 16, 2009 | Microsoft Windows Vista Ultimate Edition

1 Answer

How to add columns(Vertical) only in Msflexgrid from database table using VB.


you have to open your current project in VB then go to "add references" (its somewhere in the menu bar) then go find microsoft acess and add it as a reference. then go to object browser and you'll find all the functions you need to interface between your project in VB and MS Access.

good luck !!!

Dec 30, 2008 | Operating Systems

2 Answers

Memory not written error application occurs (OK to TERMINATE)


Try this: I got it from another website

Hit Windows + R and type cmd and press enter afterwards. Navigate to c:\ by typing cd.. until you are there. Boot.ini is hidden and write protected which means that we have to change that before we are able to edit it. Type the following commands:
  1. attrib -r -h -s boot.ini
  2. edit boot.ini
  3. Look for /NoExecute Optin or /NoExecute Optout and change that to /NoExecute AlwaysOff
  4. Save the edited file
  5. type attrib +h +r +s boot.ini
  6. restart the computer

Dec 29, 2008 | Microsoft Windows XP Professional

1 Answer

It is very Helpful


changes of what? can you tell me? and be specific sir/mam.. thanks!

Mar 11, 2008 | Microsoft Windows XP Home Edition

9 Answers

I want to change start button s name on taskbar.i want to change start button name (start= jitu)


How to change the text in START Button in task bar ?
I have received many emails from users on this topic. In Windows XP Pro, you can change your Start button and you are not even restricted with 5 characters as it used to be the case in previous version of Windows but the process itself of modifiying the start button is a bit more tedious than what it used to be. Anyways, gist of act is to modify your
1. First of all, make a backup of your explorer.exe This is one of the most important executables of your operating system and incase you make a mistake, you should have its backup to fall back on to ! You will see this file in C:\Windows directory. Go there, make a copy and change its name to something you remember like "explorerold.exe or explorer.old".
2. Download a freeware called ResourceHacker by going to http://www.rpi.net.au/~ajohnson/resourcehacker
3. Now, lauch resource hacker and locate your explorer.exe by going to c:\windows. Now go to String Table>37>1033. This is where the START text is located. Change it whatever you would like....
4. Once done with the changing START button text, click on the button called "Compile Script". Now its time to save the changes. Important: Save the file as explorer_modified.exe (or something similar). You can not save it as explorer.exe as file is in use as you are exploring the directories etc etc.
5. All right, reboot the computer and boot into safe mode in command prompt environment (at boot time press 'F8' a few times...) and log in as administrator.
6. Now all that you need to do is to copy the modified explorer file to original one.
Type this at command prompt "copy c:\windows\explorer_modified.exe to c:\windows\explorer.exe" (without quotes)
7. Reboot your computer as you would normally do.

If you have followed the steps correctly, you should have new explorer by now.

Mar 06, 2008 | Microsoft Windows Xp Home Edition English...

Not finding what you are looking for?
Microsoft Windows XP Professional Logo

Related Topics:

104 people viewed this question

Ask a Question

Usually answered in minutes!

Top Microsoft Operating Systems Experts

Brian Sullivan
Brian Sullivan

Level 3 Expert

27725 Answers

Scott Fryer

Level 2 Expert

80 Answers

Alex Krenvalk

Level 2 Expert

401 Answers

Are you a Microsoft Operating System Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...