-
- need help with regular expression
by JTechOnlineGuy
- 2 Replies
- Last post
by Bruno Yu - MSFT
- I need a regular "Case/s#[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]", options) ' Check for match Dim isMatch As Boolean = regex.IsMatch(vobjtxtComments) If Not isMatch Then errbase.SetError(btnDedDRComments, ASAPControls.StandardErrorMessageOneArg.Custom, "Comments must be in the format 'Case #999999999'") End If
-
- Getting Data From Dynamic Controls
by ChristianBG
- 7 Replies
- Last post
by Silversoth
- How can i go about getting data that is stored in dynamically created control such as radio button or text box
Just to give some background..
I read records from a database and decide what controls to show radio, check, or text box. I create them accordingly. Now when the user presses next or finish how do i go about getting the values or text stored in those controls
-
- Change node backcolor in treeview
by vin25
- 2 Replies
- Last post
by vin25
- I have created a treeview
whene i click on any node in treeview it shows the corresponding notes in the texbox next to it
I want to change the back color of the node clicked
I able able to do till this
however I am not able to change the backcolor back to default
I am not able to cycle through the nodes in the treeview
I would be glad if some one could share tht code or tell
-
- Bitmap Size
by B-Wade
- 5 Replies
- Last post
by B-Wade
- Hi everyone, Im working on a program that uses a bitmap so I can draw. Now I have the drawing part all sorted out, but the problem is the bitmap size. The only way this program seems to work is when the
Code Block
Dim b As Bitmap = New Bitmap(400, 400)
Dim plot As Graphics = Graphics.FromImage(b)
are global variables. The picturebox people draw on
-
- Overload Resolution, did i miss something?
by DoriumStorm
- 7 Replies
- Last post
by Riquel Dong ¨C MSFT
- Hello all, so i'm coding in asp with VB and I noticed something weird, Ok so simply put i construct a CUser from an Id in DB array.Add(New CUser(UserSelectFullDB(DR.GetValue(0)))) Yet this line gimme this Error : Error 1 Overload resolution failed because no accessible 'New' can be called without a narrowing conversion: 'Public Sub New(pId As Integer)': Argument matching parameter 'pId' narrows fr
-
- Concurrency violation: the UpdateCommand affected 0 of the expected 1 records.
by japt
- 10 Replies
- Last post
by Khurram Ali Khan
- I have created an application which ticks and unticks a routing sequence. But whenever I click on my save button after tickin the required, I get an exception thrown at me stating " Concurrency violation: the UpdateCommand affected 0 of the expected 1 records ". My code is as follows:
Private Sub OKButton_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Ha
-
- Printing multiple PDF docs with same printer settings (orientation/page size etc)?
by Rbl
- 1 Replies
- Last post
by Bruno Yu - MSFT
- I have searched high & low for a method of printing multiple PDF documents using the same printer settings and am desperate for urgent help...
I am working with VB6 code and have seen how one can print silently (either using DDE or using AcroPDF.dll methods) but cannot find any way at all of using a single dialog box for all documents - or even of specifying the printer properties when
-
- How to create a dockable ToolBar type App. with Auto-Hide etc.
by John Oliver (UK&am
- 1 Replies
- Last post
by Dick Donny
- Hi,
Anyone know of an online tutorial to create a dockable toolbar type application please
Application to also have:
1) Always On Top option.
2) Is registered in the ToolBars dialog when you select the Windows TaskBar "ToolBars" option.
3) Has an Auto-Hide option.
4) Has a LOCK option.
5) The dockable option needs to dock with any side, top or bo
-
- How do I get the date for the 2nd Wed. of the next year?
by JennyMQuinn
- 6 Replies
- Last post
by kleinma
- How do I get the date for the 2nd Wed. of the next year Thanks!
-
- What is the solution for this problem?
by Vsbabu
- 3 Replies
- Last post
by Jonathan Aneja - MSFT
- <System.Runtime.InteropServices.ComRegisterFunction()> _ Public Shared Sub AxRegister(ByVal regKey As String) Dim foo As New QueryControl() ActiveXRegister (foo.GetType) End Sub <System.Runtime.InteropServices.ComUnregisterFunction()
> _
Public Shared Sub AxUnregister(ByVal regkey As String) Dim foo As New QueryControl() ActiveXUnregister(foo.GetType) E
-
- Audit PC from WebPage
by Coroebus
- 6 Replies
- Last post
by Coroebus
- Hello,
i'm tryng to build an audit tool running via an aspx webpage that scan the client pc to get WMI Info like name, CPU, HDD, etc...
In my opinion i have to make an activeX that will be installed and executed client-side.
I have followed this tutorial that explain how to expose a winform usercontrol on a webpage.
It works fine but when i'm trying to add System.manage
-
- Printing A CSV File
by Rain3204
- 4 Replies
- Last post
by doener
- Hi everyone,
I was already able to export my DataGridView data to a CSV file. My problem now is how can i print the CSV file via a command button in my VB.net application I really need this one any help would be appreciated. Thank you so much in advance!!!
Stan
-
- Lost Microsoft.Office.Interop?
by Donald Fisher
- 1 Replies
- Last post
by Donald Fisher
- I can't seem to figure this out. I've been working on an app that uses Microsoft.Office.Interop references and now I seem to have lost the Interop somehow. My references haven't changed as far as I can see. I have:
Access
ADODB
DAO
Microsoft.Office.Core
Outlook
Listed as references at the moment (along with all the standard system references). What am I missing that is pr
-
- custom control property
by pol86
- 4 Replies
- Last post
by pol86
- Hi,
i create a custom control and i want to add a property that can accept only textbox or combobox. How can i have to do it
Example
Public Property MyControl() As TextBox -> i want also combobox
Get
Return _Mycontrol
End Get
Set ( ByVal value As TextBox)
_Mycontrol= value
End Set
End Property
-
- Use Domain, username and password of logged in user account to bind to AD
by DinoC
- 2 Replies
- Last post
by delstar
- Can I replace this code
Code Snippet
Dim objentry As DirectoryEntry objentry = New DirectoryEntry( "LDAP://CN=users,DC=mydomain,DC=com" , "administrator" , "password" , AuthenticationTypes.Secure)
with code that captures the credentials of the logged in user. I could build a login box, but I don't want the users of my windows applic
-
- vb.net and searching records in MS ACCESS
by Lavatress
- 2 Replies
- Last post
by Lavatress
- I am creating a windows form in Microsoft vb.net 2003. The data is been added to a Microsoft Access 2002 database. I have a text field on my form name editFile_ID. I want to be able to search another MS Access database to see if the File ID exists. If it doesn't, I want to prompt the user to enter another file id. How would I do this
-
- Can't F8 - to Step Through Code
by tattoo
- 2 Replies
- Last post
by spotty
- I have just re-installed VS 2005 on my machine..
Now when I want to step through my source in Debug My F8 key doesn't work.
I did manage to get an icon on the toolbar that I can click to do it but
How do I associate the F8 Function key back to that proccess
Thanks
tattoo
-
- Multiple fonts in the same richtext box
by Eslucafe
- 3 Replies
- Last post
by Dave299
- How do I change the font of only specific words in a richtextbox, for example: Soposed that there are two text boxes called: Box1 and Box2, and a Richtext box called RBox
RBox.text = (box1.text + Box2.text)
And I want to display the box1.text in bold, and the box2.text in Italics. How do I do this
-
- Little Scrollbar OVER a TabControl
by igorbaITALY
- 13 Replies
- Last post
by igorbaITALY
- Hello everybody,
is it possible to create orizontal scroll bar in a TabControl and put it not under it and also whith a specific dimension (i.e. not long as the width of the TabControl)
I have a TabControl whith a very little hight (only 45px for space reasons) and in runtime I put inside it some buttons. The number of the buttons may incrase and when they goes out I would like to create a v
-
- ComboBox and Datasets
by NuclearIntern
- 1 Replies
- Last post
by Jonathan Allen
- Im not sure if this is the correct forum but here goes: Ive got a program designed to accept 50+ values from the user and then create an output file that follows a specific format. This portion of the program works as it should. As a revision, i rewrote the program to use a dataset to store each set of inputs and makes them available to be brought back up anytime after they are entered and saved.
-
- VB.net help
by H4X3R
- 4 Replies
- Last post
by Chris Dunaway
- Hello making a vb.net project for college course. I have 2 forums FORM1 = is a car sale forums helps company sells cars by doing calculations FORM2 = is a login screen they need to log in so that they can use the car sales form (form1) NOW! When they log in i want FORM2 the login screen to disappear and not stay at the back.
FORM2 (The login screen) also has a timer set to it so the person nee
-
- splash screen problem when windowstate=maximized
by pol86
- 3 Replies
- Last post
by JohnWein
- Hi,
i've a problem when i use a splash screen and my start form has the windowstate property set to maximized: splashscreen disapper immediately.
I try to set windowstate property to normal, and splashscreen works correctly : it attends 2 second
is it a bug of vs 2005
thanks
-
- How can I replace the newline character with something else from a textbox?
by JamesMitchell
- 5 Replies
- Last post
by hollow
- In my database I have addresses in one line, comma separated. That way they can be as many lines as they want... I
read from the database and put addresses in a textbox as you would like
to read them - on individual lines. I use a simple string substitution: txtAddress.Text = Replace(cmbAddress.Text, ",", vbNewLine) I'm having problems saving it back to the database with commas if the
-
- Listboxs with multicolored items
by Waltari
- 13 Replies
- Last post
by Blader
- I've got an application that will add action items to a listbox. Some of the items are higher priority (Red) and others are not (Yellow). Is there a way to put both colors into a listbox
-
- To capture a frame in media player
by bobby.agollu
- 3 Replies
- Last post
by Riquel Dong ¨C MSFT
- Hi,
Can any one suggest me the way to capture a frame or rather a image from a media player in a vb.net application....Iam in very much need of this.....
thank u
bye