-
- I'm trying to search an Access Database
by CheyLaw
- 3 Replies
- Last post
by JohnnyBlade
- I have an form called LitDir.aspx, and on the form, I have an AccessDataSource, and a GridView. I have no problem showing everything in the database. However, I want to allow users to search by keyword, and only see the results that match their search term appear. I can't find an Visual Studio 2005 tutorials to learn how to do this. Can anybody help me !
-
- Get the owner of a context menu strip.
by Troy Lundin
- 6 Replies
- Last post
by Troy Lundin
- I am having trouble doing this. I have a ContextMenuStrip and a ListBox. I have the context menu connected to the listbox. The menu has two items, Select All and Deselect All. I want to select/deselect all the items in the listbox when a button is clicked. I have done this before for a CheckedListBox but cannot remember how.
Thanks, Troy
-
- GroupBox1 Location
by Cesar Francisco
- 10 Replies
- Last post
by Cesar Francisco
- How to code GroupBox1.Location (9,195)
-
- Problems with my number base converter
by Troy Lundin
- 6 Replies
- Last post
by Spidermans_DarkSide - VSIP
- My base converter works fine for small numbers but when I try to convert &HFFFFFFFFFFFFFFFF to any base I get overflow exception. Also, when I try to convert &H7FFFFFFFFFFFFFFF to base 2 I get: 1000000000000000000000000000000000000000000000000000000000000001 which is incorrect. Here is my code. Any ideas Thanks, Troy
Code Snippet
Public Shared Function ConvertBase(ByVal Value
-
- Printing 600 dpi 8.5 x 11 background images with Visual Basic
by Jake Fosheezee
- 2 Replies
- Last post
by Jake Fosheezee
- I am developing a windows application using Visual Basic/Visual Studio 2005.
One of the application functions involves printing on to official forms that can not be modified or custom built. My thought was to create a form, set the background to my image, lay custom text boxes on top and print it out.
I have installed the Visual Basic Power Pack and am trying to use the PrintForm met
-
- Using PutEx on an octal array?
by ljstd
- 3 Replies
- Last post
by Spidermans_DarkSide
- Hello, I'm trying to update the "logonhours" property of an Active Directory user account but I'm not sure of the value to use...and I didn't want to just guess. The below script allows a user to login in at any time...I want the opposite (so they cannot login at anytime). How do I do this 'enable user to login at any time Const ADS_PROPERTY_CLEAR = 1 Set objUser = GetObject("LDAP:
-
- Maddening warnings list
by The Other Dave
- 2 Replies
- Last post
by The Other Dave
- Is there no way to clear or reset the warnings list without restarting Studio Using studio has become a warning minefield for me since opening the wrong file can pump the list full of meaningless warnings that don't go away when I close the file. I do intend to clear all the warnings, but there are some I have been puzzled about for months in the absence of sufficient explanation, and others that
-
- An urgent help - Checking for the existence of multiple files
by harijeyaraman
- 4 Replies
- Last post
by bodalal
- Hi
I am not able to check the existence of multiple files in a folder using VB script.
For Eg
I wish to check the text files starting with 's' in a folder.
Folder: C:\test\
File pattern : s*.txt
i wish to get the count of the files.
can any body give me a simple complete code,
so that i can easily understand, as i am a beginner of VB script.
P
-
- Form slide
by Cesar Francisco
- 8 Replies
- Last post
by Cesar Francisco
- 1. I am using this code to change the form's size.
Could a slow increase and decrease be implemented Timer maybe........... combined with iteration on the size
Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Static onoff As Boolean
onoff = Not onoff
If onoff = True Then
Me .Heigh
-
- Treeview
by Zooz
- 2 Replies
- Last post
by Zooz
- Hello,
Can any body help me with thees
I need to make a new child node to a root node(called "root1") in code view(Not in designer mode), of a treeview.
I need to add an icon to the nodes of the treeview.
Thx
-
- How to disable form resize in MDI mode?
by matt ham
- 1 Replies
- Last post
by DigBoy2000
- If I have a form called frmParent that is the MDI Parent and I load Form1 into this MDI parent, how can i disable the maximize feature that can be used then they double click the title bar of the form ("Nothing to do with FormBorderStyle")
-
- Mapping buttons to special code
by Tel2
- 4 Replies
- Last post
by Tel2
- Hi guys, I'm using VB 2005 and I have a DataGridView (say dgvTest, no bindings) and would like to have: 1. My "Remove" button run the same code that is usually run when someone presses the "Delete" key on the keyboard, to delete row(s). (Reason: To make it easier for people who prefer to use the mouse). 2. My "Sort" button runs the same code that is usually run when s
-
- List all types (classes) that inherits from a base class
by GreatDane
- 1 Replies
- Last post
by APMadsen
- I have a base class with some subclasses that inherits from it - now I would like to be able to list these, but I don't know how to go about it. It must be possible, though, since the IDE does it...
Anyone knows the answer to this
-
- Progress bar
by Brad Corbett
- 4 Replies
- Last post
by TaDa
- I have the following code:
Code Snippet
Do While DataLoadStatus = 0 If CheckStatus("select Status from DataLoadStatus where Status = 0", "Reporting") = 1 Then DataLoadStatus = 1 Else If ProgressBar1.Value = 3600 Then ProgressBar1.Value = 0 Else ProgressBar1.Value = ProgressBar1.Value + 1
-
- Can I integrate staff from two tables in one DataGridView?
by Shimi Weitzhandler
- 3 Replies
- Last post
by Ayhan Yerli (TR-NL)
- I have in my program two tables:
"Log" and "LogAction"
"Log"'s columns are:
ActID - primary key
ActionID - int
MadeBy - varchar
TimeMade - datetime
" LogAction "'s columns are:
ActionID - primarykey
Title -varchar
description - varchar
the tables are related with "FK_Log_LogActions" which means that Lo
-
- VisualBasic... missing reference
by nagajim
- 5 Replies
- Last post
by ahmedilyas
- Hi,
I recently converted my program to run under .NET Framework V2. However, a small number of users are having problems getting it to run. They are getting an error which says "Microsoft.VisualBasic .....system.io.filenotfoundexception".
All of the users having problems have recently installed (ie within the last 2-3 weeks) V2 of the NET Framework.
The vast majority who have ex
-
- Simple Message system
by eison
- 2 Replies
- Last post
by eison
- I am looking to build a simple message system for sending text and images to another computer on my network. What would be the best way to start If you have any code examples, please post them, as I need all the help I can get.
Thanks in advance
Eric
-
- how to export data to text file
by Behnam
- 2 Replies
- Last post
by Jason Payne
- I have a table like this:
Date
Code
Cash
2007/01/01
1234567
12,500
2007/01/01
1234568
1,200
2007/01/01
1234569
200
I want to export it to text like this:
20070101 1234567 00000012500 02
20070101 1234568 00000001200 02
20070101 1234569 0000000
-
- Entering Whole Numbers only into Text Boxes
by Frustrated Student
- 1 Replies
- Last post
by Rea Software Engineering
- I am doing an assignment and I need to be able to enter numbers into a table on a worksheet in Excel using a T ext box on a UserForm . The numbers need to be entered as Whole Numbers only and I need to be able to generate an Error Message if the numbers entered in the text boxes arn't Whole Numbers. I would appreciate if someone could show the code I need to do this as I have
-
- No Refresh upon removing item from DataGridViewComboBoxColumn
by Tim8w
- 13 Replies
- Last post
by cybertaz69
- I have a ContextSensitiveMenu that allows me to remove an entry from a DataGridViewComboBoxColumn. The problem I have is that the DataGridViewComboBoxColumn doesn't get refreshed after I remove the item. Any ideas
Code: Private Sub RemoveIngredientToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RemoveIngredientToolStripMenuItem.Click
Dim cmbCol
-
- Disable keyboard input
by Simone1
- 6 Replies
- Last post
by Riquel Dong ¨C MSFT
- I am developing an application that will be used in a kiosk, available to the general public. The application will get its input from scanned/swiped devices, such as credit cards, bar codes, mag stripes, etc... and from a touch screen. There will be NO physical keyboard or mouse. I need to be able to trap every key stroke that comes into the application. In developing and testing, I have seen wher
-
- Vb2005 Express Froms Designer Does not show
by Samer Selo
- 9 Replies
- Last post
by Wim from Holland
- Suddenly without notice forms desinger in Vb2005 Express Does not open any more it gives me the send error to microsoft dialog then a message box containing the message more data is available
when I press what deos this error reoprt contain link on the dialog it shows information like
appname: vbexpress.exe appver 8.0.50727.363 appstamp: 4507e348
modname msvb7.dll modever: 8.0.50727.363 m
-
- Can I add Check Box control to Windows Form control "DataGrid"
by K. Ravinder Reddy
- 3 Replies
- Last post
by TheCrash
- Hi All,
Can I add a CheckBox to my DataGrid control of Windows form control. If yes How can I do that. Please help me out.
-
- Open word in AxWebBrowser control without Open/save dialog box
by ones81
- 2 Replies
- Last post
by ones81
- Hi,
How can I navigate to a word document with an AxWebBrowser control without the Save/Open dailog box showing.
On the dialog box there is a check box which says "Always ask before opening file", which if I uncheck then it dosen't display the dialog box again. So there must be some way of doing in through code.
I want to open it as a word document and not an html docume
-
- Issues with DataGridViewDataCombobox
by Beetle54
- 1 Replies
- Last post
by Bruno Yu - MSFT
- I'm having a problem this combox in my datagridview. I type somthing into the combox on one row, and then on the next row I type something into a combox, the item that I type in the first row of the combox exists in the second row combox. What I'm trying to simulate, is when you're selecting a data type after you specify a column name in sql enterprise manager. Can anyone help
Thank you.