-
- An attempt was made to access a socket in a way forbidden by its access permissions
by Dick R
- 6 Replies
- Last post
by LukeSkywalker
- This is gettting rediculous. My application was working quite well until I ran into the database problem I ask about in a previous post. I tried to solve that problem by reformatting my hard disc and starting from scratch with a virgin copy of vb express. No joy. I solved the problem by getting rid of the databases and putting the data in the code.
Before all this ha
-
- Sound
by Andrew DeVaughn
- 3 Replies
- Last post
by Tall Dude
- How can I play a sound without the user seeing a media player
-
- encrypting passwords in a database
by steve1_rm
- 1 Replies
- Last post
by TaDa
- Hello, I am creating an application using vb windows applcation and using SQL 2005. I have a table of users, that contain there usernames and passwords. When a new user is added it stores all the passwords in clear text in the database. What is the best method to use to be able to crypt the passwords in the database. Also, when the user login, i have a sql statement that will compare the username
-
- Print Preview Error
by k@l-3l
- 4 Replies
- Last post
by k@l-3l
- i have recently tried to develop a printing code in VB and whenever i click the button it throws an exception stating that the Value name can not be null .
Private Sub PrintDocument1_PrintPage( ByVal sender As System.Object, ByVal e As System.Drawing.Printing.PrintPageEventArgs) Handles myDocument.PrintPage
e.Graphics.DrawImage(formImage, 200, 300)
End Sub
-
- Textbox Focus From Form Load
by hemo
- 9 Replies
- Last post
by hemo
- I am trying to focus a textbox when the form loads. Although TextBox.Focus() works with most events, It do not work when in form load or activated. I would be grateful for help
-
- What Language represents &H100&
by Minnette
- 4 Replies
- Last post
by Minnette
- Hello, I'm trying to understand what the &H& numbers represent Does anyone know I'm new to anlayzing code and trying to resolve a problem looking at code but not sure what the "&Hxxxxxx" represent
Consants, Hex number to be converted, what
Thanks to anyone that can answer my questions.
Public Enum enumFileDialog cdlOFNReadOnly = &H1 cdlOFNOverwriteP
-
- newbie call errors
by Asday
- 3 Replies
- Last post
by Asday
- I have this code: Sub monSet(ByVal arg)
If arg = "rat" Then Dim aatt As Integer Dim adef As Integer Dim lvl_ As Integer Dim aspd As Integer aatt = 1 adef = 1 lvl_ = 1 aspd = 1 End If If arg = "thief" Then Dim aatt As Integer Dim adef As Integer Dim lvl_ As Integer Dim aspd As Integer
-
- REading emails from exchange 2000
by ringus
- 1 Replies
- Last post
by Riquel Dong ¨C MSFT
- Hi,
I have looked everywhere but no luck. I really need to be able to read messages and save attachments from an inbox. I have only managed to open up my own inbox which is no use.
Dim oApp As Outlook.Application = New Outlook.Application()
Dim oMsg As Outlook.MailItem
Dim oAtt As Outlook.Attachment
Dim oNS As Outlook.NameSpace = oApp.GetNamespace( "mapi&
-
- Create Users to Windows 2003 Programatically (vb)
by George Waters
- 1 Replies
- Last post
by Bruno Yu - MSFT
- Hi all,
I'm trying to add users remotely to a Windows 2003 Standard using the command net.exe, but I just can't make it work. This is my code:
Dim p As New Process
p.StartInfo.UseShellExecute = False
p.StartInfo.RedirectStandardError = True
p.StartInfo.RedirectStandardInput = True
p.StartInfo.RedirectStandardOutput = True
p.StartInfo.WindowStyle = Process
-
- how do i populate a checklistbox from a database in MSSQL server?
by tlavalle71
- 12 Replies
- Last post
by tlavalle71
- I am creating an app and i need to use a checklist box as a filter or selcting which resources to show. But everytime i try to populate it with a table, it nevers seems to populate, using id as the value and the description as the text by the checkbox then when the checkbox is check it will filter out the id for that checkbox. Could someone help figure this out.
-
- Interface - Collection of Interfaces?
by goose007
- 3 Replies
- Last post
by goose007
- Ok this didn't seem to work.
Code Snippet
'''
''' Defines a mechanism for saving, loading, and access to properties of a SQL contact row.
'''
'''
Interface IContact
Inherits ISQLRow, IAddress
Property FirstName() As String
Property LastName() As String
Property MiddleInitial() As String
Property JobTitle() As S
-
- best practice when writing to sql server
by nmirhan
- 3 Replies
- Last post
by SJWhiteley
- I will be writing to a sql database at different points in the program. Is the following going to be ok. during the formload open the connection to the sql server create a sub that writes to the sql server -or- do I have to open the connection, write to the sql server, close the connection every time. Thanks, Nelson
-
- Read Data from Card Reader
by HenryHan
- 7 Replies
- Last post
by Derek Smyth
- Hi,
How can I read the data from a card reader via VB.Net !
Regards,
Henry Han
-
- IP Address textbox
by Varunice
- 5 Replies
- Last post
by Frank Carr
- Hi All,
Am new to this group and also am a beginner in .net development. I'v a doubt which i thought would be cleared here as many experts are members of this forum.
My doubt goes here : Am working with a proj in vb.net and c#.I need to have a textbox which gets IP address.Is there a way to use IP Address text box. (text box with "." as separators) is any API available or shoul
-
- Controls Transparency
by Nayan Paregi
- 2 Replies
- Last post
by Spidermans_DarkSide
- My purpose is to display rotated text or image on the running movie. For that I have used windows media player control in .net.
I add the AxWindowsMediaPlayer (Windows Media player Control) on my form and set dock properties to fill. And put the Label and set the BackColor to Transparent. But instead of displaying the movie as background its displays the BackColor of the form.
&nb
-
- metadata help
by Flame4e
- 2 Replies
- Last post
by Derek Smyth
- does anyone know how i would go about editing metadata of a video like changing the artist
-
- How do you add a pause with the Timer control? How about using two timers?
by Solitaire
- 14 Replies
- Last post
by Solitaire
- I know how to do it using Sleep, but can't figure out how it would work with the Timer control. I have a large application that "flips" digits in textboxes casino style, using the Sleep method. All the code for that procedure is in a button click event. However, if the user decides to click on a different button (to reset, or exit, etc.) it needs to wait for all the digits to finish flip
-
- Answer command prompt programmatically
by Dan44
- 2 Replies
- Last post
by Tall Dude
- I am trying to answer a prompt in the command prompt window programmatically so the user does not see the prompt nor have to interact with it.
I have tried ECHO, but it does not put the text after the prompt.
Also, how do you add the text and continue -- that is, simulate pressing the ENTER key
I am totally new to this, so any ideas will help.
Thanks!
Sampl
-
- creating file name with date
by lpantos
- 1 Replies
- Last post
by Bruno Yu - MSFT
- I'm using excel 2003 with VB 6.3 I am writing a macro to move some data around and do some subtotalling; I would the macro to save the file as nameispecify with the current date lpantos02012007.xls without me specifiying the date is there a way to do this Thanks!
-
- Find all PCs in a network
by PeterK123
- 4 Replies
- Last post
by G30FF
- I am using VB 2005
How can I search all active PCs in a network in vb.net
Regards
-
- How to get domain
by _Pero_
- 4 Replies
- Last post
by Bruno Yu - MSFT
- Hello,
I have problems getting domain names. I would like to get all domains in LAN. Because I cannot test the program, can someone tell me, if this is the right way:
_dirEntry.Path = "LDAP://RootDSE"
_strRootDomain = "LDAP://" & _dirEntry.Properties( "rootDomainNamingContext" ).Value.ToString()
_dirEntry.Path = _strRootDomain
_dir
-
- PowerPoint event updating form
by starsign
- 0 Replies
- Last post
by starsign
- Hi,
I have a class that holds a reference to PowerPoint and captures the WindowChangeEvent. When that event happens that class in turn raises my own custom event to a form. The form has a reference to the class but not a direct reference to PowerPoint. When the form receives the custom event all it needs to do is clear a listbox.
I know that the PowerPoint WindowSelectionChange event is bein
-
- upgraded os, now can not find .dll
by Radiant-designer
- 5 Replies
- Last post
by Squire James
- I work for a company who just recently updated their OS from Windows 95/ 98 to xp. The most important program they run was custom made and worked fine in the older OS. When it is run on XP it has an error before it even opens saying "Run-time error: Dxinit.dll not found" . I have talked to the original programmer who said that .dll was custom made and needed to be upgraded already to wor
-
- DataSet
by NetPochi
- 5 Replies
- Last post
by ahmedilyas
- Hello, a question please. Example:
Dim MyDataSet As new DataSet
1) MyDatSet = .....' Fill MyDataset (The first time)
2) I use MyDataSet
3) MyDataset = ' Fill MyDataset again with the new info
My Questions:
1) the MyDataset var will be emptied and filled again with the pass 3 2) the memory will be emptied tot
Thanks in advance....
-
- New Project dialog box has no Database option
by Timothyjb
- 3 Replies
- Last post
by spotty
- I'm trying to create a new database project to save SQL queries into, but when I try to follow these directions from the online help;
On the File menu, point to New , and click Project .
The New Project dialog box appears.
In Project types , expand the Database Projects node, and click Microsoft SQL Server .
The Templates list displays the available database project templa